1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"1038.29">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; min-height: 12.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #cd0b0b}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #008417}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
16 p
.p7
{margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica
}
17 p
.p8
{margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica
; min-height: 17.0px}
18 p
.p9
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica
}
19 p
.p10
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica
; min-height: 14.0px}
20 p
.p11
{margin: 0.0px 0.0px 0.0px 85.0px; text-indent: -85.0px; font: 12.0px Helvetica
}
21 p
.p12
{margin: 0.0px 0.0px 0.0px 85.0px; text-indent: -85.0px; font: 12.0px Helvetica
; min-height: 14.0px}
22 p
.p13
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco
; min-height: 12.0px}
23 p
.p14
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #1d20b9; min-height: 12.0px}
24 p
.p15
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #737373}
25 p
.p16
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #001db9; min-height: 12.0px}
26 p
.p17
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #001db9}
27 p
.p18
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #961e1e}
28 p
.p19
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #0000ee}
29 p
.p20
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 14.0px Helvetica
}
30 p
.p21
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco
; color: #d40c0b}
31 p
.p22
{margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco
}
32 span
.s1
{font: 18.0px Helvetica
}
33 span
.s2
{font: 9.0px Monaco
}
34 span
.s3
{color: #2b30fa}
35 span
.s4
{color: #000000}
36 span
.s5
{color: #2024c7}
37 span
.s6
{color: #008417}
38 span
.s7
{color: #737373}
39 span
.s8
{color: #001db9}
40 span
.s9
{color: #426f0e}
41 span
.s10
{font: 12.0px Helvetica
}
42 span
.Apple-tab-span
{white-space:pre
}
46 <p class=
"p1"><span class=
"s1"><b>TdefGui
</b></span><span class=
"s2"> <span class=
"Apple-tab-span"> </span></span><b>a line of editing controls for a Tdef, and optionally its envir.
</b></p>
47 <p class=
"p2"><br></p>
48 <p class=
"p1"><b>Inherits from:
</b><a href=
"JITGui.html"><span class=
"s3"><b>JITGui
</b></span></a><b>: TaskProxyGui
</b>(like
<a href=
"PdefGui.html"><span class=
"s3">PdefGui
</span></a>)
</p>
49 <p class=
"p2"><br></p>
50 <p class=
"p1">A gui showing the Tdef's name, playing state, source state, and envir state.
<span class=
"Apple-converted-space"> </span></p>
51 <p class=
"p1">Optionally, its envir can also be edited.
</p>
52 <p class=
"p3"><br></p>
53 <p class=
"p1"><b>First example:
</b></p>
54 <p class=
"p2"><br></p>
55 <p class=
"p4"><span class=
"s4">g =
</span><span class=
"s5">TdefGui
</span><span class=
"s4">();
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span>// make a TdefGui
<span class=
"Apple-converted-space"> </span></p>
56 <p class=
"p4"><span class=
"s4">g.object =
</span><span class=
"s5">Tdef
</span><span class=
"s4">(
</span><span class=
"s6">\a
</span><span class=
"s4">);
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span>// show when a Tdef is put in
</p>
57 <p class=
"p4"><span class=
"s5">Tdef
</span><span class=
"s4">(
</span><span class=
"s6">\a
</span><span class=
"s4">, {
</span><span class=
"s7">"boing"</span><span class=
"s4">.postln });
<span class=
"Apple-tab-span"> </span></span>// show whether it has a source
</p>
58 <p class=
"p4"><span class=
"s5">Tdef
</span><span class=
"s4">(
</span><span class=
"s6">\a
</span><span class=
"s4">).play;
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span>// show whether playing, stopped, or ended, and pausable
</p>
59 <p class=
"p4"><span class=
"s5">Tdef
</span><span class=
"s4">(
</span><span class=
"s6">\a
</span><span class=
"s4">).set(
</span><span class=
"s6">\abc
</span><span class=
"s4">,
123);
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span>// show whether the tdef has an envir
</p>
60 <p class=
"p2"><br></p>
61 <p class=
"p4"><span class=
"s4">g =
</span><span class=
"s5">TdefGui
</span><span class=
"s4">(
</span><span class=
"s5">Tdef
</span><span class=
"s4">(
</span><span class=
"s6">\a
</span><span class=
"s4">),
3);
<span class=
"Apple-tab-span"> </span></span>// with an envirgui for
3 items
</p>
62 <p class=
"p5"><span class=
"s5">Tdef
</span><span class=
"s4">(
</span>\a
<span class=
"s4">).set(
</span>\a
<span class=
"s4">,
12,
</span>\lofreq
<span class=
"s4">, [
1,
10],
</span>\str
<span class=
"s4">,
</span><span class=
"s7">"someString"</span><span class=
"s4">,
</span>\oops
<span class=
"s4">,
</span>\oneSymbolTooMany
<span class=
"s4">);
</span></p>
63 <p class=
"p2"><br></p>
64 <p class=
"p4"><span class=
"s4">(
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span>// put it in an existing window - margin becomes
0@
0</p>
65 <p class=
"p6">w =
<span class=
"s5">Window
</span>().front; w.addFlowLayout;
</p>
66 <p class=
"p6"><span class=
"s5">TdefGui
</span>(
<span class=
"s5">Tdef
</span>(
<span class=
"s6">\a
</span>),
0, w);
</p>
67 <p class=
"p6"><span class=
"s5">TdefGui
</span>(
<span class=
"s5">Tdef
</span>(
<span class=
"s6">\a
</span>),
3, w);
</p>
69 <p class=
"p1"><b>Details on the GUI elements:
</b></p>
70 <p class=
"p3"><br></p>
71 <p class=
"p1"><b>name button:
<span class=
"Apple-converted-space"> </span></b></p>
72 <p class=
"p1"><span class=
"Apple-tab-span"> </span>when selected, typing the delete key will delete its tdef.
</p>
73 <p class=
"p3"><br></p>
74 <p class=
"p1"><b>play/stop button
</b> :
<span class=
"Apple-converted-space"> </span></p>
75 <p class=
"p1"><span class=
"Apple-tab-span"> </span>indicates whether the tdef is playing:
<span class=
"Apple-converted-space"> </span></p>
76 <p class=
"p1"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>" >"<span class=
"Apple-converted-space"> <span class=
"Apple-tab-span"> </span></span>if stopped,
<span class=
"Apple-converted-space"> </span></p>
77 <p class=
"p1"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>" _" <span class=
"Apple-tab-span"> </span>if playing and active,
<span class=
"Apple-converted-space"> </span></p>
78 <p class=
"p1"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>" |" <span class=
"Apple-tab-span"> </span>if it is playing, but the stream has ended.
<span class=
"Apple-converted-space"> </span></p>
79 <p class=
"p2"><span class=
"Apple-tab-span"> </span></p>
80 <p class=
"p1"><b>pause/resume button
</b>:
<span class=
"Apple-converted-space"> </span></p>
81 <p class=
"p1"><span class=
"Apple-tab-span"> </span>only visible if one can pause or resume the Tdef, i.e. while it is playing.
</p>
82 <p class=
"p1"><span class=
"Apple-tab-span"> </span>"paus" is shown when you can pause it,
</p>
83 <p class=
"p1"><span class=
"Apple-tab-span"> </span>"rsum" is shown when you can resume it.
</p>
84 <p class=
"p3"><br></p>
85 <p class=
"p1"><b>src button
</b>:
<span class=
"Apple-converted-space"> </span></p>
86 <p class=
"p1"><span class=
"Apple-tab-span"> </span>opens a document to edit the source (function) of the Tdef.
</p>
87 <p class=
"p1"><span class=
"Apple-tab-span"> </span>green if a source exists, white if the source is nil.
</p>
88 <p class=
"p3"><br></p>
89 <p class=
"p1"><b>env button
</b>:
<span class=
"Apple-converted-space"> </span></p>
90 <p class=
"p1"><span class=
"Apple-tab-span"> </span><b>click
</b> opens a document to edit the envir of the Tdef,
<span class=
"Apple-converted-space"> </span></p>
91 <p class=
"p1"><span class=
"Apple-tab-span"> </span><b>option-click
</b> opens a new TdefGui with a big enough
<span class=
"Apple-converted-space"> </span></p>
92 <p class=
"p1"><span class=
"Apple-tab-span"> </span>EnvirGui for the Tdef's envir.
</p>
93 <p class=
"p1"><span class=
"Apple-tab-span"> </span>green if the tdef has an envir, white if the envir is nil.
</p>
94 <p class=
"p2"><br></p>
95 <p class=
"p2"><br></p>
96 <p class=
"p7"><b>Creation Methods
</b></p>
97 <p class=
"p8"><br></p>
98 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>*new (object, numItems, parent, bounds, extras, makeSkip)
</b></p>
99 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b></p>
100 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>Create a new JITGui that will be watching an object and display its state.
</p>
101 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>object
</b>-
<span class=
"Apple-tab-span"> </span>the object to watch
<span class=
"Apple-converted-space"> </span></p>
102 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>numItems
</b>- the number of display items to use, e.g. how many fields for text,
<span class=
"Apple-converted-space"> </span></p>
103 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>or how many EZSliders for single-number parameters.
</p>
104 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>parent
</b>-
<span class=
"Apple-tab-span"> </span>a parent view on which to display. If nil, a new window is created;
</p>
105 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>parent
</b>can also be an existing window or a composite view.
</p>
106 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>bounds
</b>-
<span class=
"Apple-tab-span"> </span>a desired size and position where to display a JITGui. can be nil,
<span class=
"Apple-converted-space"> </span></p>
107 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>a point, or a rect. JITGuis know their minimum size (
<b>minSize),
<span class=
"Apple-converted-space"> </span></b></p>
108 <p class=
"p11"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>and if bounds is nil, minSize is used.
</p>
109 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>if bounds is a point or rect, it will be set to at least minSize.
</p>
110 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>With a rect one can also supply a position where to display.
</p>
111 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>If a point,shown size is the maximum of bounds and minSize
<span class=
"Apple-converted-space"> </span></p>
112 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>options -
<span class=
"Apple-tab-span"> </span></b>a list of additional information, e.g. flags about optional buttons.
</p>
113 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>(this is used is some subclasses)
</p>
114 <p class=
"p12"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
115 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>makeSkip
</b>- A flag whether to make a skipjack. If one uses a TdefGui as part of a
<span class=
"Apple-converted-space"> </span></p>
116 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>larger gui ensemble, one may want to call checkUpdate on all of them
<span class=
"Apple-converted-space"> </span></p>
117 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>together, not with separate skipJacks.
</p>
118 <p class=
"p10"><br></p>
119 <p class=
"p13"><br></p>
121 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>, {
<span class=
"s8">|e|
</span> 100.do {
<span class=
"s8">|i|
</span> i.postln;
0.5.wait } });
</p>
122 <p class=
"p6">t =
<span class=
"s8">TdefGui
</span>(
<span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>),
4);
</p>
123 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>).set(\freq,
200, \dur,
0.1,
<span class=
"s9">\otto
</span>,
12,
<span class=
"s9">\ann
</span>,
1234);
</p>
125 <p class=
"p14"><br></p>
126 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>).stop;
</p>
127 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>).play;
</p>
128 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>).pause;
</p>
129 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>).resume;
</p>
130 <p class=
"p2"><br></p>
131 <p class=
"p6">t.object_(
<span class=
"s5">nil
</span>);
</p>
132 <p class=
"p6">t.object_(
<span class=
"s5">Tdef
</span>(
<span class=
"s6">\a
</span>));
</p>
133 <p class=
"p2"><br></p>
135 <p class=
"p15"><span class=
"s4">w =
</span><span class=
"s5">Window
</span><span class=
"s4">(
</span>"put it in a selfmade window"<span class=
"s4">).front;
</span></p>
136 <p class=
"p6">w.addFlowLayout;
</p>
137 <p class=
"p6">w.view.decorator.shift(
50,
50);
</p>
138 <p class=
"p6"><span class=
"s5">TdefGui
</span>(
<span class=
"s5">Tdef
</span>(
<span class=
"s6">\a
</span>),
12, w)
</p>
140 <p class=
"p16"><br></p>
141 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\b
</span>,
<span class=
"Apple-converted-space"> </span>{
<span class=
"s8">|e|
</span> 100.do {
<span class=
"s8">|i|
</span> <span class=
"s8">Tdef
</span>(
<span class=
"s9">\a
</span>).set(
<span class=
"s9">\otto
</span>,
8.rand); exprand(
0.1,
3.0).wait } });
</p>
142 <p class=
"p6"><span class=
"s8">Tdef
</span>(
<span class=
"s9">\b
</span>).play;
</p>
143 <p class=
"p17">TdefGui
<span class=
"s4">(
</span>Tdef
<span class=
"s4">(
</span><span class=
"s9">\b
</span><span class=
"s4">));
</span></p>
144 <p class=
"p2"><br></p>
145 <p class=
"p18"><span class=
"s4"><span class=
"Apple-tab-span"> </span></span>// see all Tdefs:
<span class=
"Apple-converted-space"> </span></p>
146 <p class=
"p17">TdefAllGui
<span class=
"s4">(
16);
</span></p>
147 <p class=
"p2"><br></p>
148 <p class=
"p19"><span class=
"s4">See also
<a href=
"TdefAllGui.html"><span class=
"s10">TdefAllGui
</span></a>,
<a href=
"PdefGui.html"><span class=
"s10">PdefGui
</span></a>,
<a href=
"PdefAllGui.html"><span class=
"s10">PdefAllGui
</span></a>.
</span></p>
149 <p class=
"p2"><br></p>
150 <p class=
"p2"><br></p>
151 <p class=
"p20"><b>Instance Variables
</b></p>
152 <p class=
"p10"><span class=
"Apple-tab-span"> </span></p>
153 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>object
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>a Tdef, or nil
</p>
154 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b></p>
155 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>numItems
<span class=
"Apple-tab-span"> </span></b>the number of items in the envirGui
<span class=
"Apple-converted-space"> </span></p>
156 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
157 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>parent
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>the parent view
<span class=
"Apple-converted-space"> </span></p>
158 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b></p>
159 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>bounds
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>the bounds of the
<b>zone
</b></p>
160 <p class=
"p10"><br></p>
161 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>zone
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>the CompositeView within which the TdfGui is shown
</p>
162 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
163 <p class=
"p10"><span class=
"Apple-tab-span"> </span></p>
164 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>nameBut, playBut, pauseBut, srcBut, envBut
<span class=
"Apple-tab-span"> </span></b>the buttons
</p>
165 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
166 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>envirGui
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>the gui for the Tdef's envir - if numItems
> 0.
</p>
167 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b><span class=
"Apple-tab-span"> </span></p>
168 <p class=
"p10"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
169 <p class=
"p20"><b>Instance Methods
</b></p>
170 <p class=
"p10"><br></p>
171 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>object_ (obj)
<span class=
"Apple-tab-span"> </span></b>put an object in the gui.
<span class=
"Apple-converted-space"> </span><span class=
"s2"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span></p>
172 <p class=
"p12"><span class=
"Apple-tab-span"> </span></p>
173 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>// if the jitGui is in its own window, you can:
</p>
174 <p class=
"p11"><b><span class=
"Apple-tab-span"> </span>moveTo (h, v)
<span class=
"Apple-tab-span"> </span></b>move it to some specific location.
</p>
175 <p class=
"p12"><br></p>
176 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>clear
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>set the TdefGui's object to nil
</p>
177 <p class=
"p12"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
178 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>close
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>and close its window.
</p>
179 <p class=
"p13"><br></p>
180 <p class=
"p10"><span class=
"Apple-tab-span"> </span></p>
181 <p class=
"p9"><b>Internal methods:
</b></p>
182 <p class=
"p10"><br></p>
183 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>srcString
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>a compileString that recreates the Tdef.
<span class=
"Apple-converted-space"> </span></p>
184 <p class=
"p10"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
185 <p class=
"p21"><span class=
"s4"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span>// assume g from above is still there
</p>
186 <p class=
"p22"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>g.srcString;
</p>
187 <p class=
"p13"><br></p>
188 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>editString (edKey)
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>a compileString that recreates the Tdef's envir at edKey.
<span class=
"Apple-converted-space"> </span></p>
189 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>editStrings (edKeys)
<span class=
"Apple-tab-span"> </span></b>a compileString that recreates the Tdef's envir at edKeys.
</p>
190 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b></p>
191 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b>Short prose description of method.
</p>
192 <p class=
"p11"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>edKey
</b>- Explanation of edKey. Default value is nil. Other information.
</p>
193 <p class=
"p10"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
194 <p class=
"p21"><span class=
"s4"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></span>// assume g from above is still there
</p>
195 <p class=
"p22"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>g.editString;
</p>
196 <p class=
"p22"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>Tdef(\a).set(\foo, \bar);
</p>
197 <p class=
"p22"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>g.editString(\foo);
</p>
198 <p class=
"p13"><br></p>
199 <p class=
"p22"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>g.editStrings;
</p>
200 <p class=
"p13"><br></p>
201 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>getUsedKeys
</b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>the keys in use in the envir
</p>
202 <p class=
"p10"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
203 <p class=
"p22"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>g.getUsedKeys;
</p>
204 <p class=
"p13"><br></p>
205 <p class=
"p13"><br></p>
206 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>openDoc (strings, bounds)
<span class=
"Apple-converted-space"> <span class=
"Apple-tab-span"> </span></span></b>open a document with some strings at some location.
</p>
207 <p class=
"p9"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>used with src button, env button.
</p>
208 <p class=
"p10"><b><span class=
"Apple-tab-span"> </span></b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></p>
209 <p class=
"p22"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>g.openDoc(g.editStrings);
</p>
210 <p class=
"p13"><br></p>
211 <p class=
"p13"><br></p>
212 <p class=
"p9"><b><span class=
"Apple-tab-span"> </span>makeEnvirGui
</b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>make an envirGui within zone.
</p>