コード例 #1
0
ファイル: edit_word_dialog.py プロジェクト: 13guff13/scripts
 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()
コード例 #2
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()
コード例 #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()
コード例 #4
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()