![]() | InDesign SDK 20.5 |
#include <IWidgetParent.h>

Public Types | |
| enum | { kDefaultIID = IID_IWIDGETPARENT } |
Public Member Functions | |
| virtual IPMUnknown * | QueryParentFor (const PMIID &interfaceID) const =0 |
| virtual IPMUnknown * | GetParent () const =0 |
| virtual IPMUnknown * | QueryParent () const =0 |
| virtual void | SetParent (IPMUnknown *parent, bool16 invalidateTransform=kTrue)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface to allow traversing widget hierarchy.
| pure virtual |
Accessor for parent of widget
| pure virtual |
Query for parent of given widget.
| pure virtual |
Do QueryInterface up the hierarchy until the interfaceID is found, or until the root node is reached.
| pure virtual |
Specify a new parent for given widget.
| parent | new parent |
| invalidateTransform | whether to invalidate widget transform or not. Default is true, only reason to turn it to false would be during construction or destruction. |