Re: Get row text from a treeview
- From: Magnus-swe <magnus-swe telia com>
- To: Martyn Russell <ginxd btopenworld com>, GTK Devel List <gtk-app-devel-list gnome org>
- Subject: Re: Get row text from a treeview
- Date: 10 Aug 2002 19:15:49 +0200
Nice Martyn.
I also did a thing to make the first line selected because
otherwise it would crash if i rightclicked without any row beeing
selected (trying to get a value out of it).
gboolean edit;
path = gtk_tree_path_new_first();
gtk_tree_view_set_cursor(GTK_TREE_VIEW(treeview), path, NULL, edit);
gtk_tree_path_free(path);
Sincerely: Magnus-swe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]