#include "plplotP.h"
#include "pltkd.h"
#include <stdio.h>
#include <stdlib.h>
#include <tcl.h>
#include <tk.h>
Go to the source code of this file.
◆ BUFFER_SIZE
◆ _ANSI_ARGS_() [1/4]
static void StdinProc _ANSI_ARGS_ |
( |
(ClientData clientData, int mask) |
| ) |
|
|
static |
◆ _ANSI_ARGS_() [2/4]
char* strrchr _ANSI_ARGS_ |
( |
(CONST char *string, int c) |
| ) |
|
◆ _ANSI_ARGS_() [3/4]
EXTERN Tcl_Namespace *Tcl_GetGlobalNamespace _ANSI_ARGS_ |
( |
(Tcl_Interp *interp) |
| ) |
|
◆ _ANSI_ARGS_() [4/4]
static void Prompt _ANSI_ARGS_ |
( |
(Tcl_Interp *interploc, int partial) |
| ) |
|
|
static |
◆ pltkMain()
int pltkMain |
( |
int |
argc, |
|
|
const char ** |
argv, |
|
|
char * |
RcFileName, |
|
|
int(*)(Tcl_Interp *interp) |
AppInit |
|
) |
| |
◆ Prompt()
static void Prompt |
( |
Tcl_Interp * |
interploc, |
|
|
int |
partial |
|
) |
| |
|
static |
◆ StdinProc()
static void StdinProc |
( |
ClientData |
PL_UNUSEDclientData, |
|
|
int |
PL_UNUSEDmask |
|
) |
| |
|
static |
◆ argTable
Initial value:= {
{
"-file", TK_ARGV_STRING, (
char *) NULL, (
char *) &
fileName,
"File from which to read commands" },
{
"-e", TK_ARGV_STRING, (
char *) NULL, (
char *) &
script,
"Script to execute on startup" },
{
"-geometry", TK_ARGV_STRING, (
char *) NULL, (
char *) &
geometry,
"Initial geometry for window" },
{
"-display", TK_ARGV_STRING, (
char *) NULL, (
char *) &
display,
"Display to use" },
{
"-name", TK_ARGV_STRING, (
char *) NULL, (
char *) &
name,
"Name to use for application" },
{
"-sync", TK_ARGV_CONSTANT, (
char *) 1, (
char *) &
synchronize,
"Use synchronous mode for display server" },
{ (char *) NULL, TK_ARGV_END, (char *) NULL, (char *) NULL,
(char *) NULL }
}
Definition at line 139 of file tkMain.c.
◆ command
◆ display
const char* display = NULL |
|
static |
◆ errorExitCmd
char errorExitCmd[] = "exit 1" |
|
static |
◆ fileName
const char* fileName = NULL |
|
static |
◆ geometry
const char* geometry = NULL |
|
static |
◆ interp
◆ name
◆ script
const char* script = NULL |
|
static |
◆ synchronize
◆ tty