1 /* appinit.c -- Tcl and Tk application initialization. */
12 main
= Tk_MainWindow(interp
);
14 if (Tcl_Init (interp
) == TCL_ERROR
)
16 if (Tk_Init (interp
) == TCL_ERROR
)
19 #ifdef WITH_MOREBUTTONS
21 extern Tcl_CmdProc studButtonCmd
;
22 extern Tcl_CmdProc triButtonCmd
;
24 Tcl_CreateCommand(interp
, "studbutton", studButtonCmd
,
25 (ClientData
) main
, NULL
);
26 Tcl_CreateCommand(interp
, "tributton", triButtonCmd
,
27 (ClientData
) main
, NULL
);