|
plugin-rightclickmenu: msg#00001desktop.xfce.thunar.devel
Goodday, Using the tex-open-terminal and other plugins, i'm trying to make a plugin. Now i'm trying to make an menu in the right-click-menu. i've looked at the uca and multiple other plugins, but i saw there a lot of code for a menu. Is there a basic, not many code lines to make an start? i've tried using: http://library.gnome.org/devel/gtk-tutorial/stable/x1699.html /* Start from here with a menu */ item_factory = gtk_item_factory_new (GTK_TYPE_MENU, "<main>",NULL); gtk_item_factory_create_items (item_factory, nmenu_items, menu_items, NULL); menu = gtk_item_factory_get_widget (item_factory, "<main>"); actions = g_list_prepend (actions, menu); But this is giving me many errors. I'm sorry if this is a GTK question. -- Kees |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Emblems in extensions?: 00001, Daniel Morales |
|---|---|
| Next by Date: | thunar-actions-plugin - project description - v0.1.1j: 00001, Jelle de Jong |
| Previous by Thread: | Emblems in extensions?i: 00001, Daniel Morales |
| Next by Thread: | thunar-actions-plugin - project description - v0.1.1j: 00001, Jelle de Jong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |