Lukas Knuth
Lukas Knuth

Reputation: 25755

Creating gnome-shell applets/widget?

I'm looking to create a simple tool, which will integrate into gnome-shell. I want the tool to be integrated in the "top-right control bar":

enter image description here

I want to have an entry in the upper right panel and I need to customize the "Popup" (in the picture, the place where the seek-bar is). My questions are:

  1. What are those called? Applets? Widgets?
  2. What is this bar called? Dash? Dock?
  3. How do I create one myself, entirely in C/C++?

I read the resources on "GnomeShellExtensions" (including some third-party articles) and I found this "Migration to DBus"-guide, too. Looking at the later one, it seems you will need to create the dock-entry with JavaScript and you can do the rest with a native language, which seems odd to me.

So, I'm looking for a way to make this entirely in C/C++.

I think it should be possible since NetworkManager (on the right side of the Dock/Bar) does it, too without having a gnome-shell extension (at least I can't find any).

Upvotes: 3

Views: 1546

Answers (1)

Omid
Omid

Reputation: 522

  1. They are "Extensions", "Gnome Extensions".
  2. That is "Panel"
  3. You should use JavaScript to develop an extension for Gnome.

To write an extension with new features that is not exists in libraries, you can develop it by C/C++, but finally you should use JavaScript to present it.

There are a lot of libraries starts with "gir" (abbreviation of "GObject Introspection Repository" OR "GIRepository") that may be helpful for you.

Upvotes: 2

Related Questions