Setting a Tree View Cell to insensitive and uneditable



I'm using the following call in my callback where cell is a pointer to a
GtkCellRenderer.

g_object_set(cell, "sensitive", FALSE, "editable", FALSE, NULL);

The problem is this sets the attributes on the whole column and not just
the cell and when a new row is prepended to the treeview the cell in the
new row can not be edited.

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?

Thanks,

dhk



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