Widget.root

Get root property.

class Widget
@property
root
()

Return Value

Type: gtk.root.Root

The gtk.root.Root widget of the widget tree containing this widget.

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