From 714b6f676a14c1e51ad9b0e6f095ec36d7740137 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Mon, 7 Jun 2010 14:30:52 +0200 Subject: Document "shortcut" property --- libdbusmenu-glib/dbus-menu.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libdbusmenu-glib/dbus-menu.xml') 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 @@ -105,6 +105,20 @@ License version 3 and version 2.1 along with this program. If not, see PNG data of the icon. Empty + + shortcut + array of arrays of strings + 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"]] + Empty + toggle-type string -- cgit v1.2.3