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



On Thu, 12 Aug 1999 12:26:29 GMT, jason@harlequin.co.uk (Jason Trenouth)
wrote:

> 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?

Oh and I probably should have said that I'm using GTK on Win32. Perhaps
there's a bug in that back end? I'm really only doing development on Win32
because I have a working Windows tool chain in front of me. Delivery will be
on Linux.

__Jason



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