home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 57 49 | 53 48 20 43 6f 6e 73 74 |ts of WI|SH Const|
|000000b0| 72 75 63 74 69 6f 6e 3c | 2f 54 49 54 4c 45 3e 0a |ruction<|/TITLE>.|
|000000c0| 0a 3c 4d 45 54 41 20 48 | 54 54 50 2d 45 51 55 49 |.<META H|TTP-EQUI|
|000000d0| 56 3d 22 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 22 |V="Conte|nt-Type"|
|000000e0| 20 43 4f 4e 54 45 4e 54 | 3d 22 74 65 78 74 2f 68 | CONTENT|="text/h|
|000000f0| 74 6d 6c 3b 20 63 68 61 | 72 73 65 74 3d 75 74 66 |tml; cha|rset=utf|
|00000100| 2d 38 22 3e 0a 3c 4d 45 | 54 41 20 4e 41 4d 45 3d |-8">.<ME|TA NAME=|
|00000110| 22 76 69 65 77 70 6f 72 | 74 22 20 43 4f 4e 54 45 |"viewpor|t" CONTE|
|00000120| 4e 54 3d 22 77 69 64 74 | 68 3d 64 65 76 69 63 65 |NT="widt|h=device|
|00000130| 2d 77 69 64 74 68 2c 20 | 69 6e 69 74 69 61 6c 2d |-width, |initial-|
|00000140| 73 63 61 6c 65 3d 31 2e | 30 22 3e 0a 3c 4d 45 54 |scale=1.|0">.<MET|
|00000150| 41 20 4e 41 4d 45 3d 22 | 47 65 6e 65 72 61 74 6f |A NAME="|Generato|
|00000160| 72 22 20 43 4f 4e 54 45 | 4e 54 3d 22 4c 61 54 65 |r" CONTE|NT="LaTe|
|00000170| 58 32 48 54 4d 4c 20 76 | 32 30 32 32 22 3e 0a 0a |X2HTML v|2022">..|
|00000180| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 53 54 59 4c 45 |<LINK RE|L="STYLE|
|00000190| 53 48 45 45 54 22 20 48 | 52 45 46 3d 22 77 69 73 |SHEET" H|REF="wis|
|000001a0| 68 2e 63 73 73 22 3e 0a | 0a 3c 4c 49 4e 4b 20 52 |h.css">.|.<LINK R|
|000001b0| 45 4c 3d 22 6e 65 78 74 | 22 20 48 52 45 46 3d 22 |EL="next|" HREF="|
|000001c0| 6e 6f 64 65 31 31 5f 6d | 6e 2e 68 74 6d 6c 22 3e |node11_m|n.html">|
|000001d0| 0a 3c 4c 49 4e 4b 20 52 | 45 4c 3d 22 70 72 65 76 |.<LINK R|EL="prev|
|000001e0| 69 6f 75 73 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |ious" HR|EF="node|
|000001f0| 39 5f 6d 6e 2e 68 74 6d | 6c 22 3e 0a 3c 4c 49 4e |9_mn.htm|l">.<LIN|
|00000200| 4b 20 52 45 4c 3d 22 75 | 70 22 20 48 52 45 46 3d |K REL="u|p" HREF=|
|00000210| 22 6e 6f 64 65 39 5f 6d | 6e 2e 68 74 6d 6c 22 3e |"node9_m|n.html">|
|00000220| 0a 3c 4c 49 4e 4b 20 52 | 45 4c 3d 22 6e 65 78 74 |.<LINK R|EL="next|
|00000230| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 31 31 5f 6d |" HREF="|node11_m|
|00000240| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 2f 48 45 41 44 3e |n.html">|.</HEAD>|
|00000250| 0a 20 0a 3c 42 4f 44 59 | 20 62 67 63 6f 6c 6f 72 |. .<BODY| bgcolor|
|00000260| 3d 22 23 66 66 66 66 66 | 66 22 20 74 65 78 74 3d |="#fffff|f" text=|
|00000270| 22 23 30 30 30 30 30 30 | 22 20 6c 69 6e 6b 3d 22 |"#000000|" link="|
|00000280| 23 39 39 34 34 45 45 22 | 20 76 6c 69 6e 6b 3d 22 |#9944EE"| vlink="|
|00000290| 23 30 30 30 30 66 66 22 | 20 61 6c 69 6e 6b 3d 22 |#0000ff"| alink="|
|000002a0| 23 30 30 66 66 30 30 22 | 3e 0a 0a 3c 48 32 3e 3c |#00ff00"|>..<H2><|
|000002b0| 41 20 49 44 3d 22 53 45 | 43 54 49 4f 4e 30 30 31 |A ID="SE|CTION001|
|000002c0| 35 31 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |51000000|00000000|
|000002d0| 30 22 3e 0a 57 49 53 48 | 20 43 6f 6e 73 74 72 75 |0">.WISH| Constru|
|000002e0| 63 74 69 6f 6e 3c 2f 41 | 3e 0a 3c 2f 48 32 3e 0a |ction</A|>.</H2>.|
|000002f0| 6d 61 6b 69 6e 67 20 61 | 20 77 69 73 68 0a 0a 3c |making a| wish..<|
|00000300| 50 3e 0a 54 68 65 20 73 | 74 61 6e 64 61 72 64 20 |P>.The s|tandard |
|00000310| 77 61 79 20 74 6f 20 6d | 61 6b 65 20 79 6f 75 72 |way to m|ake your|
|00000320| 20 6f 77 6e 20 57 49 53 | 48 2c 20 61 73 20 73 75 | own WIS|H, as su|
|00000330| 70 70 6f 72 74 65 64 20 | 62 79 20 74 68 65 20 54 |pported |by the T|
|00000340| 63 6c 2f 54 6b 0a 73 79 | 73 74 65 6d 2c 20 69 73 |cl/Tk.sy|stem, is|
|00000350| 20 74 6f 20 74 61 6b 65 | 20 61 20 62 6f 69 6c 65 | to take| a boile|
|00000360| 72 70 6c 61 74 65 20 66 | 69 6c 65 2c 20 74 6b 41 |rplate f|ile, tkA|
|00000370| 70 70 49 6e 69 74 2e 63 | 2c 20 65 64 69 74 20 74 |ppInit.c|, edit t|
|00000380| 6f 0a 72 65 66 6c 65 63 | 74 20 74 68 65 20 54 63 |o.reflec|t the Tc|
|00000390| 6c 2f 54 6b 20 65 78 74 | 65 6e 73 69 6f 6e 73 20 |l/Tk ext|ensions |
|000003a0| 79 6f 75 20 77 69 6c 6c | 20 62 65 20 72 65 71 75 |you will| be requ|
|000003b0| 69 72 69 6e 67 2c 20 61 | 64 64 20 73 6f 6d 65 20 |iring, a|dd some |
|000003c0| 63 6f 6d 6d 61 6e 64 73 | 0a 74 6f 20 74 68 65 20 |commands|.to the |
|000003d0| 69 6e 74 65 72 70 72 65 | 74 74 65 72 2c 20 61 6e |interpre|tter, an|
|000003e0| 64 20 6c 69 6e 6b 20 69 | 74 20 61 6c 6c 20 74 6f |d link i|t all to|
|000003f0| 67 65 74 68 65 72 2e 0a | 0a 3c 50 3e 0a 48 65 72 |gether..|.<P>.Her|
|00000400| 65 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 20 69 73 |e for ex|ample is|
|00000410| 20 74 68 65 20 69 6d 70 | 6f 72 74 61 6e 74 20 70 | the imp|ortant p|
|00000420| 61 72 74 20 6f 66 20 74 | 68 65 20 74 6b 30 32 20 |art of t|he tk02 |
|00000430| 64 65 6d 6f 2c 0a 65 78 | 74 72 61 63 74 65 64 20 |demo,.ex|tracted |
|00000440| 66 72 6f 6d 20 74 68 65 | 20 66 69 6c 65 20 78 74 |from the| file xt|
|00000450| 6b 30 32 2e 63 2c 20 77 | 68 69 63 68 20 69 73 20 |k02.c, w|hich is |
|00000460| 65 66 66 65 63 74 69 76 | 65 6c 79 20 74 68 65 0a |effectiv|ely the.|
|00000470| 65 78 74 65 6e 64 65 64 | 20 57 49 53 48 20 64 65 |extended| WISH de|
|00000480| 66 69 6e 69 74 69 6f 6e | 20 66 69 6c 65 20 66 6f |finition| file fo|
|00000490| 72 20 74 68 65 20 74 6b | 30 32 20 64 65 6d 6f 2e |r the tk|02 demo.|
|000004a0| 20 20 43 6f 6d 6d 65 6e | 74 73 20 61 6e 64 0a 6f | Commen|ts and.o|
|000004b0| 74 68 65 72 20 6d 69 73 | 63 65 6c 61 6e 79 20 61 |ther mis|celany a|
|000004c0| 72 65 20 6f 6d 69 74 74 | 65 64 2e 0a 3c 42 52 3e |re omitt|ed..<BR>|
|000004d0| 0a 3c 49 4d 47 0a 20 20 | 53 54 59 4c 45 3d 22 68 |.<IMG. |STYLE="h|
|000004e0| 65 69 67 68 74 3a 20 32 | 2e 32 34 65 78 3b 20 76 |eight: 2|.24ex; v|
|000004f0| 65 72 74 69 63 61 6c 2d | 61 6c 69 67 6e 3a 20 31 |ertical-|align: 1|
|00000500| 37 36 2e 34 31 65 78 3b | 20 22 20 53 52 43 3d 22 |76.41ex;| " SRC="|
|00000510| 69 6d 67 35 2e 70 6e 67 | 22 0a 20 41 4c 54 3d 22 |img5.png|". ALT="|
|00000520| 5c 62 65 67 69 6e 7b 65 | 78 61 6d 70 6c 65 7d 0a |\begin{e|xample}.|
|00000530| 2e 2e 2e 22 3e 0a 3c 42 | 52 3e 0a 0a 3c 50 3e 0a |...">.<B|R>..<P>.|
|00000540| 54 68 65 20 63 61 6c 6c | 73 20 74 6f 20 54 63 6c |The call|s to Tcl|
|00000550| 5f 49 6e 69 74 28 29 20 | 61 6e 64 20 54 6b 5f 49 |_Init() |and Tk_I|
|00000560| 6e 69 74 28 29 20 61 72 | 65 20 69 6e 20 65 76 65 |nit() ar|e in eve|
|00000570| 72 79 20 57 49 53 48 2e | 0a 54 6f 20 6d 61 6b 65 |ry WISH.|.To make|
|00000580| 20 61 6e 20 65 78 74 65 | 6e 64 65 64 20 57 49 53 | an exte|nded WIS|
|00000590| 48 2c 20 79 6f 75 20 61 | 64 64 20 63 61 6c 6c 73 |H, you a|dd calls|
|000005a0| 20 74 6f 20 74 68 65 20 | 69 6e 69 74 69 61 6c 69 | to the |initiali|
|000005b0| 7a 61 74 69 6f 6e 20 72 | 6f 75 74 69 6e 65 73 0a |zation r|outines.|
|000005c0| 66 6f 72 20 61 6e 79 20 | 65 78 74 65 6e 73 69 6f |for any |extensio|
|000005d0| 6e 20 70 61 63 6b 61 67 | 65 73 20 79 6f 75 20 77 |n packag|es you w|
|000005e0| 61 6e 74 20 74 6f 20 75 | 73 65 2c 20 69 6e 20 74 |ant to u|se, in t|
|000005f0| 68 69 73 20 5b 69 6e 63 | 72 20 54 63 6c 5d 0a 28 |his [inc|r Tcl].(|
|00000600| 49 74 63 6c 5f 49 6e 69 | 74 28 29 29 20 61 6e 64 |Itcl_Ini|t()) and|
|00000610| 20 50 4c 70 6c 6f 74 20 | 28 50 6c 74 6b 5f 49 6e | PLplot |(Pltk_In|
|00000620| 69 74 28 29 29 2e 20 20 | 46 69 6e 61 6c 6c 79 20 |it()). |Finally |
|00000630| 79 6f 75 20 61 64 64 0a | 6b 65 79 77 6f 72 64 73 |you add.|keywords|
|00000640| 20 74 6f 20 74 68 65 20 | 69 6e 74 65 72 70 72 65 | to the |interpre|
|00000650| 74 74 65 72 2c 20 61 73 | 73 6f 63 69 61 74 69 6e |tter, as|sociatin|
|00000660| 67 20 74 68 65 6d 20 77 | 69 74 68 20 66 75 6e 63 |g them w|ith func|
|00000670| 74 69 6f 6e 73 20 69 6e | 20 79 6f 75 72 0a 63 6f |tions in| your.co|
|00000680| 64 65 20 75 73 69 6e 67 | 20 54 63 6c 5f 43 72 65 |de using| Tcl_Cre|
|00000690| 61 74 65 43 6f 6d 6d 61 | 6e 64 28 29 20 61 73 20 |ateComma|nd() as |
|000006a0| 73 68 6f 77 6e 2e 0a 0a | 3c 50 3e 0a 49 6e 20 70 |shown...|<P>.In p|
|000006b0| 61 72 74 69 63 75 6c 61 | 72 2c 20 50 4c 70 6c 6f |articula|r, PLplo|
|000006c0| 74 20 68 61 73 20 61 20 | 6e 75 6d 62 65 72 20 6f |t has a |number o|
|000006d0| 66 20 5b 69 6e 63 72 20 | 54 63 6c 5d 20 63 6c 61 |f [incr |Tcl] cla|
|000006e0| 73 73 65 73 20 69 6e 20 | 69 74 73 20 54 63 6c 0a |sses in |its Tcl.|
|000006f0| 6c 69 62 72 61 72 79 2e | 20 20 49 66 20 79 6f 75 |library.| If you|
|00000700| 20 77 61 6e 74 20 74 6f | 20 62 65 20 61 62 6c 65 | want to| be able|
|00000710| 20 74 6f 20 75 73 65 20 | 74 68 6f 73 65 20 69 6e | to use |those in|
|00000720| 20 79 6f 75 72 20 57 49 | 53 48 2c 20 79 6f 75 20 | your WI|SH, you |
|00000730| 6e 65 65 64 0a 74 6f 20 | 69 6e 63 6c 75 64 65 20 |need.to |include |
|00000740| 74 68 65 20 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |the init|ializati|
|00000750| 6f 6e 20 6f 66 20 5b 69 | 6e 63 72 20 54 63 6c 5d |on of [i|ncr Tcl]|
|00000760| 2e 0a 0a 3c 50 3e 0a 57 | 49 53 48 20 6c 69 6e 6b |...<P>.W|ISH link|
|00000770| 69 6e 67 2c 20 57 49 53 | 48 20 70 72 6f 67 72 61 |ing, WIS|H progra|
|00000780| 6d 6d 69 6e 67 2c 20 57 | 49 53 48 20 63 6f 6e 73 |mming, W|ISH cons|
|00000790| 74 72 75 63 74 69 6f 6e | 2c 20 43 75 73 74 6f 6d |truction|, Custom|
|000007a0| 20 45 78 74 65 6e 73 69 | 6f 6e 73 0a 0a 3c 48 52 | Extensi|ons..<HR|
|000007b0| 3e 0a 0a 3c 2f 42 4f 44 | 59 3e 0a 3c 2f 48 54 4d |>..</BOD|Y>.</HTM|
|000007c0| 4c 3e 0a | |L>. | |
+--------+-------------------------+-------------------------+--------+--------+