Public Member Functions | |
| def | __init__ |
| def | handleKey |
| def | draw |
| def | repaint |
Public Attributes | |
| win | |
| logic | |
| interface | |
| width | |
Static Public Attributes | |
| int | MINW = 0 |
| int | MINH = 0 |
| string | NAME = "" |
| tuple | HELP = () |
Subclass this to write a curse plugin, appearing as a window. MINW and MINH are the asked size and X,Y the placement that can be negative to be on the other side. Fill NAME and HELP to have an entry in the menu.
| def plugins.plugincurses.CursesPlugin.draw | ( | self | ) |
don't call self.win.noutrefresh, it will be done when needed
Reimplemented in plugins.chatcurses.ChatView, and plugins.menucurses.MenuView.
| def plugins.plugincurses.CursesPlugin.handleKey | ( | self, | |
| key | |||
| ) |
return True if the key has been used
Reimplemented in plugins.chatcurses.ChatView.
| def plugins.plugincurses.CursesPlugin.repaint | ( | self | ) |
update display
1.7.6.1