In article [EMAIL PROTECTED],
Paul Rubin http://[EMAIL PROTECTED] wrote:
Martin Franklin [EMAIL PROTECTED] writes:
I suspect you need to look at the columnconfigure / rowconfigure methods
of the container (toplevel or frame)
Thanks, columnconfigure turned out to be the answer and Peter
Martin Franklin [EMAIL PROTECTED] writes:
I suspect you need to look at the columnconfigure / rowconfigure methods
of the container (toplevel or frame)
Thanks, columnconfigure turned out to be the answer and Peter Otten's
post showing how to use it was very informative. For some reason
I have a gui with a bunch of buttons, labels, the usual stuff. It
uses the grid manager:
gui = Frame()
gui.grid()
gui.Label().grid() # put some widgets into the gui
...# more widgets
Now at the the very bottom of the gui, I want to add two more buttons,
let's say stop and
Paul Rubin wrote:
I have a gui with a bunch of buttons, labels, the usual stuff. It
uses the grid manager:
gui = Frame()
gui.grid()
gui.Label().grid() # put some widgets into the gui
...# more widgets
Now at the the very bottom of the gui, I want to add two more
Paul Rubin wrote:
I think you are missing the columnconfigure()/rowconfigure() methods as
Martin Franklin pointed out. Anyway, here is some code to illustrate the
matter. I've found it helpful to use false colors to see what's going on.
the yellow 'main' frame contains the red 'north' and the
In article [EMAIL PROTECTED],
Paul Rubin http://[EMAIL PROTECTED] wrote:
I have a gui with a bunch of buttons, labels, the usual stuff. It
uses the grid manager:
gui = Frame()
gui.grid()
gui.Label().grid() # put some widgets into the gui
...# more widgets
Now at the the
Tim Daneliuk wrote:
I am trying to initialize a menu in the following manner:
for entry in [(Up, KeyUpDir), (Back, KeyBackDir), (Home,
KeyHomeDir), (Startdir, KeyStartDir), (Root, KeyRootDir)]:
func = entry[1]
UI.ShortBtn.menu.add_command(label=entry[0], command=lambda:
func(None))
Tim Daneliuk [EMAIL PROTECTED] wrote:
I am trying to initialize a menu in the following manner:
for entry in [(Up, KeyUpDir), (Back, KeyBackDir), (Home,
KeyHomeDir), (Startdir, KeyStartDir), (Root, KeyRootDir)]:
func = entry[1]
UI.ShortBtn.menu.add_command(label=entry[0],
Tim Daneliuk wrote:
I am trying to initialize a menu in the following manner:
for entry in [(Up, KeyUpDir), (Back, KeyBackDir), (Home,
KeyHomeDir), (Startdir, KeyStartDir), (Root, KeyRootDir)]:
func = entry[1]
UI.ShortBtn.menu.add_command(label=entry[0], command=lambda:
func(None))