[gtk/widget-class-actions-2: 9/9] Docs: expand actions chapter
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/widget-class-actions-2: 9/9] Docs: expand actions chapter
- Date: Tue, 18 Jun 2019 18:53:47 +0000 (UTC)
commit 6581d66652f196b4b86c1553f33b1f51a8b2fa22
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 15 00:15:37 2019 -0400
Docs: expand actions chapter
Mention widget class actions and non-global actions
in various places.
docs/reference/gtk/actions.xml | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/gtk/actions.xml b/docs/reference/gtk/actions.xml
index e1b21d5a86..dd9df12780 100644
--- a/docs/reference/gtk/actions.xml
+++ b/docs/reference/gtk/actions.xml
@@ -258,9 +258,11 @@
</para>
<para>
- 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().
</para>
</refsect2>
@@ -317,8 +319,8 @@
</para>
<para>
- 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.
</para>
@@ -364,6 +366,25 @@
(typically a GtkWindow, GtkDialog or GtkPopover)
</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term>clipboard.cut, clipboard.copy, clipboard.paste</term>
+ <listitem><para>Clipboard operations on entries, text view
+ and labels, typically used in the context menu
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>selection.delete, selection.select-all</term>
+ <listitem><para>Selection operations on entries, text view
+ and labels
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>color.select, color.customize</term>
+ <listitem><para>Operations on colors in GtkColorChooserWidget.
+ These actions are unusual in that they have the non-trivial
+ parameter type (dddd).
+ </para></listitem>
+ </varlistentry>
</variablelist>
</para>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]