Skip to main content

ROOT_WIDGET_ID

Constant ROOT_WIDGET_ID 

Source
pub const ROOT_WIDGET_ID: WidgetId = 0;
Expand description

The ID of the window’s root Widget.

The root is created by the Engine (a RootWidget), fills the window, and is the ancestor of every other Widget. It is its own parent.