mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-11 03:43:29 +00:00
add MwNtext
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@47 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -10,7 +10,9 @@ int main(){
|
||||
MwWidget window = MwVaCreateWidget(MwWindowClass, "main", NULL, 0, 0, 400, 400,
|
||||
MwNtitle, "hello world",
|
||||
NULL);
|
||||
MwWidget button = MwVaCreateWidget(MwButtonClass, "button", window, 50, 50, 300, 300, NULL);
|
||||
MwWidget button = MwVaCreateWidget(MwButtonClass, "button", window, 50, 50, 300, 300,
|
||||
MwNtext, "lorem ipsum",
|
||||
NULL);
|
||||
|
||||
MwAddUserHandler(button, MwNactivateHandler, handler, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user