I just happened to find this link:
http://effbot.org/tkinterbook/
through this link:
https://wiki.python.org/moin/TkInter
which ALL happened to stem from this link:
https://www.google.com/search?client=ubuntu&channel=fs&q=python+tkinter+tutorials&ie=utf-8&oe=utf-8
On Sun, Feb 2, 2014 at 3:3
Thanks all who replied, will look further into megawidgets and the Toplevel()
function. Is there a way to get a separate window to return something when
closed?
--
https://mail.python.org/mailman/listinfo/python-list
Am 02.02.14 00:07, schrieb Lewis Wood:
It does, this is the whole code:
from tkinter import *
root=Tk()
root.title("Second Root Testing")
def secondwindow():
root2=Tk()
root2.mainloop()
button1=Button(root,text="Root2",command=secondwindow).grid(row=0,column=0)
root.mainloop()
I
Am 01.02.14 20:43, schrieb Lewis Wood:
I was wandering if I could dynamically change my GUI and after a few searches
on Google found the grid_remove() function. What I'm wandering now is if there
is a way to group a lot of widgets up into one, and then use the one
grid_remove function which wi
Idle, which used tkinter, runs multiple windows in one process with one
event loop. There is no reason I know of to run multiple event loops in
one process, and if you do, the results will not be documented and might
vary between runs or between different systems.
Idle can also be run multiple
On Sun, 02 Feb 2014 00:07:00 +0100, Lewis Wood
wrote:
On Saturday, 1 February 2014 22:26:17 UTC, Dave Angel wrote:
Lewis Wood Wrote in message:
(snip)
DaveA
It does, this is the whole code:
from tkinter import *
root=Tk()
root.title("Second Root Testing")
def secondwindow():
On Saturday, 1 February 2014 22:26:17 UTC, Dave Angel wrote:
> Lewis Wood Wrote in message:
>
> >
>
> >>
>
> (deleting doublespaced googlegroups trash)
>
> >>
>
> >>
>
> >> To put it another way, you only want one mainloop in your code.
>
> >>
>
> >> --
>
> >>
>
> >> DaveA
>
> >
Lewis Wood Wrote in message:
>
>>
(deleting doublespaced googlegroups trash)
>>
>>
>> To put it another way, you only want one mainloop in your code.
>>
>> --
>>
>> DaveA
>
> But I can click the button Multiple times and it will create multiple windows?
>
Not using the function you show
On Saturday, 1 February 2014 21:52:51 UTC, Dave Angel wrote:
> Lewis Wood Wrote in message:
>
> > Oh and another question, say I make another window in the program itself
> > using this:
>
> >
>
> > def secondwindow():
>
> > root2=Tk()
>
> > root2.mainloop()
>
> >
>
> > Would it
Lewis Wood Wrote in message:
> Oh and another question, say I make another window in the program itself
> using this:
>
> def secondwindow():
> root2=Tk()
> root2.mainloop()
>
> Would it be possible for me to use some code which would return True if one
> of these windows is currently
Oh and another question, say I make another window in the program itself using
this:
def secondwindow():
root2=Tk()
root2.mainloop()
Would it be possible for me to use some code which would return True if one of
these windows is currently up, or return False if the window is not up?
--
You become less of a a faget and stop sucking granni tranni pussi
dis shud help u lewl
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, 1 February 2014 19:43:18 UTC, Lewis Wood wrote:
> I was wandering if I could dynamically change my GUI and after a few searches
> on Google found the grid_remove() function. What I'm wandering now is if
> there is a way to group a lot of widgets up into one, and then use the one
>
13 matches
Mail list logo