⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tk_init.3

📁 linux系统下的音频通信
💻 3
字号:
'\"'\" Copyright (c) 1995-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) Tk_Init.3 1.3 96/03/26 18:19:08'\" .so man.macros.TH Tk_Init 3 4.1 Tk "Tk Library Procedures".BS.SH NAMETk_Init \- add Tk to an interpreter and make a new Tk application..SH SYNOPSIS.nf\fB#include <tk.h>\fR.spint\fBTk_Init\fR(\fIinterp\fR).SH ARGUMENTS.AS Tcl_Interp *interp.AP Tcl_Interp *interp inInterpreter in which to load Tk.  Tk should not already be loadedin this interpreter..BE.SH DESCRIPTION.PP\fBTk_Init\fR is the package initialization procedure for Tk.It is normally invoked by the \fBTcl_AppInit\fR procedurefor an application or by the \fBload\fR command.\fBTk_Init\fR adds all of Tk's commands to \fIinterp\fRand creates a new Tk application, including its main window.If the initialization is successful \fBTk_Init\fR returns\fBTCL_OK\fR;  if there is an error it returns \fBTCL_ERROR\fR.\fBTk_Init\fR also leaves a result or error messagein \fIinterp->result\fR..PPIf there is a variable \fBargv\fR in \fIinterp\fR, \fBTk_Init\fRtreats the contents of this variable as a list of options for thenew Tk application.The options may have any of the forms documented for the\fBwish\fR application (in fact, \fBwish\fR uses Tk_Init to processits command-line arguments)..SH KEYWORDSapplication, initialization, load, main window

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -