3 #include <WINGs/WINGs.h>
15 int main(int argc
, char **argv
)
17 Display
*dpy
= XOpenDisplay("");
23 WMInitializeApplication("Test", &argc
, argv
);
26 wfatal("could not open display");
30 scr
= WMCreateSimpleApplicationScreen(dpy
);
35 win
= WMCreateWindow(scr
, "test");
36 WMResizeWidget(win
, 150, 50);
38 thing
= CreateMyWidget(win
);
39 SetMyWidgetText(thing
, "The Test");
40 WMResizeWidget(thing
, 100, 20);
41 WMMoveWidget(thing
, 10, 10);
47 WMScreenMainLoop(scr
);