Re: [Rhythmbox-devel] Plugin Writing: Convert gpointer to gslist and iterate



On Mon, Apr 5, 2010 at 7:25 PM, Oliver Horn <oliverhorn gmx com> wrote:
> Hello Rhythmbox developers,
>
> I'm trying to write a plugin for Rhythmbox that should listen to the
> signal 'entry-changed'. If the signal occurs it should check the list of
> changes and if a certain prop has changed it should do something.
>
> I'm not any familiar with Python. This is the first time I'm doing some
> Python programming. I read what I could find in the devel reference
> manual and plugin writing guides especially
>
> http://library.gnome.org/devel/rhythmbox/0.12/RhythmDB.html#RhythmDB-entry-changed
>
> I played around with it but it didn't work yet and now I'm stuck. I
> don't know how to convert the gpointer 'changes' to a GSList and after
> that how to iterate through the list entries and do stuff with them.

Unfortunately you can't access this information from python code yet.
I'll try to fix this soon.


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