Fw: Widget size



In response to my previous message, how do I tell gtk to automatically
recompute all of the widget allocations immediately, will gtk_widget_draw
(hbox) do this, or is there some other function I can use?  The allocation
of the button does update but not immediately, it is usually updated within
100 ms.

Thanks for your time, I would love to fix this `bug'.

Ian King
----- Original Message -----
From: "Ian King" <king eiffel com>
To: <gtk-list gnome org>
Sent: Wednesday, June 20, 2001 12:42 PM
Subject: Widget size


> I have a small example of a button within a hbox.  The hbox has, say a
> height of 100 pixels, the button has a minimum height of 25 pixels.  When
> the button is in the hbox, it also has an allocated height of 100 pixels.
> When I take it out of the hbox, its allocated height is 25 pixels, however
> when I put the button back in the hbox (this is all done on-screen), the
> allocated height is still 25.  Why is this and how do I get the allocation
> to update immediately.
>
> Thanks for your time
>
> Ian King
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>





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