C4 Engine
C4 Engine API Documentation

class RootWidget

Defined in:  C4Widgets.h
The RootWidget class represents the root in a tree of widgets.
Definition

class RootWidget : public Widget

Member Functions
RootWidget::FindWidget Finds a widget with a particular key.
Constructor

RootWidget(WidgetType type);

Parameters
type The widget type.
Description
The RootWidget class serves as the base class for widgets that reside at the root of a tree of widgets composing a user interface.

The root widget can be obtained for any widget in a tree by calling the Widget::GetRootWidget function.
Base Classes
Widget A root widget is a specific type of Widget.
See Also

Widget::GetRootWidget