What is the newest way to develop gnome panel applets (using python)

Today I switched to GNOME (from XFCE) and found that some of the cool things were missing and I would like to (try) do it myself. I tried to find information on how to develop Gnome applets (elements that you place inside the panel) and most likely in Python, but this is not a hard limit.

I found the article "Gnome applets with Python" , but it seems pretty old (2004). The first bonobo mentioned is bonobo (whatever that is), but the Gnome page on Bonobo scares him off.

Gnome website has a page in the development of applets , but this one is even older (2003) and incomplete (lot fixme write ).

What is the current approach? I would not want to learn something obsolete.

+7
python gnome pygtk
source share
2 answers

In 2008, an article appeared on the Ubuntu forums called Gnome Panel Applets in Python that could help with this.

This includes the definition of the bonobo component. This Gnome applet development documentation states that

Technically, applets are Bonobo controls built into the Gnome panel.

So it seems like this is the right way.

+4
source share

In case someone else comes across this issue, in a post on the forum related to Robert Christie, the user replied that just using gtk.StatusIcon () is a more portable solution if you are just looking for tray icon functionality (as opposed say clock, or applet of the main menu). Also, if you think you need bonobo, you should probably use D-Bus.

+2
source share

All Articles