Method

GtkWidgethas_default

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

Returns: gboolean
 

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