/* $Id$ */ /*! * %file Mw/Widget/ListBox.h * %brief ListBox widget * %prop MwNleftPadding */ #ifndef __MW_WIDGET_LISTBOX_H__ #define __MW_WIDGET_LISTBOX_H__ #include #include #ifdef __cplusplus extern "C" { #endif /*! * %brief ListBox widget class */ MWDECL MwClass MwListBoxClass; /*! * %brief Inserts item on the listbox * %param handle Widget * %param index Index * %param text Text * %param pixmap Pixmap */ MWDECL void MwListBoxInsert(MwWidget handle, int index, const char* text, MwLLPixmap pixmap); /*! * %brief Inserts multiple items on the listbox * %param handle Widget * %param index Index * %param text Text * %param pixmap Pixmap * %param count Count */ MWDECL void MwListBoxInsertMultiple(MwWidget handle, int index, char** text, MwLLPixmap* pixmap, int count); /*! * %brief Deletes item from the listbox * %param handle Widget * %param index Index */ MWDECL void MwListBoxDelete(MwWidget handle, int index); /*! * %brief Gets item from the listbox * %param handle Widget * %param index Index * %return Item */ MWDECL const char* MwListBoxGet(MwWidget handle, int index); #ifdef __cplusplus } #endif #endif