PLplot 5.15.0
Loading...
Searching...
No Matches
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
17extern "C" {
18#endif
19
20// tclMain.c
21// Main program for a Tcl-based shell that reads Tcl commands from stdin.
22
24pltclMain( 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
31plTclCmd( char *cmdlist, Tcl_Interp *interp,
32 int argc, const char **argv );
33
34// Initialization routine for PLplot-extended tclsh's (like pltcl).
35
37Pltcl_Init( Tcl_Interp *interp );
38
40PlbasicInit( Tcl_Interp *interp );
41
42// tkshell.c
43// Sets up auto_path variable
44
46pls_auto_path( Tcl_Interp *interp );
47
48// Tcl command -- wait until the specified condition is satisfied.
49
51plWait_Until( ClientData, Tcl_Interp *, int, const char ** );
52
53// Tcl command -- return the IP address for the current host.
54
55int
56plHost_ID( ClientData clientData, Tcl_Interp *interp, int argc, const char **argv );
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif // __PLTCL_H__
#define PLDLLIMPEXP_TCLTK
Definition pldll.h:134
static int AppInit(Tcl_Interp *interp)
Definition pltcl.c:134
PLDLLIMPEXP_TCLTK int plWait_Until(ClientData, Tcl_Interp *, int, const char **)
PLDLLIMPEXP_TCLTK int Pltcl_Init(Tcl_Interp *interp)
Definition tclAPI.c:633
int plHost_ID(ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
PLDLLIMPEXP_TCLTK int plTclCmd(char *cmdlist, Tcl_Interp *interp, int argc, const char **argv)
Definition tclAPI.c:289
PLDLLIMPEXP_TCLTK int PlbasicInit(Tcl_Interp *interp)
Definition tclAPI.c:418
PLDLLIMPEXP_TCLTK int pltclMain(int argc, char **argv, char *RcFileName, int(*AppInit)(Tcl_Interp *interp))
PLDLLIMPEXP_TCLTK int pls_auto_path(Tcl_Interp *interp)
Definition tclAPI.c:716
static int argc
Definition qt.cpp:48
static char ** argv
Definition qt.cpp:49
static Tcl_Interp * interp
Definition tkMain.c:120