Re: GtkCTree vs GtkTree?
- From: learfox furry ao net
- To: Alexandre Fayolle <Alexandre Fayolle logilab fr>
- Cc: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: GtkCTree vs GtkTree?
- Date: Tue, 31 Oct 2000 03:04:39 -0800 (PST)
Basically, you define a GtkCTree as you would with a GtkCList, but specify
which column will hold the tree. It is important to note that cells in
this column will not support some calls in the GtkCList API: for instance,
you cannot call get_text() (use node_get_text() instead).
And most of all, a GtkCTree is not MVC, and this is really a pitty. Let's
wait for Gtk2.0...
I have a specific question right there, if I use a CTree then how would I
handle selections on a tree item?
How would I use a signal handler for a `select' (single item) and know
which item is selected?
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]