[Gtk-sharp-list] TreeView question (placing picture and text at the same cell)

MDK mdk at mdk.org.pl
Fri May 27 07:26:59 EDT 2005


> If I right understand one CellRenderer creating for each column. 
> As I know CellRenderer could be either CellRendererText or 
> CellRendererPixbuf.

You can create any number of CellRenderers for each column, that's the
point of it. If you want icon + text (like: filetype icon + filename)
than you should create one column with CellRendererPixbuf and
CellRendererText. 

Check this out:

http://www.pygtk.org/pygtk2tutorial/sec-CellRenderers.html

this is a python tutorial, but the overall information about
cellrenderers and columns is very enlightening. 


-- 
Michał Dominik K.
mdk at mdk.org.pl
www.mdk.org.pl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://galactus.ximian.com/pipermail/gtk-sharp-list/attachments/20050527/3aad1b4f/attachment.bin


More information about the Gtk-sharp-list mailing list