Go to the source code of this file.
|
class | menu.gb |
| The class gb contains global variables and pointers to ease up accessibility in coding the functions of this module. More...
|
|
|
def | menu.SetTitle |
|
def | menu.Print |
| Print a message on the screen. More...
|
|
def | menu.Prompt (message) |
| Prompt a message, wait for any key to be pressed. More...
|
|
def | menu.ShowMenu |
| Show menu using entries (1st column) and default (2nd column). More...
|
|
def | menu.UpDown (entries, default, inc) |
| Allow the cursor to move up and down in the list. More...
|
|
def | menu.LeftRight (entries, default, options, inc) |
| Allow left/right keys to switch options in the second column and change default values. More...
|
|
def | menu.Browse |
| Browse a menu with entries (1st column) and default (2nd column, optional) Note: with Python > 2.5 we had some troubles initializing curses more than once. More...
|
|
def | menu.Insert (entries, default) |
| Similar to Browse, but allow the user to directly input the default values by a reading a string. More...
|
|
def | menu.RestoreScreen () |
| Restore screen back to shell functionality. More...
|
|
def | menu.CursesIsActive () |
| Return 1 if curses have been activated. More...
|
|
def | menu.Print_no_curses (message, sleep, row) |
| The next set of functions replicate the previous ones without using curses library. More...
|
|
def | menu.Prompt_no_curses (message) |
|
def | menu.Browse_no_curses (entries, default, options) |
|
def | menu.Insert_no_curses (entries, names) |
|