Re: R: GtkTreeView and row separator?



On Tue, Jul 29, 2003 at 02:40:43PM +0200, Johan Ankarloo wrote:

What language are you using here? 

Sorry, it's Python.  My C is very rusty.

I can't find the "addcolumn" function

It's a pygtk convenience function that corresponds roughly to
gtk_tree_view_insert_column_with_attributes.

anywhere. Do you set this on every cell renderer and if so you can only
set the background as far as i have seen. Do you have some more complete
example?
 
I posted an example to the pygtk list (not dealing with colors, though) in
this thread:

http://www.daa.com.au/pipermail/pygtk/2003-July/005509.html

You can set any of the properties listed on the API pages for the renderer
on a cell-by-cell basis this way (i.e. by putting the values in your model
and specifying which columns to pick from).

Dave Cook



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