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
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
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
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=ubuntuchannel=fsq=python+tkinter+tutorialsie=utf-8oe=utf-8
On Sun, Feb 2, 2014 at 3:38
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 will remove them all.
Is it possible to
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
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
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?
--
Lewis Wood fluttershy...@gmail.com 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
On Saturday, 1 February 2014 21:52:51 UTC, Dave Angel wrote:
Lewis Wood fluttershy...@gmail.com 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 fluttershy...@gmail.com 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
On Saturday, 1 February 2014 22:26:17 UTC, Dave Angel wrote:
Lewis Wood fluttershy...@gmail.com Wrote in message:
(deleting doublespaced googlegroups trash)
To put it another way, you only want one mainloop in your code.
--
DaveA
But I can
On Sun, 02 Feb 2014 00:07:00 +0100, Lewis Wood fluttershy...@gmail.com
wrote:
On Saturday, 1 February 2014 22:26:17 UTC, Dave Angel wrote:
Lewis Wood fluttershy...@gmail.com Wrote in message:
(snip)
DaveA
It does, this is the whole code:
from tkinter import *
root=Tk()
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
14 matches
Mail list logo