PtFindDisjoint()

Return the nearest disjoint parent widget

Synopsis:

PtWidget_t *PtFindDisjoint( PtWidget_t *widget );

Library:

ph

Description:

This function returns the nearest disjoint parent widget (which could be widget itself). A disjoint widget owns regions that aren't children of its parent's regions. Any clipping set by the parent of a disjoint widget isn't applied to the disjoint widget. The regions of disjoint widgets are sensitive and opaque to expose events. A disjoint widget's class_rec has the Pt_DISJOINT flag set.

Examples of widgets that are disjoint include:

Examples of widgets that aren't disjoint include:

Returns:

A widget pointer to the nearest disjoint parent of widget, or NULL if no disjoint container parent was found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No