Re: [gtk-list] Re: gtk_widget_size_allocate doesn't seem to change the size of my widgets in a GtkFixed container



On Wed, 11 Aug 1999 18:32:13 +0100, Damon Chaplin
<damon@karuna.freeserve.co.uk> wrote:

> Jason Trenouth wrote:
> > 
> > On Wed, 11 Aug 1999 11:34:27 -0400 (EDT), Havoc Pennington <hp@redhat.com>
> > wrote:
> > 
> > >
> > > On Wed, 11 Aug 1999, Jason Trenouth wrote:
> > > >
> > > > I've got a bunch of widgets in a GtkFixed container and I'm trying to set
> > > > their sizes and positions using gtk_widget_size_allocate but it has no visual
> > > > effect and if I query the sizes using gtk_widget_size_request then they don't
> > > > appear to have changed. What am I doing wrong? :-(
> > > >
> > >
> > > Use gtk_widget_set_usize()
> > 
> > That doesn't seem to work either.
> 
> Glade uses gtk_widget_set_usize() to change the size of widgets in a GtkFixed
> container. It works for me!

Hmmm. Okay. Might it matter whether they were already realized or mapped?

__Jason



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]