rumai 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +4 -3
- data/HISTORY +327 -0
- data/INSTALL +31 -0
- data/README +92 -0
- data/USAGE +297 -0
- data/bin/rumai +9 -22
- data/doc/api/IO.html +119 -0
- data/doc/api/Integer.html +171 -0
- data/doc/api/Rumai.html +1270 -0
- data/doc/api/Rumai/Area.html +1485 -0
- data/doc/api/Rumai/Chain.html +301 -0
- data/doc/api/Rumai/Client.html +2451 -0
- data/doc/api/Rumai/ClientContainer.html +301 -0
- data/doc/api/Rumai/ExportInstanceMethods.html +103 -0
- data/doc/api/Rumai/IXP.html +94 -0
- data/doc/api/Rumai/IXP/Agent.html +1625 -0
- data/doc/api/Rumai/IXP/Agent/FidStream.html +959 -0
- data/doc/api/Rumai/IXP/Agent/RangedPool.html +381 -0
- data/doc/api/Rumai/IXP/Error.html +110 -0
- data/doc/api/Rumai/IXP/Fcall.html +503 -0
- data/doc/api/Rumai/IXP/Qid.html +207 -0
- data/doc/api/Rumai/IXP/Rattach.html +148 -0
- data/doc/api/Rumai/IXP/Rauth.html +148 -0
- data/doc/api/Rumai/IXP/Rclunk.html +148 -0
- data/doc/api/Rumai/IXP/Rcreate.html +148 -0
- data/doc/api/Rumai/IXP/Rerror.html +148 -0
- data/doc/api/Rumai/IXP/Rflush.html +148 -0
- data/doc/api/Rumai/IXP/Ropen.html +148 -0
- data/doc/api/Rumai/IXP/Rread.html +148 -0
- data/doc/api/Rumai/IXP/Rremove.html +148 -0
- data/doc/api/Rumai/IXP/Rstat.html +148 -0
- data/doc/api/Rumai/IXP/Rversion.html +148 -0
- data/doc/api/Rumai/IXP/Rwalk.html +148 -0
- data/doc/api/Rumai/IXP/Rwrite.html +148 -0
- data/doc/api/Rumai/IXP/Rwstat.html +148 -0
- data/doc/api/Rumai/IXP/Stat.html +335 -0
- data/doc/api/Rumai/IXP/Stream.html +194 -0
- data/doc/api/Rumai/IXP/Struct.html +586 -0
- data/doc/api/Rumai/IXP/Struct/ClassField.html +242 -0
- data/doc/api/Rumai/IXP/Struct/Field.html +782 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +227 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +153 -0
- data/doc/api/Rumai/IXP/Struct/Integer8Field.html +242 -0
- data/doc/api/Rumai/IXP/Struct/StringField.html +206 -0
- data/doc/api/Rumai/IXP/Tattach.html +148 -0
- data/doc/api/Rumai/IXP/Tauth.html +148 -0
- data/doc/api/Rumai/IXP/Tclunk.html +148 -0
- data/doc/api/Rumai/IXP/Tcreate.html +148 -0
- data/doc/api/Rumai/IXP/Terror.html +231 -0
- data/doc/api/Rumai/IXP/Tflush.html +148 -0
- data/doc/api/Rumai/IXP/Topen.html +240 -0
- data/doc/api/Rumai/IXP/Tread.html +148 -0
- data/doc/api/Rumai/IXP/Tremove.html +148 -0
- data/doc/api/Rumai/IXP/Tstat.html +148 -0
- data/doc/api/Rumai/IXP/Tversion.html +162 -0
- data/doc/api/Rumai/IXP/Twalk.html +148 -0
- data/doc/api/Rumai/IXP/Twrite.html +148 -0
- data/doc/api/Rumai/IXP/Twstat.html +148 -0
- data/doc/api/Rumai/Node.html +1406 -0
- data/doc/api/Rumai/View.html +1587 -0
- data/doc/api/Rumai/WidgetImpl.html +333 -0
- data/doc/api/Rumai/WidgetNode.html +246 -0
- data/doc/api/String.html +258 -0
- data/doc/api/StringIO.html +119 -0
- data/doc/api/Time.html +247 -0
- data/doc/api/_index.html +581 -0
- data/doc/api/class_list.html +36 -0
- data/doc/api/css/common.css +1 -0
- data/doc/api/css/full_list.css +50 -0
- data/doc/api/css/style.css +273 -0
- data/doc/api/file.LICENSE.html +73 -0
- data/doc/api/file_list.html +38 -0
- data/doc/api/frames.html +13 -0
- data/doc/api/index.html +72 -13
- data/doc/api/js/app.js +111 -0
- data/doc/api/js/full_list.js +117 -0
- data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
- data/doc/api/method_list.html +1483 -0
- data/doc/api/top-level-namespace.html +89 -0
- data/doc/index.erb +18 -13
- data/doc/index.html +331 -386
- data/lib/rumai.rb +1 -18
- data/lib/rumai/fs.rb +11 -11
- data/lib/rumai/inochi.rb +48 -0
- data/lib/rumai/inochi.yaml +94 -0
- data/lib/rumai/ixp.rb +0 -4
- data/lib/rumai/ixp/message.rb +6 -17
- data/lib/rumai/ixp/transport.rb +39 -30
- data/lib/rumai/wm.rb +35 -37
- data/test/rumai/inochi_test.rb +17 -0
- data/test/rumai/ixp/message_test.rb +245 -0
- data/test/runner +25 -0
- data/test/test_helper.rb +1 -0
- metadata +107 -125
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/IO.html +0 -72
- data/doc/api/classes/Integer.html +0 -110
- data/doc/api/classes/Object.html +0 -60
- data/doc/api/classes/Rumai.html +0 -837
- data/doc/api/classes/Rumai/Area.html +0 -909
- data/doc/api/classes/Rumai/Chain.html +0 -197
- data/doc/api/classes/Rumai/Client.html +0 -1526
- data/doc/api/classes/Rumai/ClientContainer.html +0 -191
- data/doc/api/classes/Rumai/ExportInstanceMethods.html +0 -69
- data/doc/api/classes/Rumai/IXP.html +0 -131
- data/doc/api/classes/Rumai/IXP/Agent.html +0 -941
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -456
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -108
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -241
- data/doc/api/classes/Rumai/IXP/Error.html +0 -67
- data/doc/api/classes/Rumai/IXP/Fcall.html +0 -323
- data/doc/api/classes/Rumai/IXP/Qid.html +0 -153
- data/doc/api/classes/Rumai/IXP/Rattach.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rauth.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rerror.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rflush.html +0 -67
- data/doc/api/classes/Rumai/IXP/Ropen.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rread.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rremove.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rstat.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rversion.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -67
- data/doc/api/classes/Rumai/IXP/Stat.html +0 -252
- data/doc/api/classes/Rumai/IXP/Stream.html +0 -131
- data/doc/api/classes/Rumai/IXP/Struct.html +0 -311
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -415
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -153
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -104
- data/doc/api/classes/Rumai/IXP/Tattach.html +0 -68
- data/doc/api/classes/Rumai/IXP/Tauth.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -68
- data/doc/api/classes/Rumai/IXP/Terror.html +0 -110
- data/doc/api/classes/Rumai/IXP/Tflush.html +0 -67
- data/doc/api/classes/Rumai/IXP/Topen.html +0 -165
- data/doc/api/classes/Rumai/IXP/Tread.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tremove.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tstat.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tversion.html +0 -86
- data/doc/api/classes/Rumai/IXP/Twalk.html +0 -68
- data/doc/api/classes/Rumai/IXP/Twrite.html +0 -68
- data/doc/api/classes/Rumai/IXP/Twstat.html +0 -67
- data/doc/api/classes/Rumai/Node.html +0 -821
- data/doc/api/classes/Rumai/View.html +0 -967
- data/doc/api/classes/Rumai/WidgetImpl.html +0 -65
- data/doc/api/classes/Rumai/WidgetNode.html +0 -68
- data/doc/api/classes/String.html +0 -163
- data/doc/api/classes/StringIO.html +0 -72
- data/doc/api/classes/Time.html +0 -156
- data/doc/api/created.rid +0 -1
- data/doc/api/css/main.css +0 -263
- data/doc/api/css/panel.css +0 -383
- data/doc/api/css/reset.css +0 -53
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +0 -67
- data/doc/api/files/LICENSE.html +0 -76
- data/doc/api/files/lib/rumai/fs_rb.html +0 -75
- data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -91
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -75
- data/doc/api/files/lib/rumai/ixp_rb.html +0 -69
- data/doc/api/files/lib/rumai/wm_rb.html +0 -77
- data/doc/api/files/lib/rumai_rb.html +0 -65
- data/doc/api/i/arrows.png +0 -0
- data/doc/api/i/results_bg.png +0 -0
- data/doc/api/i/tree_bg.png +0 -0
- data/doc/api/js/jquery-effect.js +0 -593
- data/doc/api/js/main.js +0 -22
- data/doc/api/js/searchdoc.js +0 -628
- data/doc/api/panel/index.html +0 -71
- data/doc/api/panel/search_index.js +0 -1
- data/doc/api/panel/tree.js +0 -1
- data/doc/history.erb +0 -233
- data/doc/intro.erb +0 -70
- data/doc/setup.erb +0 -144
- data/doc/usage.erb +0 -308
- data/rakefile +0 -14
- data/test/rumai/ixp/message.rb +0 -237
@@ -0,0 +1,301 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>Module: Rumai::Chain</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<script type="text/javascript" charset="utf-8">
|
20
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<div id="header">
|
24
|
+
<div id="menu">
|
25
|
+
|
26
|
+
<a href="../_index.html">Index (C)</a> »
|
27
|
+
<span class='title'><a href="../Rumai.html" title="Rumai (module)">Rumai</a></span>
|
28
|
+
»
|
29
|
+
<span class="title">Chain</span>
|
30
|
+
|
31
|
+
|
32
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="search">
|
36
|
+
<a id="class_list_link" href="#">Class List</a>
|
37
|
+
<a id="method_list_link" href="#">Method List</a>
|
38
|
+
<a id ="file_list_link" href="#">File List</a>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="clear"></div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<iframe id="search_frame"></iframe>
|
45
|
+
|
46
|
+
<div id="content"><h1>Module: Rumai::Chain
|
47
|
+
|
48
|
+
|
49
|
+
</h1>
|
50
|
+
|
51
|
+
<dl class="box">
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
<dt class="r1">Included in:</dt>
|
60
|
+
<dd class="r1"><a href="Area.html" title="Rumai::Area (class)">Area</a>, <a href="Client.html" title="Rumai::Client (class)">Client</a>, <a href="View.html" title="Rumai::View (class)">View</a></dd>
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
<dt class="r2 last">Defined in:</dt>
|
65
|
+
<dd class="r2 last">lib/rumai/wm.rb</dd>
|
66
|
+
|
67
|
+
</dl>
|
68
|
+
<div class="clear"></div>
|
69
|
+
|
70
|
+
<h2>Overview</h2><div class="docstring">
|
71
|
+
<div class="discussion">
|
72
|
+
|
73
|
+
<p class="note notetag">
|
74
|
+
<strong>Note:</strong>
|
75
|
+
<div class='inline'><p>
|
76
|
+
Inheritors must override the <tt><a href="#chain-instance_method" title="Rumai::Chain#chain (method)">Chain#chain</a></tt> method.
|
77
|
+
</p>
|
78
|
+
</div>
|
79
|
+
</p>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
<div class="tags">
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
<h2>Instance Method Summary</h2>
|
92
|
+
|
93
|
+
<ul class="summary">
|
94
|
+
|
95
|
+
<li class="public ">
|
96
|
+
<span class="summary_signature">
|
97
|
+
|
98
|
+
<a href="#chain-instance_method" title="#chain (instance method)">- (Object) <strong>chain</strong> </a>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
</span>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<span class="summary_desc"><div class='inline'><p>
|
111
|
+
Returns an array of objects related to this one.
|
112
|
+
</p>
|
113
|
+
</div></span>
|
114
|
+
|
115
|
+
</li>
|
116
|
+
|
117
|
+
|
118
|
+
<li class="public ">
|
119
|
+
<span class="summary_signature">
|
120
|
+
|
121
|
+
<a href="#next-instance_method" title="#next (instance method)">- (Object) <strong>next</strong> </a>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</span>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<span class="summary_desc"><div class='inline'><p>
|
134
|
+
Returns the object after this one in the chain.
|
135
|
+
</p>
|
136
|
+
</div></span>
|
137
|
+
|
138
|
+
</li>
|
139
|
+
|
140
|
+
|
141
|
+
<li class="public ">
|
142
|
+
<span class="summary_signature">
|
143
|
+
|
144
|
+
<a href="#prev-instance_method" title="#prev (instance method)">- (Object) <strong>prev</strong> </a>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
</span>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<span class="summary_desc"><div class='inline'><p>
|
157
|
+
Returns the object before this one in the chain.
|
158
|
+
</p>
|
159
|
+
</div></span>
|
160
|
+
|
161
|
+
</li>
|
162
|
+
|
163
|
+
|
164
|
+
</ul>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
<div id="instance_method_details" class="method_details_list">
|
170
|
+
<h2>Instance Method Details</h2>
|
171
|
+
|
172
|
+
|
173
|
+
<div class="method_details first">
|
174
|
+
<p class="signature first" id="chain-instance_method">
|
175
|
+
|
176
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>chain</strong>
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
</p><div class="docstring">
|
181
|
+
<div class="discussion">
|
182
|
+
<p>
|
183
|
+
Returns an array of objects related to this one.
|
184
|
+
</p>
|
185
|
+
|
186
|
+
|
187
|
+
</div>
|
188
|
+
</div>
|
189
|
+
<div class="tags">
|
190
|
+
|
191
|
+
</div><table class="source_code">
|
192
|
+
<tr>
|
193
|
+
<td>
|
194
|
+
<pre class="lines">
|
195
|
+
|
196
|
+
|
197
|
+
31
|
198
|
+
32
|
199
|
+
33</pre>
|
200
|
+
</td>
|
201
|
+
<td>
|
202
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 31</span>
|
203
|
+
|
204
|
+
<span class='kw'>def</span> <span class='id chain'>chain</span>
|
205
|
+
<span class='lbracket'>[</span><span class='kw'>self</span><span class='rbracket'>]</span>
|
206
|
+
<span class='kw'>end</span></pre>
|
207
|
+
</td>
|
208
|
+
</tr>
|
209
|
+
</table>
|
210
|
+
</div>
|
211
|
+
|
212
|
+
<div class="method_details ">
|
213
|
+
<p class="signature " id="next-instance_method">
|
214
|
+
|
215
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>next</strong>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</p><div class="docstring">
|
220
|
+
<div class="discussion">
|
221
|
+
<p>
|
222
|
+
Returns the object after this one in the chain.
|
223
|
+
</p>
|
224
|
+
|
225
|
+
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
<div class="tags">
|
229
|
+
|
230
|
+
</div><table class="source_code">
|
231
|
+
<tr>
|
232
|
+
<td>
|
233
|
+
<pre class="lines">
|
234
|
+
|
235
|
+
|
236
|
+
38
|
237
|
+
39
|
238
|
+
40</pre>
|
239
|
+
</td>
|
240
|
+
<td>
|
241
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 38</span>
|
242
|
+
|
243
|
+
<span class='kw'>def</span> <span class='kw'>next</span>
|
244
|
+
<span class='id sibling'>sibling</span><span class='lparen'>(</span><span class='int'>+1</span><span class='rparen'>)</span>
|
245
|
+
<span class='kw'>end</span></pre>
|
246
|
+
</td>
|
247
|
+
</tr>
|
248
|
+
</table>
|
249
|
+
</div>
|
250
|
+
|
251
|
+
<div class="method_details ">
|
252
|
+
<p class="signature " id="prev-instance_method">
|
253
|
+
|
254
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>prev</strong>
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
</p><div class="docstring">
|
259
|
+
<div class="discussion">
|
260
|
+
<p>
|
261
|
+
Returns the object before this one in the chain.
|
262
|
+
</p>
|
263
|
+
|
264
|
+
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
<div class="tags">
|
268
|
+
|
269
|
+
</div><table class="source_code">
|
270
|
+
<tr>
|
271
|
+
<td>
|
272
|
+
<pre class="lines">
|
273
|
+
|
274
|
+
|
275
|
+
45
|
276
|
+
46
|
277
|
+
47</pre>
|
278
|
+
</td>
|
279
|
+
<td>
|
280
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 45</span>
|
281
|
+
|
282
|
+
<span class='kw'>def</span> <span class='id prev'>prev</span>
|
283
|
+
<span class='id sibling'>sibling</span><span class='lparen'>(</span><span class='op'>-</span><span class='int'>1</span><span class='rparen'>)</span>
|
284
|
+
<span class='kw'>end</span></pre>
|
285
|
+
</td>
|
286
|
+
</tr>
|
287
|
+
</table>
|
288
|
+
</div>
|
289
|
+
|
290
|
+
</div>
|
291
|
+
|
292
|
+
</div>
|
293
|
+
|
294
|
+
<div id="footer">
|
295
|
+
Generated on Mon Mar 22 22:23:52 2010 by
|
296
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
297
|
+
0.5.4 (ruby-1.9.1).
|
298
|
+
</div>
|
299
|
+
|
300
|
+
</body>
|
301
|
+
</html>
|
@@ -0,0 +1,2451 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>Class: Rumai::Client</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<script type="text/javascript" charset="utf-8">
|
20
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<div id="header">
|
24
|
+
<div id="menu">
|
25
|
+
|
26
|
+
<a href="../_index.html">Index (C)</a> »
|
27
|
+
<span class='title'><a href="../Rumai.html" title="Rumai (module)">Rumai</a></span>
|
28
|
+
»
|
29
|
+
<span class="title">Client</span>
|
30
|
+
|
31
|
+
|
32
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="search">
|
36
|
+
<a id="class_list_link" href="#">Class List</a>
|
37
|
+
<a id="method_list_link" href="#">Method List</a>
|
38
|
+
<a id ="file_list_link" href="#">File List</a>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="clear"></div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<iframe id="search_frame"></iframe>
|
45
|
+
|
46
|
+
<div id="content"><h1>Class: Rumai::Client
|
47
|
+
|
48
|
+
|
49
|
+
</h1>
|
50
|
+
|
51
|
+
<dl class="box">
|
52
|
+
|
53
|
+
<dt class="r1">Inherits:</dt>
|
54
|
+
<dd class="r1">
|
55
|
+
<span class="inheritName"><a href="WidgetNode.html" title="Rumai::WidgetNode (class)">WidgetNode</a></span>
|
56
|
+
|
57
|
+
<ul class="fullTree">
|
58
|
+
<li><a href="../Object.html" title="Object (class)">Object</a></li>
|
59
|
+
|
60
|
+
<li class="next"><a href="Node.html" title="Rumai::Node (class)">Node</a></li>
|
61
|
+
|
62
|
+
<li class="next"><a href="WidgetNode.html" title="Rumai::WidgetNode (class)">WidgetNode</a></li>
|
63
|
+
|
64
|
+
<li class="next">Rumai::Client</li>
|
65
|
+
|
66
|
+
</ul>
|
67
|
+
<a href="#" class="inheritanceTree">show all</a>
|
68
|
+
|
69
|
+
</dd>
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
<dt class="r2">Includes:</dt>
|
77
|
+
<dd class="r2"><a href="Chain.html" title="Rumai::Chain (module)">Chain</a></dd>
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
<dt class="r1 last">Defined in:</dt>
|
84
|
+
<dd class="r1 last">lib/rumai/wm.rb</dd>
|
85
|
+
|
86
|
+
</dl>
|
87
|
+
<div class="clear"></div>
|
88
|
+
|
89
|
+
<h2>Overview</h2><div class="docstring">
|
90
|
+
<div class="discussion">
|
91
|
+
<p>
|
92
|
+
A graphical program that is running in your current X Windows session.
|
93
|
+
</p>
|
94
|
+
|
95
|
+
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
<div class="tags">
|
99
|
+
|
100
|
+
</div>
|
101
|
+
<h2>Constant Summary</h2>
|
102
|
+
|
103
|
+
<dl class="constants">
|
104
|
+
|
105
|
+
<dt id="TAG_DELIMITER-constant" class="">TAG_DELIMITER =
|
106
|
+
<div class="docstring">
|
107
|
+
<div class="discussion">
|
108
|
+
<hr size="10"></hr><p>
|
109
|
+
tag manipulations
|
110
|
+
</p>
|
111
|
+
<hr size="10"></hr>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
<div class="tags">
|
116
|
+
|
117
|
+
</div>
|
118
|
+
</dt>
|
119
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>+</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id freeze'>freeze</span></pre></dd>
|
120
|
+
|
121
|
+
</dl>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<h2>Class Method Summary</h2>
|
145
|
+
|
146
|
+
<ul class="summary">
|
147
|
+
|
148
|
+
<li class="public ">
|
149
|
+
<span class="summary_signature">
|
150
|
+
|
151
|
+
<a href="#curr-class_method" title="curr (class method)">+ (Object) <strong>curr</strong> </a>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
</span>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
<span class="summary_desc"><div class='inline'><p>
|
164
|
+
Returns the currently focused client.
|
165
|
+
</p>
|
166
|
+
</div></span>
|
167
|
+
|
168
|
+
</li>
|
169
|
+
|
170
|
+
|
171
|
+
</ul>
|
172
|
+
|
173
|
+
<h2>Instance Method Summary</h2>
|
174
|
+
|
175
|
+
<ul class="summary">
|
176
|
+
|
177
|
+
<li class="public ">
|
178
|
+
<span class="summary_signature">
|
179
|
+
|
180
|
+
<a href="#area-instance_method" title="#area (instance method)">- (Object) <strong>area</strong>(view = View.curr) </a>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
</span>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
<span class="summary_desc"><div class='inline'><p>
|
193
|
+
Returns the area that contains this client within the given view.
|
194
|
+
</p>
|
195
|
+
</div></span>
|
196
|
+
|
197
|
+
</li>
|
198
|
+
|
199
|
+
|
200
|
+
<li class="public ">
|
201
|
+
<span class="summary_signature">
|
202
|
+
|
203
|
+
<a href="#chain-instance_method" title="#chain (instance method)">- (Object) <strong>chain</strong> </a>
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
</span>
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
<span class="summary_desc"><div class='inline'><p>
|
216
|
+
Returns a list of all clients in the current view.
|
217
|
+
</p>
|
218
|
+
</div></span>
|
219
|
+
|
220
|
+
</li>
|
221
|
+
|
222
|
+
|
223
|
+
<li class="public ">
|
224
|
+
<span class="summary_signature">
|
225
|
+
|
226
|
+
<a href="#float-instance_method" title="#float (instance method)">- (Object) <strong>float</strong>(view = View.curr) </a>
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
(also: #unmanage)
|
231
|
+
|
232
|
+
</span>
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
<span class="summary_desc"><div class='inline'><p>
|
241
|
+
Puts this client into the floating area of the given view.
|
242
|
+
</p>
|
243
|
+
</div></span>
|
244
|
+
|
245
|
+
</li>
|
246
|
+
|
247
|
+
|
248
|
+
<li class="public ">
|
249
|
+
<span class="summary_signature">
|
250
|
+
|
251
|
+
<a href="#float%21-instance_method" title="#float! (instance method)">- (Object) <strong>float!</strong>(view = View.curr) </a>
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
(also: #manage!)
|
256
|
+
|
257
|
+
</span>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
<span class="summary_desc"><div class='inline'><p>
|
266
|
+
Toggles the floating status of this client in the given view.
|
267
|
+
</p>
|
268
|
+
</div></span>
|
269
|
+
|
270
|
+
</li>
|
271
|
+
|
272
|
+
|
273
|
+
<li class="public ">
|
274
|
+
<span class="summary_signature">
|
275
|
+
|
276
|
+
<a href="#float%3F-instance_method" title="#float? (instance method)">- (Boolean) <strong>float?</strong>(view = View.curr) </a>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
</span>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
<span class="summary_desc"><div class='inline'><p>
|
289
|
+
Checks if this client is in the floating area of the given view.
|
290
|
+
</p>
|
291
|
+
</div></span>
|
292
|
+
|
293
|
+
</li>
|
294
|
+
|
295
|
+
|
296
|
+
<li class="public ">
|
297
|
+
<span class="summary_signature">
|
298
|
+
|
299
|
+
<a href="#focus-instance_method" title="#focus (instance method)">- (Object) <strong>focus</strong>(view = nil) </a>
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
</span>
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
<span class="summary_desc"><div class='inline'><p>
|
312
|
+
Focuses this client within the given view.
|
313
|
+
</p>
|
314
|
+
</div></span>
|
315
|
+
|
316
|
+
</li>
|
317
|
+
|
318
|
+
|
319
|
+
<li class="public ">
|
320
|
+
<span class="summary_signature">
|
321
|
+
|
322
|
+
<a href="#fullscreen-instance_method" title="#fullscreen (instance method)">- (Object) <strong>fullscreen</strong> </a>
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
</span>
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
<span class="summary_desc"><div class='inline'><p>
|
335
|
+
Maximizes this client to occupy the entire screen on the current view.
|
336
|
+
</p>
|
337
|
+
</div></span>
|
338
|
+
|
339
|
+
</li>
|
340
|
+
|
341
|
+
|
342
|
+
<li class="public ">
|
343
|
+
<span class="summary_signature">
|
344
|
+
|
345
|
+
<a href="#fullscreen%21-instance_method" title="#fullscreen! (instance method)">- (Object) <strong>fullscreen!</strong> </a>
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
</span>
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
<span class="summary_desc"><div class='inline'><p>
|
358
|
+
Toggles the fullscreen status of this client on the current view.
|
359
|
+
</p>
|
360
|
+
</div></span>
|
361
|
+
|
362
|
+
</li>
|
363
|
+
|
364
|
+
|
365
|
+
<li class="public ">
|
366
|
+
<span class="summary_signature">
|
367
|
+
|
368
|
+
<a href="#fullscreen%3F-instance_method" title="#fullscreen? (instance method)">- (Boolean) <strong>fullscreen?</strong> </a>
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
</span>
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
<span class="summary_desc"><div class='inline'><p>
|
381
|
+
Checks if this client is currently fullscreen on the current view.
|
382
|
+
</p>
|
383
|
+
</div></span>
|
384
|
+
|
385
|
+
</li>
|
386
|
+
|
387
|
+
|
388
|
+
<li class="public ">
|
389
|
+
<span class="summary_signature">
|
390
|
+
|
391
|
+
<a href="#group-instance_method" title="#group (instance method)">- (Object) <strong>group</strong> </a>
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
</span>
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
<span class="summary_desc"><div class='inline'><p>
|
404
|
+
Adds this client to the current grouping.
|
405
|
+
</p>
|
406
|
+
</div></span>
|
407
|
+
|
408
|
+
</li>
|
409
|
+
|
410
|
+
|
411
|
+
<li class="public ">
|
412
|
+
<span class="summary_signature">
|
413
|
+
|
414
|
+
<a href="#group%21-instance_method" title="#group! (instance method)">- (Object) <strong>group!</strong> </a>
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
</span>
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
<span class="summary_desc"><div class='inline'><p>
|
427
|
+
Toggles the presence of this client in the current grouping.
|
428
|
+
</p>
|
429
|
+
</div></span>
|
430
|
+
|
431
|
+
</li>
|
432
|
+
|
433
|
+
|
434
|
+
<li class="public ">
|
435
|
+
<span class="summary_signature">
|
436
|
+
|
437
|
+
<a href="#group%3F-instance_method" title="#group? (instance method)">- (Boolean) <strong>group?</strong> </a>
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
</span>
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
<span class="summary_desc"><div class='inline'><p>
|
450
|
+
Checks if this client is included in the current grouping.
|
451
|
+
</p>
|
452
|
+
</div></span>
|
453
|
+
|
454
|
+
</li>
|
455
|
+
|
456
|
+
|
457
|
+
<li class="public ">
|
458
|
+
<span class="summary_signature">
|
459
|
+
|
460
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Client) <strong>initialize</strong>(client_id) </a>
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
</span>
|
465
|
+
|
466
|
+
<span class="note title constructor">constructor</span>
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
<span class="summary_desc"><div class='inline'><p>
|
475
|
+
A new instance of Client.
|
476
|
+
</p>
|
477
|
+
</div></span>
|
478
|
+
|
479
|
+
</li>
|
480
|
+
|
481
|
+
|
482
|
+
<li class="public ">
|
483
|
+
<span class="summary_signature">
|
484
|
+
|
485
|
+
<a href="#kill-instance_method" title="#kill (instance method)">- (Object) <strong>kill</strong> </a>
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
</span>
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
<span class="summary_desc"><div class='inline'><p>
|
498
|
+
Terminates this client nicely (requests this window to be closed).
|
499
|
+
</p>
|
500
|
+
</div></span>
|
501
|
+
|
502
|
+
</li>
|
503
|
+
|
504
|
+
|
505
|
+
<li class="public ">
|
506
|
+
<span class="summary_signature">
|
507
|
+
|
508
|
+
<a href="#manage%3F-instance_method" title="#manage? (instance method)">- (Boolean) <strong>manage?</strong>(view = View.curr) </a>
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
</span>
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
<span class="summary_desc"><div class='inline'><p>
|
521
|
+
Checks if this client is in the managed area of the given view.
|
522
|
+
</p>
|
523
|
+
</div></span>
|
524
|
+
|
525
|
+
</li>
|
526
|
+
|
527
|
+
|
528
|
+
<li class="public ">
|
529
|
+
<span class="summary_signature">
|
530
|
+
|
531
|
+
<a href="#send-instance_method" title="#send (instance method)">- (Object) <strong>send</strong>(area_or_id, view = View.curr) </a>
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
(also: #move)
|
536
|
+
|
537
|
+
</span>
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
<span class="summary_desc"><div class='inline'><p>
|
546
|
+
Sends this client to the given destination within the given view.
|
547
|
+
</p>
|
548
|
+
</div></span>
|
549
|
+
|
550
|
+
</li>
|
551
|
+
|
552
|
+
|
553
|
+
<li class="public ">
|
554
|
+
<span class="summary_signature">
|
555
|
+
|
556
|
+
<a href="#slay-instance_method" title="#slay (instance method)">- (Object) <strong>slay</strong> </a>
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
</span>
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
|
568
|
+
<span class="summary_desc"><div class='inline'><p>
|
569
|
+
Terminates this client forcefully.
|
570
|
+
</p>
|
571
|
+
</div></span>
|
572
|
+
|
573
|
+
</li>
|
574
|
+
|
575
|
+
|
576
|
+
<li class="public ">
|
577
|
+
<span class="summary_signature">
|
578
|
+
|
579
|
+
<a href="#stick-instance_method" title="#stick (instance method)">- (Object) <strong>stick</strong> </a>
|
580
|
+
|
581
|
+
|
582
|
+
|
583
|
+
</span>
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
|
591
|
+
<span class="summary_desc"><div class='inline'><p>
|
592
|
+
Makes this client sticky (appears in all views).
|
593
|
+
</p>
|
594
|
+
</div></span>
|
595
|
+
|
596
|
+
</li>
|
597
|
+
|
598
|
+
|
599
|
+
<li class="public ">
|
600
|
+
<span class="summary_signature">
|
601
|
+
|
602
|
+
<a href="#stick%21-instance_method" title="#stick! (instance method)">- (Object) <strong>stick!</strong> </a>
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
</span>
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
<span class="summary_desc"><div class='inline'><p>
|
615
|
+
Toggles the stickyness of this client.
|
616
|
+
</p>
|
617
|
+
</div></span>
|
618
|
+
|
619
|
+
</li>
|
620
|
+
|
621
|
+
|
622
|
+
<li class="public ">
|
623
|
+
<span class="summary_signature">
|
624
|
+
|
625
|
+
<a href="#stick%3F-instance_method" title="#stick? (instance method)">- (Boolean) <strong>stick?</strong> </a>
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
</span>
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
<span class="summary_desc"><div class='inline'><p>
|
638
|
+
Checks if this client is sticky (appears in all views).
|
639
|
+
</p>
|
640
|
+
</div></span>
|
641
|
+
|
642
|
+
</li>
|
643
|
+
|
644
|
+
|
645
|
+
<li class="public ">
|
646
|
+
<span class="summary_signature">
|
647
|
+
|
648
|
+
<a href="#swap-instance_method" title="#swap (instance method)">- (Object) <strong>swap</strong>(area_or_id, view = View.curr) </a>
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
</span>
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
<span class="summary_desc"><div class='inline'><p>
|
661
|
+
Swaps this client with the given destination within the given view.
|
662
|
+
</p>
|
663
|
+
</div></span>
|
664
|
+
|
665
|
+
</li>
|
666
|
+
|
667
|
+
|
668
|
+
<li class="public ">
|
669
|
+
<span class="summary_signature">
|
670
|
+
|
671
|
+
<a href="#tag-instance_method" title="#tag (instance method)">- (Object) <strong>tag</strong>(*tags) </a>
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
</span>
|
676
|
+
|
677
|
+
|
678
|
+
|
679
|
+
|
680
|
+
|
681
|
+
|
682
|
+
|
683
|
+
<span class="summary_desc"><div class='inline'><p>
|
684
|
+
Adds the given tags to this client.
|
685
|
+
</p>
|
686
|
+
</div></span>
|
687
|
+
|
688
|
+
</li>
|
689
|
+
|
690
|
+
|
691
|
+
<li class="public ">
|
692
|
+
<span class="summary_signature">
|
693
|
+
|
694
|
+
<a href="#tags-instance_method" title="#tags (instance method)">- (Object) <strong>tags</strong> </a>
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
</span>
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
<span class="summary_desc"><div class='inline'><p>
|
707
|
+
Returns the tags associated with this client.
|
708
|
+
</p>
|
709
|
+
</div></span>
|
710
|
+
|
711
|
+
</li>
|
712
|
+
|
713
|
+
|
714
|
+
<li class="public ">
|
715
|
+
<span class="summary_signature">
|
716
|
+
|
717
|
+
<a href="#tags%3D-instance_method" title="#tags= (instance method)">- (Object) <strong>tags</strong>(*tags) </a>
|
718
|
+
|
719
|
+
|
720
|
+
|
721
|
+
</span>
|
722
|
+
|
723
|
+
|
724
|
+
|
725
|
+
|
726
|
+
|
727
|
+
|
728
|
+
|
729
|
+
<span class="summary_desc"><div class='inline'><p>
|
730
|
+
Modifies the tags associated with this client.
|
731
|
+
</p>
|
732
|
+
</div></span>
|
733
|
+
|
734
|
+
</li>
|
735
|
+
|
736
|
+
|
737
|
+
<li class="public ">
|
738
|
+
<span class="summary_signature">
|
739
|
+
|
740
|
+
<a href="#unfloat-instance_method" title="#unfloat (instance method)">- (Object) <strong>unfloat</strong>(view = View.curr) </a>
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
(also: #manage)
|
745
|
+
|
746
|
+
</span>
|
747
|
+
|
748
|
+
|
749
|
+
|
750
|
+
|
751
|
+
|
752
|
+
|
753
|
+
|
754
|
+
<span class="summary_desc"><div class='inline'><p>
|
755
|
+
Puts this client into the managed area of the given view.
|
756
|
+
</p>
|
757
|
+
</div></span>
|
758
|
+
|
759
|
+
</li>
|
760
|
+
|
761
|
+
|
762
|
+
<li class="public ">
|
763
|
+
<span class="summary_signature">
|
764
|
+
|
765
|
+
<a href="#unfullscreen-instance_method" title="#unfullscreen (instance method)">- (Object) <strong>unfullscreen</strong> </a>
|
766
|
+
|
767
|
+
|
768
|
+
|
769
|
+
</span>
|
770
|
+
|
771
|
+
|
772
|
+
|
773
|
+
|
774
|
+
|
775
|
+
|
776
|
+
|
777
|
+
<span class="summary_desc"><div class='inline'><p>
|
778
|
+
Restores this client back to its original size on the current view.
|
779
|
+
</p>
|
780
|
+
</div></span>
|
781
|
+
|
782
|
+
</li>
|
783
|
+
|
784
|
+
|
785
|
+
<li class="public ">
|
786
|
+
<span class="summary_signature">
|
787
|
+
|
788
|
+
<a href="#ungroup-instance_method" title="#ungroup (instance method)">- (Object) <strong>ungroup</strong> </a>
|
789
|
+
|
790
|
+
|
791
|
+
|
792
|
+
</span>
|
793
|
+
|
794
|
+
|
795
|
+
|
796
|
+
|
797
|
+
|
798
|
+
|
799
|
+
|
800
|
+
<span class="summary_desc"><div class='inline'><p>
|
801
|
+
Removes this client to the current grouping.
|
802
|
+
</p>
|
803
|
+
</div></span>
|
804
|
+
|
805
|
+
</li>
|
806
|
+
|
807
|
+
|
808
|
+
<li class="public ">
|
809
|
+
<span class="summary_signature">
|
810
|
+
|
811
|
+
<a href="#unstick-instance_method" title="#unstick (instance method)">- (Object) <strong>unstick</strong> </a>
|
812
|
+
|
813
|
+
|
814
|
+
|
815
|
+
</span>
|
816
|
+
|
817
|
+
|
818
|
+
|
819
|
+
|
820
|
+
|
821
|
+
|
822
|
+
|
823
|
+
<span class="summary_desc"><div class='inline'><p>
|
824
|
+
Makes this client unsticky (does not appear in all views).
|
825
|
+
</p>
|
826
|
+
</div></span>
|
827
|
+
|
828
|
+
</li>
|
829
|
+
|
830
|
+
|
831
|
+
<li class="public ">
|
832
|
+
<span class="summary_signature">
|
833
|
+
|
834
|
+
<a href="#untag-instance_method" title="#untag (instance method)">- (Object) <strong>untag</strong>(*tags) </a>
|
835
|
+
|
836
|
+
|
837
|
+
|
838
|
+
</span>
|
839
|
+
|
840
|
+
|
841
|
+
|
842
|
+
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
<span class="summary_desc"><div class='inline'><p>
|
847
|
+
Removes the given tags from this client.
|
848
|
+
</p>
|
849
|
+
</div></span>
|
850
|
+
|
851
|
+
</li>
|
852
|
+
|
853
|
+
|
854
|
+
<li class="public ">
|
855
|
+
<span class="summary_signature">
|
856
|
+
|
857
|
+
<a href="#views-instance_method" title="#views (instance method)">- (Object) <strong>views</strong> </a>
|
858
|
+
|
859
|
+
|
860
|
+
|
861
|
+
</span>
|
862
|
+
|
863
|
+
|
864
|
+
|
865
|
+
|
866
|
+
|
867
|
+
|
868
|
+
|
869
|
+
<span class="summary_desc"><div class='inline'><p>
|
870
|
+
Returns the views that contain this client.
|
871
|
+
</p>
|
872
|
+
</div></span>
|
873
|
+
|
874
|
+
</li>
|
875
|
+
|
876
|
+
|
877
|
+
<li class="public ">
|
878
|
+
<span class="summary_signature">
|
879
|
+
|
880
|
+
<a href="#with_tags-instance_method" title="#with_tags (instance method)">- (Object) <strong>with_tags</strong>(&block) </a>
|
881
|
+
|
882
|
+
|
883
|
+
|
884
|
+
</span>
|
885
|
+
|
886
|
+
|
887
|
+
|
888
|
+
|
889
|
+
|
890
|
+
|
891
|
+
|
892
|
+
<span class="summary_desc"><div class='inline'><p>
|
893
|
+
Evaluates the given block within the context of this client’s list of
|
894
|
+
tags.
|
895
|
+
</p>
|
896
|
+
</div></span>
|
897
|
+
|
898
|
+
</li>
|
899
|
+
|
900
|
+
|
901
|
+
</ul>
|
902
|
+
|
903
|
+
|
904
|
+
|
905
|
+
|
906
|
+
|
907
|
+
|
908
|
+
|
909
|
+
|
910
|
+
|
911
|
+
|
912
|
+
<h3 class="inherited">Methods included from <a href="Chain.html" title="Rumai::Chain (module)">Chain</a></h3>
|
913
|
+
<p class="inherited"><a href="Chain.html#next-instance_method" title="Rumai::Chain#next (method)">#next</a>, <a href="Chain.html#prev-instance_method" title="Rumai::Chain#prev (method)">#prev</a></p>
|
914
|
+
|
915
|
+
|
916
|
+
|
917
|
+
|
918
|
+
|
919
|
+
|
920
|
+
|
921
|
+
|
922
|
+
|
923
|
+
|
924
|
+
|
925
|
+
|
926
|
+
|
927
|
+
<h3 class="inherited">Methods included from <a href="WidgetImpl.html" title="Rumai::WidgetImpl (module)">WidgetImpl</a></h3>
|
928
|
+
<p class="inherited"><a href="WidgetImpl.html#%3D%3D-instance_method" title="Rumai::WidgetImpl#== (method)">#==</a>, <a href="WidgetImpl.html#current%3F-instance_method" title="Rumai::WidgetImpl#current? (method)">#current?</a></p>
|
929
|
+
|
930
|
+
|
931
|
+
|
932
|
+
|
933
|
+
|
934
|
+
|
935
|
+
|
936
|
+
|
937
|
+
<h3 class="inherited">Methods inherited from <a href="Node.html" title="Rumai::Node (class)">Node</a></h3>
|
938
|
+
<p class="inherited"><a href="Node.html#%5B%5D-instance_method" title="Rumai::Node#[] (method)">#[]</a>, <a href="Node.html#children-instance_method" title="Rumai::Node#children (method)">#children</a>, <a href="Node.html#clear-instance_method" title="Rumai::Node#clear (method)">#clear</a>, <a href="Node.html#create-instance_method" title="Rumai::Node#create (method)">#create</a>, <a href="Node.html#directory%3F-instance_method" title="Rumai::Node#directory? (method)">#directory?</a>, <a href="Node.html#each-instance_method" title="Rumai::Node#each (method)">#each</a>, <a href="Node.html#each_line-instance_method" title="Rumai::Node#each_line (method)">#each_line</a>, <a href="Node.html#entries-instance_method" title="Rumai::Node#entries (method)">#entries</a>, <a href="Node.html#exist%3F-instance_method" title="Rumai::Node#exist? (method)">#exist?</a>, <a href="Node.html#method_missing-instance_method" title="Rumai::Node#method_missing (method)">#method_missing</a>, <a href="Node.html#open-instance_method" title="Rumai::Node#open (method)">#open</a>, <a href="Node.html#parent-instance_method" title="Rumai::Node#parent (method)">#parent</a>, <a href="Node.html#read-instance_method" title="Rumai::Node#read (method)">#read</a>, <a href="Node.html#remove-instance_method" title="Rumai::Node#remove (method)">#remove</a>, <a href="Node.html#stat-instance_method" title="Rumai::Node#stat (method)">#stat</a>, <a href="Node.html#write-instance_method" title="Rumai::Node#write (method)">#write</a></p>
|
939
|
+
|
940
|
+
<div id="constructor_details" class="method_details_list">
|
941
|
+
<h2>Constructor Details</h2>
|
942
|
+
|
943
|
+
<div class="method_details first">
|
944
|
+
<p class="signature first" id="initialize-instance_method">
|
945
|
+
|
946
|
+
- (<tt><a href="" title="Rumai::Client (class)">Client</a></tt>) <strong>initialize</strong>(client_id)
|
947
|
+
|
948
|
+
|
949
|
+
|
950
|
+
</p><div class="docstring">
|
951
|
+
<div class="discussion">
|
952
|
+
<p>
|
953
|
+
A new instance of Client
|
954
|
+
</p>
|
955
|
+
|
956
|
+
|
957
|
+
</div>
|
958
|
+
</div>
|
959
|
+
<div class="tags">
|
960
|
+
|
961
|
+
</div><table class="source_code">
|
962
|
+
<tr>
|
963
|
+
<td>
|
964
|
+
<pre class="lines">
|
965
|
+
|
966
|
+
|
967
|
+
105
|
968
|
+
106
|
969
|
+
107</pre>
|
970
|
+
</td>
|
971
|
+
<td>
|
972
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 105</span>
|
973
|
+
|
974
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span> <span class='id client_id'>client_id</span>
|
975
|
+
<span class='kw'>super</span> <span class='id client_id'>client_id</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/client</span><span class='tstring_end'>'</span></span>
|
976
|
+
<span class='kw'>end</span></pre>
|
977
|
+
</td>
|
978
|
+
</tr>
|
979
|
+
</table>
|
980
|
+
</div>
|
981
|
+
|
982
|
+
</div>
|
983
|
+
<div id="method_missing_details" class="method_details_list">
|
984
|
+
<h2>Dynamic Method Handling</h2>
|
985
|
+
<p class="notice super">
|
986
|
+
This class handles dynamic methods through the <tt>method_missing</tt> method
|
987
|
+
|
988
|
+
in the class <a href="Node.html#method_missing-instance_method" title="Rumai::Node#method_missing (method)">Rumai::Node</a>
|
989
|
+
|
990
|
+
</p>
|
991
|
+
|
992
|
+
</div>
|
993
|
+
|
994
|
+
|
995
|
+
<div id="class_method_details" class="method_details_list">
|
996
|
+
<h2>Class Method Details</h2>
|
997
|
+
|
998
|
+
|
999
|
+
<div class="method_details first">
|
1000
|
+
<p class="signature first" id="curr-class_method">
|
1001
|
+
|
1002
|
+
+ (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>curr</strong>
|
1003
|
+
|
1004
|
+
|
1005
|
+
|
1006
|
+
</p><div class="docstring">
|
1007
|
+
<div class="discussion">
|
1008
|
+
<p>
|
1009
|
+
Returns the currently focused client.
|
1010
|
+
</p>
|
1011
|
+
|
1012
|
+
|
1013
|
+
</div>
|
1014
|
+
</div>
|
1015
|
+
<div class="tags">
|
1016
|
+
|
1017
|
+
</div><table class="source_code">
|
1018
|
+
<tr>
|
1019
|
+
<td>
|
1020
|
+
<pre class="lines">
|
1021
|
+
|
1022
|
+
|
1023
|
+
112
|
1024
|
+
113
|
1025
|
+
114</pre>
|
1026
|
+
</td>
|
1027
|
+
<td>
|
1028
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 112</span>
|
1029
|
+
|
1030
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1031
|
+
<span class='id new'>new</span> <span class='const'>FOCUSED_WIDGET_ID</span>
|
1032
|
+
<span class='kw'>end</span></pre>
|
1033
|
+
</td>
|
1034
|
+
</tr>
|
1035
|
+
</table>
|
1036
|
+
</div>
|
1037
|
+
|
1038
|
+
</div>
|
1039
|
+
|
1040
|
+
<div id="instance_method_details" class="method_details_list">
|
1041
|
+
<h2>Instance Method Details</h2>
|
1042
|
+
|
1043
|
+
|
1044
|
+
<div class="method_details first">
|
1045
|
+
<p class="signature first" id="area-instance_method">
|
1046
|
+
|
1047
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>area</strong>(view = View.curr)
|
1048
|
+
|
1049
|
+
|
1050
|
+
|
1051
|
+
</p><div class="docstring">
|
1052
|
+
<div class="discussion">
|
1053
|
+
<p>
|
1054
|
+
Returns the area that contains this client within the given view.
|
1055
|
+
</p>
|
1056
|
+
|
1057
|
+
|
1058
|
+
</div>
|
1059
|
+
</div>
|
1060
|
+
<div class="tags">
|
1061
|
+
|
1062
|
+
</div><table class="source_code">
|
1063
|
+
<tr>
|
1064
|
+
<td>
|
1065
|
+
<pre class="lines">
|
1066
|
+
|
1067
|
+
|
1068
|
+
298
|
1069
|
+
299
|
1070
|
+
300</pre>
|
1071
|
+
</td>
|
1072
|
+
<td>
|
1073
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 298</span>
|
1074
|
+
|
1075
|
+
<span class='kw'>def</span> <span class='id area'>area</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1076
|
+
<span class='id view'>view</span><span class='period'>.</span><span class='id area_of_client'>area_of_client</span> <span class='kw'>self</span>
|
1077
|
+
<span class='kw'>end</span></pre>
|
1078
|
+
</td>
|
1079
|
+
</tr>
|
1080
|
+
</table>
|
1081
|
+
</div>
|
1082
|
+
|
1083
|
+
<div class="method_details ">
|
1084
|
+
<p class="signature " id="chain-instance_method">
|
1085
|
+
|
1086
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>chain</strong>
|
1087
|
+
|
1088
|
+
|
1089
|
+
|
1090
|
+
</p><div class="docstring">
|
1091
|
+
<div class="discussion">
|
1092
|
+
<p>
|
1093
|
+
Returns a list of all clients in the current view.
|
1094
|
+
</p>
|
1095
|
+
|
1096
|
+
|
1097
|
+
</div>
|
1098
|
+
</div>
|
1099
|
+
<div class="tags">
|
1100
|
+
|
1101
|
+
</div><table class="source_code">
|
1102
|
+
<tr>
|
1103
|
+
<td>
|
1104
|
+
<pre class="lines">
|
1105
|
+
|
1106
|
+
|
1107
|
+
121
|
1108
|
+
122
|
1109
|
+
123</pre>
|
1110
|
+
</td>
|
1111
|
+
<td>
|
1112
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 121</span>
|
1113
|
+
|
1114
|
+
<span class='kw'>def</span> <span class='id chain'>chain</span>
|
1115
|
+
<span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span><span class='period'>.</span><span class='id clients'>clients</span>
|
1116
|
+
<span class='kw'>end</span></pre>
|
1117
|
+
</td>
|
1118
|
+
</tr>
|
1119
|
+
</table>
|
1120
|
+
</div>
|
1121
|
+
|
1122
|
+
<div class="method_details ">
|
1123
|
+
<p class="signature " id="float-instance_method">
|
1124
|
+
|
1125
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>float</strong>(view = View.curr)
|
1126
|
+
|
1127
|
+
|
1128
|
+
|
1129
|
+
<span class="aliases">Also known as:
|
1130
|
+
<span class="names"><span id='unmanage-instance_method'>unmanage</span></span>
|
1131
|
+
</span>
|
1132
|
+
|
1133
|
+
</p><div class="docstring">
|
1134
|
+
<div class="discussion">
|
1135
|
+
<p>
|
1136
|
+
Puts this client into the floating area of the given view.
|
1137
|
+
</p>
|
1138
|
+
|
1139
|
+
|
1140
|
+
</div>
|
1141
|
+
</div>
|
1142
|
+
<div class="tags">
|
1143
|
+
|
1144
|
+
</div><table class="source_code">
|
1145
|
+
<tr>
|
1146
|
+
<td>
|
1147
|
+
<pre class="lines">
|
1148
|
+
|
1149
|
+
|
1150
|
+
261
|
1151
|
+
262
|
1152
|
+
263</pre>
|
1153
|
+
</td>
|
1154
|
+
<td>
|
1155
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 261</span>
|
1156
|
+
|
1157
|
+
<span class='kw'>def</span> <span class='id float'>float</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1158
|
+
<span class='id send'>send</span> <span class='symbol'>:toggle</span><span class='comma'>,</span> <span class='id view'>view</span> <span class='kw'>unless</span> <span class='id float?'>float?</span> <span class='id view'>view</span>
|
1159
|
+
<span class='kw'>end</span></pre>
|
1160
|
+
</td>
|
1161
|
+
</tr>
|
1162
|
+
</table>
|
1163
|
+
</div>
|
1164
|
+
|
1165
|
+
<div class="method_details ">
|
1166
|
+
<p class="signature " id="float!-instance_method">
|
1167
|
+
|
1168
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>float!</strong>(view = View.curr)
|
1169
|
+
|
1170
|
+
|
1171
|
+
|
1172
|
+
<span class="aliases">Also known as:
|
1173
|
+
<span class="names"><span id='manage!-instance_method'>manage!</span></span>
|
1174
|
+
</span>
|
1175
|
+
|
1176
|
+
</p><div class="docstring">
|
1177
|
+
<div class="discussion">
|
1178
|
+
<p>
|
1179
|
+
Toggles the floating status of this client in the given view.
|
1180
|
+
</p>
|
1181
|
+
|
1182
|
+
|
1183
|
+
</div>
|
1184
|
+
</div>
|
1185
|
+
<div class="tags">
|
1186
|
+
|
1187
|
+
</div><table class="source_code">
|
1188
|
+
<tr>
|
1189
|
+
<td>
|
1190
|
+
<pre class="lines">
|
1191
|
+
|
1192
|
+
|
1193
|
+
275
|
1194
|
+
276
|
1195
|
+
277</pre>
|
1196
|
+
</td>
|
1197
|
+
<td>
|
1198
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 275</span>
|
1199
|
+
|
1200
|
+
<span class='kw'>def</span> <span class='id float!'>float!</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1201
|
+
<span class='id send'>send</span> <span class='symbol'>:toggle</span><span class='comma'>,</span> <span class='id view'>view</span>
|
1202
|
+
<span class='kw'>end</span></pre>
|
1203
|
+
</td>
|
1204
|
+
</tr>
|
1205
|
+
</table>
|
1206
|
+
</div>
|
1207
|
+
|
1208
|
+
<div class="method_details ">
|
1209
|
+
<p class="signature " id="float?-instance_method">
|
1210
|
+
|
1211
|
+
- (<tt>Boolean</tt>) <strong>float?</strong>(view = View.curr)
|
1212
|
+
|
1213
|
+
|
1214
|
+
|
1215
|
+
</p><div class="docstring">
|
1216
|
+
<div class="discussion">
|
1217
|
+
<p>
|
1218
|
+
Checks if this client is in the floating area of the given view.
|
1219
|
+
</p>
|
1220
|
+
|
1221
|
+
|
1222
|
+
</div>
|
1223
|
+
</div>
|
1224
|
+
<div class="tags">
|
1225
|
+
<h3>Returns:</h3>
|
1226
|
+
<ul class="return">
|
1227
|
+
|
1228
|
+
<li>
|
1229
|
+
|
1230
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1231
|
+
|
1232
|
+
|
1233
|
+
|
1234
|
+
|
1235
|
+
</li>
|
1236
|
+
|
1237
|
+
</ul>
|
1238
|
+
|
1239
|
+
</div><table class="source_code">
|
1240
|
+
<tr>
|
1241
|
+
<td>
|
1242
|
+
<pre class="lines">
|
1243
|
+
|
1244
|
+
|
1245
|
+
254
|
1246
|
+
255
|
1247
|
+
256</pre>
|
1248
|
+
</td>
|
1249
|
+
<td>
|
1250
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 254</span>
|
1251
|
+
|
1252
|
+
<span class='kw'>def</span> <span class='id float?'>float?</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1253
|
+
<span class='id area'>area</span><span class='lparen'>(</span><span class='id view'>view</span><span class='rparen'>)</span><span class='period'>.</span><span class='id floating?'>floating?</span>
|
1254
|
+
<span class='kw'>end</span></pre>
|
1255
|
+
</td>
|
1256
|
+
</tr>
|
1257
|
+
</table>
|
1258
|
+
</div>
|
1259
|
+
|
1260
|
+
<div class="method_details ">
|
1261
|
+
<p class="signature " id="focus-instance_method">
|
1262
|
+
|
1263
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>focus</strong>(view = nil)
|
1264
|
+
|
1265
|
+
|
1266
|
+
|
1267
|
+
</p><div class="docstring">
|
1268
|
+
<div class="discussion">
|
1269
|
+
<p>
|
1270
|
+
Focuses this client within the given view.
|
1271
|
+
</p>
|
1272
|
+
|
1273
|
+
|
1274
|
+
</div>
|
1275
|
+
</div>
|
1276
|
+
<div class="tags">
|
1277
|
+
|
1278
|
+
</div><table class="source_code">
|
1279
|
+
<tr>
|
1280
|
+
<td>
|
1281
|
+
<pre class="lines">
|
1282
|
+
|
1283
|
+
|
1284
|
+
132
|
1285
|
+
133
|
1286
|
+
134
|
1287
|
+
135
|
1288
|
+
136
|
1289
|
+
137
|
1290
|
+
138
|
1291
|
+
139
|
1292
|
+
140
|
1293
|
+
141
|
1294
|
+
142
|
1295
|
+
143
|
1296
|
+
144
|
1297
|
+
145
|
1298
|
+
146
|
1299
|
+
147
|
1300
|
+
148
|
1301
|
+
149
|
1302
|
+
150
|
1303
|
+
151
|
1304
|
+
152</pre>
|
1305
|
+
</td>
|
1306
|
+
<td>
|
1307
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 132</span>
|
1308
|
+
|
1309
|
+
<span class='kw'>def</span> <span class='id focus'>focus</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1310
|
+
<span class='kw'>if</span> <span class='id exist?'>exist?</span> <span class='kw'>and</span> <span class='kw'>not</span> <span class='id focus?'>focus?</span>
|
1311
|
+
<span class='lparen'>(</span><span class='id view'>view</span> <span class='op'>?</span> <span class='lbracket'>[</span><span class='id view'>view</span><span class='rbracket'>]</span> <span class='op'>:</span> <span class='kw'>self</span><span class='period'>.</span><span class='id views'>views</span><span class='rparen'>)</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id v'>v</span><span class='op'>|</span>
|
1312
|
+
<span class='kw'>if</span> <span class='id a'>a</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id area'>area</span><span class='lparen'>(</span><span class='id v'>v</span><span class='rparen'>)</span> <span class='kw'>and</span> <span class='id a'>a</span><span class='period'>.</span><span class='id exist?'>exist?</span>
|
1313
|
+
<span class='id v'>v</span><span class='period'>.</span><span class='id focus'>focus</span>
|
1314
|
+
<span class='id a'>a</span><span class='period'>.</span><span class='id focus'>focus</span>
|
1315
|
+
|
1316
|
+
<span class='comment'># slide focus from the current client onto this client
|
1317
|
+
</span> <span class='id arr'>arr</span> <span class='op'>=</span> <span class='id a'>a</span><span class='period'>.</span><span class='id client_ids'>client_ids</span>
|
1318
|
+
<span class='id src'>src</span> <span class='op'>=</span> <span class='id arr'>arr</span><span class='period'>.</span><span class='id index'>index</span> <span class='const'>Client</span><span class='period'>.</span><span class='id curr'>curr</span><span class='period'>.</span><span class='id id'>id</span>
|
1319
|
+
<span class='id dst'>dst</span> <span class='op'>=</span> <span class='id arr'>arr</span><span class='period'>.</span><span class='id index'>index</span> <span class='ivar'>@id</span>
|
1320
|
+
|
1321
|
+
<span class='id distance'>distance</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id src'>src</span> <span class='op'>-</span> <span class='id dst'>dst</span><span class='rparen'>)</span><span class='period'>.</span><span class='id abs'>abs</span>
|
1322
|
+
<span class='id direction'>direction</span> <span class='op'>=</span> <span class='id src'>src</span> <span class='op'><</span> <span class='id dst'>dst</span> <span class='op'>?</span> <span class='symbol'>:down</span> <span class='op'>:</span> <span class='symbol'>:up</span>
|
1323
|
+
|
1324
|
+
<span class='id distance'>distance</span><span class='period'>.</span><span class='id times'>times</span> <span class='lbrace'>{</span> <span class='id v'>v</span><span class='period'>.</span><span class='id select'>select</span> <span class='id direction'>direction</span> <span class='rbrace'>}</span>
|
1325
|
+
<span class='kw'>break</span>
|
1326
|
+
<span class='kw'>end</span>
|
1327
|
+
<span class='kw'>end</span>
|
1328
|
+
<span class='kw'>end</span>
|
1329
|
+
<span class='kw'>end</span></pre>
|
1330
|
+
</td>
|
1331
|
+
</tr>
|
1332
|
+
</table>
|
1333
|
+
</div>
|
1334
|
+
|
1335
|
+
<div class="method_details ">
|
1336
|
+
<p class="signature " id="fullscreen-instance_method">
|
1337
|
+
|
1338
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>fullscreen</strong>
|
1339
|
+
|
1340
|
+
|
1341
|
+
|
1342
|
+
</p><div class="docstring">
|
1343
|
+
<div class="discussion">
|
1344
|
+
<p>
|
1345
|
+
Maximizes this client to occupy the entire screen on the current view.
|
1346
|
+
</p>
|
1347
|
+
|
1348
|
+
|
1349
|
+
</div>
|
1350
|
+
</div>
|
1351
|
+
<div class="tags">
|
1352
|
+
|
1353
|
+
</div><table class="source_code">
|
1354
|
+
<tr>
|
1355
|
+
<td>
|
1356
|
+
<pre class="lines">
|
1357
|
+
|
1358
|
+
|
1359
|
+
190
|
1360
|
+
191
|
1361
|
+
192</pre>
|
1362
|
+
</td>
|
1363
|
+
<td>
|
1364
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 190</span>
|
1365
|
+
|
1366
|
+
<span class='kw'>def</span> <span class='id fullscreen'>fullscreen</span>
|
1367
|
+
<span class='id ctl'>ctl</span><span class='period'>.</span><span class='id write'>write</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Fullscreen on</span><span class='tstring_end'>'</span></span>
|
1368
|
+
<span class='kw'>end</span></pre>
|
1369
|
+
</td>
|
1370
|
+
</tr>
|
1371
|
+
</table>
|
1372
|
+
</div>
|
1373
|
+
|
1374
|
+
<div class="method_details ">
|
1375
|
+
<p class="signature " id="fullscreen!-instance_method">
|
1376
|
+
|
1377
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>fullscreen!</strong>
|
1378
|
+
|
1379
|
+
|
1380
|
+
|
1381
|
+
</p><div class="docstring">
|
1382
|
+
<div class="discussion">
|
1383
|
+
<p>
|
1384
|
+
Toggles the fullscreen status of this client on the current view.
|
1385
|
+
</p>
|
1386
|
+
|
1387
|
+
|
1388
|
+
</div>
|
1389
|
+
</div>
|
1390
|
+
<div class="tags">
|
1391
|
+
|
1392
|
+
</div><table class="source_code">
|
1393
|
+
<tr>
|
1394
|
+
<td>
|
1395
|
+
<pre class="lines">
|
1396
|
+
|
1397
|
+
|
1398
|
+
204
|
1399
|
+
205
|
1400
|
+
206</pre>
|
1401
|
+
</td>
|
1402
|
+
<td>
|
1403
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 204</span>
|
1404
|
+
|
1405
|
+
<span class='kw'>def</span> <span class='id fullscreen!'>fullscreen!</span>
|
1406
|
+
<span class='id ctl'>ctl</span><span class='period'>.</span><span class='id write'>write</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Fullscreen toggle</span><span class='tstring_end'>'</span></span>
|
1407
|
+
<span class='kw'>end</span></pre>
|
1408
|
+
</td>
|
1409
|
+
</tr>
|
1410
|
+
</table>
|
1411
|
+
</div>
|
1412
|
+
|
1413
|
+
<div class="method_details ">
|
1414
|
+
<p class="signature " id="fullscreen?-instance_method">
|
1415
|
+
|
1416
|
+
- (<tt>Boolean</tt>) <strong>fullscreen?</strong>
|
1417
|
+
|
1418
|
+
|
1419
|
+
|
1420
|
+
</p><div class="docstring">
|
1421
|
+
<div class="discussion">
|
1422
|
+
<p>
|
1423
|
+
Checks if this client is currently fullscreen on the current view.
|
1424
|
+
</p>
|
1425
|
+
|
1426
|
+
|
1427
|
+
</div>
|
1428
|
+
</div>
|
1429
|
+
<div class="tags">
|
1430
|
+
<h3>Returns:</h3>
|
1431
|
+
<ul class="return">
|
1432
|
+
|
1433
|
+
<li>
|
1434
|
+
|
1435
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1436
|
+
|
1437
|
+
|
1438
|
+
|
1439
|
+
|
1440
|
+
</li>
|
1441
|
+
|
1442
|
+
</ul>
|
1443
|
+
|
1444
|
+
</div><table class="source_code">
|
1445
|
+
<tr>
|
1446
|
+
<td>
|
1447
|
+
<pre class="lines">
|
1448
|
+
|
1449
|
+
|
1450
|
+
211
|
1451
|
+
212
|
1452
|
+
213
|
1453
|
+
214
|
1454
|
+
215
|
1455
|
+
216
|
1456
|
+
217</pre>
|
1457
|
+
</td>
|
1458
|
+
<td>
|
1459
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 211</span>
|
1460
|
+
|
1461
|
+
<span class='kw'>def</span> <span class='id fullscreen?'>fullscreen?</span>
|
1462
|
+
<span class='comment'>#
|
1463
|
+
</span> <span class='comment'># If the client's dimensions match those of the
|
1464
|
+
</span> <span class='comment'># floating area, then we know it is fullscreen.
|
1465
|
+
</span> <span class='comment'>#
|
1466
|
+
</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span><span class='period'>.</span><span class='id manifest'>manifest</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^# </span><span class='embexpr_beg'>#{</span><span class='const'>FLOATING_AREA_ID</span><span class='rbrace'>}</span><span class='tstring_content'> (\d+) (\d+)\n.*^</span><span class='embexpr_beg'>#{</span><span class='const'>FLOATING_AREA_ID</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='ivar'>@id</span><span class='rbrace'>}</span><span class='tstring_content'> \d+ \d+ \1 \2 </span><span class='regexp_end'>/m</span></span>
|
1467
|
+
<span class='kw'>end</span></pre>
|
1468
|
+
</td>
|
1469
|
+
</tr>
|
1470
|
+
</table>
|
1471
|
+
</div>
|
1472
|
+
|
1473
|
+
<div class="method_details ">
|
1474
|
+
<p class="signature " id="group-instance_method">
|
1475
|
+
|
1476
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>group</strong>
|
1477
|
+
|
1478
|
+
|
1479
|
+
|
1480
|
+
</p><div class="docstring">
|
1481
|
+
<div class="discussion">
|
1482
|
+
<p>
|
1483
|
+
Adds this client to the current grouping.
|
1484
|
+
</p>
|
1485
|
+
|
1486
|
+
|
1487
|
+
</div>
|
1488
|
+
</div>
|
1489
|
+
<div class="tags">
|
1490
|
+
|
1491
|
+
</div><table class="source_code">
|
1492
|
+
<tr>
|
1493
|
+
<td>
|
1494
|
+
<pre class="lines">
|
1495
|
+
|
1496
|
+
|
1497
|
+
409
|
1498
|
+
410
|
1499
|
+
411
|
1500
|
+
412
|
1501
|
+
413</pre>
|
1502
|
+
</td>
|
1503
|
+
<td>
|
1504
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 409</span>
|
1505
|
+
|
1506
|
+
<span class='kw'>def</span> <span class='id group'>group</span>
|
1507
|
+
<span class='id with_tags'>with_tags</span> <span class='kw'>do</span>
|
1508
|
+
<span class='id push'>push</span> <span class='const'>CLIENT_GROUPING_TAG</span>
|
1509
|
+
<span class='kw'>end</span>
|
1510
|
+
<span class='kw'>end</span></pre>
|
1511
|
+
</td>
|
1512
|
+
</tr>
|
1513
|
+
</table>
|
1514
|
+
</div>
|
1515
|
+
|
1516
|
+
<div class="method_details ">
|
1517
|
+
<p class="signature " id="group!-instance_method">
|
1518
|
+
|
1519
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>group!</strong>
|
1520
|
+
|
1521
|
+
|
1522
|
+
|
1523
|
+
</p><div class="docstring">
|
1524
|
+
<div class="discussion">
|
1525
|
+
<p>
|
1526
|
+
Toggles the presence of this client in the current grouping.
|
1527
|
+
</p>
|
1528
|
+
|
1529
|
+
|
1530
|
+
</div>
|
1531
|
+
</div>
|
1532
|
+
<div class="tags">
|
1533
|
+
|
1534
|
+
</div><table class="source_code">
|
1535
|
+
<tr>
|
1536
|
+
<td>
|
1537
|
+
<pre class="lines">
|
1538
|
+
|
1539
|
+
|
1540
|
+
425
|
1541
|
+
426
|
1542
|
+
427
|
1543
|
+
428
|
1544
|
+
429
|
1545
|
+
430
|
1546
|
+
431</pre>
|
1547
|
+
</td>
|
1548
|
+
<td>
|
1549
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 425</span>
|
1550
|
+
|
1551
|
+
<span class='kw'>def</span> <span class='id group!'>group!</span>
|
1552
|
+
<span class='kw'>if</span> <span class='id group?'>group?</span>
|
1553
|
+
<span class='id ungroup'>ungroup</span>
|
1554
|
+
<span class='kw'>else</span>
|
1555
|
+
<span class='id group'>group</span>
|
1556
|
+
<span class='kw'>end</span>
|
1557
|
+
<span class='kw'>end</span></pre>
|
1558
|
+
</td>
|
1559
|
+
</tr>
|
1560
|
+
</table>
|
1561
|
+
</div>
|
1562
|
+
|
1563
|
+
<div class="method_details ">
|
1564
|
+
<p class="signature " id="group?-instance_method">
|
1565
|
+
|
1566
|
+
- (<tt>Boolean</tt>) <strong>group?</strong>
|
1567
|
+
|
1568
|
+
|
1569
|
+
|
1570
|
+
</p><div class="docstring">
|
1571
|
+
<div class="discussion">
|
1572
|
+
<p>
|
1573
|
+
Checks if this client is included in the current grouping.
|
1574
|
+
</p>
|
1575
|
+
|
1576
|
+
|
1577
|
+
</div>
|
1578
|
+
</div>
|
1579
|
+
<div class="tags">
|
1580
|
+
<h3>Returns:</h3>
|
1581
|
+
<ul class="return">
|
1582
|
+
|
1583
|
+
<li>
|
1584
|
+
|
1585
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1586
|
+
|
1587
|
+
|
1588
|
+
|
1589
|
+
|
1590
|
+
</li>
|
1591
|
+
|
1592
|
+
</ul>
|
1593
|
+
|
1594
|
+
</div><table class="source_code">
|
1595
|
+
<tr>
|
1596
|
+
<td>
|
1597
|
+
<pre class="lines">
|
1598
|
+
|
1599
|
+
|
1600
|
+
402
|
1601
|
+
403
|
1602
|
+
404</pre>
|
1603
|
+
</td>
|
1604
|
+
<td>
|
1605
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 402</span>
|
1606
|
+
|
1607
|
+
<span class='kw'>def</span> <span class='id group?'>group?</span>
|
1608
|
+
<span class='id tags'>tags</span><span class='period'>.</span><span class='id include?'>include?</span> <span class='const'>CLIENT_GROUPING_TAG</span>
|
1609
|
+
<span class='kw'>end</span></pre>
|
1610
|
+
</td>
|
1611
|
+
</tr>
|
1612
|
+
</table>
|
1613
|
+
</div>
|
1614
|
+
|
1615
|
+
<div class="method_details ">
|
1616
|
+
<p class="signature " id="kill-instance_method">
|
1617
|
+
|
1618
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>kill</strong>
|
1619
|
+
|
1620
|
+
|
1621
|
+
|
1622
|
+
</p><div class="docstring">
|
1623
|
+
<div class="discussion">
|
1624
|
+
<p>
|
1625
|
+
Terminates this client nicely (requests this window to be closed).
|
1626
|
+
</p>
|
1627
|
+
|
1628
|
+
|
1629
|
+
</div>
|
1630
|
+
</div>
|
1631
|
+
<div class="tags">
|
1632
|
+
|
1633
|
+
</div><table class="source_code">
|
1634
|
+
<tr>
|
1635
|
+
<td>
|
1636
|
+
<pre class="lines">
|
1637
|
+
|
1638
|
+
|
1639
|
+
175
|
1640
|
+
176
|
1641
|
+
177</pre>
|
1642
|
+
</td>
|
1643
|
+
<td>
|
1644
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 175</span>
|
1645
|
+
|
1646
|
+
<span class='kw'>def</span> <span class='id kill'>kill</span>
|
1647
|
+
<span class='id ctl'>ctl</span><span class='period'>.</span><span class='id write'>write</span> <span class='symbol'>:kill</span>
|
1648
|
+
<span class='kw'>end</span></pre>
|
1649
|
+
</td>
|
1650
|
+
</tr>
|
1651
|
+
</table>
|
1652
|
+
</div>
|
1653
|
+
|
1654
|
+
<div class="method_details ">
|
1655
|
+
<p class="signature " id="manage?-instance_method">
|
1656
|
+
|
1657
|
+
- (<tt>Boolean</tt>) <strong>manage?</strong>(view = View.curr)
|
1658
|
+
|
1659
|
+
|
1660
|
+
|
1661
|
+
</p><div class="docstring">
|
1662
|
+
<div class="discussion">
|
1663
|
+
<p>
|
1664
|
+
Checks if this client is in the managed area of the given view.
|
1665
|
+
</p>
|
1666
|
+
|
1667
|
+
|
1668
|
+
</div>
|
1669
|
+
</div>
|
1670
|
+
<div class="tags">
|
1671
|
+
<h3>Returns:</h3>
|
1672
|
+
<ul class="return">
|
1673
|
+
|
1674
|
+
<li>
|
1675
|
+
|
1676
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1677
|
+
|
1678
|
+
|
1679
|
+
|
1680
|
+
|
1681
|
+
</li>
|
1682
|
+
|
1683
|
+
</ul>
|
1684
|
+
|
1685
|
+
</div><table class="source_code">
|
1686
|
+
<tr>
|
1687
|
+
<td>
|
1688
|
+
<pre class="lines">
|
1689
|
+
|
1690
|
+
|
1691
|
+
281
|
1692
|
+
282
|
1693
|
+
283</pre>
|
1694
|
+
</td>
|
1695
|
+
<td>
|
1696
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 281</span>
|
1697
|
+
|
1698
|
+
<span class='kw'>def</span> <span class='id manage?'>manage?</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1699
|
+
<span class='kw'>not</span> <span class='id float?'>float?</span> <span class='id view'>view</span>
|
1700
|
+
<span class='kw'>end</span></pre>
|
1701
|
+
</td>
|
1702
|
+
</tr>
|
1703
|
+
</table>
|
1704
|
+
</div>
|
1705
|
+
|
1706
|
+
<div class="method_details ">
|
1707
|
+
<p class="signature " id="send-instance_method">
|
1708
|
+
|
1709
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>send</strong>(area_or_id, view = View.curr)
|
1710
|
+
|
1711
|
+
|
1712
|
+
|
1713
|
+
<span class="aliases">Also known as:
|
1714
|
+
<span class="names"><span id='move-instance_method'>move</span></span>
|
1715
|
+
</span>
|
1716
|
+
|
1717
|
+
</p><div class="docstring">
|
1718
|
+
<div class="discussion">
|
1719
|
+
<p>
|
1720
|
+
Sends this client to the given destination within the given view.
|
1721
|
+
</p>
|
1722
|
+
|
1723
|
+
|
1724
|
+
</div>
|
1725
|
+
</div>
|
1726
|
+
<div class="tags">
|
1727
|
+
|
1728
|
+
</div><table class="source_code">
|
1729
|
+
<tr>
|
1730
|
+
<td>
|
1731
|
+
<pre class="lines">
|
1732
|
+
|
1733
|
+
|
1734
|
+
157
|
1735
|
+
158
|
1736
|
+
159
|
1737
|
+
160</pre>
|
1738
|
+
</td>
|
1739
|
+
<td>
|
1740
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 157</span>
|
1741
|
+
|
1742
|
+
<span class='kw'>def</span> <span class='id send'>send</span> <span class='id area_or_id'>area_or_id</span><span class='comma'>,</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1743
|
+
<span class='id dst'>dst</span> <span class='op'>=</span> <span class='id area_to_id'>area_to_id</span><span class='lparen'>(</span><span class='id area_or_id'>area_or_id</span><span class='rparen'>)</span>
|
1744
|
+
<span class='id view'>view</span><span class='period'>.</span><span class='id ctl'>ctl</span><span class='period'>.</span><span class='id write'>write</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>send </span><span class='embexpr_beg'>#{</span><span class='ivar'>@id</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id dst'>dst</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
1745
|
+
<span class='kw'>end</span></pre>
|
1746
|
+
</td>
|
1747
|
+
</tr>
|
1748
|
+
</table>
|
1749
|
+
</div>
|
1750
|
+
|
1751
|
+
<div class="method_details ">
|
1752
|
+
<p class="signature " id="slay-instance_method">
|
1753
|
+
|
1754
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>slay</strong>
|
1755
|
+
|
1756
|
+
|
1757
|
+
|
1758
|
+
</p><div class="docstring">
|
1759
|
+
<div class="discussion">
|
1760
|
+
<p>
|
1761
|
+
Terminates this client forcefully.
|
1762
|
+
</p>
|
1763
|
+
|
1764
|
+
|
1765
|
+
</div>
|
1766
|
+
</div>
|
1767
|
+
<div class="tags">
|
1768
|
+
|
1769
|
+
</div><table class="source_code">
|
1770
|
+
<tr>
|
1771
|
+
<td>
|
1772
|
+
<pre class="lines">
|
1773
|
+
|
1774
|
+
|
1775
|
+
182
|
1776
|
+
183
|
1777
|
+
184</pre>
|
1778
|
+
</td>
|
1779
|
+
<td>
|
1780
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 182</span>
|
1781
|
+
|
1782
|
+
<span class='kw'>def</span> <span class='id slay'>slay</span>
|
1783
|
+
<span class='id ctl'>ctl</span><span class='period'>.</span><span class='id write'>write</span> <span class='symbol'>:slay</span>
|
1784
|
+
<span class='kw'>end</span></pre>
|
1785
|
+
</td>
|
1786
|
+
</tr>
|
1787
|
+
</table>
|
1788
|
+
</div>
|
1789
|
+
|
1790
|
+
<div class="method_details ">
|
1791
|
+
<p class="signature " id="stick-instance_method">
|
1792
|
+
|
1793
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>stick</strong>
|
1794
|
+
|
1795
|
+
|
1796
|
+
|
1797
|
+
</p><div class="docstring">
|
1798
|
+
<div class="discussion">
|
1799
|
+
<p>
|
1800
|
+
Makes this client sticky (appears in all views).
|
1801
|
+
</p>
|
1802
|
+
|
1803
|
+
|
1804
|
+
</div>
|
1805
|
+
</div>
|
1806
|
+
<div class="tags">
|
1807
|
+
|
1808
|
+
</div><table class="source_code">
|
1809
|
+
<tr>
|
1810
|
+
<td>
|
1811
|
+
<pre class="lines">
|
1812
|
+
|
1813
|
+
|
1814
|
+
229
|
1815
|
+
230
|
1816
|
+
231</pre>
|
1817
|
+
</td>
|
1818
|
+
<td>
|
1819
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 229</span>
|
1820
|
+
|
1821
|
+
<span class='kw'>def</span> <span class='id stick'>stick</span>
|
1822
|
+
<span class='id tag'>tag</span> <span class='const'>CLIENT_STICKY_TAG</span>
|
1823
|
+
<span class='kw'>end</span></pre>
|
1824
|
+
</td>
|
1825
|
+
</tr>
|
1826
|
+
</table>
|
1827
|
+
</div>
|
1828
|
+
|
1829
|
+
<div class="method_details ">
|
1830
|
+
<p class="signature " id="stick!-instance_method">
|
1831
|
+
|
1832
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>stick!</strong>
|
1833
|
+
|
1834
|
+
|
1835
|
+
|
1836
|
+
</p><div class="docstring">
|
1837
|
+
<div class="discussion">
|
1838
|
+
<p>
|
1839
|
+
Toggles the stickyness of this client.
|
1840
|
+
</p>
|
1841
|
+
|
1842
|
+
|
1843
|
+
</div>
|
1844
|
+
</div>
|
1845
|
+
<div class="tags">
|
1846
|
+
|
1847
|
+
</div><table class="source_code">
|
1848
|
+
<tr>
|
1849
|
+
<td>
|
1850
|
+
<pre class="lines">
|
1851
|
+
|
1852
|
+
|
1853
|
+
243
|
1854
|
+
244
|
1855
|
+
245
|
1856
|
+
246
|
1857
|
+
247
|
1858
|
+
248
|
1859
|
+
249</pre>
|
1860
|
+
</td>
|
1861
|
+
<td>
|
1862
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 243</span>
|
1863
|
+
|
1864
|
+
<span class='kw'>def</span> <span class='id stick!'>stick!</span>
|
1865
|
+
<span class='kw'>if</span> <span class='id stick?'>stick?</span>
|
1866
|
+
<span class='id unstick'>unstick</span>
|
1867
|
+
<span class='kw'>else</span>
|
1868
|
+
<span class='id stick'>stick</span>
|
1869
|
+
<span class='kw'>end</span>
|
1870
|
+
<span class='kw'>end</span></pre>
|
1871
|
+
</td>
|
1872
|
+
</tr>
|
1873
|
+
</table>
|
1874
|
+
</div>
|
1875
|
+
|
1876
|
+
<div class="method_details ">
|
1877
|
+
<p class="signature " id="stick?-instance_method">
|
1878
|
+
|
1879
|
+
- (<tt>Boolean</tt>) <strong>stick?</strong>
|
1880
|
+
|
1881
|
+
|
1882
|
+
|
1883
|
+
</p><div class="docstring">
|
1884
|
+
<div class="discussion">
|
1885
|
+
<p>
|
1886
|
+
Checks if this client is sticky (appears in all views).
|
1887
|
+
</p>
|
1888
|
+
|
1889
|
+
|
1890
|
+
</div>
|
1891
|
+
</div>
|
1892
|
+
<div class="tags">
|
1893
|
+
<h3>Returns:</h3>
|
1894
|
+
<ul class="return">
|
1895
|
+
|
1896
|
+
<li>
|
1897
|
+
|
1898
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1899
|
+
|
1900
|
+
|
1901
|
+
|
1902
|
+
|
1903
|
+
</li>
|
1904
|
+
|
1905
|
+
</ul>
|
1906
|
+
|
1907
|
+
</div><table class="source_code">
|
1908
|
+
<tr>
|
1909
|
+
<td>
|
1910
|
+
<pre class="lines">
|
1911
|
+
|
1912
|
+
|
1913
|
+
222
|
1914
|
+
223
|
1915
|
+
224</pre>
|
1916
|
+
</td>
|
1917
|
+
<td>
|
1918
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 222</span>
|
1919
|
+
|
1920
|
+
<span class='kw'>def</span> <span class='id stick?'>stick?</span>
|
1921
|
+
<span class='id tags'>tags</span><span class='period'>.</span><span class='id include?'>include?</span> <span class='const'>CLIENT_STICKY_TAG</span>
|
1922
|
+
<span class='kw'>end</span></pre>
|
1923
|
+
</td>
|
1924
|
+
</tr>
|
1925
|
+
</table>
|
1926
|
+
</div>
|
1927
|
+
|
1928
|
+
<div class="method_details ">
|
1929
|
+
<p class="signature " id="swap-instance_method">
|
1930
|
+
|
1931
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>swap</strong>(area_or_id, view = View.curr)
|
1932
|
+
|
1933
|
+
|
1934
|
+
|
1935
|
+
</p><div class="docstring">
|
1936
|
+
<div class="discussion">
|
1937
|
+
<p>
|
1938
|
+
Swaps this client with the given destination within the given view.
|
1939
|
+
</p>
|
1940
|
+
|
1941
|
+
|
1942
|
+
</div>
|
1943
|
+
</div>
|
1944
|
+
<div class="tags">
|
1945
|
+
|
1946
|
+
</div><table class="source_code">
|
1947
|
+
<tr>
|
1948
|
+
<td>
|
1949
|
+
<pre class="lines">
|
1950
|
+
|
1951
|
+
|
1952
|
+
167
|
1953
|
+
168
|
1954
|
+
169
|
1955
|
+
170</pre>
|
1956
|
+
</td>
|
1957
|
+
<td>
|
1958
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 167</span>
|
1959
|
+
|
1960
|
+
<span class='kw'>def</span> <span class='id swap'>swap</span> <span class='id area_or_id'>area_or_id</span><span class='comma'>,</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
1961
|
+
<span class='id dst'>dst</span> <span class='op'>=</span> <span class='id area_to_id'>area_to_id</span><span class='lparen'>(</span><span class='id area_or_id'>area_or_id</span><span class='rparen'>)</span>
|
1962
|
+
<span class='id view'>view</span><span class='period'>.</span><span class='id ctl'>ctl</span><span class='period'>.</span><span class='id write'>write</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>swap </span><span class='embexpr_beg'>#{</span><span class='ivar'>@id</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id dst'>dst</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
1963
|
+
<span class='kw'>end</span></pre>
|
1964
|
+
</td>
|
1965
|
+
</tr>
|
1966
|
+
</table>
|
1967
|
+
</div>
|
1968
|
+
|
1969
|
+
<div class="method_details ">
|
1970
|
+
<p class="signature " id="tag-instance_method">
|
1971
|
+
|
1972
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>tag</strong>(*tags)
|
1973
|
+
|
1974
|
+
|
1975
|
+
|
1976
|
+
</p><div class="docstring">
|
1977
|
+
<div class="discussion">
|
1978
|
+
<p>
|
1979
|
+
Adds the given tags to this client.
|
1980
|
+
</p>
|
1981
|
+
|
1982
|
+
|
1983
|
+
</div>
|
1984
|
+
</div>
|
1985
|
+
<div class="tags">
|
1986
|
+
|
1987
|
+
</div><table class="source_code">
|
1988
|
+
<tr>
|
1989
|
+
<td>
|
1990
|
+
<pre class="lines">
|
1991
|
+
|
1992
|
+
|
1993
|
+
378
|
1994
|
+
379
|
1995
|
+
380
|
1996
|
+
381
|
1997
|
+
382</pre>
|
1998
|
+
</td>
|
1999
|
+
<td>
|
2000
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 378</span>
|
2001
|
+
|
2002
|
+
<span class='kw'>def</span> <span class='id tag'>tag</span> <span class='op'>*</span><span class='id tags'>tags</span>
|
2003
|
+
<span class='id with_tags'>with_tags</span> <span class='kw'>do</span>
|
2004
|
+
<span class='id concat'>concat</span> <span class='id tags'>tags</span>
|
2005
|
+
<span class='kw'>end</span>
|
2006
|
+
<span class='kw'>end</span></pre>
|
2007
|
+
</td>
|
2008
|
+
</tr>
|
2009
|
+
</table>
|
2010
|
+
</div>
|
2011
|
+
|
2012
|
+
<div class="method_details ">
|
2013
|
+
<p class="signature " id="tags-instance_method">
|
2014
|
+
|
2015
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>tags</strong>
|
2016
|
+
|
2017
|
+
|
2018
|
+
|
2019
|
+
</p><div class="docstring">
|
2020
|
+
<div class="discussion">
|
2021
|
+
<p>
|
2022
|
+
Returns the tags associated with this client.
|
2023
|
+
</p>
|
2024
|
+
|
2025
|
+
|
2026
|
+
</div>
|
2027
|
+
</div>
|
2028
|
+
<div class="tags">
|
2029
|
+
|
2030
|
+
</div><table class="source_code">
|
2031
|
+
<tr>
|
2032
|
+
<td>
|
2033
|
+
<pre class="lines">
|
2034
|
+
|
2035
|
+
|
2036
|
+
318
|
2037
|
+
319
|
2038
|
+
320</pre>
|
2039
|
+
</td>
|
2040
|
+
<td>
|
2041
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 318</span>
|
2042
|
+
|
2043
|
+
<span class='kw'>def</span> <span class='id tags'>tags</span>
|
2044
|
+
<span class='kw'>self</span><span class='lbracket'>[</span><span class='symbol'>:tags</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id read'>read</span><span class='period'>.</span><span class='id split'>split</span> <span class='const'>TAG_DELIMITER</span>
|
2045
|
+
<span class='kw'>end</span></pre>
|
2046
|
+
</td>
|
2047
|
+
</tr>
|
2048
|
+
</table>
|
2049
|
+
</div>
|
2050
|
+
|
2051
|
+
<div class="method_details ">
|
2052
|
+
<p class="signature " id="tags=-instance_method">
|
2053
|
+
|
2054
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>tags=</strong>(*tags)
|
2055
|
+
|
2056
|
+
|
2057
|
+
|
2058
|
+
</p><div class="docstring">
|
2059
|
+
<div class="discussion">
|
2060
|
+
<p>
|
2061
|
+
Modifies the tags associated with this client.
|
2062
|
+
</p>
|
2063
|
+
<p>
|
2064
|
+
If a tag name is ’~’, this client is placed into the floating
|
2065
|
+
layer of the current view.
|
2066
|
+
</p>
|
2067
|
+
<p>
|
2068
|
+
If a tag name begins with ’~’, then this client is placed into
|
2069
|
+
the floating layer of the view corresponding to that tag.
|
2070
|
+
</p>
|
2071
|
+
<p>
|
2072
|
+
If a tag name is ’!’, this client is placed into the managed
|
2073
|
+
layer of the current view.
|
2074
|
+
</p>
|
2075
|
+
<p>
|
2076
|
+
If a tag name begins with ’!’, then this client is placed into
|
2077
|
+
the managed layer of the view corresponding to that tag.
|
2078
|
+
</p>
|
2079
|
+
|
2080
|
+
|
2081
|
+
</div>
|
2082
|
+
</div>
|
2083
|
+
<div class="tags">
|
2084
|
+
|
2085
|
+
</div><table class="source_code">
|
2086
|
+
<tr>
|
2087
|
+
<td>
|
2088
|
+
<pre class="lines">
|
2089
|
+
|
2090
|
+
|
2091
|
+
339
|
2092
|
+
340
|
2093
|
+
341
|
2094
|
+
342
|
2095
|
+
343
|
2096
|
+
344
|
2097
|
+
345
|
2098
|
+
346
|
2099
|
+
347
|
2100
|
+
348
|
2101
|
+
349
|
2102
|
+
350
|
2103
|
+
351
|
2104
|
+
352
|
2105
|
+
353
|
2106
|
+
354
|
2107
|
+
355
|
2108
|
+
356
|
2109
|
+
357
|
2110
|
+
358
|
2111
|
+
359
|
2112
|
+
360
|
2113
|
+
361
|
2114
|
+
362
|
2115
|
+
363</pre>
|
2116
|
+
</td>
|
2117
|
+
<td>
|
2118
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 339</span>
|
2119
|
+
|
2120
|
+
<span class='kw'>def</span> <span class='id tags='>tags=</span> <span class='op'>*</span><span class='id tags'>tags</span>
|
2121
|
+
<span class='id float'>float</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
2122
|
+
<span class='id manage'>manage</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
2123
|
+
<span class='id inherit'>inherit</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
2124
|
+
|
2125
|
+
<span class='id tags'>tags</span><span class='period'>.</span><span class='id join'>join</span><span class='lparen'>(</span><span class='const'>TAG_DELIMITER</span><span class='rparen'>)</span><span class='period'>.</span><span class='id split'>split</span><span class='lparen'>(</span><span class='const'>TAG_DELIMITER</span><span class='rparen'>)</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id tag'>tag</span><span class='op'>|</span>
|
2126
|
+
<span class='kw'>case</span> <span class='id tag'>tag</span>
|
2127
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~</span><span class='tstring_end'>'</span></span> <span class='kw'>then</span> <span class='id float'>float</span> <span class='op'><<</span> <span class='const'>Rumai</span><span class='period'>.</span><span class='id curr_tag'>curr_tag</span>
|
2128
|
+
<span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^~</span><span class='regexp_end'>/</span></span> <span class='kw'>then</span> <span class='id float'>float</span> <span class='op'><<</span> <span class='backref'>$'</span>
|
2129
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>!</span><span class='tstring_end'>'</span></span> <span class='kw'>then</span> <span class='id manage'>manage</span> <span class='op'><<</span> <span class='const'>Rumai</span><span class='period'>.</span><span class='id curr_tag'>curr_tag</span>
|
2130
|
+
<span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^!</span><span class='regexp_end'>/</span></span> <span class='kw'>then</span> <span class='id manage'>manage</span> <span class='op'><<</span> <span class='backref'>$'</span>
|
2131
|
+
<span class='kw'>else</span> <span class='id inherit'>inherit</span> <span class='op'><<</span> <span class='id tag'>tag</span>
|
2132
|
+
<span class='kw'>end</span>
|
2133
|
+
<span class='kw'>end</span>
|
2134
|
+
|
2135
|
+
<span class='kw'>self</span><span class='lbracket'>[</span><span class='symbol'>:tags</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id write'>write</span><span class='lparen'>(</span><span class='lparen'>(</span><span class='id float'>float</span> <span class='op'>+</span> <span class='id manage'>manage</span> <span class='op'>+</span> <span class='id inherit'>inherit</span><span class='rparen'>)</span><span class='period'>.</span><span class='id uniq'>uniq</span><span class='period'>.</span><span class='id join'>join</span><span class='lparen'>(</span><span class='const'>TAG_DELIMITER</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
2136
|
+
|
2137
|
+
<span class='id float'>float</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id tag'>tag</span><span class='op'>|</span>
|
2138
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id float'>float</span> <span class='const'>View</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id tag'>tag</span><span class='rparen'>)</span>
|
2139
|
+
<span class='kw'>end</span>
|
2140
|
+
|
2141
|
+
<span class='id manage'>manage</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id tag'>tag</span><span class='op'>|</span>
|
2142
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id manage'>manage</span> <span class='const'>View</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id tag'>tag</span><span class='rparen'>)</span>
|
2143
|
+
<span class='kw'>end</span>
|
2144
|
+
<span class='kw'>end</span></pre>
|
2145
|
+
</td>
|
2146
|
+
</tr>
|
2147
|
+
</table>
|
2148
|
+
</div>
|
2149
|
+
|
2150
|
+
<div class="method_details ">
|
2151
|
+
<p class="signature " id="unfloat-instance_method">
|
2152
|
+
|
2153
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>unfloat</strong>(view = View.curr)
|
2154
|
+
|
2155
|
+
|
2156
|
+
|
2157
|
+
<span class="aliases">Also known as:
|
2158
|
+
<span class="names"><span id='manage-instance_method'>manage</span></span>
|
2159
|
+
</span>
|
2160
|
+
|
2161
|
+
</p><div class="docstring">
|
2162
|
+
<div class="discussion">
|
2163
|
+
<p>
|
2164
|
+
Puts this client into the managed area of the given view.
|
2165
|
+
</p>
|
2166
|
+
|
2167
|
+
|
2168
|
+
</div>
|
2169
|
+
</div>
|
2170
|
+
<div class="tags">
|
2171
|
+
|
2172
|
+
</div><table class="source_code">
|
2173
|
+
<tr>
|
2174
|
+
<td>
|
2175
|
+
<pre class="lines">
|
2176
|
+
|
2177
|
+
|
2178
|
+
268
|
2179
|
+
269
|
2180
|
+
270</pre>
|
2181
|
+
</td>
|
2182
|
+
<td>
|
2183
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 268</span>
|
2184
|
+
|
2185
|
+
<span class='kw'>def</span> <span class='id unfloat'>unfloat</span> <span class='id view'>view</span> <span class='op'>=</span> <span class='const'>View</span><span class='period'>.</span><span class='id curr'>curr</span>
|
2186
|
+
<span class='id send'>send</span> <span class='symbol'>:toggle</span><span class='comma'>,</span> <span class='id view'>view</span> <span class='kw'>if</span> <span class='id float?'>float?</span> <span class='id view'>view</span>
|
2187
|
+
<span class='kw'>end</span></pre>
|
2188
|
+
</td>
|
2189
|
+
</tr>
|
2190
|
+
</table>
|
2191
|
+
</div>
|
2192
|
+
|
2193
|
+
<div class="method_details ">
|
2194
|
+
<p class="signature " id="unfullscreen-instance_method">
|
2195
|
+
|
2196
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>unfullscreen</strong>
|
2197
|
+
|
2198
|
+
|
2199
|
+
|
2200
|
+
</p><div class="docstring">
|
2201
|
+
<div class="discussion">
|
2202
|
+
<p>
|
2203
|
+
Restores this client back to its original size on the current view.
|
2204
|
+
</p>
|
2205
|
+
|
2206
|
+
|
2207
|
+
</div>
|
2208
|
+
</div>
|
2209
|
+
<div class="tags">
|
2210
|
+
|
2211
|
+
</div><table class="source_code">
|
2212
|
+
<tr>
|
2213
|
+
<td>
|
2214
|
+
<pre class="lines">
|
2215
|
+
|
2216
|
+
|
2217
|
+
197
|
2218
|
+
198
|
2219
|
+
199</pre>
|
2220
|
+
</td>
|
2221
|
+
<td>
|
2222
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 197</span>
|
2223
|
+
|
2224
|
+
<span class='kw'>def</span> <span class='id unfullscreen'>unfullscreen</span>
|
2225
|
+
<span class='id ctl'>ctl</span><span class='period'>.</span><span class='id write'>write</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Fullscreen off</span><span class='tstring_end'>'</span></span>
|
2226
|
+
<span class='kw'>end</span></pre>
|
2227
|
+
</td>
|
2228
|
+
</tr>
|
2229
|
+
</table>
|
2230
|
+
</div>
|
2231
|
+
|
2232
|
+
<div class="method_details ">
|
2233
|
+
<p class="signature " id="ungroup-instance_method">
|
2234
|
+
|
2235
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>ungroup</strong>
|
2236
|
+
|
2237
|
+
|
2238
|
+
|
2239
|
+
</p><div class="docstring">
|
2240
|
+
<div class="discussion">
|
2241
|
+
<p>
|
2242
|
+
Removes this client to the current grouping.
|
2243
|
+
</p>
|
2244
|
+
|
2245
|
+
|
2246
|
+
</div>
|
2247
|
+
</div>
|
2248
|
+
<div class="tags">
|
2249
|
+
|
2250
|
+
</div><table class="source_code">
|
2251
|
+
<tr>
|
2252
|
+
<td>
|
2253
|
+
<pre class="lines">
|
2254
|
+
|
2255
|
+
|
2256
|
+
418
|
2257
|
+
419
|
2258
|
+
420</pre>
|
2259
|
+
</td>
|
2260
|
+
<td>
|
2261
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 418</span>
|
2262
|
+
|
2263
|
+
<span class='kw'>def</span> <span class='id ungroup'>ungroup</span>
|
2264
|
+
<span class='id untag'>untag</span> <span class='const'>CLIENT_GROUPING_TAG</span>
|
2265
|
+
<span class='kw'>end</span></pre>
|
2266
|
+
</td>
|
2267
|
+
</tr>
|
2268
|
+
</table>
|
2269
|
+
</div>
|
2270
|
+
|
2271
|
+
<div class="method_details ">
|
2272
|
+
<p class="signature " id="unstick-instance_method">
|
2273
|
+
|
2274
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>unstick</strong>
|
2275
|
+
|
2276
|
+
|
2277
|
+
|
2278
|
+
</p><div class="docstring">
|
2279
|
+
<div class="discussion">
|
2280
|
+
<p>
|
2281
|
+
Makes this client unsticky (does not appear in all views).
|
2282
|
+
</p>
|
2283
|
+
|
2284
|
+
|
2285
|
+
</div>
|
2286
|
+
</div>
|
2287
|
+
<div class="tags">
|
2288
|
+
|
2289
|
+
</div><table class="source_code">
|
2290
|
+
<tr>
|
2291
|
+
<td>
|
2292
|
+
<pre class="lines">
|
2293
|
+
|
2294
|
+
|
2295
|
+
236
|
2296
|
+
237
|
2297
|
+
238</pre>
|
2298
|
+
</td>
|
2299
|
+
<td>
|
2300
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 236</span>
|
2301
|
+
|
2302
|
+
<span class='kw'>def</span> <span class='id unstick'>unstick</span>
|
2303
|
+
<span class='id untag'>untag</span> <span class='const'>CLIENT_STICKY_TAG</span>
|
2304
|
+
<span class='kw'>end</span></pre>
|
2305
|
+
</td>
|
2306
|
+
</tr>
|
2307
|
+
</table>
|
2308
|
+
</div>
|
2309
|
+
|
2310
|
+
<div class="method_details ">
|
2311
|
+
<p class="signature " id="untag-instance_method">
|
2312
|
+
|
2313
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>untag</strong>(*tags)
|
2314
|
+
|
2315
|
+
|
2316
|
+
|
2317
|
+
</p><div class="docstring">
|
2318
|
+
<div class="discussion">
|
2319
|
+
<p>
|
2320
|
+
Removes the given tags from this client.
|
2321
|
+
</p>
|
2322
|
+
|
2323
|
+
|
2324
|
+
</div>
|
2325
|
+
</div>
|
2326
|
+
<div class="tags">
|
2327
|
+
|
2328
|
+
</div><table class="source_code">
|
2329
|
+
<tr>
|
2330
|
+
<td>
|
2331
|
+
<pre class="lines">
|
2332
|
+
|
2333
|
+
|
2334
|
+
387
|
2335
|
+
388
|
2336
|
+
389
|
2337
|
+
390
|
2338
|
+
391
|
2339
|
+
392
|
2340
|
+
393</pre>
|
2341
|
+
</td>
|
2342
|
+
<td>
|
2343
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 387</span>
|
2344
|
+
|
2345
|
+
<span class='kw'>def</span> <span class='id untag'>untag</span> <span class='op'>*</span><span class='id tags'>tags</span>
|
2346
|
+
<span class='id with_tags'>with_tags</span> <span class='kw'>do</span>
|
2347
|
+
<span class='id tags'>tags</span><span class='period'>.</span><span class='id flatten'>flatten</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id tag'>tag</span><span class='op'>|</span>
|
2348
|
+
<span class='id delete'>delete</span> <span class='id tag'>tag</span><span class='period'>.</span><span class='id to_s'>to_s</span>
|
2349
|
+
<span class='kw'>end</span>
|
2350
|
+
<span class='kw'>end</span>
|
2351
|
+
<span class='kw'>end</span></pre>
|
2352
|
+
</td>
|
2353
|
+
</tr>
|
2354
|
+
</table>
|
2355
|
+
</div>
|
2356
|
+
|
2357
|
+
<div class="method_details ">
|
2358
|
+
<p class="signature " id="views-instance_method">
|
2359
|
+
|
2360
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>views</strong>
|
2361
|
+
|
2362
|
+
|
2363
|
+
|
2364
|
+
</p><div class="docstring">
|
2365
|
+
<div class="discussion">
|
2366
|
+
<p>
|
2367
|
+
Returns the views that contain this client.
|
2368
|
+
</p>
|
2369
|
+
|
2370
|
+
|
2371
|
+
</div>
|
2372
|
+
</div>
|
2373
|
+
<div class="tags">
|
2374
|
+
|
2375
|
+
</div><table class="source_code">
|
2376
|
+
<tr>
|
2377
|
+
<td>
|
2378
|
+
<pre class="lines">
|
2379
|
+
|
2380
|
+
|
2381
|
+
305
|
2382
|
+
306
|
2383
|
+
307</pre>
|
2384
|
+
</td>
|
2385
|
+
<td>
|
2386
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 305</span>
|
2387
|
+
|
2388
|
+
<span class='kw'>def</span> <span class='id views'>views</span>
|
2389
|
+
<span class='id tags'>tags</span><span class='period'>.</span><span class='id map!'>map!</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id t'>t</span><span class='op'>|</span> <span class='const'>View</span><span class='period'>.</span><span class='id new'>new</span> <span class='id t'>t</span> <span class='rbrace'>}</span>
|
2390
|
+
<span class='kw'>end</span></pre>
|
2391
|
+
</td>
|
2392
|
+
</tr>
|
2393
|
+
</table>
|
2394
|
+
</div>
|
2395
|
+
|
2396
|
+
<div class="method_details ">
|
2397
|
+
<p class="signature " id="with_tags-instance_method">
|
2398
|
+
|
2399
|
+
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>with_tags</strong>(&block)
|
2400
|
+
|
2401
|
+
|
2402
|
+
|
2403
|
+
</p><div class="docstring">
|
2404
|
+
<div class="discussion">
|
2405
|
+
<p>
|
2406
|
+
Evaluates the given block within the context of this client’s list of
|
2407
|
+
tags.
|
2408
|
+
</p>
|
2409
|
+
|
2410
|
+
|
2411
|
+
</div>
|
2412
|
+
</div>
|
2413
|
+
<div class="tags">
|
2414
|
+
|
2415
|
+
</div><table class="source_code">
|
2416
|
+
<tr>
|
2417
|
+
<td>
|
2418
|
+
<pre class="lines">
|
2419
|
+
|
2420
|
+
|
2421
|
+
369
|
2422
|
+
370
|
2423
|
+
371
|
2424
|
+
372
|
2425
|
+
373</pre>
|
2426
|
+
</td>
|
2427
|
+
<td>
|
2428
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 369</span>
|
2429
|
+
|
2430
|
+
<span class='kw'>def</span> <span class='id with_tags'>with_tags</span> <span class='op'>&</span><span class='id block'>block</span>
|
2431
|
+
<span class='id arr'>arr</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id tags'>tags</span>
|
2432
|
+
<span class='id arr'>arr</span><span class='period'>.</span><span class='id instance_eval'>instance_eval</span><span class='lparen'>(</span><span class='op'>&</span><span class='id block'>block</span><span class='rparen'>)</span>
|
2433
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id tags'>tags</span> <span class='op'>=</span> <span class='id arr'>arr</span>
|
2434
|
+
<span class='kw'>end</span></pre>
|
2435
|
+
</td>
|
2436
|
+
</tr>
|
2437
|
+
</table>
|
2438
|
+
</div>
|
2439
|
+
|
2440
|
+
</div>
|
2441
|
+
|
2442
|
+
</div>
|
2443
|
+
|
2444
|
+
<div id="footer">
|
2445
|
+
Generated on Mon Mar 22 22:23:54 2010 by
|
2446
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
2447
|
+
0.5.4 (ruby-1.9.1).
|
2448
|
+
</div>
|
2449
|
+
|
2450
|
+
</body>
|
2451
|
+
</html>
|