Description Usage Arguments Author(s)
The default widget is the widget that's activated when the user
presses Enter in a dialog (for example). This function sets or
unsets the default widget for a GtkWindow
about. When setting
(rather than unsetting) the default widget it's generally easier to
call gtkWidgetGrabFocus
on the widget. Before making a widget
the default widget, you must set the GTK_CAN_DEFAULT
flag on the
widget you'd like to make the default using gtkWidgetSetFlags()
.
1 | gtkWindowSetDefault(object, default.widget = NULL)
|
|
a |
|
widget to be the default, or |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.