PLplot 5.15.0
Loading...
Searching...
No Matches
pltk.h
Go to the documentation of this file.
1// Maurice LeBrun
2// 28-Apr-95
3//
4// Declarations for PLplot/TK utility routines.
5//
6
7#ifndef __PLTK_H__
8#define __PLTK_H__
9
10#include "pltcl.h"
11#include <tk.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17// Generic initialization routine for extended wish'es.
18
19#ifdef BUILD_Plplot
20#undef TCL_STORAGE_CLASS
21#define TCL_STORAGE_CLASS DLLEXPORT
22#endif // BUILD_Vfs
23
24EXTERN PLDLLIMPEXP_TCLTK int
25Pltk_Init( Tcl_Interp *interp );
26
27// Main program for wish, with PLplot extensions.
28
29EXTERN PLDLLIMPEXP_TCLTK int
30pltkMain( int argc, const char **argv, char *RcFileName,
31 int ( *AppInit )( Tcl_Interp *interp ) );
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif // __PLTK_H__
#define PLDLLIMPEXP_TCLTK
Definition pldll.h:134
static int AppInit(Tcl_Interp *interp)
Definition pltcl.c:134
EXTERN PLDLLIMPEXP_TCLTK int Pltk_Init(Tcl_Interp *interp)
Definition Pltk_Init.c:51
EXTERN PLDLLIMPEXP_TCLTK int pltkMain(int argc, const char **argv, char *RcFileName, int(*AppInit)(Tcl_Interp *interp))
Definition tkMain.c:184
static int argc
Definition qt.cpp:48
static char ** argv
Definition qt.cpp:49
static Tcl_Interp * interp
Definition tkMain.c:120