On Friday, March 4, 2016 at 3:50:43 PM UTC-6, [email protected] wrote:
> Thanks for your attention to this matter.
> My code now look like this: [...]
All of the help offered in this thread ignores the elephant
in the room. What are you trying to achieve here Kevin? To
me, this looks like some so
[email protected] wrote:
>
>
> Christian & Others:
>
> Thanks for your attention to this matter.
> My code now look like this:
>
> from Tkinter import *
>
>
> def butContinue():
> dbUser = entryName.get()
Here you set the local variable dbUser (every name you rebind inside a
functio
Christian & Others:
Thanks for your attention to this matter.
My code now look like this:
from Tkinter import *
def butContinue():
dbUser = entryName.get()
pWord = entryPWord.get()
print dbUser
print pWord
root1.quit()
dbUser = ""
pWord = ""
root1 = Tk()
##root1.geomet
[email protected] wrote:
>from Tkinter import *
>
>def butContinue():
>root1.destroy()
As Christian said, you're destroying the root window and its children,
so instead use root1.quit() here.
> ...
>
>root1.mainloop()
>
>print entryName.get("1.0", "end-1c" )
>print entryPWord.get("1.0", "
Christian Gollwitzer wrote:
> Am 23.02.16 um 22:39 schrieb [email protected]:
>> from Tkinter import *
>>
>> def butContinue():
>> root1.destroy()
>> [...]
>> entryName = Entry(root1).grid(row=1, column=1, pady=5)
>> [...]
>> butGo = Button(root1, text=" Continue " , command=butContin
Am 23.02.16 um 22:39 schrieb [email protected]:
lblTop = Label(root1, text= ' Enter Values Below', font="Helvetica
14").grid(row=0, column=0, columnspan=2 , pady=5)
##lblTop.pack(side = TOP)
lblDB = Label(root1,text= 'Weight').grid(row=1, column=0 )
lblPWord = Label(root1, text=
Am 23.02.16 um 22:39 schrieb [email protected]:
from Tkinter import *
def butContinue():
root1.destroy()
[...]
entryName = Entry(root1).grid(row=1, column=1, pady=5)
[...]
butGo = Button(root1, text=" Continue " , command=butContinue
).grid(row=3, column=1, sticky=W, pady=10)
root
Hello:
Newbie here.
Spent the a good part of the day tinkering and reading tutorials,
I was able to create a sample that is very close to my requirement.
When I execute the code below the Dialog displayed as expected and
I can enter data into the textboxes. All good.
When I click on butGo I
"Rick Johnson" a écrit dans le message de
news:[email protected]...
You don't need to call "mainloop()" when building Tkinter
widgets on the command-line, but for *real* scripts i believe
you'll need to. For instance, if you run the following code
you wil
On Wednesday, November 19, 2014 5:23:38 AM UTC-6, Terry Reedy wrote:
> On 11/19/2014 3:46 AM, ast wrote:
> > mainloop() is a window method which starts the event
> > manager which tracks for events (mouse, keyboard ...) to
> > be send to the window. But if I forget the
> > root.mainloop() in my pro
On 11/19/2014 3:46 AM, ast wrote:
Hello
mainloop() is a window method which starts the event manager which
tracks for events (mouse, keyboard ...) to be send to the window.
But if I forget the root.mainloop() in my program, it works well anyway,
I cant see any failure. Why ?
Second question, i
Hello
mainloop() is a window method which starts the event manager
which tracks for events (mouse, keyboard ...) to be send to the
window.
But if I forget the root.mainloop() in my program, it works well
anyway, I cant see any failure. Why ?
Second question, is it possible to cancel a main
Hi,
I am trying to run a Tkinter application in a thread and it
works pretty well to an extent. However, when I try to
recreate the application after the thread exits, the new
application never shows up. The code below the message
explains what I am trying.
On running this, you should see a simpl
Many thanks, You're right this wasn't my code, this was just what I
can remember, because my application is at home, and I'm at work.
Be sure I'll follow your advices concerning posting rules in this
group !
Eric Brunel <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> k2riddim wr
k2riddim wrote:
Hello,
I'm a beginner with Python and Tkinter development.
My application parse links in an html file. And I use Tkinter to
implement a GUI. This GUI has a button to launch the parse treatment,
and a status bar to show the state of the treatment.
I know that because of the mainloop,
Hello,
I'm a beginner with Python and Tkinter development.
My application parse links in an html file. And I use Tkinter to
implement a GUI. This GUI has a button to launch the parse treatment,
and a status bar to show the state of the treatment.
I know that because of the mainloop, my tkinter appl
16 matches
Mail list logo