On 04/22/2010 02:55 AM, Freddie Unpenstein wrote:
> From: "dhk", Date: 20/04/2010 09:46:
>
>> On 04/19/2010 01:34 PM, Nicolas Soubeiran wrote:
>>> When creating your model set a specific column with a boolean property.
>>> gtk_list_store_new(N_COLUMN, G_TYPE_STRING, G_TYPE_BOOLEAN);
>>>
>>> Then i
From: "dhk", Date: 20/04/2010 09:46:
> On 04/19/2010 01:34 PM, Nicolas Soubeiran wrote:
>> When creating your model set a specific column with a boolean property.
>> gtk_list_store_new(N_COLUMN, G_TYPE_STRING, G_TYPE_BOOLEAN);
>>
>> Then in the treeview create a column using
>> gtk_tree_view_colum
On 04/19/2010 01:34 PM, Nicolas Soubeiran wrote:
> When creating your model set a specific column with a boolean property.
> e.g :
> enum
> {
> STRING_COLUMN =0,
> EDITABLE_COLUMN,
> N_COLUMN
> }
> ...
> gtk_list_store_new(N_COLUMN, G_TYPE_STRING, G_TYPE_BOOLEAN);
>
> Then in the treeview create
When creating your model set a specific column with a boolean property.
e.g :
enum
{
STRING_COLUMN =0,
EDITABLE_COLUMN,
N_COLUMN
}
...
gtk_list_store_new(N_COLUMN, G_TYPE_STRING, G_TYPE_BOOLEAN);
Then in the treeview create a column using
gtk_tree_view_column_new_with_attributes("title", text_cel
>
>
> Is it possible to set a cell in a specific column and row to insensitive
> and uneditable and not affect the rest of the cells in the same column?
>
Yes, you should change your TreeModel to have two additional boolean columns
to map the "sensitive" and "editable" boolean field for your TreeV