Re: Getting text from a treeview...



Hi,

"gtk-demo"?
RedHat, Run, "gtk-demo".

No it doesn't answer my question... I'm ok with treeview creation ;)

What i want is the way to get all items selected (in a string) from
a GtkTreeSelection * on a multiselectable treeview...




i have a treeview with items (i.e : foo, bar, faz...), and i have a callback
function when treeview is selected that gives me a pointer to the widget
itself.

I would like to know how can i get in a gchar *, "foo", "bar" and "faz" from
the
gtk_selection ?  (note : foo, bar, faz can obtained in a loop...)

Anyone has an example ?


Thanks.
--
David Goncalves




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]