Re: Selected widget visibility on clists and trees [gtk 1.2]
- From: Harring Figueiredo <harringf yahoo com>
- To: gtk_list gtk gtk <gtk-app-devel-list gnome org>
- Subject: Re: Selected widget visibility on clists and trees [gtk 1.2]
- Date: Wed, 16 Jul 2003 14:41:19 -0700 (PDT)
How can I find out that a treeview row (useng listStore) has been selected by
the user ?
I have the follwoing. Is there a different/better way ?
... callback to a "cahnged" signal on the treeview selection...
treeview = gtk_tree_selection_get_tree_view (selection);
if (gtk_tree_selection_get_selected (selection, &model, &iter))
{
g_print("There some selection ...\n");
}
else
{
g_print("NO selection ...\n");
}
Thanks for the help.
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]