| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Return the nearest disjoint parent widget
PtWidget_t *PtFindDisjoint( PtWidget_t *widget );
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:
A widget pointer to the nearest disjoint parent of widget, or NULL if no disjoint container parent was found.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |