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




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

Havoc




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