Re: CORBA-equivalent of bonobo_ui_component_add_verb_list()



Hi Murray,

On 29 Mar 2002, Murray Cumming wrote:

> How should I set the UIComponent verb callbacks using just the CORBA
> interface? bonobo_ui_component_add_verb_list() and friends seem to set
> priv->verbs in the BonoboUIComponent C wrapper, but I can't see how this
> corresponds to the CORBA interfaces.

	I think the way it works is that you register a UIComponent
object with the container and when the verb is invoked on the
container side, the container invokes 'execVerb' on the component
object. See impl_Bonobo_UIComponent_execVerb

>
> Does CORBA have some kind of generic callback system?

	It does have something called an event service, which I've
long forgotten how it works. And we've also got
Bonobo::Listener/EventSource in GNOME.

Good Luck,
Mark.




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