Unigine::WidgetExtern Class
Header: | #include <UnigineWidgets.h> |
Inherits: | Widget |
WidgetExtern Class
Members
static WidgetExternPtr create ( const Ptr<Gui> & gui, int class_id ) #
Constructor. Creates a custom user-defined widget and adds it to the specified GUI.Arguments
- const Ptr<Gui> & gui - Gui instance, to which the widget belongs.
- int class_id - Unique class ID.
static WidgetExternPtr create ( int class_id ) #
Constructor. Creates a custom user-defined widget and adds it to the Engine GUI.Arguments
- int class_id - Unique class ID.
int getClassID ( ) const#
Returns a unique class ID.Return value
Unique class ID if the widget exists; otherwise, 0.Last update:
2020-07-31
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)