PtDividerCallback

PtDividerCallback — divider movement callback information.

Synopsis

class PtDividerCallback
{
    left;       // widget array
    moved;      // integer
    resized;    // integer
    right;      // widget array
}
		

Description

This class holds information from a Pt_CB_DIVIDER_DRAG callback, which is generated when a PtDivider is moved.

Also see Pt_CB_DIVIDER_DRAG in the PtDivider section of the Photon documentation.

Instance Variables

left

The widget on the left side of the divider.

moved

An integer specifying the number of pixels that the widgets on the right of the divider were moved.

resized

An integer specifying the number of pixels that the widget on the left of the divider was resized.

right

The widget on the right side of the divider.

Associated Classes

PtDivider, PtCallbackInfo