[Gtk-sharp-list] Child CellRendererText help

Clark Endrizzi cendrizzi at gmail.com
Mon Apr 10 02:49:53 EDT 2006


Hi all,

I've taken a page from banshee and created a child cell render that has it's
own override render function, the parent being cellrenderertext.  It works
great, except one major thing is missing:  I don't understand how the base
render function knows how to grab the info It shows.

Looking at banshee, I can't seem to piece it together either although it
clearly works great (banshee uses an internal class type called source that
is stored in the list store, then it has a variable in the custom renderer
called source that is somehow populated???).

So can anyone tell me how my override render class can grab the information
it that it should display?  In my case I store a string and an int data type
in my store.

Thanks!
--
Clark Endrizzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060410/b5627538/attachment.html


More information about the Gtk-sharp-list mailing list