From 40611e264d9fc8b05db05ec4dc410e919af7f98d Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 27 Jul 2013 22:55:32 +0200 Subject: some more list work --- include/gwin/list.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'include/gwin/list.h') diff --git a/include/gwin/list.h b/include/gwin/list.h index 46e32d5c..307226c9 100644 --- a/include/gwin/list.h +++ b/include/gwin/list.h @@ -57,6 +57,24 @@ GHandle gwinListCreate(GListObject *widget, GWidgetInit *pInit); int gwinListAddItem(GHandle gh, const char* item, bool_t useAlloc); +char* gwinListItemGetText(GHandle gh, int item); + +int gwinListFindText(GHandle gh, const char* text); + +void gwinListItemSetParam(GHandle gh, int item, uint16_t param); + +uint16_t gwinListItemGetParam(GHandle gh, int item); + +void nListDeleteAll(GHandle gh); + +void gwinListItemDelete(GHandle gh, int item); + +int gwinListItemCount(GHandle gh); + +bool_t gwinListItemIsSelected(GHandle gh, int item); + +int gwinListGetSelected(GHandle gh); + #ifdef __cplusplus } #endif -- cgit v1.2.3