Hello! I'm trying to add a SpinButton to the toolbar of a Pygtk application. I tried using directly the Toolbar and its methods and it works fine using a ToolItem and adding the SpinButton into it.
But now, on my app, I'm using UIManager, ActionGroups... and I don't know how can I add a SpinButton on the UIManager generated toolbar. I tried with this: http://library.gnome.org/devel/pygtk/stable/class-gtkaction.html#method-gtkaction--set-tool-item-type I create a new Action and register it. I create too a class inheriting from gtk.ToolItem that directly adds my SpinButton, and I register this class as the type of my new Action, but it doesn't work. Can somebody help me? _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
