📄 c-customize4.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title> Customization </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-customize.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-customize3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-custsvc.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="87915">9.4 Tcl Customization Files</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="88238"> </a>When Tornado begins executing, it checks for initialization files of the form <b class="file">.wind\</b><i class="textVariable">filename</i><b class="file">.tcl</b> in two places: first under <b class="file">c:\tornado</b> (that is, in the directory specified by the <b class="symbol_UC">WIND_BASE</b> environment variable), and then in the directory specified by the <b class="symbol_UC">HOME</b> environment variable (if that environment variable is defined). If any files are found, their contents are sourced as Tcl code when Tornado starts. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84851">Tornado Initialization </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="88231"> </a>The <b class="file">Tornado.tcl</b> file allows you to customize the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Tools</font></b> menu and tool bar, as well as other elements of the Tornado window. For example, you can have your own dialog box appear based on a menu item you add to any menu. For more information about the Tcl customization facilities available, see the <i class="title">Tornado API Guide</i> or the <i class="title">Tornado Online Manuals: Tornado API</i>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84854">HTML Help Initialization</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="88232"> </a>The <b class="file">windHelp.tcl</b> file allows you to specify a different HTML browser. The default is NetScape Communicator. To change the default, create <b class="file">windHelp.tcl</b> with the following contents:</p><dl class="margin"><dd><pre class="Code2"><b><a name="88273">set htmlBrowser "<i class="textVariable">newbrowser</i> -install"</a></b></pre></dl><dd><p class="Body"><a name="83403"> </a></p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-customize.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-customize3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-custsvc.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -