How to set only ONE Column editable (GTK2)



I have another problem,
i have 2 columns :
Number Name
Now i want that the user could edit the name but not want that he could
change the number. I have solved this by dont let the changes come
trough :
 column = g_object_get_data (G_OBJECT (cell), "column");

  if  ((gint) column==NUMBER_COLUMN) {
return;
}
But thats a bad result, could i set the column number 0 to not_EDITABLE
?

Thanks
Scherfy
-- 
Andreas Scherf
ICQ: 52910964
scherfa web de





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