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

2008-04-05 Thread globalrev
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. [code] #! /usr/bin/env python from Tkinter import * import tkMessageBox class GUIFramework(

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

2008-04-05 Thread globalrev
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 the first entry the correspo