Re: gtk.TreeView and editable cell



On Sun, Dec 15, 2002 at 09:41:52PM +0100, Emmanuele Bassi wrote:

If the CellRendererToggle is active, the editable cells work correctly,
intercepting the button_down event. OTOH, if the toggle is not active,
I can't access the editable cells, like (I do suspect) the toggle is
masking any event for the other cells.

How are you setting the editable property?  If you were using something like

   column = gtk.TreeViewColumn(colname, cell, text=i, editable=1)
                             
this is exactly the behavior you would get: editability of cells would be
"slaved" to the value of column 1.

Dave Cook



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