Re: clist: avoid unselecting!
- From: learfox furry ao net
- To: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: clist: avoid unselecting!
- Date: Wed, 18 Oct 2000 01:03:35 -0700 (PDT)
how can i avoid, that the user can unselect a clist-row by clicking, so that
there is allways a row highlighted?
should i connect something to the unselect signal?
I'm not completly sure if this will work but try:
gtk_clist_set_selection_mode(GTK_CLIST(w), GTK_SELECTION_SINGLE);
In other words, setting the clist's selection mode to
GTK_SELECTION_SINGLE. It's worked for me but I don't know for sure if it
prevents unselecting rows such that the user can unselect *all* rows.
--
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]