Method

GtkWidgethas_screen

since: 2.2

Declaration [src]

gboolean
gtk_widget_has_screen (
  GtkWidget* widget
)

Description [src]

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

Available since: 2.2

Return value

Type: gboolean

TRUE if there is a GdkScreen associated with the widget.