Beispiel #1
0
 def __init__(self, name=None):
     Widget.__init__(self, name)
     self.panel.leaveok = False
     self.text = ""
     self.textmap = []
     self.prompt = ""
     self.cursor = 0
Beispiel #2
0
 def __init__(self, title=None):
     Widget.__init__(self, title)
     self.list = []
     self.title = title
     self.cursor = 0
     self.scrolltop = 0
     self.lb = 0
     self.maxrow = 1
Beispiel #3
0
 def __init__(self, name=None):
     Widget.__init__(self, name)
     self.message = ""
     self.options = []
     self.cursor = 0
     self.result = None
     self.listbox = ListBox()
     self.listbox.lb = -1
Beispiel #4
0
 def __init__(self):
     Widget.__init__(self, "Filer")
     y, x = self.stdscr.getmaxyx()
     self.titlebar = curses.newwin(1, x, 0, 0)
     self.titlebar.bkgd(look.colors["Titlebar"])
     self.navigationbar = NavigationBar()
     self.workspaces = []
     self.cursor = 0
     self.default_init()
Beispiel #5
0
 def __init__(self):
     Widget.__init__(self, "NavigationBar")
     self.refresh()
Beispiel #6
0
 def __init__(self):
     Widget.__init__(self, "Message")
     self.messages = []
     self.timer = None
     self.messagebox = MessageBox()
     self.confirmbox = ConfirmBox()