Re: gtk.TreeView and editable cell



On Sun, Dec 15, 2002 at 11:34:47PM -0800, David M. Cook wrote:

   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.

I forgot to mention that if you don't want to do this, you can use

  column.set_property("editable", gtk.TRUE)
  
instead.

Dave



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