Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I just posted this:

#274616: “Simple” gnome applets in Unity - stickynotes

... where I could instantiate a Gnome 2 bonobo applet in a standalone window,

invest-applet-unity-standalone

... using bonobo.ui.widget_new_control_from_objref in a Python script - here is a snippet:

...
bcontrol = bonobo.activation.activate_from_id('OAFIID:Invest_Applet', 0, False)
buiwid = bonobo.ui.widget_new_control_from_objref(bcontrol, win.get_ui_container().corba_objref())
win.set_contents(buiwid)
...

I find this method extremely convenient, so I was wandering whether one could do something similar with dbus bindings; either from Python or from C?

(I would personally gather not - as far as I've read around, it seems bonobo was specifically intended for instantiating one application in another; while dbus currently just exchanges messages; however, I'd like to have it confirmed).

share|improve this question
add comment

1 Answer 1

As you suspected, this is not possible. D-Bus is merely a message passing system and knows nothing about GUI's.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.