Пример #1
0
 def __init__(self, text="", margin=None, writer=None):
     margin = style.INSERTWRITER_MARGIN if margin is None else margin
     OneLineText.__init__(self, text)
     self.margin = margin
     if not writer:
         self.writer = Writer()
     else:
         self.writer = writer
Пример #2
0
 def __init__(self, father, abspath):
     OneLineText.__init__(self)
     self.father = father
     self._path = father.path
     self.abspath = abspath
     self._n = None
     self._path_list = self._get_strs()
     self._path = "".join(self._path_list)
Пример #3
0
 def __init__(self, father, abspath):
     OneLineText.__init__(self)
     self.father = father
     self._path = father.path
     self.abspath = abspath
     self._n = None
     self._path_list = self._get_strs()
     self._path = "".join(self._path_list)
Пример #4
0
 def __init__(self, launcher_txt, normal_params=None, click_quit=False):
     OneLineText.__init__(self,
                          text=launcher_txt,
                          normal_params=normal_params)
     self.click_quit = click_quit
Пример #5
0
 def __init__(self, launcher_txt, normal_params=None, click_quit=False):
     OneLineText.__init__(self, text=launcher_txt,
                          normal_params=normal_params)
     self.click_quit = click_quit