Skip to content

Instantly share code, notes, and snippets.

@theodox
Created February 18, 2014 05:16
Show Gist options
  • Save theodox/9065012 to your computer and use it in GitHub Desktop.
Save theodox/9065012 to your computer and use it in GitHub Desktop.
@Label.setter
def Label(self, val):
return self.CMD(self.Widget, e=True, label=val)
# add this to the example above:
btn.Label = "Goodbye cruel world"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment