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

Public Member Functions | |
| virtual void | Set (const WidgetID &widgetId, const PMRect &frame, Bool16 visible, Bool16 enabled)=0 |
| virtual WidgetID | GetWidgetId () const =0 |
| virtual PMRect | GetFrame () const =0 |
| virtual Bool16 | IsVisible () const =0 |
| virtual Bool16 | IsEnabled () const =0 |
| virtual void | ApplyValuesToWidget ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IWidgetRefData is an interface used to hold a reference to a widget, without holding the widget in memory. The referenced widget should be a child widget.
| pure virtual |
ApplyValuesToWidget applies the values in this reference to the widget
| pure virtual |
GetFame returns the frame
| pure virtual |
GetWidgetId returns the widget id
| pure virtual |
IsEnabled returns the enable state of the widget
| pure virtual |
IsVisible returns the visiblity of the widget
| pure virtual |
Set initializes the interface to reference a widget.
| widgetId | is the id of the widget |
| frame | is the bounds of the widget |
| visibe | is the widget visible |
| enabled | is the widget enabled |