Re: GGV 1.1.96



Hello Michael

> 	Please can you tell me _what_ you are trying to do in a solution
> neutral way, I do think that by trying to get at the verbs you are
> making life really, unnecessarily difficult for yourself.
OK. Just a very simple thing: my capplet has several tabs. First (N-1)
tabs configure XKB keyboard and the last one contains bonobo object (in
real life - ggv) rendering some postscript file (actually, output of
xkbprint). So I want to put some set of buttons (taken directly from
bonobo control responsible for postscript - i.e. GGV). So there will be
buttons "rotate", "zoom" etc. Actually, for a moment (for the next
version of GSwitchIt) I check whether the object implements "core"
Bonobo:Zoomable interface (ggv does) and set standard 4 buttons for it.
But there are ggv-specific verbs (rotate) which I would like to take
from bonobo machinery.

> 	Inherit from BonoboObject and implement the BonoboUIContainer interface
> - with a load of stubs - or NULL pointers will prolly do the trick quite
> nicely. You only need to implement the registerComponent method, and
> just hold on to that UIComponent handle and invoke verbs on it.
Now it's getting more clear. I will have a look... I just don't
understand how I get the list of these verbs.

> 	HTH,
A lot

Cheers,

Sergey




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