Widget.hasScreen

Checks whether there is a gdk.Screen is associated with this widget. All toplevel widgets have an associated screen, and all widgets added into a hierarchy with a toplevel window at the top.

class Widget
bool
hasScreen
()

Return Value

Type: bool

TRUE if there is a gdk.Screen associated with the widget.

Meta