Re: Height of Widget in Container



Hi John,

Unfortunately gtk_widget_queue_resize() has no effect in my situation as it
will have no effect on the time that the resizing computation is triggered.
I just need to be able to query the correct dimensions of a widget when it
is placed in to an already mapped container, this means I have to find a way
of triggering what gtk does in its idle handler somehow.  The fact that it
doesn't do this computation immediately when its parent is on the screen
seems like a bug to me / design flaw.

Any other suggestions?

Thanks for you time

Ian

----- Original Message -----
From: <John Cupitt ng-london org uk>
To: <king eiffel com>
Cc: <gtk-list gnome org>
Sent: Thursday, November 07, 2002 3:36 AM
Subject: Re: Height of Widget in Container


> Ian King [ES] wrote:
> > Is there anyway to force a container to update the the allocation
structs
> of
> > its children at a certain point in time?
>
> Hi Ian, would gtk_widget_queue_resize() work?
>
> John
>
>
>
> ==========================================================
>
> Madame de Pompadour
> Images of a Mistress
>
> 16 October 2002 - 12 January 2003
>
> For information and tickets:
> http://www.nationalgallery.org.uk/exhibitions/pompadour/default.htm
> _______________________________________________
> 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]