So, for now - I'm making my MenuItems called something like
win.on_example_open__path__to__file__1win.on_example_open__path__to__file__2

and corresponding SimpleActions
on_example_open__path__to__file__1on_example_open__path__to__file__2

it feel wrong, but it works...  seems like I should be able to achieve this 
using GVariant somehow.    If there is no official way of doing this, I'd like 
to request it for a future Gtk version. S++ 


    On Saturday, December 5, 2015 10:06 PM, Stuart Axon <stua...@yahoo.com> 
wrote:
 
 

 Hi,   I'm going a bit mad trying to find decent examples - I want to have a 
bit of data attached to a menu item, how can I do it ?(my action is something 
like win.open_example + I want to have a filename attached to each item).- I 
can't find anything with SimpleAction so far. S++

 
  
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to