From: sopwith Date: Tue, 19 Aug 1997 02:44:04 +0000 (+0000) Subject: Fixed getselection on listbox X-Git-Tag: r0-12~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4678a85f23907636f8c4b008cea513224267124f;p=thirdparty%2Fnewt.git Fixed getselection on listbox --- diff --git a/newt.h b/newt.h index 7d9f40c..7e56cc2 100644 --- a/newt.h +++ b/newt.h @@ -139,6 +139,7 @@ int newtListboxInsertEntry(newtComponent co, char * text, void * data, int num); int newtListboxDeleteEntry(newtComponent co, int num); void newtListboxClear(newtComponent co); /* removes all entries from listbox */ void newtListboxGetEntry(newtComponent co, int num, char **text, void **data); +/* Returns an array of data pointers from items, last element is NULL */ void **newtListboxGetSelection(newtComponent co, int *numitems); void newtListboxClearSelection(newtComponent co); void newtListboxSelectItem(newtComponent co, int item,