mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
87dbea7bbf
commit
0d6d23b25d
83 changed files with 1033 additions and 1033 deletions
|
@ -1,12 +1,12 @@
|
|||
|
||||
[ TkHtml widget example ]
|
||||
|
||||
The directory page1 -- page4 are referd from "test" directory of
|
||||
original TkHtml extension's source archive.
|
||||
The directory page1 -- page4 are referd from "test" directory of
|
||||
original TkHtml extension's source archive.
|
||||
( see http://www.hwaci.com/sw/tkhtml/index.html )
|
||||
|
||||
You can see the HTML documents on the 'hv.rb' or 'ss.rb' sample script.
|
||||
|
||||
e.g.
|
||||
e.g.
|
||||
LD_LIBRARY_PATH=/usr/local/ActiveTcl/lib:$LD_LIBRARY_PATH /usr/local/bin/ruby ./hv.rb page1/index.html
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<tr>
|
||||
<td width="120" valign="TOP"><a href="/"><img src="image1" width="120" height="79" alt="Scriptics" border="0"></a></td>
|
||||
<td valign="top" width="548">
|
||||
|
||||
|
||||
<!-- Table to hold tabs -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="548">
|
||||
<tr>
|
||||
|
@ -50,8 +50,8 @@
|
|||
}
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
|
||||
</SCRIPT>
|
||||
|
||||
<!-- MenuSubLevel Resource Software Extensions Tk -->
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
|
@ -186,13 +186,13 @@ or higher.
|
|||
There are also an "<a href="#bltunoff">unofficial</a>" release for 8.0p2
|
||||
and 8.1a2 that were not done by the author. <a href="/live/annotate?url=http%3a%2f%2fwww%2etcltk%2ecom%2fblt%2f">Edit</a>
|
||||
<i><font size="-1">(October 26, 1999 09:43)</font></i><dt><b><a href="http://www.unifix-online.com/BWidget/index.html" ="">BWidget</a></b>
|
||||
<dd>A set of native Tk 8.x Widgets using Tcl8.x namespaces.
|
||||
<dd>A set of native Tk 8.x Widgets using Tcl8.x namespaces.
|
||||
The ToolKit is available under Unix/X11 and Windows.
|
||||
The BWidget(s) have a professional look&feel as in other
|
||||
well known Toolkits (Tix or Incr Widget) but the concept is
|
||||
radically different because everything is native
|
||||
The BWidget(s) have a professional look&feel as in other
|
||||
well known Toolkits (Tix or Incr Widget) but the concept is
|
||||
radically different because everything is native
|
||||
so no platform compilation, no compiled extension
|
||||
library are needed. The code is 100 Pure Tcl/Tk.
|
||||
library are needed. The code is 100 Pure Tcl/Tk.
|
||||
More 30 components : Notebook, PageManager, Tree, PanedWindow, ButtonBox,
|
||||
ScrollView, ComboBox, SpinBox, ListBox, SelectFont, SelectColor,
|
||||
ProgressBare ... <a href="/live/annotate?url=http%3a%2f%2fwww%2eunifix%2donline%2ecom%2fBWidget%2findex%2ehtml">Edit</a>
|
||||
|
@ -220,10 +220,10 @@ Unix). The console itself provides many more features than the standard console.
|
|||
<dd>This project seeks to integrate the Tk toolkit
|
||||
with the Frontier scripting language. <a href="/live/annotate?url=http%3a%2f%2fwww%2escriptmeridian%2eorg%2fprojects%2ftk%2f">Edit</a>
|
||||
<i><font size="-1">(August 19, 1999 15:36)</font></i><dt><b><a href="http://purl.oclc.org/net/nijtmans/img.html" ="">Img image format extension</a></b>
|
||||
<dd>This package enhances Tk, adding support for many other Image formats:
|
||||
<dd>This package enhances Tk, adding support for many other Image formats:
|
||||
BMP, XBM, XPM, GIF (with transparency), PNG,
|
||||
JPEG, TIFF and postscript.
|
||||
This is implemented as a shared library that can be dynamically loaded into
|
||||
This is implemented as a shared library that can be dynamically loaded into
|
||||
Tcl/Tk.
|
||||
<a href="/live/annotate?url=http%3a%2f%2fpurl%2eoclc%2eorg%2fnet%2fnijtmans%2fimg%2ehtml">Edit</a>
|
||||
<i><font size="-1">(November 21, 1999 06:35)</font></i><dt><b><a href="http://purl.oclc.org/net/oakley/tcl/mclistbox/index.html" ="">mclistbox - a multi-column listbox widget</a></b>
|
||||
|
@ -234,7 +234,7 @@ requires no other extensions; it is completely
|
|||
standalone. <a href="/live/annotate?url=http%3a%2f%2fpurl%2eoclc%2eorg%2fnet%2foakley%2ftcl%2fmclistbox%2findex%2ehtml">Edit</a>
|
||||
<i><font size="-1">(August 19, 1999 15:37)</font></i><dt><b><a href="http://home.t-online.de/home/dshepherd/tkview.htm" ="">MFC views C++ class for embedding Tk</a></b>
|
||||
<dd>The idea of embedding Tk in MFC windows always seemed very enticing but information was sparse and contradictory - on a
|
||||
scale between "very easy" and "not yet possible". The only thing for it was to have a go and lo, it wasn't that hard after all.
|
||||
scale between "very easy" and "not yet possible". The only thing for it was to have a go and lo, it wasn't that hard after all.
|
||||
CTkView is a C++ class which can be used in MFC SDI or MDI applications. An instance of CTkView hosts an embedded Tk
|
||||
toplevel widget and performs some management chores for the widget so that it can size, update and react correctly to Windows
|
||||
events. <a href="/live/annotate?url=http%3a%2f%2fhome%2et%2donline%2ede%2fhome%2fdshepherd%2ftkview%2ehtm">Edit</a>
|
||||
|
@ -244,7 +244,7 @@ standalone. <a href="/live/annotate?url=http%3a%2f%2fpurl%2eoclc%2eorg%2fnet%2fo
|
|||
Works with <b>8.0</b>
|
||||
<br>Download: <a href="http://www.cs.umd.edu/hcil/pad++/download.html">download.html</a><br>Pad++ is a Tk widget that provides a Zoomable User Interface (ZUI) that supports real-time interactive zoomable graphics in a fashion similar to the Tk Canvas widget. Pad++ supports tens of thousands of objects which include text, images, graphics, portals, lenses, simple html (and more), including transparency and rotation. <a href="/live/annotate?url=http%3a%2f%2fwww%2ecs%2eumd%2eedu%2fhcil%2fpad%2b%2b">Edit</a>
|
||||
<i><font size="-1">(August 19, 1999 15:39)</font></i><dt><b><a href="http://home.t-online.de/home/sesam.com/freeware.htm" ="">Progressbar</a></b>
|
||||
<dd>Progressbar is a megawidget written in pure tcl (ie: no compiling required - runs on all platforms Macintosh, Unix, Windows).
|
||||
<dd>Progressbar is a megawidget written in pure tcl (ie: no compiling required - runs on all platforms Macintosh, Unix, Windows).
|
||||
Its primary purpose is to show the progress of any action in percent. <a href="/live/annotate?url=http%3a%2f%2fhome%2et%2donline%2ede%2fhome%2fsesam%2ecom%2ffreeware%2ehtm">Edit</a>
|
||||
<i><font size="-1">(January 24, 2000 09:19)</font></i><dt><b><a href="http://jfontain.free.fr/" ="">scwoop (Simple Composite Widget Object Oriented Package)</a></b>
|
||||
<dd>Scwoop is a composite widget (also known as mega widget) extension to the great Tk widget library. Scwoop is
|
||||
|
@ -287,7 +287,7 @@ pie charts on a Tk canvas. <a href="/live/annotate?url=http%3a%2f%2fjfontain%2ef
|
|||
<dd>TkPrint is an extension that allows you to print from a
|
||||
Tk widget. <a href="/live/annotate?url=http%3a%2f%2fwww%2ecygnus%2ecom%2f%7eirox%2ftkprint%2f">Edit</a>
|
||||
<i><font size="-1">(October 11, 1999 09:58)</font></i><dt><b><a href="http://www.purl.org/net/hobbs/tcl/capp/" ="">TkTable Home Page</a></b>
|
||||
<dd>The TkTable widget. The <code>table</code> command creates a
|
||||
<dd>The TkTable widget. The <code>table</code> command creates a
|
||||
2-dimensional grid of cells. The table can use a Tcl array variable or Tcl
|
||||
|
||||
command for data storage and retrieval. <a href="/live/annotate?url=http%3a%2f%2fwww%2epurl%2eorg%2fnet%2fhobbs%2ftcl%2fcapp%2f">Edit</a>
|
||||
|
@ -303,14 +303,14 @@ command for data storage and retrieval. <a href="/live/annotate?url=http%3a%2f%2
|
|||
distribution. <a href="/live/annotate?url=http%3a%2f%2fftp%2eaustintx%2enet%2fusers%2fjatucker%2fTkTextmatrix%2fdefault%2ehtm">Edit</a>
|
||||
<i><font size="-1">(August 23, 1999 12:14)</font></i><dt><b><a href="http://www.cs.umd.edu/~bederson/Togl.html" ="">ToGL - a Tk Open GL widget</a></b>
|
||||
<dd>Togl is a Tk widget for OpenGL rendering. Togl is based on OGLTK, originally written by Benjamin Bederson at the
|
||||
University of New Mexico (who has since moved to the University of Maryland). Togl adds the new features:
|
||||
University of New Mexico (who has since moved to the University of Maryland). Togl adds the new features:
|
||||
<ul>
|
||||
<li> color-index mode support including color allocation functions
|
||||
<li> support for requesting stencil, accumulation, alpha buffers, etc
|
||||
<li> multiple OpenGL drawing widgets
|
||||
<li> OpenGL extension testing from Tcl
|
||||
<li> simple, portable font support
|
||||
<li> overlay plane support
|
||||
<li> color-index mode support including color allocation functions
|
||||
<li> support for requesting stencil, accumulation, alpha buffers, etc
|
||||
<li> multiple OpenGL drawing widgets
|
||||
<li> OpenGL extension testing from Tcl
|
||||
<li> simple, portable font support
|
||||
<li> overlay plane support
|
||||
</ul>
|
||||
Togl allows one to create and manage a special Tk/OpenGL widget with Tcl and render into it with a C program. That is,
|
||||
a typical Togl program will have Tcl code for managing the user interface and a C program for computations and
|
||||
|
@ -383,7 +383,7 @@ tree. The tree can be displayed horizontally or vertically.
|
|||
Works with <b>Tcl/Tk 8.0 or higher</b>
|
||||
<br>Download: <a href="http://www.purl.org/net/hobbs/tcl/script/widget/widget-0.9.tar.gz">widget-0.9.tar.gz</a><br>This is a package of
|
||||
megawidgets (i.e., compound widgets) that work almost exactly like Tk widgets.
|
||||
You can also build your own new megawidgets.
|
||||
You can also build your own new megawidgets.
|
||||
Includes: combobox, hierarchy, console, progressbar,
|
||||
tabnotebook, validating entry, pane geometry manager, baloon help. <a href="/live/annotate?url=http%3a%2f%2fwww%2epurl%2eorg%2fnet%2fhobbs%2ftcl%2fscript%2fwidget%2f">Edit</a>
|
||||
<i><font size="-1">(August 23, 1999 12:16)</font></i></dl>
|
||||
|
@ -419,15 +419,15 @@ tabnotebook, validating entry, pane geometry manager, baloon help. <a href="/liv
|
|||
over[9].src = "http://images.scriptics.com/images/homeMainRollover3.gif"
|
||||
|
||||
}
|
||||
|
||||
|
||||
function MakeImageArray(n) {
|
||||
this.length = n
|
||||
for (var i = 0; i<=n; i++)="i++)" {="{" this[i]="this[i]" ="" new="new" Image()="Image()" }="}" return="return" this="this" }="}" //="//" --="--">
|
||||
</SCRIPT><br>
|
||||
<font size="2">
|
||||
© 1998-2000 Scriptics Corporation. All rights reserved.
|
||||
<a href="/legal_notice.html">Legal Notice</a> | <A href="" /privacy.html="/privacy.html">
|
||||
<a href="/legal_notice.html">Legal Notice</a> | <A href="" /privacy.html="/privacy.html">
|
||||
Privacy Statement</a>
|
||||
</td></tr></table></td></tr></table>
|
||||
</Body>
|
||||
</Html>
|
||||
</Html>
|
||||
|
|
|
@ -218,7 +218,7 @@
|
|||
<h2 align="center">How To Compile Under Unix Without Installing Tcl</h2>
|
||||
<p><p>Specify the *.a file directly:</p>
|
||||
<blockquote><pre>
|
||||
$ gcc -I../tcl8.2.2/generic hello.c \
|
||||
$ gcc -I../tcl8.2.2/generic hello.c \
|
||||
../tcl8.2.2/unix/libtcl8.2.a -lm -ldl
|
||||
$ strip a.out
|
||||
$ ./a.out
|
||||
|
@ -226,7 +226,7 @@
|
|||
|
||||
<p>Or, tell the C compiler where to look for *.a files:</p>
|
||||
<blockquote><pre>
|
||||
$ gcc -I../tcl8.2.2/generic hello.c \
|
||||
$ gcc -I../tcl8.2.2/generic hello.c \
|
||||
-L../tcl8.2.2/unix -ltcl -lm -ldl
|
||||
$ strip a.out
|
||||
$ ./a.out
|
||||
|
@ -982,7 +982,7 @@ int main(int argc, char **argv){<br>
|
|||
<br clear="both"><p><hr></p>
|
||||
<h2 align="center">Linkage From Tcl To C</h2>
|
||||
<p><p align="center"><img src="image4"></p></p><p><ul><li>3rd parameter of Tcl_CreateCommand() is a pointer to the C subroutine
|
||||
that implements the command.</li></ul><ul><li>4th parameter to Tcl_CreateCommand() becomes the 1st parameter to
|
||||
that implements the command.</li></ul><ul><li>4th parameter to Tcl_CreateCommand() becomes the 1st parameter to
|
||||
the C routine whenever the Tcl command is executed.</li></ul><ul><li>1st parameter to Tcl_CreateCommand() must be a valid Tcl interpreter.
|
||||
The same pointer appears as the second parameter to the C routine
|
||||
whenever the Tcl command is executed.</li></ul></p>
|
||||
|
@ -990,7 +990,7 @@ int main(int argc, char **argv){<br>
|
|||
<br clear="both"><p><hr></p>
|
||||
<h2 align="center">Linkage From Tcl To C</h2>
|
||||
<p><p align="center"><img src="image5"></p></p><p><ul><li>5th parameter of Tcl_CreateCommand() is a pointer to the C subroutine
|
||||
that is called when the Tcl command is deleted.</li></ul><ul><li>4th parameter to Tcl_CreateCommand() becomes the 1st parameter to
|
||||
that is called when the Tcl command is deleted.</li></ul><ul><li>4th parameter to Tcl_CreateCommand() becomes the 1st parameter to
|
||||
the C routine.</li></ul></p>
|
||||
|
||||
<br clear="both"><p><hr></p>
|
||||
|
@ -1035,7 +1035,7 @@ pack .b</tt></small></td>
|
|||
|
||||
<br clear="both"><p><hr></p>
|
||||
<h2 align="center">Linkage From Tcl To C</h2>
|
||||
<p>The <tt>argc</tt> and <tt>argv</tt> parameters work just like in
|
||||
<p>The <tt>argc</tt> and <tt>argv</tt> parameters work just like in
|
||||
<tt>main()</tt></p><p>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr><td valign="center">
|
||||
|
@ -1139,7 +1139,7 @@ pack .b</tt></small></td>
|
|||
<td></td><td></td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><ul><li>Result should be the text of an error message if you
|
||||
<p><ul><li>Result should be the text of an error message if you
|
||||
return TCL_ERROR.</li></ul><ul><li>3rd argument to Tcl_SetResult() can be TCL_STATIC,
|
||||
TCL_DYNAMIC, TCL_VOLATILE, or a function pointer.</li></ul><ul><li>Also consider using Tcl_AppendResult().</li></ul><ul><li>Direct access to <tt>interp->result</tt> is deprecated.</li></ul><ul><li>See the man pages for details.</li></ul></p>
|
||||
|
||||
|
@ -1443,7 +1443,7 @@ int main(int argc, char **argv){<br>
|
|||
<h2 align="center">Initialization Scripts</h2>
|
||||
<p><ul><li>Run the mini TCLSH implemented above and execute the <tt>parray</tt> command</li></ul><ul><li>It doesn't work! What's wrong? </p></li></li></ul><ul><li><tt>parray</tt> is really a Tcl proc that is read in when the
|
||||
interpreter is initialized. </p></li></li></ul><ul><li><tt>parray</tt> (and several other commands) are stored in a
|
||||
handful of "Initialization Scripts" </p></li></li></ul><ul><li>All the initialization scripts are stored in the
|
||||
handful of "Initialization Scripts" </p></li></li></ul><ul><li>All the initialization scripts are stored in the
|
||||
"Tcl Library" - a directory on the host
|
||||
computer. </p></li></li></ul><table><tr><td valign="top"><img src="image3"></td>
|
||||
<td valign="top"><b>Invoke the Tcl_Init() function to locate and read the
|
||||
|
@ -1668,8 +1668,8 @@ int main(int argc, char **argv){<br>
|
|||
</ul></li></ul><ul><li>Allows us to implement a virtual filesystem that overlays the
|
||||
real filesystem.</li></ul><ul><li>The virtual filesystem contains all the initialization scripts
|
||||
as compiled-in strings. The initialization scripts look like
|
||||
they are resident on disk even though they are built in.</li></ul><ul><li>These functions first appeared in Tcl8.0.3.
|
||||
Presumably to support TclPro Wrapper.</li></ul><ul><li>The only documentation is comments on the code.
|
||||
they are resident on disk even though they are built in.</li></ul><ul><li>These functions first appeared in Tcl8.0.3.
|
||||
Presumably to support TclPro Wrapper.</li></ul><ul><li>The only documentation is comments on the code.
|
||||
See the Tcl source file <tt>generic/tclIOUtil.c</tt></li></ul></p>
|
||||
<br clear="both"><p><hr></p>
|
||||
<h2 align="center">The <tt>TclStatInsertProc()</tt> Function</h2>
|
||||
|
@ -1997,7 +1997,7 @@ int main(int argc, char **argv){<br>
|
|||
<h2 align="center">Compiling "Hello, World!" For Tk</h2>
|
||||
<p><p><b>Unix:</b></p>
|
||||
<blockquote><pre>
|
||||
$ gcc hello.c -ltk -L/usr/X11R6/lib \
|
||||
$ gcc hello.c -ltk -L/usr/X11R6/lib \
|
||||
-lX11 -ltcl -lm -ldl
|
||||
$ ./a.out</pre></blockquote>
|
||||
|
||||
|
@ -2008,7 +2008,7 @@ int main(int argc, char **argv){<br>
|
|||
|
||||
<p><b>Windows using Mingw32:</b></p>
|
||||
<blockquote><pre>
|
||||
C:> gcc -mno-cygwin hello.c -mwindows \
|
||||
C:> gcc -mno-cygwin hello.c -mwindows \
|
||||
-ltk82 -ltcl82 -lm
|
||||
C:> a.exe</pre></blockquote></p>
|
||||
<br clear="both"><p><hr></p>
|
||||
|
@ -2162,7 +2162,7 @@ int main(int argc, char **argv){<br>
|
|||
<li> FreeWrap - http://www.albany.net/~dlabelle/freewrap/freewrap.html </li>
|
||||
<li> Wrap - http://members1.chello.nl/~j.nijtmans/wrap.html </li>
|
||||
</ul></li></ul><ul><li>No C compiler required!</li></ul><ul><li>TclPro will convert Tcl script into bytecode so that it cannot be
|
||||
easily read by the end user. FreeWrap encrypts the scripts.</li></ul><ul><li>FreeWrap uses compression on its executable.
|
||||
easily read by the end user. FreeWrap encrypts the scripts.</li></ul><ul><li>FreeWrap uses compression on its executable.
|
||||
Wrap uses compression on both the executable and on the bundled script files.</li></ul><ul><li>Usually include extensions like winico and/or BLT</li></ul></p></td></tr></table>
|
||||
|
||||
<br clear="both"><p><hr></p>
|
||||
|
@ -2170,8 +2170,8 @@ int main(int argc, char **argv){<br>
|
|||
<table><tr><td valign="top"><img src="image9"></td>
|
||||
<td valign="top"><p><ul><li>Mix C/C++ with Tcl/Tk into a standalone binary</li></ul>
|
||||
<ul><li><tt>mktclapp</tt> generates an application initialization file
|
||||
that contains Tcl scripts as strings and makes all necessary calls
|
||||
to <tt>Tcl_Init</tt>, <tt>Tcl_CreateCommand</tt>,
|
||||
that contains Tcl scripts as strings and makes all necessary calls
|
||||
to <tt>Tcl_Init</tt>, <tt>Tcl_CreateCommand</tt>,
|
||||
<tt>Tcl</tt>*<tt>InsertProc</tt>, etc.</li></ul><ul><li>Features to make it easier to write new Tcl command in C</li></ul><ul><li><tt>xmktclapp.tcl</tt> provides a GUI interface to <tt>mktclapp</tt></li></ul><ul><li>http://www.hwaci.com/sw/mktclapp/</li></ul></p></td></tr></table>
|
||||
|
||||
<br clear="both"><p><hr></p>
|
||||
|
@ -2400,7 +2400,7 @@ int ET_OBJCOMMAND_add2(ET_OBJARGS){<br>
|
|||
<h2 align="center">Locations Of Libraries</h2>
|
||||
<table><tr><td valign="top"><img src="image13"></td>
|
||||
<td valign="top"><p><ul><li>Tells mktclapp where to look for script libraries.</li></ul><ul><li>All Tcl scripts in the indicated directories are
|
||||
compiled into the <tt>appinit.c</tt> file.</li></ul><ul><li>Comments and extra white-space are removed.
|
||||
compiled into the <tt>appinit.c</tt> file.</li></ul><ul><li>Comments and extra white-space are removed.
|
||||
There is no way to turn this off.</li></ul></p></td></tr></table>
|
||||
|
||||
<br clear="both"><p><hr></p>
|
||||
|
@ -2607,10 +2607,10 @@ int main(int argc, char **argv){</tt></small></td>
|
|||
|
||||
<br clear="both"><p><hr></p>
|
||||
<h2 align="center">Mktclapp Initialization Sequence</h2>
|
||||
<p><ul><li>Initialization starts when the <tt>Et_Init()</tt>
|
||||
<p><ul><li>Initialization starts when the <tt>Et_Init()</tt>
|
||||
function is called either by client code or by
|
||||
the <tt>main()</tt> that mktclapp generates</li></ul><ul><li>Create the main Tcl interpreter</li></ul><ul><li>Construct the virtual filesystem overlay by redefining
|
||||
the <tt>source</tt> command and by using the
|
||||
the <tt>source</tt> command and by using the
|
||||
<tt>Tcl</tt>*<tt>InsertProc()</tt> functions</li></ul><ul><li>Call <tt>Et_PreInit()</tt> if the client defines it</li></ul><ul><li>Call <tt>Tcl_Init()</tt> and <tt>Tk_Init()</tt></li></ul><ul><li>Call <tt>Tcl_CreateCommand()</tt> and <tt>Tcl_CreateObjCommand()</tt>
|
||||
for every <tt>ET_COMMAND_</tt>* and <tt>ET_OBJCOMMAND_</tt>* function
|
||||
in the client code</li></ul><ul><li>Call <tt>Et_AppInit()</tt> if the client defines it</li></ul><ul><li>Run the main Tcl script if there is one</li></ul><ul><li>Call <tt>Et_CustomMainLoop()</tt> if defined by client code or
|
||||
|
@ -2680,7 +2680,7 @@ void ErrMsg(char *zMsg){<br>
|
|||
<ul><li>
|
||||
The command that gets executed is:
|
||||
<pre>
|
||||
tk_messageBox -icon error -msg \
|
||||
tk_messageBox -icon error -msg \
|
||||
{Syntax error near "}"} -type ok
|
||||
</pre>
|
||||
</li></ul>
|
||||
|
@ -2708,7 +2708,7 @@ void ErrMsg(char *zMsg){<br>
|
|||
<p><ul><li>The <tt></tt> puts a backslash before all characters that
|
||||
are special to Tcl</li></ul><ul><li>The Tcl command becomes:
|
||||
<pre>
|
||||
tk_messageBox -icon error -msg \
|
||||
tk_messageBox -icon error -msg \
|
||||
"Syntax error near \"\}\"" -type ok
|
||||
</pre></li></ul></p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue