Top |
PopupMenu.PopupMenuAbstractItemPopupMenu.PopupMenuAbstractItem — A class to represent any abstract menu item. |
This is an abstract class for create a binding between the PopupMenuItem class , and an abstract representation of a menu item. If you want to create a cinnamon menu structure, you need to inherit from this class and implement the functions getItemById and handleEvent. All instances of this class need to have a unique id to represent a menu item.