Method

GtkWidgetset_can_default

Declaration [src]

void
gtk_widget_set_can_default (
  GtkWidget* widget,
  gboolean can_default
)

Description [src]

Specifies whether widget can be a default widget. See gtk_widget_grab_default() for details about the meaning of “default”.

Available since:2.18
Sets propertyGtk.Widget:can-default

Parameters

can_default gboolean
 

Whether or not widget can be a default widget.