Uranium
Application Framework
|
Base class for plugins that extend the functionality of Uranium. More...
Public Member Functions | |
def | __init__ (self) |
def | addMenuItem |
Add an item to the sub-menu of the extension. More... | |
def | setMenuName |
Set name of the menu where all menu items are placed in. More... | |
def | getMenuName (self) |
Get the name of the menu where all menu items are placed in. More... | |
def | activateMenuItem |
Call function associated with option. More... | |
def | getMenuItemList (self) |
Get list of all menu item names. More... | |
![]() | |
def | __init__ (self) |
def | getPluginId (self) |
def | setPluginId (self, plugin_id) |
def | setVersion |
def | getVersion (self) |
Base class for plugins that extend the functionality of Uranium.
Every extension adds a (sub) menu to the extension menu with one or more menu items.
def UM.Extension.Extension.activateMenuItem | ( | self, | |
name | |||
) |
Call function associated with option.
name | string |
def UM.Extension.Extension.addMenuItem | ( | self, | |
name | |||
) |
Add an item to the sub-menu of the extension.
name | string |
function | function |
def UM.Extension.Extension.getMenuItemList | ( | self, | |
List, | |||
str | |||
) |
Get list of all menu item names.
def UM.Extension.Extension.getMenuName | ( | self, | |
Optional, | |||
str | |||
) |
Get the name of the menu where all menu items are placed in.
menu | name string |
def UM.Extension.Extension.setMenuName | ( | self, | |
name | |||
) |
Set name of the menu where all menu items are placed in.
name | string |