>>549
Tcl/Tk で窓だすのってどんな感じ?
Athena はこんな感じ... widget が無いと窓が出ない?


#include <stdio.h>
#include <stdlib.h>
#include <X11/Shell.h>
#include <X11/Xaw/Label.h>
#include <X11/Xaw/Form.h>


Widget main_wind;

int main(int argc, char **argv)
{
XtAppContext app_context;
Widget toplevel;
Widget label1;

toplevel = XtAppInitialize(&app_context, "XSample", NULL, 0, &argc, argv, NULL, 0, 0);
XtVaSetValues(toplevel, XtNtitle, "サンプル", NULL);
main_wind = XtVaCreateManagedWidget("main_wind", formWidgetClass, toplevel, NULL);

label1 = XtVaCreateManagedWidget("label1", labelWidgetClass, main_wind, NULL);

XtRealizeWidget(toplevel);
XtAppMainLoop(app_context);
return 0;
}