Re: BonoboControl popup interface
- From: Michael Meeks <michael ximian com>
- To: Jens Finke <jens triq net>
- Cc: bonobo <gnome-components-list gnome org>
- Subject: Re: BonoboControl popup interface
- Date: 08 May 2002 17:13:31 +0100
Hi Jens,
On Tue, 2002-05-07 at 16:14, Jens Finke wrote:
> is there any documentation how to use the BonoboControl popup
> interface?
No - perhaps you're the one to write it ? ;-)
So; here's how it works; there are 2 APIs, one is mostly broken.
BonoboUIComponent *bonobo_control_frame_get_popup_component
(BonoboControlFrame *control_frame,
CORBA_Environment *opt_ev);
So you use this to grab the Control's UIContainer and get a UIComponent
to push stuff into it. So you add some verbs / menu items on the
ControlFrame end ...
The on the Control end when you get a button press and you want to do
the popup you use the bonobo_control_do_popup_full thing [ presumably
having first merged in your verbs / UI stuff on the control side ] - and
you're sorted.
I hope that makes sense ? This whole popup thing _shouldn't_ be _that_
useful since it involves quite a tight container <-> component contract
which is usually undesirable.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]