mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-01 23:20:50 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@360 b9cfdab3-6d41-4d17-bbe4-086880011989
61 lines
1.2 KiB
C
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
|