mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@337 b9cfdab3-6d41-4d17-bbe4-086880011989
58 lines
1.1 KiB
C
58 lines
1.1 KiB
C
/* $Id$ */
|
|
/*!
|
|
* %file Mw/Widget/ListBox.h
|
|
* %brief ListBox widget
|
|
*/
|
|
#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
|
|
*/
|
|
MWDECL void MwListBoxInsert(MwWidget handle, int index, const char* text);
|
|
|
|
/*!
|
|
* %brief Inserts multiple items on the listbox
|
|
* %param handle Widget
|
|
* %param index Index
|
|
* %param text Text
|
|
* %param count Count
|
|
*/
|
|
MWDECL void MwListBoxInsertMultiple(MwWidget handle, int index, char** text, 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
|