Commit 14fd2ccc authored by Matthias Clasen's avatar Matthias Clasen

window: Document default.activate

parent 1c34d79a
......@@ -1156,13 +1156,21 @@ gtk_window_class_init (GtkWindowClass *klass)
G_TYPE_BOOLEAN,
0);
/*
* Key bindings
*/
/* Actions */
/**
* GtkWindow|default.activate:
*
* The default.activate action activates the default
* widget in the window.
*/
gtk_widget_class_install_action (widget_class, "default.activate", NULL,
gtk_window_activate_default_activate);
/*
* Key bindings
*/
gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_space, 0,
"activate-focus", NULL);
gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_KP_Space, 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment