Files
milsko/include/Mw/Widget/ListBox.h
NishiOwO ba4010eb52 icon
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@360 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-16 10:38:37 +00:00

61 lines
1.2 KiB
C

/* $Id$ */
/*!
* %file Mw/Widget/ListBox.h
* %brief ListBox widget
* %prop MwNleftPadding
*/
#ifndef __MW_WIDGET_LISTBOX_H__
#define __MW_WIDGET_LISTBOX_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#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