Re: [gtk-list] Clist example needed.



On Tue, Dec 14, 1999 at 10:31:10AM -0600,
Matthew <matthew@mattshouse.com> wrote:
> Could someone provide a working example that covers retrieving selected rows
> from a multi-select clist?  The examples provided only cover single selection.

GList *selection;

	for (selection = clist->selection; selection;
	     selection = selection->next) {
		row = GPOINTER_TO_INT(selection->data);

		...
	}

-- 
Eric Gillespie, Jr. <*> epg@pobox.com

All hail the Dollar, King of the Earth.

PGP signature



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