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


----- 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
> 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:
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org

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