Re: [Tkinter-discuss] Buttonwidget, problem with callback-function!?

2008-04-07 Thread Martin Franklin
globalrev wrote: > in the following program i want "1" to appear in the upper "entry" when i > click the button "1". > > so i will replace state=DISBALED with command=self.Display(xbtn) or > command=Display(xbtn). Display being a function that takes the pressed > buttons "value" and so outputs in

Re: [Tkinter-discuss] How to make all the buttons the same size?

2008-04-07 Thread Martin Franklin
globalrev wrote: > Buttons shrink to fit the symbol/text u put on it. well i dont want that it > looks ugly. how do i set the same size for all the buttons? > i thought it was row/columnspan at first but it doesnt seem to work. I normally use button width like so: b = Button(frame, text = "1", wi