GWIN list widget header file.
Definition in file gwin_list.h.
|
| GHandle | gwinGListCreate (GDisplay *g, GListObject *widget, GWidgetInit *pInit, gBool multiselect) |
| | Create a list widget. More...
|
| |
| void | gwinListEnableRender (GHandle gh, gBool ena) |
| | Enable or disable the rendering of the list. More...
|
| |
| void | gwinListSetScroll (GHandle gh, scroll_t flag) |
| | Change the behaviour of the scroll bar. More...
|
| |
| int | gwinListAddItem (GHandle gh, const char *text, gBool useAlloc) |
| | Add an item to the list. More...
|
| |
| void | gwinListItemSetText (GHandle gh, int item, const char *text, gBool useAlloc) |
| | Set the custom parameter of an item with a given ID. More...
|
| |
| const char * | gwinListItemGetText (GHandle gh, int item) |
| | Get the name behind an item with a given ID. More...
|
| |
| int | gwinListFindText (GHandle gh, const char *text) |
| | Get the ID of an item with a given name. More...
|
| |
| void | gwinListItemSetParam (GHandle gh, int item, gU16 param) |
| | Set the custom parameter of an item with a given ID. More...
|
| |
| gU16 | gwinListItemGetParam (GHandle gh, int item) |
| | Get the custom parameter of an item with a given ID. More...
|
| |
| void | gwinListDeleteAll (GHandle gh) |
| | Delete all the items of the list. More...
|
| |
| void | gwinListItemDelete (GHandle gh, int item) |
| | Delete an item from the list. More...
|
| |
| int | gwinListItemCount (GHandle gh) |
| | Get the amount of items within the list. More...
|
| |
| gBool | gwinListItemIsSelected (GHandle gh, int item) |
| | Check if an item with a given ID is selected. More...
|
| |
| int | gwinListGetSelected (GHandle gh) |
| | Get the ID of the selected item. More...
|
| |
| const char * | gwinListGetSelectedText (GHandle gh) |
| | Get the text of the selected item. More...
|
| |
| void | gwinListSetSelected (GHandle gh, int item, gBool doSelect) |
| | Set whether a specific item is selected or not. More...
|
| |
| void | gwinListViewItem (GHandle gh, int item) |
| | Scroll the list so the specified item is in view. More...
|
| |
| void | gwinListItemSetImage (GHandle gh, int item, gImage *pimg) |
| | Set the image for a list item. More...
|
| |
| void | gwinListDefaultDraw (GWidgetObject *gw, void *param) |
| | The default rendering function for the list widget. More...
|
| |