InterfaceMgr::AddWidget
Defined in:
Adds a user interface element to the desktop.
C4Interface.h
Prototype
void AddWidget(Widget *widget);
Parameters
widget |
The interface widget to add. |
Description
The AddWidget
function adds a user interface widget to the desktop. The widget
parameter can be a pointer to any instance of the Widget
class, but is normally a Window
or Board
.The widget specified by the
widget
parameter is preprocessed before the AddWidget
function returns.An interface widget is removed from the desktop by destroying it or calling the
InterfaceMgr::RemoveWidget
function.
See Also