PtFindDisjoint

PtFindDisjoint — finds the nearest disjoint parent widget.

Syntax

PtFindDisjoint (widget)

		

Arguments

widget

Returns

A PtWidget, or nil.

Description

A disjoint widget is one that owns one or more regions that are not children of its own parent's regions, such as PtWindow and PtRegion. This function returns the disjoint parent widget that is nearest to the widget, which would be the widget itself if it is disjoint.

See Also

In Photon documentation: PtFindDisjoint.