How do I get the number

2018-10-07 Thread Igor Korot via gtk-list
Hi, ALL, For the GtkTreeView there is a "row-activated" signal: https://developer.gnome.org/gtk3/stable/GtkTreeView.html#GtkTreeView-row-activated. That function receives as a parameter column the GtkTreeViewColumn in which the activation occurred. The problem is (at least as I see it) is that i

Re: How do I get the number

2018-10-07 Thread Igor Korot via gtk-list
Hi, Goran, On Sun, Oct 7, 2018 at 4:02 PM Göran Hasse wrote: > > Can this be any clue? I looked at the code of DisplayTree.c, but there is no "row-activated" signal anywhere. And so unfortunately it is not helpful. Sorry. Thank you. > > /gh > > On 2018-10-08 02:04, Igor Korot via gtk-list wrot

Re: How do I get the number

2018-10-07 Thread Chris Moller
Take a look at gint * gtk_tree_path_get_indices (GtkTreePath *path); with the  "GtkTreePath  *path"  parameter you get from the row-activated callback. https://developer.gnome.org/gtk3/stable/GtkTreeModel.html#gtk-tree-path-get-indices On 07/10/2018 20:04, Igor Korot via gtk-list wrote: H