Package empro :: Module empro :: Module core :: Class ShortcutGroup
[frames] | no frames]

Class ShortcutGroup

Updatable --+        
            |        
   Selectable --+    
                |    
     ShortcutTree --+
                    |
                   ShortcutGroup

A Shortcutgroup is a collection of Shortcuts.

Class Hierarchy for ShortcutGroup
Class Hierarchy for ShortcutGroup

constructor ShortcutGroup():

constructor ShortcutGroup(iName):

Instance Methods
 
__call__(x, ...)
x(...)
 
__delitem__(x, y)
del x[y]
 
__setitem__(x, i, y)
x[i]=y
None
append(iShortcut)
Appends a Shortcut.
None
clear()
Removes all the shortcuts.
None
insert(iPosition, iShortcut)
Inserts a Shortcut at a given position.
None
move(iFrom, iTo)
Moves the Shortcut from a given position to another one.
None
remove(iPosition)
Removes the Shortcut at a given position.

Inherited from ShortcutTree: __getitem__, __len__, at, child, size

Inherited from Selectable: clone, isSelected

Inherited from Updatable: __enter__, __exit__, hash, isValid, reasonWhyInvalid

Properties

Inherited from Selectable: metaData, name, notes

Method Details

append(iShortcut)

 

Appends a Shortcut.

Parameters:
  • iShortcut (Shortcut) - The shortcut to append.
Returns: None

insert(iPosition, iShortcut)

 

Inserts a Shortcut at a given position.

Parameters:
  • iPosition (int) - The position where to insert.
  • iShortcut (Shortcut) - The shortcut to append.
Returns: None

move(iFrom, iTo)

 

Moves the Shortcut from a given position to another one.

Parameters:
  • iFrom (int) - the position of the shortcut to move
  • iTo (int) - the position of the shortcut to end up
Returns: None

remove(iPosition)

 

Removes the Shortcut at a given position.

Parameters:
  • iPosition (int) - the position of the shortcut to remove
Returns: None