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:[EMAIL PROTECTED] 
> 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

Attachment: projekt2.glade
Description: application/glade

<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd";>

<glade-project>
  <name>Projekt2</name>
  <program_name>projekt2</program_name>
  <gnome_support>FALSE</gnome_support>
</glade-project>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to