Re: [Rhythmbox-devel] Accessing RBEntryView with a Plugin



On Mon, Aug 24, 2009 at 11:05:23PM +0200, Jannik Heller wrote:
> Hi,
> 
> I'm trying to access the RBEntryView of the current selected source with
> my Rhythmbox Plugin, because I want to connect to the
> "selection-changed" signal of it. Plugin Writing Guide says the "track
> list" is an instance of rb.EntryView, but I don't see how to access it.
> 
> Can anyone help me? Thanks in advance.

Once you have the source object, just call source.get_entry_view().
I've added a brief note about this (and get_property_views()) to
http://live.gnome.org/RhythmboxPlugins/WritingGuide - thanks for
pointing it out.



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