Widget::GetWidgetUsage
Defined in:
Returns the widget usage flags.
C4Widgets.h
Prototype
uint32 GetWidgetUsage(void) const;
Description
The GetWidgetUsage
function returns the widget usage flags, which can be a combination (through logical OR) of the following constants.
kWidgetKeyboardFocus |
The widget is capable of acquiring the keyboard focus. |
kWidgetMouseWheel |
The widget can handle mouse wheel events. |
kWidgetTrackInhibit |
The widget is not tracked after any mouse down event. |
kWidgetTrackRightMouse |
The widget is tracked after a right mouse button click. (Ignored if kWidgetTrackInhibit is set.)
|
kWidgetTrackMiddleMouse |
The widget is tracked after a middle mouse button click. (Ignored if kWidgetTrackInhibit is set.)
|
kWidgetClickActivate |
The widget can be configured to be activated by default when the kWidgetClickable widget state is set.
|
kWidgetGeneratedImage |
The primary texture map of an ImageWidget is a generated texture, and the name of any texture resource should not be saved.
|
See Also