Method

GtkWindowset_default_widget

Declaration [src]

void
gtk_window_set_default_widget (
  GtkWindow* window,
  GtkWidget* default_widget
)

Description [src]

Sets the default widget.

The default widget is the widget that is activated when the user presses Enter in a dialog (for example).

Sets propertyGtk.Window:default-widget
org.gtk.Property.setdefault-widget

Parameters

default_widget

Type: GtkWidget

Widget to be the default to unset the default widget for the toplevel.

The argument can be NULL.
The data is owned by the caller of the method.