DbusmenuGtk
Description:
public namespace DbusmenuGtk
Content:
Classes:
- Client - A subclass of Client
to add functionality with regarding building GTK items out of the abstract tree.
- Menu - A Menu that is built
using an abstract tree built from a Client.
Constants:
Methods:
- public unowned Menuitem gtk_parse_get_cached_item (Widget widget)
The Dbusmenu GTK parser adds cached items on the various menu items
throughout the tree.
- public Menuitem gtk_parse_menu_structure (Widget widget)
Goes through the GTK structures and turns them into the appropraite
Dbusmenu structures along with setting up all the relationships between the objects.
- public Pixbuf menuitem_property_get_image (Menuitem menuitem, string property)
This function looks on the menu item for a property by the name of
property
.
- public void menuitem_property_get_shortcut (Menuitem menuitem, out uint key, out ModifierType modifier)
This function gets a GTK shortcut as a key and a mask for use to set
the accelerators.
- public bool menuitem_property_set_image (Menuitem menuitem, string property, Pixbuf data)
This function takes the pixbuf that is stored in data
and
turns it into a base64 encoded PNG so that it can be placed onto a standard Menuitem property.
- public bool menuitem_property_set_shortcut (Menuitem menuitem, uint key, ModifierType modifier)
Takes the modifer described by key
and modifier
and places that into the format sending across Dbus for shortcuts.
- public bool menuitem_property_set_shortcut_menuitem (Menuitem menuitem, MenuItem gmi)
- public bool menuitem_property_set_shortcut_string (Menuitem menuitem, string shortcut)
This function takes a GTK shortcut string as defined in
accelerator_parse and turns that into the information required to send it over DBusmenu.