Reputation: 4914
I know how to create a plain text menu item:
item = gtk.MenuItem('text')
but how can I display an icon?
Like this:
Upvotes: 3
Views: 532
Reputation: 4085
Simply use ImageMenuItem
instead of MenuItem
.
Here's an example: http://zetcode.com/tutorials/pygtktutorial/menus/
Upvotes: 3