Top |
ThunarMenuThunarMenu — Wrapper of GtkMenu to simplify the creation commonly used menu-sections in thunar |
ThunarActionManager * | action-mgr | Write / Construct Only |
gboolean | change-directory-support-disabled | Write / Construct Only |
gboolean | force-section-open | Write / Construct Only |
int | menu-type | Write / Construct Only |
gboolean | tab-support-disabled | Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkMenuShell ╰── GtkMenu ╰── ThunarMenu
ThunarMenu is a GtkMenu which provides a unified menu-creation service for different thunar widgets.
Based on the passed flags and selected sections, it fills itself with the requested menu-items by creating them with ThunarActionManager.
gboolean thunar_menu_add_sections (ThunarMenu *menu
,ThunarMenuSections menu_sections
);
Method to add different sections of GtkMenuItems to the ThunarMenu, according to the selected ThunarMenuSections
menu |
a ThunarMenu instance |
|
menu_sections |
bit enumeration of ThunarMenuSections which should be added to the ThunarMenu |
“action-mgr”
property“action-mgr” ThunarActionManager *
action_mgr.
Owner: ThunarMenu
Flags: Write / Construct Only
“change-directory-support-disabled”
property “change-directory-support-disabled” gboolean
change_directory-support-disabled.
Owner: ThunarMenu
Flags: Write / Construct Only
Default value: FALSE
“force-section-open”
property “force-section-open” gboolean
force-section-open.
Owner: ThunarMenu
Flags: Write / Construct Only
Default value: FALSE
“menu-type”
property “menu-type” int
menu-type.
Owner: ThunarMenu
Flags: Write / Construct Only
Allowed values: [0,5]
Default value: 0