Tk_Init - Online Linux Manual PageSection : 3
Updated : 8.0
Source : Tk
Note : Tk Library Procedures
NAMETk_Init, Tk_SafeInit − add Tk to an interpreter and make a new Tk application.
SYNOPSIS#include <tk.h>
int
Tk_Init(interp)
int
Tk_SafeInit(interp)
ARGUMENTS
. el .TP 15
Tcl_Interp *interp (in) Interpreter in which to load Tk. Tk should not already be loaded in this interpreter.
.\}
DESCRIPTIONTk_Init is the package initialization procedure for Tk. It is normally invoked by the Tcl_AppInit procedure for an application or by the load command. Tk_Init adds all of Tk's commands to interp and creates a new Tk application, including its main window. If the initialization is successful Tk_Init returns TCL_OK; if there is an error it returns TCL_ERROR. Tk_Init also leaves a result or error message in interp->result. If there is a variable argv in interp, Tk_Init treats the contents of this variable as a list of options for the new Tk application. The options may have any of the forms documented for the wish application (in fact, wish uses Tk_Init to process its command-line arguments). Tk_SafeInit is identical to Tk_Init except that it removes all Tk commands that are considered unsafe. Those commands and the reasons for their exclusion are: bell Continuous ringing of the bell is a nuisance. clipboard A malicious script could replace the contents of the clipboard with the string ‟rm −r *” and lead to surprises when the contents of the clipboard are pasted. grab Grab can be used to block the user from using any other applications. menu Menus can be used to cover the entire screen and to steal input from the user. selection See clipboard. send Send can be used to cause unsafe interpreters to execute commands. tk The tk command recreates the send command, which is unsafe. tkwait Tkwait can block the containing process forever toplevel Toplevels can be used to cover the entire screen and to steal input from the user. wm If toplevels are ever allowed, wm can be used to remove decorations, move windows around, etc.
KEYWORDSsafe, application, initialization, load, main window 0
Johanes Gumabo
Data Size : 10,619 byte
man-T___k_Init.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 166,479
Visitor ID : :
Visitor IP : 3.141.47.139 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence_block|26|(null)|(null)|-1|142) (rof_el|14|T___k_Init.3|292/89||. el .TP 15
) (parse_manual_page_|249|T___k_Init.3|295/142|══─}─══|.══─}─══
) (htmlprn|149|T___k_Init.3|295/142|.══─}─══|.══─}─══
) (rof_escape_sequence|91|T___k_Init.3|295/143|\}|.\}
) (parse_manual_page_|249|T___k_Init.3|295/143|\}|.\}
)