PtContainerCallback

PtContainerCallback — resize callback information.

Synopsis

class PtContainerCallback
{
    new_size;    // PtRect
    old_size;    // PtRect
}
		

Description

This class holds information from the Pt_CB_RESIZE callback, which is generated when the container is resized.

Also see Pt_CB_RESIZE in the PtContainer section of the Photon documentation.

Instance Variables

new_size

A PtRect defining the new size of the container.

old_size

A PtRect defining the former size of the container.

Associated Classes

PtContainer, PtCallbackInfo