has_screen


Description:

[ Version ( since = "2.2" ) ]
public bool has_screen ()

Checks whether there is a 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.

Parameters:

this

a Widget

Returns:

true if there is a Screen associated with the widget.