Re: bonobo-conf questions



On 04 Jul 2001 09:37:06 +0200, Dietmar Maurer wrote:
> What you need is a PropertyControl. The IDL is in
> bonobo/idl/Bonobo_Control.idl.
> 
> A small demo is included in bonobo-conf/bonobo-conf/config-moniker-demo.c
> (demo3). A BonoboConfigControl (bonobo-config-control.h) is the bonobo-conf
> implementation of the PropertyControl interface. It should be possible to
> aggregate such a BonoboConfigControl with your component. You can the query
> the component for that interface. The dialog is build with
> bonobo_preferences_new ().
> 
> Well, and there is also some documentation in bonobo-conf/doc/bonobo-conf.pdf
> (the section about preferences dialogs).

OK, thanks for the pointers. I've been able to implement the
BonoboConfigControl interface (use the bonobo_object_add_interface
method to do that). I then create a new BonoboConfigControl in that
interface (bonobo_config_control_new). 
But how do i implement the creation of the ConfigControl control? The
bonobo_config_control_new method only requires a BonoboEventSource. I
order for this to work, the BonoboControl must have a callback somewhere
that gets called when the application wants to display the preferences
gui?

So i assume i need to implement the BonoboConfigControlGetControlFn
somewhere in the bonobo control, right?

Jeroen





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