Re: How do I get the number
- Date: Sun, 7 Oct 2018 16:33:47 -0400
- From: Chris Moller <moller@xxxxxxxxxxxxxx>
- Subject: Re: How do I get the number
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:
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 it is not a simple integer for the column number. Is there a simple way to get a column number on which I activated the row from this signal? Thank you. _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list |
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list
- References:
- How do I get the number
- From: Igor Korot via gtk-list
- How do I get the number
- Prev by Date: Re: How do I get the number
- Next by Date: gtk performance
- Previous by thread: Re: How do I get the number
- Next by thread: Re: How do I get the number
- Index(es):