Thanks for the response. I still have a problem. Maybe because I use GTKmm.
I have signal_row_activated connected to the  function:
void TMainWindow::on_TreeView1_dblclick(
                const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn*
tvcolumn)

I have taken it from GTKmm documentation.
in this function I put what you suggested:

gint* i = gtk_tree_path_get_indices (path);

Compilation returns an error:
cannot convert 'const Gtk::TreePath' to 'GtkTreePath*' for argument '1' to
'gint* gtk_tree_path_get_indices(GtkTreePath*)'

What should I change? Where to find the clear explanation of the TreeView
widget (gtk.org and gtkmm.org are the best places?)

Does GTKmm defines EVERYTHING from the GTK+ or sometimes I will have to use
functions from the GTK+?

Best regards,
LUK

2007/9/16, Claudio Saavedra <[EMAIL PROTECTED]>:
>
>
> El dom, 16-09-2007 a las 00:32 +0100, Lukasz Gromotowicz escribió:
> > Hi all,
> >
> > I know it is probably something simple, but I am new to the gtk. I have
> a
> > TreeView and associated ListStore. I am trying to get the row number
> after I
> > double-click on it. I have a "path" which I think I should use, but I do
> not
> > know how.
>
> With gtk_tree_path_get_indices ().
>
> Claudio
>
> --
> Claudio Saavedra  <[EMAIL PROTECTED]>
>
> Día del Software Libre, Curicó      http://curico.diadelsoftwarelibre.cl
>
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to