Created
December 27, 2011 12:06
-
-
Save yoavram/1523427 to your computer and use it in GitHub Desktop.
An example of Swampi entry widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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