Package libxyz :: Package ui :: Module shortcut :: Class Shortcut |
[hide private]
[frames] | no frames]

# Class Shortcut

source code

    object --+
             |
            Shortcut

Shortcut abstraction

Instance Methods | [hide private]
__init__(self, sc=None, raw=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
__hash__(self) hash(x) | source code
__eq__(self, other) | source code
__str__(self) str(x) | source code
__repr__(self) str(x) | source code
_hash(self, obj) | source code
_parse_sc(self, sc) Parse shortcut into raw form | source code
_parse_raw(self, raw) Make shortcut from raw keys received | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, sc=None, raw=None) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### __hash__(self) (Hashing function) | source code
hash(x) Overrides: object.__hash__ (inherited documentation)

### __str__(self) (Informal representation operator) | source code
str(x) Overrides: object.__str__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
str(x) Overrides: object.__repr__ (inherited documentation)

### _parse_sc(self, sc) | source code
Parse shortcut into raw form Parameters: `sc` - List of shortcuts as read from config file