Re: Setting sizes of widgets (PyGTK)

2005-03-11 Thread Franck Pommereau
Harlin Seritt wrote: I have the following code and I would like to know how to set the length and width of widgets like Buttons. When the window opens the button fills up the space even though I have told it not to. Your button is stretched horizontally because there is nothing to put around it in

Setting sizes of widgets (PyGTK)

2005-03-11 Thread Harlin Seritt
I have the following code and I would like to know how to set the length and width of widgets like Buttons. When the window opens the button fills up the space even though I have told it not to. Anyone know how I can accomplish this? : import pygtk, gtk class Greeter: def __init__(self)