Top |
GtkWidget * | garcon_gtk_menu_new () |
void | garcon_gtk_menu_set_menu () |
GarconMenu * | garcon_gtk_menu_get_menu () |
void | garcon_gtk_menu_set_show_generic_names () |
gboolean | garcon_gtk_menu_get_show_generic_names () |
void | garcon_gtk_menu_set_show_menu_icons () |
gboolean | garcon_gtk_menu_get_show_menu_icons () |
void | garcon_gtk_menu_set_show_tooltips () |
gboolean | garcon_gtk_menu_get_show_tooltips () |
void | garcon_gtk_menu_set_show_desktop_actions () |
gboolean | garcon_gtk_menu_get_show_desktop_actions () |
GtkMenu * | garcon_gtk_menu_get_desktop_actions_menu () |
void | garcon_gtk_menu_set_right_click_edits () |
gboolean | garcon_gtk_menu_get_right_click_edits () |
GarconMenu * | menu | Read / Write |
gboolean | right-click-edits | Read / Write |
gboolean | show-desktop-actions | Read / Write |
gboolean | show-generic-names | Read / Write |
gboolean | show-menu-icons | Read / Write |
gboolean | show-tooltips | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkMenuShell ╰── GtkMenu ╰── GarconGtkMenu
GtkWidget *
garcon_gtk_menu_new (GarconMenu *garcon_menu
);
Creates a new GarconGtkMenu for the .menu file referred to by garcon_menu
.
This operation only fails if garcon_menu
is invalid.
The caller is responsible to destroy the returned GarconGtkMenu
using g_object_unref()
.
void garcon_gtk_menu_set_menu (GarconGtkMenu *menu
,GarconMenu *garcon_menu
);
GarconMenu *
garcon_gtk_menu_get_menu (GarconGtkMenu *menu
);
The GarconMenu used to create the GtkMenu.
The caller is responsible to releasing the returned GarconMenu
using g_object_unref()
.
void garcon_gtk_menu_set_show_generic_names (GarconGtkMenu *menu
,gboolean show_generic_names
);
gboolean
garcon_gtk_menu_get_show_generic_names
(GarconGtkMenu *menu
);
void garcon_gtk_menu_set_show_menu_icons (GarconGtkMenu *menu
,gboolean show_menu_icons
);
gboolean
garcon_gtk_menu_get_show_menu_icons (GarconGtkMenu *menu
);
void garcon_gtk_menu_set_show_tooltips (GarconGtkMenu *menu
,gboolean show_tooltips
);
gboolean
garcon_gtk_menu_get_show_tooltips (GarconGtkMenu *menu
);
void garcon_gtk_menu_set_show_desktop_actions (GarconGtkMenu *menu
,gboolean show_desktop_actions
);
gboolean
garcon_gtk_menu_get_show_desktop_actions
(GarconGtkMenu *menu
);
GtkMenu *
garcon_gtk_menu_get_desktop_actions_menu
(GarconMenuItem *item
);
Application icons are never shown on the action menu items.
void garcon_gtk_menu_set_right_click_edits (GarconGtkMenu *menu
,gboolean enable_right_click_edits
);
gboolean
garcon_gtk_menu_get_right_click_edits (GarconGtkMenu *menu
);
“right-click-edits”
property “right-click-edits” gboolean
right click to edit menu items.
Owner: GarconGtkMenu
Flags: Read / Write
Default value: FALSE
“show-desktop-actions”
property “show-desktop-actions” gboolean
show desktop actions in a submenu.
Owner: GarconGtkMenu
Flags: Read / Write
Default value: FALSE
“show-generic-names”
property “show-generic-names” gboolean
show-generic-names.
Owner: GarconGtkMenu
Flags: Read / Write
Default value: FALSE
“show-menu-icons”
property “show-menu-icons” gboolean
show-menu-icons.
Owner: GarconGtkMenu
Flags: Read / Write
Default value: TRUE