PLplot: pltcl.h Source File

PLplot 5.15.0

pltcl.h
Go to the documentation of this file.
1 // Maurice LeBrun
2 // 21-Jun-94
3 //
4 // Declarations for PLplot/Tcl utility routines.
5 // These should not require either Tk or Tcl-DP.
6 //
7
8 #ifndef __PLTCL_H__
9 #define __PLTCL_H__
10
11 #include "plplot.h"
12 #include "pldll.h"
13 #include <tcl.h>
14 #include "tclMatrix.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 // tclMain.c
21 // Main program for a Tcl-based shell that reads Tcl commands from stdin.
22
23 PLDLLIMPEXP_TCLTK int
24 pltclMain( int argc, char **argv, char *RcFileName,
25 int ( *AppInit )( Tcl_Interp *interp ) );
26
27 // tclAPI.c
28 // Front-end to PLplot/Tcl API for use from Tcl commands (e.g. plframe).
29
30 PLDLLIMPEXP_TCLTK int
31 plTclCmd( char *cmdlist, Tcl_Interp *interp,
32 int argc, const char **argv );
33
34 // Initialization routine for PLplot-extended tclsh's (like pltcl).
35
36 PLDLLIMPEXP_TCLTK int
37 Pltcl_Init( Tcl_Interp *interp );
38
39 PLDLLIMPEXP_TCLTK int
40 PlbasicInit( Tcl_Interp *interp );
41
42 // tkshell.c
43 // Sets up auto_path variable
44
45 PLDLLIMPEXP_TCLTK int
46 pls_auto_path( Tcl_Interp *interp );
47
48 // Tcl command -- wait until the specified condition is satisfied.
49
50 PLDLLIMPEXP_TCLTK int
51 plWait_Until( ClientData, Tcl_Interp *, int, const char ** );
52
53 // Tcl command -- return the IP address for the current host.
54
55 int
56 plHost_ID( ClientData clientData, Tcl_Interp *interp, int argc, const char **argv );
57
58 #ifdef __cplusplus
59 }
60 #endif
61
62 #endif // __PLTCL_H__
plTclCmd
PLDLLIMPEXP_TCLTK int plTclCmd(char *cmdlist, Tcl_Interp *interp, int argc, const char **argv)
Definition: tclAPI.c:289
argv
static char ** argv
Definition: qt.cpp:49
PLDLLIMPEXP_TCLTK
#define PLDLLIMPEXP_TCLTK
Definition: pldll.h:134
argc
static int argc
Definition: qt.cpp:48
pls_auto_path
PLDLLIMPEXP_TCLTK int pls_auto_path(Tcl_Interp *interp)
Definition: tclAPI.c:716
pldll.h
pltclMain
PLDLLIMPEXP_TCLTK int pltclMain(int argc, char **argv, char *RcFileName, int(*AppInit)(Tcl_Interp *interp))
tclMatrix.h
plWait_Until
PLDLLIMPEXP_TCLTK int plWait_Until(ClientData, Tcl_Interp *, int, const char **)
AppInit
static int AppInit(Tcl_Interp *interp)
Definition: pltcl.c:134
plHost_ID
int plHost_ID(ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
PlbasicInit
PLDLLIMPEXP_TCLTK int PlbasicInit(Tcl_Interp *interp)
Definition: tclAPI.c:418
interp
static Tcl_Interp * interp
Definition: tkMain.c:120
Pltcl_Init
PLDLLIMPEXP_TCLTK int Pltcl_Init(Tcl_Interp *interp)
Definition: tclAPI.c:633
plplot.h