Re: CList Question...
- From: "Tara M" <learfox furry ao net>
- To: "LIST: GTKAppDevel" <gtk-app-devel-list gnome org>
- Subject: Re: CList Question...
- Date: 05 Sep 2001 03:15:46 PDT
On Tue, 21 Aug 2001 13:21:02 -0400 (EDT), Chris Elston said:
single row is currently selected. There appears to be a way in the old,
depricated GtkList widget which is:
GList *currentlySelected = GTK_LIST(myList)->selected;
The way I do it is to write a macro:
gint get_clist_row_selected_last(GtkCList *clist)
{
gint row = -1;
GList *glist = clist->selection_end;
if(glist != NULL)
row = (gint)glist->data;
return(row);
}
--
--
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]