Re: Our size allocation issues



On Mon, 2002-08-26 at 23:40, Mark McLoughlin wrote:
> > It's not that hard to do ... tracking getting *a* valid screen
> > is simply tracking when the widget has been added to a toplevel ...
> > that is, the ::hierarchy-changed signal. Tracking the current
> > screen requires connecting to notify::screen on the current
> > toplevel; gtkfontsel and gtktoolbar do this.
> 
> 	Okay, just want to make sure I'm misunderstanding anything :-)
> You're suggesting this as a way to determine when a widget gets a
> screen *before* realize right ?

	Indeed - I'm as interested as Mark is on a ruling on this; if this is
the right way to go - I'd like to do it ASAP, since it would kill the
need for emitting a size_allocate outside of a size_allocate handler in
the BonoboSocket code.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




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