RE: clist selection



Title: RE: clist selection
Or using the following:
 
  gint index = -1;
  gint count = GTK_CLIST(myclist)->rows;
 
  GList *list = NULL;
 
  for(index=0;index<count;index++)
    {
      list = g_list_nth(GTK_CLIST(myclist)->row_list, index);
     
      if(GTK_CLIST_ROW(list)->state == GTK_STATE_SELECTED)
      {
         ...
      }
    }
 
Regards,
 
Martyn
-----Original Message-----
From: zze-coframi it balr001 [mailto:coframi balr001 rd francetelecom com]
Sent: Tuesday, May 21, 2002 1:20 PM
To: 'Rok Roskar'; gtk-app-devel-list gnome org
Subject: RE: clist selection

by catching the selct-row signal

-----Message d'origine-----
De : Rok Roskar [mailto:rroskar artsci wustl edu]
Envoye : mardi 21 mai 2002 14:16
A : gtk-app-devel-list gnome org
Objet : clist selection


Is there a way to obtain which rows are selected in a clist? Is this
possible if multiple rows are selected?

Rok

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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