rumai 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +1 -0
- data/doc/api/classes/Integer.html +5 -5
- data/doc/api/classes/Rumai.html +178 -215
- data/doc/api/classes/Rumai/Area.html +194 -126
- data/doc/api/classes/Rumai/Chain.html +21 -21
- data/doc/api/classes/Rumai/Client.html +506 -142
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +55 -55
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +30 -30
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +5 -5
- data/doc/api/classes/Rumai/IXP/Fcall.html +25 -25
- data/doc/api/classes/Rumai/IXP/Stat.html +5 -5
- data/doc/api/classes/Rumai/IXP/Stream.html +5 -5
- data/doc/api/classes/Rumai/IXP/Struct.html +20 -20
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +30 -30
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +10 -10
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +5 -5
- data/doc/api/classes/Rumai/IXP/Terror.html +5 -5
- data/doc/api/classes/Rumai/Node.html +45 -45
- data/doc/api/classes/Rumai/View.html +226 -125
- data/doc/api/classes/Rumai/WidgetImpl.html +1 -1
- data/doc/api/classes/String.html +10 -10
- data/doc/api/classes/Time.html +10 -10
- data/doc/api/created.rid +1 -1
- data/doc/api/files/CREDITS.html +4 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/files/lib/rumai_rb.html +1 -1
- data/doc/api/panel/search_index.js +1 -1
- data/doc/history.erb +63 -0
- data/doc/index.erb +2 -2
- data/doc/index.xhtml +215 -67
- data/doc/intro.erb +4 -1
- data/doc/usage.erb +1 -1
- data/lib/rumai.rb +2 -2
- data/lib/rumai/wm.rb +200 -130
- metadata +2 -2
@@ -50,7 +50,7 @@ NOTE: Inheritors must override the ‘chain’ method.
|
|
50
50
|
<dd>
|
51
51
|
<ul>
|
52
52
|
|
53
|
-
<li><a href="#
|
53
|
+
<li><a href="#M000010">chain</a></li>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</dd>
|
@@ -59,7 +59,7 @@ NOTE: Inheritors must override the ‘chain’ method.
|
|
59
59
|
<dd>
|
60
60
|
<ul>
|
61
61
|
|
62
|
-
<li><a href="#
|
62
|
+
<li><a href="#M000011">next</a></li>
|
63
63
|
|
64
64
|
</ul>
|
65
65
|
</dd>
|
@@ -68,7 +68,7 @@ NOTE: Inheritors must override the ‘chain’ method.
|
|
68
68
|
<dd>
|
69
69
|
<ul>
|
70
70
|
|
71
|
-
<li><a href="#
|
71
|
+
<li><a href="#M000014">prev</a></li>
|
72
72
|
|
73
73
|
</ul>
|
74
74
|
</dd>
|
@@ -90,9 +90,9 @@ NOTE: Inheritors must override the ‘chain’ method.
|
|
90
90
|
<div class="sectiontitle">Instance Public methods</div>
|
91
91
|
|
92
92
|
<div class="method">
|
93
|
-
<div class="title" id="
|
93
|
+
<div class="title" id="M000010">
|
94
94
|
|
95
|
-
<a name="
|
95
|
+
<a name="M000010"></a><b>chain</b>()
|
96
96
|
|
97
97
|
</div>
|
98
98
|
|
@@ -108,13 +108,13 @@ Returns an array of objects related to this one.
|
|
108
108
|
|
109
109
|
<div class="sourcecode">
|
110
110
|
<p class="source-link">
|
111
|
-
Source: <a href="javascript:toggleSource('
|
111
|
+
Source: <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show</a>
|
112
112
|
|
113
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
113
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L33" target="_blank" class="github_url">on GitHub</a>
|
114
114
|
|
115
115
|
</p>
|
116
|
-
<div id="
|
117
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
116
|
+
<div id="M000010_source" class="dyn-source">
|
117
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 33</span>
|
118
118
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
119
119
|
[<span class="ruby-keyword kw">self</span>]
|
120
120
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -124,9 +124,9 @@ Returns an array of objects related to this one.
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div class="method">
|
127
|
-
<div class="title" id="
|
127
|
+
<div class="title" id="M000011">
|
128
128
|
|
129
|
-
<a name="
|
129
|
+
<a name="M000011"></a><b>next</b>()
|
130
130
|
|
131
131
|
</div>
|
132
132
|
|
@@ -142,13 +142,13 @@ Returns the object after this one in the chain.
|
|
142
142
|
|
143
143
|
<div class="sourcecode">
|
144
144
|
<p class="source-link">
|
145
|
-
Source: <a href="javascript:toggleSource('
|
145
|
+
Source: <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show</a>
|
146
146
|
|
147
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
147
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L40" target="_blank" class="github_url">on GitHub</a>
|
148
148
|
|
149
149
|
</p>
|
150
|
-
<div id="
|
151
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
150
|
+
<div id="M000011_source" class="dyn-source">
|
151
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 40</span>
|
152
152
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">next</span>
|
153
153
|
<span class="ruby-identifier">sibling</span>(<span class="ruby-value">+1</span>)
|
154
154
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -158,9 +158,9 @@ Returns the object after this one in the chain.
|
|
158
158
|
</div>
|
159
159
|
|
160
160
|
<div class="method">
|
161
|
-
<div class="title" id="
|
161
|
+
<div class="title" id="M000014">
|
162
162
|
|
163
|
-
<a name="
|
163
|
+
<a name="M000014"></a><b>prev</b>()
|
164
164
|
|
165
165
|
</div>
|
166
166
|
|
@@ -176,13 +176,13 @@ Returns the object before this one in the chain.
|
|
176
176
|
|
177
177
|
<div class="sourcecode">
|
178
178
|
<p class="source-link">
|
179
|
-
Source: <a href="javascript:toggleSource('
|
179
|
+
Source: <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show</a>
|
180
180
|
|
181
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
181
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L47" target="_blank" class="github_url">on GitHub</a>
|
182
182
|
|
183
183
|
</p>
|
184
|
-
<div id="
|
185
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
184
|
+
<div id="M000014_source" class="dyn-source">
|
185
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 47</span>
|
186
186
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev</span>
|
187
187
|
<span class="ruby-identifier">sibling</span>(<span class="ruby-value">-1</span>)
|
188
188
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -56,7 +56,7 @@ A graphical program that is running in your current X Windows session.
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000040">area</a></li>
|
60
60
|
|
61
61
|
</ul>
|
62
62
|
</dd>
|
@@ -65,9 +65,9 @@ A graphical program that is running in your current X Windows session.
|
|
65
65
|
<dd>
|
66
66
|
<ul>
|
67
67
|
|
68
|
-
<li><a href="#
|
68
|
+
<li><a href="#M000024">chain</a>,</li>
|
69
69
|
|
70
|
-
<li><a href="#
|
70
|
+
<li><a href="#M000023">curr</a></li>
|
71
71
|
|
72
72
|
</ul>
|
73
73
|
</dd>
|
@@ -76,7 +76,13 @@ A graphical program that is running in your current X Windows session.
|
|
76
76
|
<dd>
|
77
77
|
<ul>
|
78
78
|
|
79
|
-
<li><a href="#
|
79
|
+
<li><a href="#M000025">focus</a>,</li>
|
80
|
+
|
81
|
+
<li><a href="#M000031">fullscreen</a>,</li>
|
82
|
+
|
83
|
+
<li><a href="#M000033">fullscreen!</a>,</li>
|
84
|
+
|
85
|
+
<li><a href="#M000034">fullscreen?</a></li>
|
80
86
|
|
81
87
|
</ul>
|
82
88
|
</dd>
|
@@ -85,9 +91,11 @@ A graphical program that is running in your current X Windows session.
|
|
85
91
|
<dd>
|
86
92
|
<ul>
|
87
93
|
|
88
|
-
<li><a href="#
|
94
|
+
<li><a href="#M000050">group</a>,</li>
|
89
95
|
|
90
|
-
<li><a href="#
|
96
|
+
<li><a href="#M000054">group!</a>,</li>
|
97
|
+
|
98
|
+
<li><a href="#M000049">group?</a></li>
|
91
99
|
|
92
100
|
</ul>
|
93
101
|
</dd>
|
@@ -96,7 +104,16 @@ A graphical program that is running in your current X Windows session.
|
|
96
104
|
<dd>
|
97
105
|
<ul>
|
98
106
|
|
99
|
-
<li><a href="#
|
107
|
+
<li><a href="#M000029">kill</a></li>
|
108
|
+
|
109
|
+
</ul>
|
110
|
+
</dd>
|
111
|
+
|
112
|
+
<dt>M</dt>
|
113
|
+
<dd>
|
114
|
+
<ul>
|
115
|
+
|
116
|
+
<li><a href="#M000027">move</a></li>
|
100
117
|
|
101
118
|
</ul>
|
102
119
|
</dd>
|
@@ -105,7 +122,7 @@ A graphical program that is running in your current X Windows session.
|
|
105
122
|
<dd>
|
106
123
|
<ul>
|
107
124
|
|
108
|
-
<li><a href="#
|
125
|
+
<li><a href="#M000021">new</a></li>
|
109
126
|
|
110
127
|
</ul>
|
111
128
|
</dd>
|
@@ -114,9 +131,17 @@ A graphical program that is running in your current X Windows session.
|
|
114
131
|
<dd>
|
115
132
|
<ul>
|
116
133
|
|
117
|
-
<li><a href="#
|
134
|
+
<li><a href="#M000026">send</a>,</li>
|
135
|
+
|
136
|
+
<li><a href="#M000030">slay</a>,</li>
|
118
137
|
|
119
|
-
<li><a href="#
|
138
|
+
<li><a href="#M000037">stick</a>,</li>
|
139
|
+
|
140
|
+
<li><a href="#M000039">stick!</a>,</li>
|
141
|
+
|
142
|
+
<li><a href="#M000036">stick?</a>,</li>
|
143
|
+
|
144
|
+
<li><a href="#M000028">swap</a></li>
|
120
145
|
|
121
146
|
</ul>
|
122
147
|
</dd>
|
@@ -125,13 +150,11 @@ A graphical program that is running in your current X Windows session.
|
|
125
150
|
<dd>
|
126
151
|
<ul>
|
127
152
|
|
128
|
-
<li><a href="#
|
153
|
+
<li><a href="#M000046">tag</a>,</li>
|
129
154
|
|
130
|
-
<li><a href="#
|
155
|
+
<li><a href="#M000042">tags</a>,</li>
|
131
156
|
|
132
|
-
<li><a href="#
|
133
|
-
|
134
|
-
<li><a href="#M000050">toggle_group</a></li>
|
157
|
+
<li><a href="#M000043">tags=</a></li>
|
135
158
|
|
136
159
|
</ul>
|
137
160
|
</dd>
|
@@ -140,9 +163,13 @@ A graphical program that is running in your current X Windows session.
|
|
140
163
|
<dd>
|
141
164
|
<ul>
|
142
165
|
|
143
|
-
<li><a href="#
|
166
|
+
<li><a href="#M000032">unfullscreen</a>,</li>
|
167
|
+
|
168
|
+
<li><a href="#M000051">ungroup</a>,</li>
|
169
|
+
|
170
|
+
<li><a href="#M000038">unstick</a>,</li>
|
144
171
|
|
145
|
-
<li><a href="#
|
172
|
+
<li><a href="#M000047">untag</a></li>
|
146
173
|
|
147
174
|
</ul>
|
148
175
|
</dd>
|
@@ -151,7 +178,7 @@ A graphical program that is running in your current X Windows session.
|
|
151
178
|
<dd>
|
152
179
|
<ul>
|
153
180
|
|
154
|
-
<li><a href="#
|
181
|
+
<li><a href="#M000041">views</a></li>
|
155
182
|
|
156
183
|
</ul>
|
157
184
|
</dd>
|
@@ -160,7 +187,7 @@ A graphical program that is running in your current X Windows session.
|
|
160
187
|
<dd>
|
161
188
|
<ul>
|
162
189
|
|
163
|
-
<li><a href="#
|
190
|
+
<li><a href="#M000044">with_tags</a></li>
|
164
191
|
|
165
192
|
</ul>
|
166
193
|
</dd>
|
@@ -214,9 +241,9 @@ tag manipulations
|
|
214
241
|
<div class="sectiontitle">Class Public methods</div>
|
215
242
|
|
216
243
|
<div class="method">
|
217
|
-
<div class="title" id="
|
244
|
+
<div class="title" id="M000023">
|
218
245
|
|
219
|
-
<a name="
|
246
|
+
<a name="M000023"></a><b>curr</b>()
|
220
247
|
|
221
248
|
</div>
|
222
249
|
|
@@ -232,15 +259,15 @@ Returns the currently focused client.
|
|
232
259
|
|
233
260
|
<div class="sourcecode">
|
234
261
|
<p class="source-link">
|
235
|
-
Source: <a href="javascript:toggleSource('
|
262
|
+
Source: <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show</a>
|
236
263
|
|
237
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
264
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L114" target="_blank" class="github_url">on GitHub</a>
|
238
265
|
|
239
266
|
</p>
|
240
|
-
<div id="
|
241
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
267
|
+
<div id="M000023_source" class="dyn-source">
|
268
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 114</span>
|
242
269
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
243
|
-
<span class="ruby-identifier">new</span> <span class="ruby-
|
270
|
+
<span class="ruby-identifier">new</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
|
244
271
|
<span class="ruby-keyword kw">end</span></pre>
|
245
272
|
</div>
|
246
273
|
</div>
|
@@ -248,9 +275,9 @@ Returns the currently focused client.
|
|
248
275
|
</div>
|
249
276
|
|
250
277
|
<div class="method">
|
251
|
-
<div class="title" id="
|
278
|
+
<div class="title" id="M000021">
|
252
279
|
|
253
|
-
<a name="
|
280
|
+
<a name="M000021"></a><b>new</b>(client_id)
|
254
281
|
|
255
282
|
</div>
|
256
283
|
|
@@ -259,13 +286,13 @@ Returns the currently focused client.
|
|
259
286
|
|
260
287
|
<div class="sourcecode">
|
261
288
|
<p class="source-link">
|
262
|
-
Source: <a href="javascript:toggleSource('
|
289
|
+
Source: <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show</a>
|
263
290
|
|
264
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
291
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L107" target="_blank" class="github_url">on GitHub</a>
|
265
292
|
|
266
293
|
</p>
|
267
|
-
<div id="
|
268
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
294
|
+
<div id="M000021_source" class="dyn-source">
|
295
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 107</span>
|
269
296
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">client_id</span>
|
270
297
|
<span class="ruby-keyword kw">super</span> <span class="ruby-identifier">client_id</span>, <span class="ruby-value str">'/client'</span>
|
271
298
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -277,9 +304,9 @@ Returns the currently focused client.
|
|
277
304
|
<div class="sectiontitle">Instance Public methods</div>
|
278
305
|
|
279
306
|
<div class="method">
|
280
|
-
<div class="title" id="
|
307
|
+
<div class="title" id="M000040">
|
281
308
|
|
282
|
-
<a name="
|
309
|
+
<a name="M000040"></a><b>area</b>(view = View.curr)
|
283
310
|
|
284
311
|
</div>
|
285
312
|
|
@@ -295,13 +322,13 @@ Returns the area that contains this client within the given view.
|
|
295
322
|
|
296
323
|
<div class="sourcecode">
|
297
324
|
<p class="source-link">
|
298
|
-
Source: <a href="javascript:toggleSource('
|
325
|
+
Source: <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show</a>
|
299
326
|
|
300
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
327
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L256" target="_blank" class="github_url">on GitHub</a>
|
301
328
|
|
302
329
|
</p>
|
303
|
-
<div id="
|
304
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
330
|
+
<div id="M000040_source" class="dyn-source">
|
331
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 256</span>
|
305
332
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
306
333
|
<span class="ruby-identifier">view</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-keyword kw">self</span>
|
307
334
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -311,9 +338,9 @@ Returns the area that contains this client within the given view.
|
|
311
338
|
</div>
|
312
339
|
|
313
340
|
<div class="method">
|
314
|
-
<div class="title" id="
|
341
|
+
<div class="title" id="M000024">
|
315
342
|
|
316
|
-
<a name="
|
343
|
+
<a name="M000024"></a><b>chain</b>()
|
317
344
|
|
318
345
|
</div>
|
319
346
|
|
@@ -329,13 +356,13 @@ Returns a list of all clients in the current view.
|
|
329
356
|
|
330
357
|
<div class="sourcecode">
|
331
358
|
<p class="source-link">
|
332
|
-
Source: <a href="javascript:toggleSource('
|
359
|
+
Source: <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show</a>
|
333
360
|
|
334
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
361
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L123" target="_blank" class="github_url">on GitHub</a>
|
335
362
|
|
336
363
|
</p>
|
337
|
-
<div id="
|
338
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
364
|
+
<div id="M000024_source" class="dyn-source">
|
365
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 123</span>
|
339
366
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
340
367
|
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">clients</span>
|
341
368
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -345,9 +372,9 @@ Returns a list of all clients in the current view.
|
|
345
372
|
</div>
|
346
373
|
|
347
374
|
<div class="method">
|
348
|
-
<div class="title" id="
|
375
|
+
<div class="title" id="M000025">
|
349
376
|
|
350
|
-
<a name="
|
377
|
+
<a name="M000025"></a><b>focus</b>(view = nil)
|
351
378
|
|
352
379
|
</div>
|
353
380
|
|
@@ -363,16 +390,16 @@ Focuses this client within the given view.
|
|
363
390
|
|
364
391
|
<div class="sourcecode">
|
365
392
|
<p class="source-link">
|
366
|
-
Source: <a href="javascript:toggleSource('
|
393
|
+
Source: <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show</a>
|
367
394
|
|
368
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
395
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L132" target="_blank" class="github_url">on GitHub</a>
|
369
396
|
|
370
397
|
</p>
|
371
|
-
<div id="
|
372
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
398
|
+
<div id="M000025_source" class="dyn-source">
|
399
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 132</span>
|
373
400
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span> <span class="ruby-identifier">view</span> = <span class="ruby-keyword kw">nil</span>
|
374
401
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exist?</span> <span class="ruby-keyword kw">and</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">focus?</span>
|
375
|
-
<span class="ruby-
|
402
|
+
(<span class="ruby-identifier">view</span> <span class="ruby-value">? </span>[<span class="ruby-identifier">view</span>] <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">views</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
376
403
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">a</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">area</span>(<span class="ruby-identifier">v</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">exist?</span>
|
377
404
|
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">focus</span>
|
378
405
|
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">focus</span>
|
@@ -385,9 +412,7 @@ Focuses this client within the given view.
|
|
385
412
|
<span class="ruby-identifier">distance</span> = (<span class="ruby-identifier">src</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">dst</span>).<span class="ruby-identifier">abs</span>
|
386
413
|
<span class="ruby-identifier">direction</span> = <span class="ruby-identifier">src</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">dst</span> <span class="ruby-value">? </span><span class="ruby-operator">:</span><span class="ruby-identifier">down</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">:up</span>
|
387
414
|
|
388
|
-
<span class="ruby-identifier">distance</span>.<span class="ruby-identifier">times</span> <span class="ruby-
|
389
|
-
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"select #{direction}"</span>
|
390
|
-
<span class="ruby-keyword kw">end</span>
|
415
|
+
<span class="ruby-identifier">distance</span>.<span class="ruby-identifier">times</span> { <span class="ruby-identifier">v</span>.<span class="ruby-identifier">move_focus</span> <span class="ruby-identifier">direction</span> }
|
391
416
|
|
392
417
|
<span class="ruby-keyword kw">break</span>
|
393
418
|
<span class="ruby-keyword kw">end</span>
|
@@ -400,9 +425,115 @@ Focuses this client within the given view.
|
|
400
425
|
</div>
|
401
426
|
|
402
427
|
<div class="method">
|
403
|
-
<div class="title" id="
|
428
|
+
<div class="title" id="M000031">
|
404
429
|
|
405
|
-
<a name="
|
430
|
+
<a name="M000031"></a><b>fullscreen</b>()
|
431
|
+
|
432
|
+
</div>
|
433
|
+
|
434
|
+
<div class="description">
|
435
|
+
<p>
|
436
|
+
Maximizes this client to occupy the entire screen on the current view.
|
437
|
+
</p>
|
438
|
+
|
439
|
+
</div>
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
<div class="sourcecode">
|
445
|
+
<p class="source-link">
|
446
|
+
Source: <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show</a>
|
447
|
+
|
448
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L190" target="_blank" class="github_url">on GitHub</a>
|
449
|
+
|
450
|
+
</p>
|
451
|
+
<div id="M000031_source" class="dyn-source">
|
452
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 190</span>
|
453
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen</span>
|
454
|
+
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen on'</span>
|
455
|
+
<span class="ruby-keyword kw">end</span></pre>
|
456
|
+
</div>
|
457
|
+
</div>
|
458
|
+
|
459
|
+
</div>
|
460
|
+
|
461
|
+
<div class="method">
|
462
|
+
<div class="title" id="M000033">
|
463
|
+
|
464
|
+
<a name="M000033"></a><b>fullscreen!</b>()
|
465
|
+
|
466
|
+
</div>
|
467
|
+
|
468
|
+
<div class="description">
|
469
|
+
<p>
|
470
|
+
Toggles the fullscreen status of this client on the current view.
|
471
|
+
</p>
|
472
|
+
|
473
|
+
</div>
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
<div class="sourcecode">
|
479
|
+
<p class="source-link">
|
480
|
+
Source: <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show</a>
|
481
|
+
|
482
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L204" target="_blank" class="github_url">on GitHub</a>
|
483
|
+
|
484
|
+
</p>
|
485
|
+
<div id="M000033_source" class="dyn-source">
|
486
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 204</span>
|
487
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen!</span>
|
488
|
+
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen toggle'</span>
|
489
|
+
<span class="ruby-keyword kw">end</span></pre>
|
490
|
+
</div>
|
491
|
+
</div>
|
492
|
+
|
493
|
+
</div>
|
494
|
+
|
495
|
+
<div class="method">
|
496
|
+
<div class="title" id="M000034">
|
497
|
+
|
498
|
+
<a name="M000034"></a><b>fullscreen?</b>()
|
499
|
+
|
500
|
+
</div>
|
501
|
+
|
502
|
+
<div class="description">
|
503
|
+
<p>
|
504
|
+
Checks if this client is currently fullscreen on the current view.
|
505
|
+
</p>
|
506
|
+
|
507
|
+
</div>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
<div class="sourcecode">
|
513
|
+
<p class="source-link">
|
514
|
+
Source: <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show</a>
|
515
|
+
|
516
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L211" target="_blank" class="github_url">on GitHub</a>
|
517
|
+
|
518
|
+
</p>
|
519
|
+
<div id="M000034_source" class="dyn-source">
|
520
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 211</span>
|
521
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen?</span>
|
522
|
+
<span class="ruby-comment cmt">#</span>
|
523
|
+
<span class="ruby-comment cmt"># If the client's dimensions match those of the</span>
|
524
|
+
<span class="ruby-comment cmt"># floating area, then we know it is fullscreen.</span>
|
525
|
+
<span class="ruby-comment cmt">#</span>
|
526
|
+
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">manifest</span> <span class="ruby-operator">=~</span> <span class="ruby-node">/^# #{FLOATING_AREA_ID} (\d+) (\d+)\n.*^#{FLOATING_AREA_ID} #{@id} \d+ \d+ \1 \2 /</span><span class="ruby-identifier">m</span>
|
527
|
+
<span class="ruby-keyword kw">end</span></pre>
|
528
|
+
</div>
|
529
|
+
</div>
|
530
|
+
|
531
|
+
</div>
|
532
|
+
|
533
|
+
<div class="method">
|
534
|
+
<div class="title" id="M000050">
|
535
|
+
|
536
|
+
<a name="M000050"></a><b>group</b>()
|
406
537
|
|
407
538
|
</div>
|
408
539
|
|
@@ -418,16 +549,16 @@ Adds this client to the current grouping.
|
|
418
549
|
|
419
550
|
<div class="sourcecode">
|
420
551
|
<p class="source-link">
|
421
|
-
Source: <a href="javascript:toggleSource('
|
552
|
+
Source: <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show</a>
|
422
553
|
|
423
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
554
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L328" target="_blank" class="github_url">on GitHub</a>
|
424
555
|
|
425
556
|
</p>
|
426
|
-
<div id="
|
427
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
557
|
+
<div id="M000050_source" class="dyn-source">
|
558
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 328</span>
|
428
559
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group</span>
|
429
560
|
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
430
|
-
<span class="ruby-identifier">push</span> <span class="ruby-constant">
|
561
|
+
<span class="ruby-identifier">push</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
431
562
|
<span class="ruby-keyword kw">end</span>
|
432
563
|
<span class="ruby-keyword kw">end</span></pre>
|
433
564
|
</div>
|
@@ -436,9 +567,47 @@ Adds this client to the current grouping.
|
|
436
567
|
</div>
|
437
568
|
|
438
569
|
<div class="method">
|
439
|
-
<div class="title" id="
|
570
|
+
<div class="title" id="M000054">
|
571
|
+
|
572
|
+
<a name="M000054"></a><b>group!</b>()
|
573
|
+
|
574
|
+
</div>
|
575
|
+
|
576
|
+
<div class="description">
|
577
|
+
<p>
|
578
|
+
Toggles the presence of this client in the current grouping.
|
579
|
+
</p>
|
580
|
+
|
581
|
+
</div>
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
<div class="sourcecode">
|
587
|
+
<p class="source-link">
|
588
|
+
Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
|
589
|
+
|
590
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L344" target="_blank" class="github_url">on GitHub</a>
|
591
|
+
|
592
|
+
</p>
|
593
|
+
<div id="M000054_source" class="dyn-source">
|
594
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 344</span>
|
595
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group!</span>
|
596
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">group?</span>
|
597
|
+
<span class="ruby-identifier">ungroup</span>
|
598
|
+
<span class="ruby-keyword kw">else</span>
|
599
|
+
<span class="ruby-identifier">group</span>
|
600
|
+
<span class="ruby-keyword kw">end</span>
|
601
|
+
<span class="ruby-keyword kw">end</span></pre>
|
602
|
+
</div>
|
603
|
+
</div>
|
604
|
+
|
605
|
+
</div>
|
606
|
+
|
607
|
+
<div class="method">
|
608
|
+
<div class="title" id="M000049">
|
440
609
|
|
441
|
-
<a name="
|
610
|
+
<a name="M000049"></a><b>group?</b>()
|
442
611
|
|
443
612
|
</div>
|
444
613
|
|
@@ -454,15 +623,15 @@ Checks if this client is included in the current grouping.
|
|
454
623
|
|
455
624
|
<div class="sourcecode">
|
456
625
|
<p class="source-link">
|
457
|
-
Source: <a href="javascript:toggleSource('
|
626
|
+
Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
|
458
627
|
|
459
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
628
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L321" target="_blank" class="github_url">on GitHub</a>
|
460
629
|
|
461
630
|
</p>
|
462
|
-
<div id="
|
463
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
631
|
+
<div id="M000049_source" class="dyn-source">
|
632
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 321</span>
|
464
633
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group?</span>
|
465
|
-
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">
|
634
|
+
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
466
635
|
<span class="ruby-keyword kw">end</span></pre>
|
467
636
|
</div>
|
468
637
|
</div>
|
@@ -470,9 +639,9 @@ Checks if this client is included in the current grouping.
|
|
470
639
|
</div>
|
471
640
|
|
472
641
|
<div class="method">
|
473
|
-
<div class="title" id="
|
642
|
+
<div class="title" id="M000029">
|
474
643
|
|
475
|
-
<a name="
|
644
|
+
<a name="M000029"></a><b>kill</b>()
|
476
645
|
|
477
646
|
</div>
|
478
647
|
|
@@ -488,13 +657,13 @@ Terminates this client nicely (requests this window to be closed).
|
|
488
657
|
|
489
658
|
<div class="sourcecode">
|
490
659
|
<p class="source-link">
|
491
|
-
Source: <a href="javascript:toggleSource('
|
660
|
+
Source: <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show</a>
|
492
661
|
|
493
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
662
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L176" target="_blank" class="github_url">on GitHub</a>
|
494
663
|
|
495
664
|
</p>
|
496
|
-
<div id="
|
497
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
665
|
+
<div id="M000029_source" class="dyn-source">
|
666
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 176</span>
|
498
667
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kill</span>
|
499
668
|
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">:kill</span>
|
500
669
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -504,9 +673,27 @@ Terminates this client nicely (requests this window to be closed).
|
|
504
673
|
</div>
|
505
674
|
|
506
675
|
<div class="method">
|
507
|
-
<div class="title" id="
|
676
|
+
<div class="title" id="M000027">
|
508
677
|
|
509
|
-
<a name="
|
678
|
+
<a name="M000027"></a><b>move</b>(area_or_id, view = View.curr)
|
679
|
+
|
680
|
+
</div>
|
681
|
+
|
682
|
+
<div class="description">
|
683
|
+
<p>
|
684
|
+
Alias for <a href="Client.html#M000026">send</a>
|
685
|
+
</p>
|
686
|
+
|
687
|
+
</div>
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
</div>
|
692
|
+
|
693
|
+
<div class="method">
|
694
|
+
<div class="title" id="M000026">
|
695
|
+
|
696
|
+
<a name="M000026"></a><b>send</b>(area_or_id, view = View.curr)
|
510
697
|
|
511
698
|
</div>
|
512
699
|
|
@@ -518,17 +705,24 @@ Sends this client to the given destination within the given view.
|
|
518
705
|
</div>
|
519
706
|
|
520
707
|
|
708
|
+
<div class="aka">
|
709
|
+
This method is also aliased as
|
710
|
+
|
711
|
+
<a href="Client.html#M000027">move</a>
|
712
|
+
|
713
|
+
</div>
|
714
|
+
|
521
715
|
|
522
716
|
|
523
717
|
<div class="sourcecode">
|
524
718
|
<p class="source-link">
|
525
|
-
Source: <a href="javascript:toggleSource('
|
719
|
+
Source: <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show</a>
|
526
720
|
|
527
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
721
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L158" target="_blank" class="github_url">on GitHub</a>
|
528
722
|
|
529
723
|
</p>
|
530
|
-
<div id="
|
531
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
724
|
+
<div id="M000026_source" class="dyn-source">
|
725
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 158</span>
|
532
726
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send</span> <span class="ruby-identifier">area_or_id</span>, <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
533
727
|
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">area_or_id</span>)
|
534
728
|
<span class="ruby-identifier">view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"send #{@id} #{dst}"</span>
|
@@ -539,9 +733,149 @@ Sends this client to the given destination within the given view.
|
|
539
733
|
</div>
|
540
734
|
|
541
735
|
<div class="method">
|
542
|
-
<div class="title" id="
|
736
|
+
<div class="title" id="M000030">
|
737
|
+
|
738
|
+
<a name="M000030"></a><b>slay</b>()
|
739
|
+
|
740
|
+
</div>
|
741
|
+
|
742
|
+
<div class="description">
|
743
|
+
<p>
|
744
|
+
Terminates this client forcefully.
|
745
|
+
</p>
|
746
|
+
|
747
|
+
</div>
|
748
|
+
|
749
|
+
|
750
|
+
|
751
|
+
|
752
|
+
<div class="sourcecode">
|
753
|
+
<p class="source-link">
|
754
|
+
Source: <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show</a>
|
755
|
+
|
756
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L183" target="_blank" class="github_url">on GitHub</a>
|
757
|
+
|
758
|
+
</p>
|
759
|
+
<div id="M000030_source" class="dyn-source">
|
760
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 183</span>
|
761
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">slay</span>
|
762
|
+
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">:slay</span>
|
763
|
+
<span class="ruby-keyword kw">end</span></pre>
|
764
|
+
</div>
|
765
|
+
</div>
|
766
|
+
|
767
|
+
</div>
|
768
|
+
|
769
|
+
<div class="method">
|
770
|
+
<div class="title" id="M000037">
|
543
771
|
|
544
|
-
<a name="
|
772
|
+
<a name="M000037"></a><b>stick</b>()
|
773
|
+
|
774
|
+
</div>
|
775
|
+
|
776
|
+
<div class="description">
|
777
|
+
<p>
|
778
|
+
Makes this client sticky (appears in all views).
|
779
|
+
</p>
|
780
|
+
|
781
|
+
</div>
|
782
|
+
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
<div class="sourcecode">
|
787
|
+
<p class="source-link">
|
788
|
+
Source: <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show</a>
|
789
|
+
|
790
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L229" target="_blank" class="github_url">on GitHub</a>
|
791
|
+
|
792
|
+
</p>
|
793
|
+
<div id="M000037_source" class="dyn-source">
|
794
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 229</span>
|
795
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick</span>
|
796
|
+
<span class="ruby-identifier">tag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
797
|
+
<span class="ruby-keyword kw">end</span></pre>
|
798
|
+
</div>
|
799
|
+
</div>
|
800
|
+
|
801
|
+
</div>
|
802
|
+
|
803
|
+
<div class="method">
|
804
|
+
<div class="title" id="M000039">
|
805
|
+
|
806
|
+
<a name="M000039"></a><b>stick!</b>()
|
807
|
+
|
808
|
+
</div>
|
809
|
+
|
810
|
+
<div class="description">
|
811
|
+
<p>
|
812
|
+
Toggles the stickyness of this client.
|
813
|
+
</p>
|
814
|
+
|
815
|
+
</div>
|
816
|
+
|
817
|
+
|
818
|
+
|
819
|
+
|
820
|
+
<div class="sourcecode">
|
821
|
+
<p class="source-link">
|
822
|
+
Source: <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show</a>
|
823
|
+
|
824
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L243" target="_blank" class="github_url">on GitHub</a>
|
825
|
+
|
826
|
+
</p>
|
827
|
+
<div id="M000039_source" class="dyn-source">
|
828
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 243</span>
|
829
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick!</span>
|
830
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">stick?</span>
|
831
|
+
<span class="ruby-identifier">unstick</span>
|
832
|
+
<span class="ruby-keyword kw">else</span>
|
833
|
+
<span class="ruby-identifier">stick</span>
|
834
|
+
<span class="ruby-keyword kw">end</span>
|
835
|
+
<span class="ruby-keyword kw">end</span></pre>
|
836
|
+
</div>
|
837
|
+
</div>
|
838
|
+
|
839
|
+
</div>
|
840
|
+
|
841
|
+
<div class="method">
|
842
|
+
<div class="title" id="M000036">
|
843
|
+
|
844
|
+
<a name="M000036"></a><b>stick?</b>()
|
845
|
+
|
846
|
+
</div>
|
847
|
+
|
848
|
+
<div class="description">
|
849
|
+
<p>
|
850
|
+
Checks if this client is sticky (appears in all views).
|
851
|
+
</p>
|
852
|
+
|
853
|
+
</div>
|
854
|
+
|
855
|
+
|
856
|
+
|
857
|
+
|
858
|
+
<div class="sourcecode">
|
859
|
+
<p class="source-link">
|
860
|
+
Source: <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show</a>
|
861
|
+
|
862
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L222" target="_blank" class="github_url">on GitHub</a>
|
863
|
+
|
864
|
+
</p>
|
865
|
+
<div id="M000036_source" class="dyn-source">
|
866
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 222</span>
|
867
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick?</span>
|
868
|
+
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
869
|
+
<span class="ruby-keyword kw">end</span></pre>
|
870
|
+
</div>
|
871
|
+
</div>
|
872
|
+
|
873
|
+
</div>
|
874
|
+
|
875
|
+
<div class="method">
|
876
|
+
<div class="title" id="M000028">
|
877
|
+
|
878
|
+
<a name="M000028"></a><b>swap</b>(area_or_id, view = View.curr)
|
545
879
|
|
546
880
|
</div>
|
547
881
|
|
@@ -557,13 +891,13 @@ Swaps this client with the given destination within the given view.
|
|
557
891
|
|
558
892
|
<div class="sourcecode">
|
559
893
|
<p class="source-link">
|
560
|
-
Source: <a href="javascript:toggleSource('
|
894
|
+
Source: <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show</a>
|
561
895
|
|
562
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
896
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L168" target="_blank" class="github_url">on GitHub</a>
|
563
897
|
|
564
898
|
</p>
|
565
|
-
<div id="
|
566
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
899
|
+
<div id="M000028_source" class="dyn-source">
|
900
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 168</span>
|
567
901
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">swap</span> <span class="ruby-identifier">area_or_id</span>, <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
568
902
|
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">area_or_id</span>)
|
569
903
|
<span class="ruby-identifier">view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"swap #{@id} #{dst}"</span>
|
@@ -574,9 +908,9 @@ Swaps this client with the given destination within the given view.
|
|
574
908
|
</div>
|
575
909
|
|
576
910
|
<div class="method">
|
577
|
-
<div class="title" id="
|
911
|
+
<div class="title" id="M000046">
|
578
912
|
|
579
|
-
<a name="
|
913
|
+
<a name="M000046"></a><b>tag</b>(*tags)
|
580
914
|
|
581
915
|
</div>
|
582
916
|
|
@@ -592,13 +926,13 @@ Adds the given tags to this client.
|
|
592
926
|
|
593
927
|
<div class="sourcecode">
|
594
928
|
<p class="source-link">
|
595
|
-
Source: <a href="javascript:toggleSource('
|
929
|
+
Source: <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show</a>
|
596
930
|
|
597
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
931
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L299" target="_blank" class="github_url">on GitHub</a>
|
598
932
|
|
599
933
|
</p>
|
600
|
-
<div id="
|
601
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
934
|
+
<div id="M000046_source" class="dyn-source">
|
935
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 299</span>
|
602
936
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
|
603
937
|
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
604
938
|
<span class="ruby-identifier">concat</span> <span class="ruby-identifier">tags</span>
|
@@ -610,9 +944,9 @@ Adds the given tags to this client.
|
|
610
944
|
</div>
|
611
945
|
|
612
946
|
<div class="method">
|
613
|
-
<div class="title" id="
|
947
|
+
<div class="title" id="M000042">
|
614
948
|
|
615
|
-
<a name="
|
949
|
+
<a name="M000042"></a><b>tags</b>()
|
616
950
|
|
617
951
|
</div>
|
618
952
|
|
@@ -628,13 +962,13 @@ Returns the tags associated with this client.
|
|
628
962
|
|
629
963
|
<div class="sourcecode">
|
630
964
|
<p class="source-link">
|
631
|
-
Source: <a href="javascript:toggleSource('
|
965
|
+
Source: <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show</a>
|
632
966
|
|
633
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
967
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L274" target="_blank" class="github_url">on GitHub</a>
|
634
968
|
|
635
969
|
</p>
|
636
|
-
<div id="
|
637
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
970
|
+
<div id="M000042_source" class="dyn-source">
|
971
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 274</span>
|
638
972
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
|
639
973
|
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">read</span>.<span class="ruby-identifier">split</span> <span class="ruby-constant">TAG_DELIMITER</span>
|
640
974
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -644,9 +978,9 @@ Returns the tags associated with this client.
|
|
644
978
|
</div>
|
645
979
|
|
646
980
|
<div class="method">
|
647
|
-
<div class="title" id="
|
981
|
+
<div class="title" id="M000043">
|
648
982
|
|
649
|
-
<a name="
|
983
|
+
<a name="M000043"></a><b>tags=</b>(*tags)
|
650
984
|
|
651
985
|
</div>
|
652
986
|
|
@@ -662,13 +996,13 @@ Modifies the tags associated with this client.
|
|
662
996
|
|
663
997
|
<div class="sourcecode">
|
664
998
|
<p class="source-link">
|
665
|
-
Source: <a href="javascript:toggleSource('
|
999
|
+
Source: <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show</a>
|
666
1000
|
|
667
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1001
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L281" target="_blank" class="github_url">on GitHub</a>
|
668
1002
|
|
669
1003
|
</p>
|
670
|
-
<div id="
|
671
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1004
|
+
<div id="M000043_source" class="dyn-source">
|
1005
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 281</span>
|
672
1006
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags=</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
|
673
1007
|
<span class="ruby-identifier">arr</span> = <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">uniq</span>
|
674
1008
|
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">write</span> <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TAG_DELIMITER</span>)
|
@@ -679,15 +1013,15 @@ Modifies the tags associated with this client.
|
|
679
1013
|
</div>
|
680
1014
|
|
681
1015
|
<div class="method">
|
682
|
-
<div class="title" id="
|
1016
|
+
<div class="title" id="M000032">
|
683
1017
|
|
684
|
-
<a name="
|
1018
|
+
<a name="M000032"></a><b>unfullscreen</b>()
|
685
1019
|
|
686
1020
|
</div>
|
687
1021
|
|
688
1022
|
<div class="description">
|
689
1023
|
<p>
|
690
|
-
|
1024
|
+
Restores this client back to its original size on the current view.
|
691
1025
|
</p>
|
692
1026
|
|
693
1027
|
</div>
|
@@ -697,19 +1031,15 @@ Toggles the presence of this client in the current grouping.
|
|
697
1031
|
|
698
1032
|
<div class="sourcecode">
|
699
1033
|
<p class="source-link">
|
700
|
-
Source: <a href="javascript:toggleSource('
|
1034
|
+
Source: <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show</a>
|
701
1035
|
|
702
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1036
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L197" target="_blank" class="github_url">on GitHub</a>
|
703
1037
|
|
704
1038
|
</p>
|
705
|
-
<div id="
|
706
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
707
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
708
|
-
<span class="ruby-
|
709
|
-
<span class="ruby-identifier">ungroup</span>
|
710
|
-
<span class="ruby-keyword kw">else</span>
|
711
|
-
<span class="ruby-identifier">group</span>
|
712
|
-
<span class="ruby-keyword kw">end</span>
|
1039
|
+
<div id="M000032_source" class="dyn-source">
|
1040
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 197</span>
|
1041
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unfullscreen</span>
|
1042
|
+
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen off'</span>
|
713
1043
|
<span class="ruby-keyword kw">end</span></pre>
|
714
1044
|
</div>
|
715
1045
|
</div>
|
@@ -717,9 +1047,9 @@ Toggles the presence of this client in the current grouping.
|
|
717
1047
|
</div>
|
718
1048
|
|
719
1049
|
<div class="method">
|
720
|
-
<div class="title" id="
|
1050
|
+
<div class="title" id="M000051">
|
721
1051
|
|
722
|
-
<a name="
|
1052
|
+
<a name="M000051"></a><b>ungroup</b>()
|
723
1053
|
|
724
1054
|
</div>
|
725
1055
|
|
@@ -735,15 +1065,15 @@ Removes this client to the current grouping.
|
|
735
1065
|
|
736
1066
|
<div class="sourcecode">
|
737
1067
|
<p class="source-link">
|
738
|
-
Source: <a href="javascript:toggleSource('
|
1068
|
+
Source: <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show</a>
|
739
1069
|
|
740
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1070
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L337" target="_blank" class="github_url">on GitHub</a>
|
741
1071
|
|
742
1072
|
</p>
|
743
|
-
<div id="
|
744
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1073
|
+
<div id="M000051_source" class="dyn-source">
|
1074
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 337</span>
|
745
1075
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ungroup</span>
|
746
|
-
<span class="ruby-identifier">untag</span> <span class="ruby-constant">
|
1076
|
+
<span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
747
1077
|
<span class="ruby-keyword kw">end</span></pre>
|
748
1078
|
</div>
|
749
1079
|
</div>
|
@@ -751,9 +1081,43 @@ Removes this client to the current grouping.
|
|
751
1081
|
</div>
|
752
1082
|
|
753
1083
|
<div class="method">
|
754
|
-
<div class="title" id="
|
1084
|
+
<div class="title" id="M000038">
|
755
1085
|
|
756
|
-
<a name="
|
1086
|
+
<a name="M000038"></a><b>unstick</b>()
|
1087
|
+
|
1088
|
+
</div>
|
1089
|
+
|
1090
|
+
<div class="description">
|
1091
|
+
<p>
|
1092
|
+
Makes this client unsticky (does not appear in all views).
|
1093
|
+
</p>
|
1094
|
+
|
1095
|
+
</div>
|
1096
|
+
|
1097
|
+
|
1098
|
+
|
1099
|
+
|
1100
|
+
<div class="sourcecode">
|
1101
|
+
<p class="source-link">
|
1102
|
+
Source: <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show</a>
|
1103
|
+
|
1104
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L236" target="_blank" class="github_url">on GitHub</a>
|
1105
|
+
|
1106
|
+
</p>
|
1107
|
+
<div id="M000038_source" class="dyn-source">
|
1108
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 236</span>
|
1109
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unstick</span>
|
1110
|
+
<span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
1111
|
+
<span class="ruby-keyword kw">end</span></pre>
|
1112
|
+
</div>
|
1113
|
+
</div>
|
1114
|
+
|
1115
|
+
</div>
|
1116
|
+
|
1117
|
+
<div class="method">
|
1118
|
+
<div class="title" id="M000047">
|
1119
|
+
|
1120
|
+
<a name="M000047"></a><b>untag</b>(*tags)
|
757
1121
|
|
758
1122
|
</div>
|
759
1123
|
|
@@ -769,13 +1133,13 @@ Removes the given tags from this client.
|
|
769
1133
|
|
770
1134
|
<div class="sourcecode">
|
771
1135
|
<p class="source-link">
|
772
|
-
Source: <a href="javascript:toggleSource('
|
1136
|
+
Source: <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show</a>
|
773
1137
|
|
774
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1138
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L308" target="_blank" class="github_url">on GitHub</a>
|
775
1139
|
|
776
1140
|
</p>
|
777
|
-
<div id="
|
778
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1141
|
+
<div id="M000047_source" class="dyn-source">
|
1142
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 308</span>
|
779
1143
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untag</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
|
780
1144
|
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
781
1145
|
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tag</span><span class="ruby-operator">|</span>
|
@@ -789,9 +1153,9 @@ Removes the given tags from this client.
|
|
789
1153
|
</div>
|
790
1154
|
|
791
1155
|
<div class="method">
|
792
|
-
<div class="title" id="
|
1156
|
+
<div class="title" id="M000041">
|
793
1157
|
|
794
|
-
<a name="
|
1158
|
+
<a name="M000041"></a><b>views</b>()
|
795
1159
|
|
796
1160
|
</div>
|
797
1161
|
|
@@ -807,13 +1171,13 @@ Returns the views that contain this client.
|
|
807
1171
|
|
808
1172
|
<div class="sourcecode">
|
809
1173
|
<p class="source-link">
|
810
|
-
Source: <a href="javascript:toggleSource('
|
1174
|
+
Source: <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show</a>
|
811
1175
|
|
812
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1176
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L263" target="_blank" class="github_url">on GitHub</a>
|
813
1177
|
|
814
1178
|
</p>
|
815
|
-
<div id="
|
816
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1179
|
+
<div id="M000041_source" class="dyn-source">
|
1180
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 263</span>
|
817
1181
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
|
818
1182
|
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">t</span> }
|
819
1183
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -823,9 +1187,9 @@ Returns the views that contain this client.
|
|
823
1187
|
</div>
|
824
1188
|
|
825
1189
|
<div class="method">
|
826
|
-
<div class="title" id="
|
1190
|
+
<div class="title" id="M000044">
|
827
1191
|
|
828
|
-
<a name="
|
1192
|
+
<a name="M000044"></a><b>with_tags</b>(&block)
|
829
1193
|
|
830
1194
|
</div>
|
831
1195
|
|
@@ -842,13 +1206,13 @@ tags.
|
|
842
1206
|
|
843
1207
|
<div class="sourcecode">
|
844
1208
|
<p class="source-link">
|
845
|
-
Source: <a href="javascript:toggleSource('
|
1209
|
+
Source: <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show</a>
|
846
1210
|
|
847
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1211
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L290" target="_blank" class="github_url">on GitHub</a>
|
848
1212
|
|
849
1213
|
</p>
|
850
|
-
<div id="
|
851
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1214
|
+
<div id="M000044_source" class="dyn-source">
|
1215
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 290</span>
|
852
1216
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_tags</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
853
1217
|
<span class="ruby-identifier">arr</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tags</span>
|
854
1218
|
<span class="ruby-identifier">arr</span>.<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|