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

clearing a Tree and multi selections in a CList



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Am I right in using gtk_tree_remove( GTK_CLIST( foo ), GTK_CLIST( foo
)->children ); as the best way of clearing a GtkTree widget? If so,
this would be quite useful to have as a macro in gtktree.h

Also, I want to have multi-select ability in a CList widget, but I
want it to behave such that it is normally single selection, but when
Ctrl is held it goes into individual multi select and when Shift is
held it will select groups of entries (ie how Windows' list widgets
tend to behave). Is this possible?

Cheers,

- ---
 _____ _         _       _____
| __  | |___ ___| |_ ___|   __|_ _ ___        Chris "Ng" Jones
| __ -| | .'|  _| '_|___|__   | | |   |  chris@black-sun.co.uk
|_____|_|__,|___|_,_|   |_____|___|_|_|    www.black-sun.co.uk
            S o f t w a r e

 "Linux is beating Windows" - David Cole, Microsoft Executive

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>

iQA/AwUBOBc8qJhmBipjerS3EQL+NQCggXw6z8qztLEdZP/3AoOgm+8ASUUAnAhU
Ofo74q63r/g1R6Zjp+9ALKZA
=EBPB
-----END PGP SIGNATURE-----



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