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

> to set their size and gtk_fixed_move() or
> gtk_fixed_put() to move them. gtk_widget_size_allocate() is only useful if
> you're implementing a custom widget.

Okay, ta.

__Jason



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