[pygtk] Resizing problem with a button widget in a window
Danny Milosavljevic
danny.milo at gmx.net
Sat Feb 11 04:43:51 WST 2006
Hi,
Am Mittwoch, den 08.02.2006, 14:08 -0500 schrieb Thierry Lam:
> 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.
Yes...
I tried that, too, now, and the window is not resizable as it should
after I told it not to be... attached the glade files... be sure to try
them with your gtk version and tell me if they work like intended...
As a side note, do you have some very specific needs for the fixed
position thing (like a diagram-like view or something) ? Just curious...
(I even forgot that that feature was there for the last 3 years :))
>
> Thierry
cheers,
Danny
>
> -----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
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : projekt2.glade
Dateityp : application/x-glade
Dateigröße : 2081 bytes
Beschreibung: nicht verfügbar
URL : http://www.daa.com.au/pipermail/pygtk/attachments/20060210/83218bd2/projekt2.bin
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : projekt2.gladep
Dateityp : text/xml
Dateigröße : 277 bytes
Beschreibung: nicht verfügbar
URL : http://www.daa.com.au/pipermail/pygtk/attachments/20060210/83218bd2/projekt2-0001.bin
More information about the pygtk
mailing list