What is the text
argument in Gtk.TreeViewColumn?
if i == 0:
cell.props.weight_set = True
cell.props.weight = Pango.Weight.BOLD
# the column is created
col = Gtk.TreeViewColumn(column, cell, text=i)
Line number : 42 from https://developer.gnome.org/gnome-devel-demos/stable/treeview_simple_liststore.py.html.en#code
But this property is not mentioned in the Properties section of Gtk.TreeViewColumn in docs.
Few more doubts I have are:
- How can I make the text of the TreeView selectable (not editable)?
- I sometimes get this error while making treeviews : GTK_IS_WIDGET FAILED