diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-28 22:19:59 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-28 22:40:10 -0400 |
commit | 26200c0f7eb295a8c32e0a03fbbfeefa1e50b9a8 (patch) | |
tree | bf28ba24268677b0e5cd39e0ee5c6c3d06f64988 /gtk/gtkfilechooserdialog.c | |
parent | 07bf9045fbc316bf10657ec0c1a53bbe933c82d0 (diff) | |
download | gtk+-26200c0f7eb295a8c32e0a03fbbfeefa1e50b9a8.tar.gz |
filechooser: Document the response.activate action
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index 9eebd2dae0..6870bccb1c 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -304,6 +304,11 @@ gtk_file_chooser_dialog_class_init (GtkFileChooserDialogClass *class) gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserDialog, buttons); gtk_widget_class_bind_template_callback (widget_class, response_cb); + /** + * GtkFileChooserDialog|response.activate: + * + * Activate the default response of the dialog. + */ gtk_widget_class_install_action (widget_class, "response.activate", NULL, gtk_file_chooser_dialog_activate_response); } |