Multiple cellrenderers (including bool) and selection mode =none

Me again. has again got this to work, ie:
I have more than one cellrenderer in a treeview column.
I then run this code against the view

Blockquote

$view->get_selection->set_mode(‘none’);
$view->get_selection->signal_connect(‘changed’=>sub{
print ‘2427’,@,"\n"
}
);
$view->signal_connect(‘row-activated’=>sub{
my ($view,$path,$column)=@
;
$view->set_cursor($path,$column,1);
#print $cell,"\n";
#$view->set_cursor_on_cell($path1,$column1,$cell,1);
}
);
}

Blockquote

With text and combo cellrenderers in the same column it all works fine, however the same isnt true if one of the renderers is a bool type.
The renderer shows up but doesn’t respond to any clicks.

It works if either only the bool cellrenderer is in the column or selection is not ‘none’

Can you post a complete, self-contained example of the problem?

I resolved the issue. Basically it appears that if I dont add a editable attribute (whether true or false) to the hidden cell, it covers up the cell renderer invisibly

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.