cheapbag214s
Joined: 27 Jun 2013
Posts: 18622
Read: 0 topics
Warns: 0/5 Location: England
|
Posted: Thu 19:19, 19 Jun 2014 Post subject: Replica Ray Ban Sunglasses hebingoakley_4485 |
|
|
it as [url=http://www.staimanmedia.com/ray-ban.php]Replica Ray Ban Sunglasses[/url] often as possible...
I am no longer bound by my past. I am released to live my life by design rather than by infliction. [url=http://www.staimanmedia.com/ray-ban.php]Cheap Ray Bans UK[/url] The life I now lead is one that [url=http://www.iberacero.es/iberacero.asp]Gafas Oakley Deportivas[/url] is being created today and is not confined by my past, my successes or my mistakes. Not by the good events [url=http://www.iberacero.es/iberacero.asp]Oakley Baratas[/url] or the bad events. I commit to living today for all of it's worth for the betterment of myself and those that I love! Getting the textvariable out of [url=http://www.fal.es/fal.php]Oakley Baratas[/url] a python Tkinter entry widget
I'm trying to bind a function to my Tkinter root that reacts when the user presses return. Here's the code:
from Tkinter import *
def returnPressed(event):
print repr(event.widget)
master = Tk()
master.bind("Return", returnPressed)
myStringVar = StringVar(value="Foo")
myEntry = Entry(master, textvariable=myStringVar)
myEntry.grid()
master.mainloop() This works, however now I need to get the StringVar variable of the entry while in the returnPressed function. I have the widget but I can't get the variable object. I know how to get the variable content but I really
相关的主题文章:
[url=http://www13.plala.or.jp/white_roots/gwbbs/gwbbs.cgi]http://www13.plala.or.jp/white_roots/gwbbs/gwbbs.cgi[/url]
[url=http://scaffolder.co.nz/viewtopic.php?f=23&t=203939]http://scaffolder.co.nz/viewtopic.php?f=23&t=203939[/url]
[url=http://www.compassionforgreyhounds.org/forum/viewtopic.php?p=45363#45363]http://www.compassionforgreyhounds.org/forum/viewtopic.php?p=45363#45363[/url]
The post has been approved 0 times
|
|