C4 Engine
C4 Engine API Documentation

InterfaceMgr::RemoveWidget

Defined in:  C4Interface.h
Removes a user interface element from the desktop.
Prototype

void RemoveWidget(Widget *widget);

Parameters
widget The interface widget to remove.
Description
The RemoveWidget function removes a user interface widget from the desktop. The widget pointed to by the widget parameter should be one that was previously added to the desktop using the InterfaceMgr::AddWidget function.
See Also

InterfaceMgr::AddWidget