Re: [gtk-list] Re: more widget size problems/questions



Havoc Pennington wrote:
> 
> On Sun, 20 Jun 1999, brent verner wrote:
>
> > but i wonder if the WM knows
> > who the parent of the new window is. 
> >
> 
> The WM knows the parent from gtk_window_set_transient_for(), so it should
> be able to do this.

...only if gtk_window_set_transient_for() is called.

> 
> > i don't know enough about gtk internals, but it _seems_ to me
> > that there must be some way to have gtk_widget_realize()
> > make the appropriate requests for size that is being done
> > by gtk_widget_show()...
> >
> 
> The thing is that the size allocation process doesn't happen until the
> toplevel window is on the screen (when GtkWindow gets a configure_event).
> 
> At least, I think that's how it works.

maybe there is someway to send a configure_event to a realized, 
unshown widget to kick it into allocating (atleast requesting)
screen real-estate... just ideas i'll look into later.

later.
brent



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