Re: About moniker-based activation.
- From: Michael Meeks <michael ximian com>
- To: Ronen Tzur <rtzur shani net>
- Cc: <gnome-components-list gnome org>
- Subject: Re: About moniker-based activation.
- Date: Thu, 20 Sep 2001 20:30:26 -0400 (EDT)
Hi Ronen,
On Wed, 19 Sep 2001, Ronen Tzur wrote:
> I've written a Bonobo-2 control that is activated by a container
> through a moniker using bonobo_widget_new_control(). In the control
> component, I need to be able to extract the rightmost part of the
> moniker string, so the control can open to the correct file.
Ok - the trick is to aggregate a BonoboItemHandler to the Control
- this means that during the moniker resolution process you have a
'GetObject' callback invoked in your code.
Jacob has a particularly neat handler in 'file-sel' to automate
setting property bag properties this way.
HTH,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]