Re: BonoboView sizing problems
- From: Michael Meeks <michael helixcode com>
- To: Martin Baulig <martin home-of-linux org>
- Cc: gnome-components-list gnome org
- Subject: Re: BonoboView sizing problems
- Date: Wed, 29 Nov 2000 13:05:52 -0500 (EST)
Hi Martin,
On 29 Nov 2000, Martin Baulig wrote:
> After creating the BonoboViewFrame and connecting it to its BonoboView
> In my container application I want to ask the View for its desired
> size (since I want to use it as the default size for the ViewFrame).
>
> But there is no way to do this - the BonoboSocket will get its size at
> some point when gtk_container_idle_sizer() is run next time and there's
> no way to get a callback.
Why can you not just listen on the CHECK_RESIZE signal ?
> However, there is a simple way to fix this without breaking any existing
> API - all we need to do is to implement BonoboControl::getDesiredSize()
> which currently does nothing.
The thing is; that these APIs are left as a throw back to the old
and broken way of sizing Gtk widgets, which instead of going through the
plug / socket queue tried to do it synchrnonously and directly. I really
want to discourage people doing this again. Hmm.
Still; I suppose it's an easy solution, we can do it if you like,
but do it quickly so I don't feel the pain.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]