Method

GtkWidgetset_receives_default

Declaration [src]

void
gtk_widget_set_receives_default (
  GtkWidget* widget,
  gboolean receives_default
)

Description [src]

Specifies whether widget will be treated as the default widget within its toplevel when it has the focus, even if another widget is the default.

See gtk_widget_grab_default() for details about the meaning of “default”.

Available since:2.18

Parameters

receives_default gboolean
 

Whether or not widget can be a default widget.