VisPro
1.0
Project of Visualisierung 2
|
Tcl/Tk integration file. On Windows, this file needs to be compiled twice, once with TK_ASCII_MAIN defined. This way both Tk_MainEx and Tk_MainExW can be implemented, sharing the same source code. More...
#include "tkInt.h"
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
void | My_Tk_MainEx (int argc, TCHAR **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp) |
void | My_TK_EndMainEx (Tcl_Interp *interp) |
Tcl/Tk integration file. On Windows, this file needs to be compiled twice, once with TK_ASCII_MAIN defined. This way both Tk_MainEx and Tk_MainExW can be implemented, sharing the same source code.
void My_TK_EndMainEx | ( | Tcl_Interp * | interp | ) |
Termination of main program of Tk-based application.
interp | used Tcl interpreter |
void My_Tk_MainEx | ( | int | argc, |
TCHAR ** | argv, | ||
Tcl_AppInitProc * | appInitProc, | ||
Tcl_Interp * | interp | ||
) |
Main program for Wish and most other Tk-based applications. Adaption is done to extract Tk-event loop into event-loop of own application.
argc | number of arguments |
argv | array of argument strings |
appInitProc | application-specific initialization function to call after most initialization but before starting to execute commands |
interp | used Tcl interpreter |