示例#1
0
文件: gtk.py 项目: oktoshi/encompass
 def set_url(self, url):
     payto, amount, label, message, payment_request = parse_URI(url)
     self.notebook.set_current_page(1)
     self.payto_entry.set_text(payto)
     self.message_entry.set_text(message)
     self.amount_entry.set_text(amount)
     self.payto_sig.set_visible(False)
示例#2
0
 def pay_from_URI(self, URI):
     try:
         dest_address, amount, label, message, request_url = util.parse_URI(URI)
     except:
         return
     self.address_input.setText(dest_address)
     self.address_field_changed(dest_address)
     self.amount_input.setText(str(amount))
示例#3
0
 def pay_from_URI(self, URI):
     try:
         dest_address, amount, label, message, request_url = util.parse_URI(URI)
     except:
         return
     self.address_input.setText(dest_address)
     self.address_field_changed(dest_address)
     self.amount_input.setText(str(amount))