Part of kiwi.ui.widgets.contextmenu View In Hierarchy
Method | __init__ | An menu item with an (option) icon. |
you can use this in three different ways:
ContextMenuItem('foo') ContextMenuItem('foo', gtk.STOCK_PASTE) ContextMenuItem(gtk.STOCK_PASTE)
The first will display an label 'foo'. The second will display the same label with the paste icon, and the last will display the paste icon with the default paste label