mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Some more doc rewording
This commit is contained in:
parent
857e774a34
commit
db9a6f8caf
@ -2168,17 +2168,17 @@ _gtk_window_internal_set_focus (GtkWindow *window,
|
||||
/**
|
||||
* gtk_window_set_default:
|
||||
* @window: a #GtkWindow
|
||||
* @default_widget: (allow-none): widget to be the default, or %NULL to unset the
|
||||
* default widget for the toplevel.
|
||||
* @default_widget: (allow-none): widget to be the default, or %NULL
|
||||
* to unset the default widget for the toplevel
|
||||
*
|
||||
* 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 gtk_widget_grab_default() on the widget. Before making a widget
|
||||
* the default widget, you must call gtk_widget_set_can_default() on the
|
||||
* widget you’d like to make the default.
|
||||
**/
|
||||
* unsets the default widget for a #GtkWindow. When setting (rather
|
||||
* than unsetting) the default widget it’s generally easier to call
|
||||
* gtk_widget_grab_default() on the widget. Before making a widget
|
||||
* the default widget, you must call gtk_widget_set_can_default() on
|
||||
* the widget you’d like to make the default.
|
||||
*/
|
||||
void
|
||||
gtk_window_set_default (GtkWindow *window,
|
||||
GtkWidget *default_widget)
|
||||
|
Loading…
Reference in New Issue
Block a user