python - How to display an icon in a menu item? -
i know how create plain text menu item:
item = gtk.menuitem('text')
but how can display icon?
like this:
simply use imagemenuitem
instead of menuitem
.
here's example: http://zetcode.com/tutorials/pygtktutorial/menus/
Comments
Post a Comment