From c173b541951033842ddfec3d254da7e5d49796ef Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 15 Jun 2019 00:15:37 -0400 Subject: [PATCH] Docs: expand actions chapter --- docs/reference/gtk/actions.xml | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/docs/reference/gtk/actions.xml b/docs/reference/gtk/actions.xml index e1b21d5a86..dc2d085fc3 100644 --- a/docs/reference/gtk/actions.xml +++ b/docs/reference/gtk/actions.xml @@ -258,9 +258,11 @@ - Actions are added to their relevant scope (application or - window) either using the GActionMap interface, or by using - gtk_widget_insert_action_group(). + Actions are added to their relevant scope (application, + window or widget) either using the GActionMap interface, + or by using gtk_widget_insert_action_group(). Actions that + will be the same for all instances of a widget class can + be added globally using gtk_widget_class_install_action(). @@ -317,8 +319,8 @@ - Another of obtaining widgets that are connected to actions is - to create a menu using a GMenu menu model. GMenu provides an + Another way of obtaining widgets that are connected to actions + is to create a menu using a GMenu menu model. GMenu provides an abstract way to describe typical menus: nested groups of items where each item can have a label, and icon, and an action. @@ -364,6 +366,25 @@ (typically a GtkWindow, GtkDialog or GtkPopover) + + clipboard.cut, clipboard.copy, clipboard.paste + Clipboard operations on entries, text view + and labels, typically used in the context menu + + + + selection.delete, selection.select-all + Selection operations on entries, text view + and labels + + + + color.select, color.customize + Operations on colors in GtkColorChooserWidget. + These actions are unusual in that they have the non-trivial + parameter type (dddd). + + @@ -371,3 +392,4 @@ +