gtk.root.Root is the interface implemented by all widgets that can act as a toplevel widget.
The root widget takes care of providing the connection to the windowing system and manages layout, drawing and event delivery for its widget hierarchy.
The obvious example of a gtk.root.Root is gtk.window.Window.
To get the display to which a gtk.root.Root belongs, use gtk.root.Root.getDisplay.
gtk.root.Root also maintains the location of keyboard focus inside its widget hierarchy, with gtk.root.Root.setFocus and gtk.root.Root.getFocus.
Returns the display that this gtk.root.Root is on.
Retrieves the current focused widget within the root.
If focus is not the current focus widget, and is focusable, sets it as the focus widget for the root.
gtk.root.Root is the interface implemented by all widgets that can act as a toplevel widget.
The root widget takes care of providing the connection to the windowing system and manages layout, drawing and event delivery for its widget hierarchy.
The obvious example of a gtk.root.Root is gtk.window.Window.
To get the display to which a gtk.root.Root belongs, use gtk.root.Root.getDisplay.
gtk.root.Root also maintains the location of keyboard focus inside its widget hierarchy, with gtk.root.Root.setFocus and gtk.root.Root.getFocus.