[tepl] docs: document that Edit menu actions require a certain AmtkFactoryFlag
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] docs: document that Edit menu actions require a certain AmtkFactoryFlag
- Date: Tue, 18 Jul 2017 15:24:17 +0000 (UTC)
commit 4cb0c519f939bfaa2559f5d2f077f93210423ccf
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Jul 18 17:22:42 2017 +0200
docs: document that Edit menu actions require a certain AmtkFactoryFlag
tepl/tepl-application-window.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/tepl/tepl-application-window.c b/tepl/tepl-application-window.c
index e633fee..8074ac7 100644
--- a/tepl/tepl-application-window.c
+++ b/tepl/tepl-application-window.c
@@ -38,15 +38,20 @@
*
* # GActions # {#tepl-application-window-gactions}
*
- * This class adds the following #GAction's to the #GtkApplicationWindow:
+ * This class adds the following #GAction's to the #GtkApplicationWindow.
+ * Corresponding #AmtkActionInfo's are available with
+ * tepl_application_get_tepl_action_info_store().
+ *
+ * ## For the Edit menu
+ *
+ * The following actions require the %AMTK_FACTORY_IGNORE_ACCELS_FOR_APP flag,
+ * because otherwise accelerators don't work in other text widgets than the
+ * active view (e.g. in a #GtkEntry):
* - `"win.tepl-cut"`: calls tepl_view_cut_clipboard() on the active view.
* - `"win.tepl-copy"`: calls tepl_view_copy_clipboard() on the active view.
* - `"win.tepl-paste"`: calls tepl_view_paste_clipboard() on the active view.
* - `"win.tepl-delete"`: calls tepl_view_delete_selection() on the active view.
* - `"win.tepl-select-all"`: calls tepl_view_select_all() on the active view.
- *
- * Corresponding #AmtkActionInfo's are available with
- * tepl_application_get_tepl_action_info_store().
*/
struct _TeplApplicationWindowPrivate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]