root

open val root: Root?(source)

The GtkRoot widget of the widget tree containing this widget.

This will be null if the widget is not contained in a root widget.