On 2010-03-27 12:08, ilya korchemkin wrote:
> As documentation says, gtk.ActionGroup.add_actions method has 2 arguments:
> entries: a list or tuple of action descriptions
> user_data: data to pass to the action callbacks
> The same user_data is passed to all of callbacks. Is it possible to
> define different user_data for callbacks?

You could construct each callback with functools.partial.

-- 
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to