示例#1
0
 def settings_widget(self, window):
     return EnterButton(_('Printer Calibration'), partial(self.calibration_dialog, window))
示例#2
0
 def settings_widget(self, window):
     return EnterButton(_('Settings'), partial(self.settings_dialog,
                                               window))
示例#3
0
 def settings_widget(self, window):
     # Return a button that when pressed presents a settings dialog.
     return EnterButton(_('Settings'), partial(self.settings_dialog,
                                               window))