def settings_widget(self, window): return EnterButton(_('Settings'), partial(self.settings_dialog, window))
def settings_widget(self, window): # Return a button that when pressed presents a settings dialog. return EnterButton(_('Settings'), partial(self.settings_dialog, window))
def settings_widget(self, window): return EnterButton(_('Connect to bitcoind'), partial(self.settings_dialog, window))
def create_send_tab(self, grid): button = EnterButton(_("Pay with Bitpost..."), lambda: self.display_bitpost(grid)) grid.addWidget(button, 6, 5) button.show()
def settings_widget(self, window): return EnterButton(_('Printer Calibration'), partial(self.calibration_dialog, window))