[gtk/keymap-rework-2: 12/13] accelgroup: Small documentation updates
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk/keymap-rework-2: 12/13] accelgroup: Small documentation updates
 
- Date: Mon,  6 Apr 2020 18:48:40 +0000 (UTC)
 
commit 4039a81ba9ad70cdfbcf21ecdb7d65df036dd9a9
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 6 01:48:37 2020 -0400
    accelgroup: Small documentation updates
    
    Mention GtkShortcutTrigger, and remove references
    to <Release>.
 gtk/gtkaccelgroup.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index 86f3a50621..0cf685c2d8 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -40,6 +40,10 @@
  *
  * We have various utility functions to parse and generate
  * textual representations of keyboard accelerators.
+ *
+ * If you want to set up keyboard accelerators for widgets,
+ * #GtkShortcutTrigger is probably more convenient than the
+ * functions in this section.
  */
 
 
@@ -494,8 +498,7 @@ out:
  *     modifier mask, %NULL
  *
  * Parses a string representing an accelerator. The format looks like
- * “<Control>a” or “<Shift><Alt>F1” or “<Release>z” (the last one is
- * for key release).
+ * “<Control>a” or “<Shift><Alt>F1”.
  *
  * The parser is fairly liberal and allows lower or upper case, and also
  * abbreviations such as “<Ctl>” and “<Ctrl>”. Key names are parsed using
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]