Skip to content

Instantly share code, notes, and snippets.

@yoavram
Created December 27, 2011 12:06
Show Gist options
  • Save yoavram/1523427 to your computer and use it in GitHub Desktop.
Save yoavram/1523427 to your computer and use it in GitHub Desktop.
An example of Swampi entry widget
from swampy.Gui import *
def go():
g.la(text=entry.get())
g=Gui()
g.title('My GUI')
entry = g.en(text="Enter text here")
button = g.bu(text="Go", command=go)
label = g.la()
g.mainloop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment