C4 Engine
C4 Engine API Documentation

Widget::DisableWidget

Defined in:  C4Widgets.h
Disables a widget.
Prototype

virtual void DisableWidget(void);

Description
The DisableWidget function disables a widget, preventing it from receiving input events. The widget is still rendered, but possibly in a dimmed appearance depending on the type of the widget. Subnodes of a disabled widget are also considered to be disabled and do not receive input events.
See Also

Widget::EnableWidget

Widget::WidgetEnabled

Widget::GetWidgetState

Widget::SetWidgetState

Widget::ShowWidget

Widget::HideWidget