getRoot

open fun getRoot(): Root?

Returns the GtkRoot widget of @widget.

This function will return null if the widget is not contained inside a widget tree with a root widget.

GtkRoot widgets will return themselves here.

Return

the root widget of @widget