diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-06-05 17:19:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-06-05 17:19:39 -0400 |
commit | 94ad177176a98de679a630d42deef522df0af8e6 (patch) | |
tree | 2968a25b4f47713c90afdb8d9ec4928743e1ebee /gtk/gtkpopovermenu.c | |
parent | 4616104742e2918d9530df230e13b69605a19795 (diff) | |
download | gtk+-94ad177176a98de679a630d42deef522df0af8e6.tar.gz |
popovermenu: doc tweaks
Diffstat (limited to 'gtk/gtkpopovermenu.c')
-rw-r--r-- | gtk/gtkpopovermenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkpopovermenu.c b/gtk/gtkpopovermenu.c index 3d183f07b2..28b96cf468 100644 --- a/gtk/gtkpopovermenu.c +++ b/gtk/gtkpopovermenu.c @@ -63,8 +63,8 @@ * of a toplevel `<menu>` element, which contains one or more `<item>` * elements. Each `<item>` element contains `<attribute>` and `<link>` * elements with a mandatory name attribute. `<link>` elements have the - * same content model as `<menu>`. Instead of `<link name="submenu>` or - * `<link name="section">`, you can use `<submenu>` or `<section>` + * same content model as `<menu>`. Instead of `<link name="submenu">` + * or `<link name="section">`, you can use `<submenu>` or `<section>` * elements. * * ```xml @@ -99,8 +99,8 @@ * - "action": the prefixed name of the action to trigger * - "target": the parameter to use when activating the action * - "icon" and "verb-icon": names of icons that may be displayed - * - "submenu-action": name of an action that may be used to determine - * if a submenu can be opened + * - "submenu-action": name of an action that may be used to track + * whether a submenu is open * - "hidden-when": a string used to determine when the item will be hidden. * Possible values include "action-disabled", "action-missing", "macos-menubar". * This is mainly useful for exported menus, see [method@Gtk.Application.set_menubar]. |