Re: Resizing Windows
- From: John Kodis <kodis jagunet com>
- To: Meghal Harish Varia <varia ecf utoronto ca>
- Cc: gtk-list gnome org
- Subject: Re: Resizing Windows
- Date: Mon, 9 Oct 2000 08:47:10 -0400
On Sun, Oct 08, 2000 at 11:43:59PM -0400, Meghal Harish Varia wrote:
> I want to handle resizing so that I maintain a certain ratio between the
> two vertical sections (the big picture on the left should be about 2 times
> as wide as the other vertical slab on the left).
> So I get a configure event. Now is the best way to do this to dynamically
> recreate the layout (the buttons and everything, resizing them as
I seem to remember seeing code for a GtkAspect widget (I may be
mis-remembering the name slightly) written by one of the core Gtk
hackers which did exactly what you're asking for. I don't remember
where I saw it though. Perhaps someone else will have a reference.
You could also just catch the configure event and call _set_usize() on
each of the widgets that you've packed into the top-level container.
-- John Kodis.
] [Thread Prev