PLplot  5.11.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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 
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 
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 
37 Pltcl_Init( Tcl_Interp *interp );
38 
40 PlbasicInit( Tcl_Interp *interp );
41 
42 // tkshell.c
43 // Sets up auto_path variable
44 
46 pls_auto_path( Tcl_Interp *interp );
47 
48 // Tcl command -- wait until the specified condition is satisfied.
49 
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__
PLDLLIMPEXP_TCLTK int plTclCmd(char *cmdlist, Tcl_Interp *interp, int argc, const char **argv)
Definition: tclAPI.c:277
static char ** argv
Definition: qt.cpp:40
#define PLDLLIMPEXP_TCLTK
Definition: pldll.h:119
static int argc
Definition: qt.cpp:39
PLDLLIMPEXP_TCLTK int pls_auto_path(Tcl_Interp *interp)
Definition: tclAPI.c:704
PLDLLIMPEXP_TCLTK int pltclMain(int argc, char **argv, char *RcFileName, int(*AppInit)(Tcl_Interp *interp))
PLDLLIMPEXP_TCLTK int plWait_Until(ClientData, Tcl_Interp *, int, const char **)
static int AppInit(Tcl_Interp *interp)
Definition: pltcl.c:134
int plHost_ID(ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
PLDLLIMPEXP_TCLTK int PlbasicInit(Tcl_Interp *interp)
Definition: tclAPI.c:406
static Tcl_Interp * interp
Definition: tkMain.c:120
PLDLLIMPEXP_TCLTK int Pltcl_Init(Tcl_Interp *interp)
Definition: tclAPI.c:621