Top |
ThunarxMenu * | thunarx_menu_new () |
void | thunarx_menu_append_item () |
void | thunarx_menu_prepend_item () |
GList * | thunarx_menu_get_items () |
The class for submenus that can be added to Thunar's context menus. Extensions
can provide ThunarxMenu objects by attaching them to ThunarxMenuItem objects,
using thunarx_menu_item_set_menu()
.
ThunarxMenu *
thunarx_menu_new (void
);
Creates a new menu that can be added to the toolbar or to a contextual menu.
void thunarx_menu_append_item (ThunarxMenu *menu
,ThunarxMenuItem *item
);
void thunarx_menu_prepend_item (ThunarxMenu *menu
,ThunarxMenuItem *item
);
GList *
thunarx_menu_get_items (ThunarxMenu *menu
);
the provided ThunarxMenuItem list
Must be freed with thunarx_menu_item_list_free()
after usage.
[element-type ThunarxMenuItem][transfer full]