Example #1
0
 def __init__(self, parent, en_str, tr_str, ru_str, callback):
     TopDialog.__init__(self, parent, (en_str, tr_str, ru_str))
     self._callback = callback
     self.title(_("win_editword_title"))
     self.wait_visibility()
     self.set_size(self.winfo_reqwidth(), self.winfo_reqheight())
     self.resizable(True, False)
     self.run()
 def __init__(self, parent, en_str, tr_str, ru_str, callback):
     TopDialog.__init__(self, parent, (en_str, tr_str, ru_str))
     self._callback = callback
     self.title(_("win_editword_title"))
     self.wait_visibility()
     self.set_size(self.winfo_reqwidth(), self.winfo_reqheight())
     self.resizable(True, False)
     self.run()
Example #3
0
 def __init__(self, parent, factory, statistic, stat_count_row):
     TopDialog.__init__(self, parent, (statistic, stat_count_row))
     self.factory = factory
     self.title(_("win_statistic_title"))
     self.wait_visibility()
     self.set_size(self.table_detailed_stat.get_totalWidth(), 750)
     self.resizable(True, True)
     self.grab_set()
     self.run()
 def __init__(self, parent, factory, statistic, stat_count_row):
     TopDialog.__init__(self, parent, (statistic, stat_count_row))
     self.factory = factory
     self.title(_("win_statistic_title"))
     self.wait_visibility()
     self.set_size(self.table_detailed_stat.get_totalWidth(), 750)
     self.resizable(True, True)
     self.grab_set()
     self.run()