Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtFindDisjoint

PtFindDisjoint

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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