Dbusmenu
Description:
Content:
Classes:
- Client - The client for a Server creating a shared object set of Menuitem objects.
- Menuitem - This is the Object based object that represents a menu item.
- MenuitemProxy - Public instance data for a MenuitemProxy.
- Server - A server which represents a sharing of a set of Menuitems across DBus to a Client.
Enums:
- Status - Tracks how the menus should be presented to the user.
- TextDirection - The direction of text that the strings that this server will be sending strings as.
Constants:
- public const string CLIENT_PROP_DBUS_NAME
String to access property dbus_name
- public const string CLIENT_PROP_DBUS_OBJECT
String to access property dbus_object
- public const string CLIENT_PROP_GROUP_EVENTS
String to access property group_events
- public const string CLIENT_PROP_STATUS
String to access property
DbusmenuClient:status
s - public const string CLIENT_PROP_TEXT_DIRECTION
String to access property
DbusmenuClient:text-direction
- public const string CLIENT_SIGNAL_EVENT_RESULT
String to attach to signal event_result
- public const string CLIENT_SIGNAL_ICON_THEME_DIRS_CHANGED
String to attach to signal icon_theme_dirs_changed
- public const string CLIENT_SIGNAL_ITEM_ACTIVATE
String to attach to signal item_activate
- public const string CLIENT_SIGNAL_LAYOUT_UPDATED
String to attach to signal layout_updated
- public const string CLIENT_SIGNAL_NEW_MENUITEM
String to attach to signal new_menuitem
- public const string CLIENT_SIGNAL_ROOT_CHANGED
String to attach to signal root_changed
- public const string CLIENT_TYPES_DEFAULT
Used to set the 'type' property on a menu item to create a standard menu item.
- public const string CLIENT_TYPES_IMAGE
Used to set the 'type' property on a menu item to create an image menu item.
- public const string CLIENT_TYPES_SEPARATOR
Used to set the 'type' property on a menu item to create a separator menu item.
- public const string MENUITEM_CHILD_DISPLAY_SUBMENU
Used in MENUITEM_PROP_CHILD_DISPLAY to have the subitems displayed as a submenu.
- public const string MENUITEM_DISPOSITION_ALERT
Used in MENUITEM_PROP_DISPOSITION to have a menu item displayed in a way that conveys it's giving an alert to the user.
- public const string MENUITEM_DISPOSITION_INFORMATIVE
Used in MENUITEM_PROP_DISPOSITION to have a menu item displayed in a way that conveys it's giving additional information to the user.
- public const string MENUITEM_DISPOSITION_NORMAL
Used in MENUITEM_PROP_DISPOSITION to have a menu item displayed in the normal manner.
- public const string MENUITEM_DISPOSITION_WARNING
Used in MENUITEM_PROP_DISPOSITION to have a menu item displayed in a way that conveys it's giving a warning to the user.
- public const string MENUITEM_EVENT_ACTIVATED
String for the event identifier when a menu item is clicked on by the user.
- public const string MENUITEM_EVENT_CLOSED
String for the event identifier when a menu is closed and displayed to the user.
- public const string MENUITEM_EVENT_OPENED
String for the event identifier when a menu is opened and displayed to the user.
- public const string MENUITEM_ICON_NAME_BLANK
Used to set MENUITEM_PROP_TOGGLE_STATE so that the menu's toggle item is undecided.
- public const string MENUITEM_PROP_ACCESSIBLE_DESC
Menuitem property used to provide a textual description of any information that the icon may convey.
- public const string MENUITEM_PROP_CHILD_DISPLAY
Menuitem property that tells how the children of this menuitem should be displayed.
- public const string MENUITEM_PROP_DISPOSITION
Menuitem property to tell what type of information that the menu item is displaying to the user.
- public const string MENUITEM_PROP_ENABLED
Menuitem property used to represent whether the menuitem is clickable or not.
- public const string MENUITEM_PROP_ICON_DATA
Menuitem property that is the raw data of a custom icon used in the application.
- public const string MENUITEM_PROP_ICON_NAME
Menuitem property that is the name of the icon under the Freedesktop.
- public const string MENUITEM_PROP_LABEL
Menuitem property used for the text on the menu item.
- public const string MENUITEM_PROP_SHORTCUT
Menuitem property that is the entries that represent a shortcut to activate the menuitem.
- public const string MENUITEM_PROP_TOGGLE_STATE
Menuitem property that says what state a toggle entry should be shown as the menu.
- public const string MENUITEM_PROP_TOGGLE_TYPE
Menuitem property that says what type of toggle entry should be shown in the menu.
- public const string MENUITEM_PROP_TYPE
Menuitem property used to represent what type of menuitem this object represents.
- public const string MENUITEM_PROP_VISIBLE
Menuitem property used to represent whether the menuitem should be shown or not.
- public const string MENUITEM_SHORTCUT_ALT
Used in MENUITEM_PROP_SHORTCUT to represent the alternate key.
- public const string MENUITEM_SHORTCUT_CONTROL
Used in MENUITEM_PROP_SHORTCUT to represent the control key.
- public const string MENUITEM_SHORTCUT_SHIFT
Used in MENUITEM_PROP_SHORTCUT to represent the shift key.
- public const string MENUITEM_SHORTCUT_SUPER
Used in MENUITEM_PROP_SHORTCUT to represent the super key.
- public const string MENUITEM_SIGNAL_ABOUT_TO_SHOW
String to attach to signal
DbusmenuServer::about-to-show
- public const string MENUITEM_SIGNAL_CHILD_ADDED
String to attach to signal
DbusmenuServer::child-added
- public const string MENUITEM_SIGNAL_CHILD_MOVED
String to attach to signal
DbusmenuServer::child-moved
- public const string MENUITEM_SIGNAL_CHILD_REMOVED
String to attach to signal
DbusmenuServer::child-removed
- public const string MENUITEM_SIGNAL_EVENT
String to attach to signal
DbusmenuServer::event
- public const string MENUITEM_SIGNAL_ITEM_ACTIVATED
String to attach to signal
DbusmenuServer::item-activated
- public const string MENUITEM_SIGNAL_PROPERTY_CHANGED
String to attach to signal
DbusmenuServer::property-changed
- public const string MENUITEM_SIGNAL_REALIZED
String to attach to signal
DbusmenuServer::realized
- public const string MENUITEM_SIGNAL_SHOW_TO_USER
String to attach to signal
DbusmenuServer::show-to-user
- public const string MENUITEM_TOGGLE_CHECK
Used to set MENUITEM_PROP_TOGGLE_TYPE to be a standard check mark item.
- public const string MENUITEM_TOGGLE_RADIO
Used to set MENUITEM_PROP_TOGGLE_TYPE to be a standard radio item.
- public const int MENUITEM_TOGGLE_STATE_CHECKED
Used to set MENUITEM_PROP_TOGGLE_STATE so that the menu's toggle item is filled.
- public const int MENUITEM_TOGGLE_STATE_UNCHECKED
Used to set MENUITEM_PROP_TOGGLE_STATE so that the menu's toggle item is empty.
- public const int MENUITEM_TOGGLE_STATE_UNKNOWN
Used to set MENUITEM_PROP_TOGGLE_STATE so that the menu's toggle item is undecided.
- public const string SERVER_PROP_DBUS_OBJECT
String to access property dbus_object
- public const string SERVER_PROP_ROOT_NODE
String to access property root_node
- public const string SERVER_PROP_STATUS
String to access property
DbusmenuServer:status
s - public const string SERVER_PROP_TEXT_DIRECTION
String to access property
DbusmenuServer:text-direction
- public const string SERVER_PROP_VERSION
String to access property version
- public const string SERVER_SIGNAL_ID_PROP_UPDATE
String to attach to signal item_property_updated
- public const string SERVER_SIGNAL_ID_UPDATE
String to attach to signal item_updated
- public const string SERVER_SIGNAL_ITEM_ACTIVATION
String to attach to signal item_activation_requested
- public const string SERVER_SIGNAL_LAYOUT_UPDATED
String to attach to signal layout_updated
Delegates:
- public delegate bool ClientTypeHandler (Menuitem newitem, Menuitem parent, Client client)
The type handler is called when a dbusmenu item is created with a matching type as setup in add_type_handler
- public delegate void menuitem_about_to_show_cb (Menuitem mi)
Callback prototype for a callback that is called when the menu should be shown.
- public delegate Variant menuitem_buildvariant_slot_t (Menuitem mi, string? properties)
This is the function that is called to represent this menu item as a variant.