Base class for plugins that extend the functionality of Uranium.
More...
|
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, args, kwags) |
|
def | getId (self) |
|
def | setPluginId |
|
def | setMetaData |
|
def | getMetaData (self) |
|
def | getPluginId (self) |
|
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.
- Parameters
-
def UM.Extension.Extension.addMenuItem |
( |
|
self, |
|
|
|
name |
|
) |
| |
Add an item to the sub-menu of the extension.
- Parameters
-
name | string |
function | function |
def UM.Extension.Extension.getMenuItemList |
( |
|
self, |
|
|
|
List, |
|
|
|
str |
|
) |
| |
Get list of all menu item names.
- Returns
- list
def UM.Extension.Extension.getMenuName |
( |
|
self, |
|
|
|
Optional, |
|
|
|
str |
|
) |
| |
Get the name of the menu where all menu items are placed in.
- Parameters
-
def UM.Extension.Extension.setMenuName |
( |
|
self, |
|
|
|
name |
|
) |
| |
Set name of the menu where all menu items are placed in.
- Parameters
-
The documentation for this class was generated from the following file: