[pygtk] Custom icon on toolbar
Timo
timomlists at gmail.com
Sun Feb 28 22:14:25 WST 2010
Hello all,
In my application I create the toolbar and menubar with UIManager and
ActionGroup.
This is a part of my actiongroup:
entries = (
...
("Test", gtk.STOCK_FIND, "_Test", "<control>T",
"This is just a test", self.menutest_activate),
...)
action_group = gtk.ActionGroup("MainWindowActions")
action_group.add_actions(entries)
Works like a charm for everything in my tool and menubar, but now I would
like to specify a custom image/icon instead of a standard stock icon. How
should this be done?
Cheers,
Timo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100228/3c4248e8/attachment.htm
More information about the pygtk
mailing list