Re: [PyGObject] TreeView: Empty integer field or right aligned string



On 2018-05-08 14:20 Luca Bacci <luca bacci982 gmail com> wrote:
   - Use Cell Data Func for ultimate flexibility

That is the signature
 Gtk.TreeCellDataFunc(tree_column, cell, tree_model, iter, data)

But how do I know which cell (row and column) is affected?
I can extrat the row with tree_model[iter] but not the column.

"tree_column" is of type Gtk.TreeViewColumn but doesn't even know its
position (first, second, ... column). There is no integer indicating
that.


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