Rhythmbox how to add entry to side pane?

324 views Asked by At

I'm trying to write a Rhythmbox plugin and would need to add another entry in the left panel that allows the user to switch to a new "page" provided by my plugin. Unhappily the only ressource I could find about writing RB plugins is this and I am unable to figure it out just with that.

I am not an experienced GTK developer, but I know the basics.

Does anybody know how to do this?

2

There are 2 answers

1
aliva On

Read section "Adding UI somewhere other than toolbars and menus" in that link you mentioned.

1
vomitcuddle On

I assume you want to add a new item to the source panel in Rhythmbox.

You need to subclass RB.Source and register it with gobject using gobject.type_register(ClassName).

Here is an example which uses the new gi.repository and there are plenty that don't.