Package libxyz :: Package ui :: Module entry :: Class NumEntry |
[hide private]
[frames] | no frames]

# Class NumEntry

source code

    lowui.FlowWidget --+
                       |
               ListEntry --+
                           |
                          NumEntry

Entry in list box which can be activated by pressing corresponding number

Instance Methods | [hide private]
__init__(self, msg, selected_attr, num_order, entry_attr=None, enter_cb=None) | source code
keypress(self, (maxcol,), key) | source code
Inherited from `ListEntry`: `render`, `rows`, `selectable`

Class Variables | [hide private]
Inherited from `ListEntry`: `text`

Method Details | [hide private]

### __init__(self, msg, selected_attr, num_order, entry_attr=None, enter_cb=None) (Constructor) | source code
Parameters: `msg` - Message `selected_attr` - Atrribute of selected entry `entry_attr` - Entry text attribute `num_order` - Entry number `enter_cb` - Callback to be executed upon ENTER pressed Overrides: ListEntry.__init__

### keypress(self, (maxcol,), key) | source code
Overrides: ListEntry.keypress