[Pythonmac-SIG] Couple'o Tkinter Questions...

Jerry LeVan jerry.levan at eku.edu
Tue Oct 19 00:29:25 CEST 2004


Hi,

I am using apple's python with the "apple extensions" to get pythonw.
My Tk is the TclTk Aqua Batteries Included version 8.4.7 by Dan Steffen.

1) Is there anyway to get rid of the white box that surrounds buttons?

2) This might be foolish, but I can't seem to find the magic incantation
    that allows a single frame to expand to fill a top level window via
    the grid manager...

    I can do it via pack ie:

     form = Frame(root)   # root is a Toplevel window
     #form.grid(row=0,column=0,sticky='NSEW',padx=20,pady=10)
     #form.rowconfigure(0,weight=1)
     #
     form.pack(side=TOP,expand=YES,fill=BOTH,padx=20,pady=10)
     form.configure(bg='light blue')

     But I just can't seem to find the magic for the grid geometry
     manager....

Thanks,

Jerry



More information about the Pythonmac-SIG mailing list