示例#1
0
 def __init__(self):
     self.__logger = logging.getLogger("cjc.ui.Input")
     Widget.__init__(self)
     self.prompt_win = None
     self.input_win = None
     self.prompt = None
     self.command_line = None
     self.input_widget = None
     self.question_handler = None
     self.question_abort_handler = None
示例#2
0
 def __init__(self,title,lock=0):
     self.__logger=logging.getLogger("cjc.ui.Window")
     Widget.__init__(self)
     self.buffer=None
     self.title=title
     self.win=None
     self.locked=lock
     self.active=0
     d=self.get_status_dict()
     self.status_bar=StatusBar("window_status",d)
示例#3
0
文件: input.py 项目: AdamPrzybyla/cjc
 def __init__(self):
     self.__logger=logging.getLogger("cjc.ui.Input")
     Widget.__init__(self)
     self.prompt_win=None
     self.input_win=None
     self.prompt=None
     self.command_line=None
     self.input_widget=None
     self.question_handler=None
     self.question_abort_handler=None
示例#4
0
 def __init__(self, title, lock=0):
     self.__logger = logging.getLogger("cjc.ui.Window")
     Widget.__init__(self)
     self.buffer = None
     self.title = title
     self.win = None
     self.locked = lock
     self.active = 0
     d = self.get_status_dict()
     self.status_bar = StatusBar("window_status", d)
示例#5
0
 def __init__(self, *children):
     if len(children) < 1:
         raise ValueError, "At least 2 children must be given"
     Widget.__init__(self)
     self.children = children
示例#6
0
 def __init__(self, format, dict):
     Widget.__init__(self)
     self.format=format
     self.dict=dict
     self.current_content=None
示例#7
0
 def __init__(self, format, dict):
     Widget.__init__(self)
     self.format = format
     self.dict = dict
     self.current_content = None
示例#8
0
文件: split.py 项目: AdamPrzybyla/cjc
 def __init__(self,*children):
     if len(children)<1:
         raise ValueError,"At least 2 children must be given"
     Widget.__init__(self)
     self.children=children