On Mon, 2007-09-17 at 09:29 +0100, Lukasz Gromotowicz wrote:
>
> gint* i = gtk_tree_path_get_indices (path);
I think you should use the appropriate gtkmm API to do that. Something
like
gint *i = path.get_indices();
or so.
I only told you about the generic C method, but you should map that t
LUK,
This link answers your original "double-click" question! Read the
Tutorial!
http://scentric.net/tutorial/sec-selections-double-click.html
James ,
On Mon, 2007-09-17 at 09:29 +0100, Lukasz Gromotowicz wrote:
> Thanks for the response. I still have a problem. Maybe because I use GTKmm.
> I
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
LUK,
One way is to create a Selection when you define the treeview, then
whenever a double-click selection occurs your callback will be called
with its parms point to the row that was selected. the callbacks params
will have the current and correct path as input params.
review this tutorial for
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 us
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.
Could anybody help me please?
Best regards,
LUK
__