[pygtk] Resizing problem with a button widget in a window
Thierry Lam
lam at pcigeomatics.com
Thu Feb 9 03:08:14 WST 2006
I'm using Glade 2.6.0, if you check the "Palette" window,
- Make sure you are in "GTK+Basic"
- 3rd row from the bottom, there will be 4 icons corresponding to
"Horizontal Box", "Vertical Box", "Table" and then "Fixed Positions"
I believe that "Fixed Positions" is the feature which let you place
widgets wherever you want on a window.
Thierry
-----Original Message-----
From: Danny Milosavljevic [mailto:danny.milo at gmx.net]
Sent: Wednesday, February 08, 2006 2:02 PM
To: Thierry Lam
Cc: pygtk
Subject: Re: [pygtk] Resizing problem with a button widget in a window
Hi,
Am Mittwoch, den 08.02.2006, 09:58 -0500 schrieb Thierry Lam:
> I have a GUI program which has an "About" menu item. After clicking on
> it, an About window is generated. The About window was created with
> Glade, here are the steps for its creation:
>
> - Create a new window
> - Set the window to "Fixed Positions"
What is that? I've never seen "Fixed Positions" anywhere...
> - Add some text, pictures and a button
>
> Here's how it looks like:
>
> [ About win ]
> [ ]
> [ [ OK ] ]
> [ ]
>
> For the About window, I was able to set it to non-resizable.
> However,
> when I try to resize the window, it resizes vertically from the OK
> button. Is there a way to fix that? Maybe my About window creation is
> not the best. Any suggestions?
I tried setting "resizable" to "no" in glade for the window, and indeed,
now I can't resize it, vertically or otherwise...
Can you post your glade file?
>
>
> Thanks
> Thierry
cheers,
Danny
More information about the pygtk
mailing list