Re: CORBA-equivalent of bonobo_ui_component_add_verb_list()



Hi Murray,

On 29 Mar 2002, Murray Cumming wrote:

> On Fri, 2002-03-29 at 14:39, Mark McLoughlin wrote:
> > Hi Murray,
> >
> > On 29 Mar 2002, Murray Cumming wrote:
> >
> > > On Fri, 2002-03-29 at 14:15, Mark McLoughlin wrote:
> > > > 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
> > >
> > > So I need to implement a UIComponent server on the client side so that I
> > > can put a case/switch in my own execVerb implementation?
> > >
> > > If so, presumably there would be a bunch of other functionality to
> > > implement too.
> >
> > 	I have no idea what you are trying to do, so I have no idea
> > what you need to do ...
>
> This is all about using the BonoboUI CORBA interfaces to write a GNOME
> application, without using the C sugar wrappers. I'm actually trying to
> convert the bonoboui_hello sample to C++.

	Well in this case, we're not talking about sugar wrappers.
We're talking about the implementation of the interfaces ... which you
would have to re-write if you don't want to use bonoboui ... So, I
think for some things in bonobo you'll want to wrap the C library and
for other things (the pure sugar wrappers) you'll just use the CORBA
directly.

Good Luck,
Mark.




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