Re: GtkTreeView possibilities to set text propertys on individual columns



Mikael Hermansson <mikeh bahnhof se> writes: 
> With this code I get a warning passing NULL to gdk_color_parse should we
> really 
> take this as an error/warning?  How about just set it to default property
> if you 
> don't pass all arguments to tree_store_set?

I think instead the "foreground" property should simply allow NULL as
a value. In fact I thought I'd implemented that. Bug I think.

You could also have a boolean field that toggled the foreground_set
property, but not convenient in this case.

> 2. gtk_tree_store_set takes (column, data,....) as arguments and
> gtk_tree_view_column_new_with_attributes takes data, column
> how about the same for both (column, data,.....) ?
> 

Agree with James on this.

Havoc




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