aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/dbus-menu.xml
diff options
context:
space:
mode:
authorAurelien Gateau <aurelien.gateau@canonical.com>2010-06-07 14:30:52 +0200
committerAurelien Gateau <aurelien.gateau@canonical.com>2010-06-07 14:30:52 +0200
commit714b6f676a14c1e51ad9b0e6f095ec36d7740137 (patch)
tree08ae0f688c6ab55e2a636fd64358b9cf8ecb6619 /libdbusmenu-glib/dbus-menu.xml
parenta96851a88488411ef148bbdefbc61e576040ed11 (diff)
downloadlibdbusmenu-714b6f676a14c1e51ad9b0e6f095ec36d7740137.tar.gz
libdbusmenu-714b6f676a14c1e51ad9b0e6f095ec36d7740137.tar.bz2
libdbusmenu-714b6f676a14c1e51ad9b0e6f095ec36d7740137.zip
Document "shortcut" property
Diffstat (limited to 'libdbusmenu-glib/dbus-menu.xml')
-rw-r--r--libdbusmenu-glib/dbus-menu.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/libdbusmenu-glib/dbus-menu.xml b/libdbusmenu-glib/dbus-menu.xml
index 7bccf28..53b67de 100644
--- a/libdbusmenu-glib/dbus-menu.xml
+++ b/libdbusmenu-glib/dbus-menu.xml
@@ -106,6 +106,20 @@ License version 3 and version 2.1 along with this program. If not, see
<td>Empty</td>
</tr>
<tr>
+ <td>shortcut</td>
+ <td>array of arrays of strings</td>
+ <td>The shortcut of the item. Each array represents the key press
+ in the list of keypresses. Each list of strings contains a list of
+ modifiers and then the key that is used. The modifier strings
+ allowed are: "Control", "Alt", "Shift" and "Super".
+
+ - A simple shortcut like Ctrl+S is represented as:
+ [["Control", "S"]]
+ - A complex shortcut like Ctrl+Q, Alt+X is represented as:
+ [["Control", "Q"], ["Alt", "X"]]</td>
+ <td>Empty</td>
+ </tr>
+ <tr>
<td>toggle-type</td>
<td>string</td>
<td>