Method

GtkWidgethas_default

since: 2.18

Declaration [src]

gboolean
gtk_widget_has_default (
  GtkWidget* widget
)

Description [src]

Determines whether widget is the current default widget within its toplevel. See gtk_widget_set_can_default().

Available since: 2.18

Return value

Type: gboolean

TRUE if widget is the current default widget within its toplevel, FALSE otherwise.