mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-30 22:20:50 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@337 b9cfdab3-6d41-4d17-bbe4-086880011989
16 lines
436 B
C
16 lines
436 B
C
/* $Id$ */
|
|
#include <Mw/Milsko.h>
|
|
|
|
#include "../resource/harvard.c"
|
|
|
|
int main(){
|
|
MwWidget w = MwVaCreateWidget(MwWindowClass, "main", NULL, MwDEFAULT, MwDEFAULT, 640, 480,
|
|
MwNtitle, "test",
|
|
NULL);
|
|
MwWidget lb = MwCreateWidget(MwListBoxClass, "listbox", w, 5, 5, 630, 470);
|
|
|
|
MwListBoxInsertMultiple(lb, -1, (char**)harvard, sizeof(harvard) / sizeof(harvard[0]) - 1);
|
|
|
|
MwLoop(w);
|
|
}
|