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
@@ -57,7 +57,7 @@ column in the managed area.
|
|
57
57
|
<dd>
|
58
58
|
<ul>
|
59
59
|
|
60
|
-
<li><a href="#
|
60
|
+
<li><a href="#M000080"><<</a></li>
|
61
61
|
|
62
62
|
</ul>
|
63
63
|
</dd>
|
@@ -66,15 +66,15 @@ column in the managed area.
|
|
66
66
|
<dd>
|
67
67
|
<ul>
|
68
68
|
|
69
|
-
<li><a href="#
|
69
|
+
<li><a href="#M000067">chain</a>,</li>
|
70
70
|
|
71
|
-
<li><a href="#
|
71
|
+
<li><a href="#M000070">client_ids</a>,</li>
|
72
72
|
|
73
|
-
<li><a href="#
|
73
|
+
<li><a href="#M000063">column?</a>,</li>
|
74
74
|
|
75
|
-
<li><a href="#
|
75
|
+
<li><a href="#M000084">concat</a>,</li>
|
76
76
|
|
77
|
-
<li><a href="#
|
77
|
+
<li><a href="#M000065">curr</a></li>
|
78
78
|
|
79
79
|
</ul>
|
80
80
|
</dd>
|
@@ -83,9 +83,9 @@ column in the managed area.
|
|
83
83
|
<dd>
|
84
84
|
<ul>
|
85
85
|
|
86
|
-
<li><a href="#
|
86
|
+
<li><a href="#M000072">each</a>,</li>
|
87
87
|
|
88
|
-
<li><a href="#
|
88
|
+
<li><a href="#M000069">exist?</a></li>
|
89
89
|
|
90
90
|
</ul>
|
91
91
|
</dd>
|
@@ -94,9 +94,11 @@ column in the managed area.
|
|
94
94
|
<dd>
|
95
95
|
<ul>
|
96
96
|
|
97
|
-
<li><a href="#
|
97
|
+
<li><a href="#M000066">floating</a>,</li>
|
98
98
|
|
99
|
-
<li><a href="#
|
99
|
+
<li><a href="#M000062">floating?</a>,</li>
|
100
|
+
|
101
|
+
<li><a href="#M000076">focus</a></li>
|
100
102
|
|
101
103
|
</ul>
|
102
104
|
</dd>
|
@@ -105,7 +107,7 @@ column in the managed area.
|
|
105
107
|
<dd>
|
106
108
|
<ul>
|
107
109
|
|
108
|
-
<li><a href="#
|
110
|
+
<li><a href="#M000081">insert</a></li>
|
109
111
|
|
110
112
|
</ul>
|
111
113
|
</dd>
|
@@ -114,11 +116,20 @@ column in the managed area.
|
|
114
116
|
<dd>
|
115
117
|
<ul>
|
116
118
|
|
117
|
-
<li><a href="#
|
119
|
+
<li><a href="#M000073">layout=</a>,</li>
|
120
|
+
|
121
|
+
<li><a href="#M000078">length</a>,</li>
|
118
122
|
|
119
|
-
<li><a href="#
|
123
|
+
<li><a href="#M000085">length=</a></li>
|
124
|
+
|
125
|
+
</ul>
|
126
|
+
</dd>
|
127
|
+
|
128
|
+
<dt>M</dt>
|
129
|
+
<dd>
|
130
|
+
<ul>
|
120
131
|
|
121
|
-
<li><a href="#
|
132
|
+
<li><a href="#M000064">managed?</a></li>
|
122
133
|
|
123
134
|
</ul>
|
124
135
|
</dd>
|
@@ -127,7 +138,7 @@ column in the managed area.
|
|
127
138
|
<dd>
|
128
139
|
<ul>
|
129
140
|
|
130
|
-
<li><a href="#
|
141
|
+
<li><a href="#M000060">new</a></li>
|
131
142
|
|
132
143
|
</ul>
|
133
144
|
</dd>
|
@@ -136,7 +147,7 @@ column in the managed area.
|
|
136
147
|
<dd>
|
137
148
|
<ul>
|
138
149
|
|
139
|
-
<li><a href="#
|
150
|
+
<li><a href="#M000079">push</a></li>
|
140
151
|
|
141
152
|
</ul>
|
142
153
|
</dd>
|
@@ -145,7 +156,7 @@ column in the managed area.
|
|
145
156
|
<dd>
|
146
157
|
<ul>
|
147
158
|
|
148
|
-
<li><a href="#
|
159
|
+
<li><a href="#M000082">unshift</a></li>
|
149
160
|
|
150
161
|
</ul>
|
151
162
|
</dd>
|
@@ -213,9 +224,9 @@ column in the managed area.
|
|
213
224
|
<div class="sectiontitle">Class Public methods</div>
|
214
225
|
|
215
226
|
<div class="method">
|
216
|
-
<div class="title" id="
|
227
|
+
<div class="title" id="M000065">
|
217
228
|
|
218
|
-
<a name="
|
229
|
+
<a name="M000065"></a><b>curr</b>()
|
219
230
|
|
220
231
|
</div>
|
221
232
|
|
@@ -231,13 +242,13 @@ Returns the currently focused area.
|
|
231
242
|
|
232
243
|
<div class="sourcecode">
|
233
244
|
<p class="source-link">
|
234
|
-
Source: <a href="javascript:toggleSource('
|
245
|
+
Source: <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show</a>
|
235
246
|
|
236
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
247
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L438" target="_blank" class="github_url">on GitHub</a>
|
237
248
|
|
238
249
|
</p>
|
239
|
-
<div id="
|
240
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
250
|
+
<div id="M000065_source" class="dyn-source">
|
251
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 438</span>
|
241
252
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
242
253
|
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>
|
243
254
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -247,9 +258,43 @@ Returns the currently focused area.
|
|
247
258
|
</div>
|
248
259
|
|
249
260
|
<div class="method">
|
250
|
-
<div class="title" id="
|
261
|
+
<div class="title" id="M000066">
|
251
262
|
|
252
|
-
<a name="
|
263
|
+
<a name="M000066"></a><b>floating</b>(view = View.curr)
|
264
|
+
|
265
|
+
</div>
|
266
|
+
|
267
|
+
<div class="description">
|
268
|
+
<p>
|
269
|
+
Returns the floating area in the given view.
|
270
|
+
</p>
|
271
|
+
|
272
|
+
</div>
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
<div class="sourcecode">
|
278
|
+
<p class="source-link">
|
279
|
+
Source: <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show</a>
|
280
|
+
|
281
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L445" target="_blank" class="github_url">on GitHub</a>
|
282
|
+
|
283
|
+
</p>
|
284
|
+
<div id="M000066_source" class="dyn-source">
|
285
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 445</span>
|
286
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">floating</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
287
|
+
<span class="ruby-identifier">new</span> <span class="ruby-constant">FLOATING_AREA_ID</span>, <span class="ruby-identifier">view</span>
|
288
|
+
<span class="ruby-keyword kw">end</span></pre>
|
289
|
+
</div>
|
290
|
+
</div>
|
291
|
+
|
292
|
+
</div>
|
293
|
+
|
294
|
+
<div class="method">
|
295
|
+
<div class="title" id="M000060">
|
296
|
+
|
297
|
+
<a name="M000060"></a><b>new</b>(area_id, view = View.curr)
|
253
298
|
|
254
299
|
</div>
|
255
300
|
|
@@ -267,13 +312,13 @@ Returns the currently focused area.
|
|
267
312
|
|
268
313
|
<div class="sourcecode">
|
269
314
|
<p class="source-link">
|
270
|
-
Source: <a href="javascript:toggleSource('
|
315
|
+
Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
|
271
316
|
|
272
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
317
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L412" target="_blank" class="github_url">on GitHub</a>
|
273
318
|
|
274
319
|
</p>
|
275
|
-
<div id="
|
276
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
320
|
+
<div id="M000060_source" class="dyn-source">
|
321
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 412</span>
|
277
322
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">area_id</span>, <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
278
323
|
<span class="ruby-ivar">@id</span> = <span class="ruby-constant">Integer</span>(<span class="ruby-identifier">area_id</span>) <span class="ruby-keyword kw">rescue</span> <span class="ruby-identifier">area_id</span>
|
279
324
|
<span class="ruby-ivar">@view</span> = <span class="ruby-identifier">view</span>
|
@@ -286,15 +331,15 @@ Returns the currently focused area.
|
|
286
331
|
<div class="sectiontitle">Instance Public methods</div>
|
287
332
|
|
288
333
|
<div class="method">
|
289
|
-
<div class="title" id="
|
334
|
+
<div class="title" id="M000080">
|
290
335
|
|
291
|
-
<a name="
|
336
|
+
<a name="M000080"></a><b><<</b>(*clients)
|
292
337
|
|
293
338
|
</div>
|
294
339
|
|
295
340
|
<div class="description">
|
296
341
|
<p>
|
297
|
-
Alias for <a href="Area.html#
|
342
|
+
Alias for <a href="Area.html#M000079">push</a>
|
298
343
|
</p>
|
299
344
|
|
300
345
|
</div>
|
@@ -304,9 +349,9 @@ Alias for <a href="Area.html#M000071">push</a>
|
|
304
349
|
</div>
|
305
350
|
|
306
351
|
<div class="method">
|
307
|
-
<div class="title" id="
|
352
|
+
<div class="title" id="M000067">
|
308
353
|
|
309
|
-
<a name="
|
354
|
+
<a name="M000067"></a><b>chain</b>()
|
310
355
|
|
311
356
|
</div>
|
312
357
|
|
@@ -322,13 +367,13 @@ Returns a list of all areas in the current view.
|
|
322
367
|
|
323
368
|
<div class="sourcecode">
|
324
369
|
<p class="source-link">
|
325
|
-
Source: <a href="javascript:toggleSource('
|
370
|
+
Source: <a href="javascript:toggleSource('M000067_source')" id="l_M000067_source">show</a>
|
326
371
|
|
327
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
372
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L454" target="_blank" class="github_url">on GitHub</a>
|
328
373
|
|
329
374
|
</p>
|
330
|
-
<div id="
|
331
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
375
|
+
<div id="M000067_source" class="dyn-source">
|
376
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 454</span>
|
332
377
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
333
378
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">areas</span>
|
334
379
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -338,9 +383,9 @@ Returns a list of all areas in the current view.
|
|
338
383
|
</div>
|
339
384
|
|
340
385
|
<div class="method">
|
341
|
-
<div class="title" id="
|
386
|
+
<div class="title" id="M000070">
|
342
387
|
|
343
|
-
<a name="
|
388
|
+
<a name="M000070"></a><b>client_ids</b>()
|
344
389
|
|
345
390
|
</div>
|
346
391
|
|
@@ -356,13 +401,13 @@ Returns the IDs of the clients in this area.
|
|
356
401
|
|
357
402
|
<div class="sourcecode">
|
358
403
|
<p class="source-link">
|
359
|
-
Source: <a href="javascript:toggleSource('
|
404
|
+
Source: <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show</a>
|
360
405
|
|
361
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
406
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L470" target="_blank" class="github_url">on GitHub</a>
|
362
407
|
|
363
408
|
</p>
|
364
|
-
<div id="
|
365
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
409
|
+
<div id="M000070_source" class="dyn-source">
|
410
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 470</span>
|
366
411
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
|
367
412
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">client_ids</span> <span class="ruby-ivar">@id</span>
|
368
413
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -372,9 +417,9 @@ Returns the IDs of the clients in this area.
|
|
372
417
|
</div>
|
373
418
|
|
374
419
|
<div class="method">
|
375
|
-
<div class="title" id="
|
420
|
+
<div class="title" id="M000063">
|
376
421
|
|
377
|
-
<a name="
|
422
|
+
<a name="M000063"></a><b>column?</b>()
|
378
423
|
|
379
424
|
</div>
|
380
425
|
|
@@ -386,19 +431,26 @@ Checks if this is a managed area (a column).
|
|
386
431
|
</div>
|
387
432
|
|
388
433
|
|
434
|
+
<div class="aka">
|
435
|
+
This method is also aliased as
|
436
|
+
|
437
|
+
<a href="Area.html#M000064">managed?</a>
|
438
|
+
|
439
|
+
</div>
|
440
|
+
|
389
441
|
|
390
442
|
|
391
443
|
<div class="sourcecode">
|
392
444
|
<p class="source-link">
|
393
|
-
Source: <a href="javascript:toggleSource('
|
445
|
+
Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
|
394
446
|
|
395
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
447
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L427" target="_blank" class="github_url">on GitHub</a>
|
396
448
|
|
397
449
|
</p>
|
398
|
-
<div id="
|
399
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
450
|
+
<div id="M000063_source" class="dyn-source">
|
451
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 427</span>
|
400
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column?</span>
|
401
|
-
<span class="ruby-keyword kw">not</span> <span class="ruby-identifier">
|
453
|
+
<span class="ruby-keyword kw">not</span> <span class="ruby-identifier">floating?</span>
|
402
454
|
<span class="ruby-keyword kw">end</span></pre>
|
403
455
|
</div>
|
404
456
|
</div>
|
@@ -406,9 +458,9 @@ Checks if this is a managed area (a column).
|
|
406
458
|
</div>
|
407
459
|
|
408
460
|
<div class="method">
|
409
|
-
<div class="title" id="
|
461
|
+
<div class="title" id="M000084">
|
410
462
|
|
411
|
-
<a name="
|
463
|
+
<a name="M000084"></a><b>concat</b>(area)
|
412
464
|
|
413
465
|
</div>
|
414
466
|
|
@@ -424,13 +476,13 @@ Concatenates the given area to the bottom of this area.
|
|
424
476
|
|
425
477
|
<div class="sourcecode">
|
426
478
|
<p class="source-link">
|
427
|
-
Source: <a href="javascript:toggleSource('
|
479
|
+
Source: <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show</a>
|
428
480
|
|
429
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
481
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L560" target="_blank" class="github_url">on GitHub</a>
|
430
482
|
|
431
483
|
</p>
|
432
|
-
<div id="
|
433
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
484
|
+
<div id="M000084_source" class="dyn-source">
|
485
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 560</span>
|
434
486
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concat</span> <span class="ruby-identifier">area</span>
|
435
487
|
<span class="ruby-identifier">push</span> <span class="ruby-identifier">area</span>.<span class="ruby-identifier">clients</span>
|
436
488
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -440,9 +492,9 @@ Concatenates the given area to the bottom of this area.
|
|
440
492
|
</div>
|
441
493
|
|
442
494
|
<div class="method">
|
443
|
-
<div class="title" id="
|
495
|
+
<div class="title" id="M000072">
|
444
496
|
|
445
|
-
<a name="
|
497
|
+
<a name="M000072"></a><b>each</b>(&block)
|
446
498
|
|
447
499
|
</div>
|
448
500
|
|
@@ -458,13 +510,13 @@ Iterates through each client in this container.
|
|
458
510
|
|
459
511
|
<div class="sourcecode">
|
460
512
|
<p class="source-link">
|
461
|
-
Source: <a href="javascript:toggleSource('
|
513
|
+
Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
|
462
514
|
|
463
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
515
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L479" target="_blank" class="github_url">on GitHub</a>
|
464
516
|
|
465
517
|
</p>
|
466
|
-
<div id="
|
467
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
518
|
+
<div id="M000072_source" class="dyn-source">
|
519
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 479</span>
|
468
520
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
469
521
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
470
522
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -474,9 +526,9 @@ Iterates through each client in this container.
|
|
474
526
|
</div>
|
475
527
|
|
476
528
|
<div class="method">
|
477
|
-
<div class="title" id="
|
529
|
+
<div class="title" id="M000069">
|
478
530
|
|
479
|
-
<a name="
|
531
|
+
<a name="M000069"></a><b>exist?</b>()
|
480
532
|
|
481
533
|
</div>
|
482
534
|
|
@@ -492,13 +544,13 @@ Checks if this object exists in the chain.
|
|
492
544
|
|
493
545
|
<div class="sourcecode">
|
494
546
|
<p class="source-link">
|
495
|
-
Source: <a href="javascript:toggleSource('
|
547
|
+
Source: <a href="javascript:toggleSource('M000069_source')" id="l_M000069_source">show</a>
|
496
548
|
|
497
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
549
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L461" target="_blank" class="github_url">on GitHub</a>
|
498
550
|
|
499
551
|
</p>
|
500
|
-
<div id="
|
501
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
552
|
+
<div id="M000069_source" class="dyn-source">
|
553
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 461</span>
|
502
554
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exist?</span>
|
503
555
|
<span class="ruby-identifier">chain</span>.<span class="ruby-identifier">include?</span> <span class="ruby-keyword kw">self</span>
|
504
556
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -508,9 +560,9 @@ Checks if this object exists in the chain.
|
|
508
560
|
</div>
|
509
561
|
|
510
562
|
<div class="method">
|
511
|
-
<div class="title" id="
|
563
|
+
<div class="title" id="M000062">
|
512
564
|
|
513
|
-
<a name="
|
565
|
+
<a name="M000062"></a><b>floating?</b>()
|
514
566
|
|
515
567
|
</div>
|
516
568
|
|
@@ -526,15 +578,15 @@ Checks if this area is the floating area.
|
|
526
578
|
|
527
579
|
<div class="sourcecode">
|
528
580
|
<p class="source-link">
|
529
|
-
Source: <a href="javascript:toggleSource('
|
581
|
+
Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
|
530
582
|
|
531
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
583
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L420" target="_blank" class="github_url">on GitHub</a>
|
532
584
|
|
533
585
|
</p>
|
534
|
-
<div id="
|
535
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
536
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
537
|
-
<span class="ruby-ivar">@id</span> <span class="ruby-operator">==</span> <span class="ruby-
|
586
|
+
<div id="M000062_source" class="dyn-source">
|
587
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 420</span>
|
588
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">floating?</span>
|
589
|
+
<span class="ruby-ivar">@id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">FLOATING_AREA_ID</span>
|
538
590
|
<span class="ruby-keyword kw">end</span></pre>
|
539
591
|
</div>
|
540
592
|
</div>
|
@@ -542,9 +594,9 @@ Checks if this area is the floating area.
|
|
542
594
|
</div>
|
543
595
|
|
544
596
|
<div class="method">
|
545
|
-
<div class="title" id="
|
597
|
+
<div class="title" id="M000076">
|
546
598
|
|
547
|
-
<a name="
|
599
|
+
<a name="M000076"></a><b>focus</b>()
|
548
600
|
|
549
601
|
</div>
|
550
602
|
|
@@ -560,13 +612,13 @@ Puts focus on this area.
|
|
560
612
|
|
561
613
|
<div class="sourcecode">
|
562
614
|
<p class="source-link">
|
563
|
-
Source: <a href="javascript:toggleSource('
|
615
|
+
Source: <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show</a>
|
564
616
|
|
565
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
617
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L495" target="_blank" class="github_url">on GitHub</a>
|
566
618
|
|
567
619
|
</p>
|
568
|
-
<div id="
|
569
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
620
|
+
<div id="M000076_source" class="dyn-source">
|
621
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 495</span>
|
570
622
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span>
|
571
623
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"select #{@id}"</span>
|
572
624
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -576,9 +628,9 @@ Puts focus on this area.
|
|
576
628
|
</div>
|
577
629
|
|
578
630
|
<div class="method">
|
579
|
-
<div class="title" id="
|
631
|
+
<div class="title" id="M000081">
|
580
632
|
|
581
|
-
<a name="
|
633
|
+
<a name="M000081"></a><b>insert</b>(*clients)
|
582
634
|
|
583
635
|
</div>
|
584
636
|
|
@@ -594,13 +646,13 @@ Inserts the given clients after the currently focused client in this area.
|
|
594
646
|
|
595
647
|
<div class="sourcecode">
|
596
648
|
<p class="source-link">
|
597
|
-
Source: <a href="javascript:toggleSource('
|
649
|
+
Source: <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">show</a>
|
598
650
|
|
599
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
651
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L531" target="_blank" class="github_url">on GitHub</a>
|
600
652
|
|
601
653
|
</p>
|
602
|
-
<div id="
|
603
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
654
|
+
<div id="M000081_source" class="dyn-source">
|
655
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 531</span>
|
604
656
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
|
605
657
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
|
606
658
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
|
@@ -615,9 +667,9 @@ Inserts the given clients after the currently focused client in this area.
|
|
615
667
|
</div>
|
616
668
|
|
617
669
|
<div class="method">
|
618
|
-
<div class="title" id="
|
670
|
+
<div class="title" id="M000073">
|
619
671
|
|
620
|
-
<a name="
|
672
|
+
<a name="M000073"></a><b>layout=</b>(mode)
|
621
673
|
|
622
674
|
</div>
|
623
675
|
|
@@ -633,13 +685,13 @@ Sets the layout of clients in this column.
|
|
633
685
|
|
634
686
|
<div class="sourcecode">
|
635
687
|
<p class="source-link">
|
636
|
-
Source: <a href="javascript:toggleSource('
|
688
|
+
Source: <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show</a>
|
637
689
|
|
638
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
690
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L486" target="_blank" class="github_url">on GitHub</a>
|
639
691
|
|
640
692
|
</p>
|
641
|
-
<div id="
|
642
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
693
|
+
<div id="M000073_source" class="dyn-source">
|
694
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 486</span>
|
643
695
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">layout=</span> <span class="ruby-identifier">mode</span>
|
644
696
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"colmode #{@id} #{mode}"</span>
|
645
697
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -649,9 +701,9 @@ Sets the layout of clients in this column.
|
|
649
701
|
</div>
|
650
702
|
|
651
703
|
<div class="method">
|
652
|
-
<div class="title" id="
|
704
|
+
<div class="title" id="M000078">
|
653
705
|
|
654
|
-
<a name="
|
706
|
+
<a name="M000078"></a><b>length</b>()
|
655
707
|
|
656
708
|
</div>
|
657
709
|
|
@@ -667,13 +719,13 @@ Returns the number of clients in this area.
|
|
667
719
|
|
668
720
|
<div class="sourcecode">
|
669
721
|
<p class="source-link">
|
670
|
-
Source: <a href="javascript:toggleSource('
|
722
|
+
Source: <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show</a>
|
671
723
|
|
672
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
724
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L504" target="_blank" class="github_url">on GitHub</a>
|
673
725
|
|
674
726
|
</p>
|
675
|
-
<div id="
|
676
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
727
|
+
<div id="M000078_source" class="dyn-source">
|
728
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 504</span>
|
677
729
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
|
678
730
|
<span class="ruby-identifier">client_ids</span>.<span class="ruby-identifier">length</span>
|
679
731
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -683,9 +735,9 @@ Returns the number of clients in this area.
|
|
683
735
|
</div>
|
684
736
|
|
685
737
|
<div class="method">
|
686
|
-
<div class="title" id="
|
738
|
+
<div class="title" id="M000085">
|
687
739
|
|
688
|
-
<a name="
|
740
|
+
<a name="M000085"></a><b>length=</b>(max_clients)
|
689
741
|
|
690
742
|
</div>
|
691
743
|
|
@@ -705,13 +757,13 @@ are evicted and from which deficit clients are imported.
|
|
705
757
|
|
706
758
|
<div class="sourcecode">
|
707
759
|
<p class="source-link">
|
708
|
-
Source: <a href="javascript:toggleSource('
|
760
|
+
Source: <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show</a>
|
709
761
|
|
710
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
762
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L570" target="_blank" class="github_url">on GitHub</a>
|
711
763
|
|
712
764
|
</p>
|
713
|
-
<div id="
|
714
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
765
|
+
<div id="M000085_source" class="dyn-source">
|
766
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 570</span>
|
715
767
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length=</span> <span class="ruby-identifier">max_clients</span>
|
716
768
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">max_clients</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
717
769
|
<span class="ruby-identifier">len</span>, <span class="ruby-identifier">out</span> = <span class="ruby-identifier">length</span>, <span class="ruby-identifier">fringe</span>
|
@@ -734,9 +786,27 @@ are evicted and from which deficit clients are imported.
|
|
734
786
|
</div>
|
735
787
|
|
736
788
|
<div class="method">
|
737
|
-
<div class="title" id="
|
789
|
+
<div class="title" id="M000064">
|
790
|
+
|
791
|
+
<a name="M000064"></a><b>managed?</b>()
|
792
|
+
|
793
|
+
</div>
|
794
|
+
|
795
|
+
<div class="description">
|
796
|
+
<p>
|
797
|
+
Alias for <a href="Area.html#M000063">column?</a>
|
798
|
+
</p>
|
799
|
+
|
800
|
+
</div>
|
801
|
+
|
802
|
+
|
803
|
+
|
804
|
+
</div>
|
805
|
+
|
806
|
+
<div class="method">
|
807
|
+
<div class="title" id="M000079">
|
738
808
|
|
739
|
-
<a name="
|
809
|
+
<a name="M000079"></a><b>push</b>(*clients)
|
740
810
|
|
741
811
|
</div>
|
742
812
|
|
@@ -751,7 +821,7 @@ Inserts the given clients at the bottom of this area.
|
|
751
821
|
<div class="aka">
|
752
822
|
This method is also aliased as
|
753
823
|
|
754
|
-
<a href="Area.html#
|
824
|
+
<a href="Area.html#M000080"><<</a>
|
755
825
|
|
756
826
|
</div>
|
757
827
|
|
@@ -759,24 +829,23 @@ Inserts the given clients at the bottom of this area.
|
|
759
829
|
|
760
830
|
<div class="sourcecode">
|
761
831
|
<p class="source-link">
|
762
|
-
Source: <a href="javascript:toggleSource('
|
832
|
+
Source: <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show</a>
|
763
833
|
|
764
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
834
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L511" target="_blank" class="github_url">on GitHub</a>
|
765
835
|
|
766
836
|
</p>
|
767
|
-
<div id="
|
768
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
837
|
+
<div id="M000079_source" class="dyn-source">
|
838
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 511</span>
|
769
839
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
|
770
840
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
|
771
841
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
|
772
842
|
|
773
843
|
<span class="ruby-identifier">insert</span> <span class="ruby-identifier">clients</span>
|
774
844
|
|
775
|
-
<span class="ruby-comment cmt">#
|
776
|
-
<span class="ruby-comment cmt"># area to reflect the tail-wise insertion</span>
|
845
|
+
<span class="ruby-comment cmt"># move inserted clients to bottom</span>
|
777
846
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
778
847
|
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">client_ids</span>[<span class="ruby-operator">-</span><span class="ruby-identifier">i</span>.<span class="ruby-identifier">succ</span>]
|
779
|
-
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">
|
848
|
+
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">:down</span>
|
780
849
|
<span class="ruby-keyword kw">end</span>
|
781
850
|
<span class="ruby-keyword kw">end</span>
|
782
851
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -786,9 +855,9 @@ Inserts the given clients at the bottom of this area.
|
|
786
855
|
</div>
|
787
856
|
|
788
857
|
<div class="method">
|
789
|
-
<div class="title" id="
|
858
|
+
<div class="title" id="M000082">
|
790
859
|
|
791
|
-
<a name="
|
860
|
+
<a name="M000082"></a><b>unshift</b>(*clients)
|
792
861
|
|
793
862
|
</div>
|
794
863
|
|
@@ -804,24 +873,23 @@ Inserts the given clients at the top of this area.
|
|
804
873
|
|
805
874
|
<div class="sourcecode">
|
806
875
|
<p class="source-link">
|
807
|
-
Source: <a href="javascript:toggleSource('
|
876
|
+
Source: <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show</a>
|
808
877
|
|
809
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
878
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L543" target="_blank" class="github_url">on GitHub</a>
|
810
879
|
|
811
880
|
</p>
|
812
|
-
<div id="
|
813
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
881
|
+
<div id="M000082_source" class="dyn-source">
|
882
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 543</span>
|
814
883
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unshift</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
|
815
884
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
|
816
885
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
|
817
886
|
|
818
887
|
<span class="ruby-identifier">insert</span> <span class="ruby-identifier">clients</span>
|
819
888
|
|
820
|
-
<span class="ruby-comment cmt">#
|
821
|
-
<span class="ruby-comment cmt"># area to reflect the head-wise insertion</span>
|
889
|
+
<span class="ruby-comment cmt"># move inserted clients to top</span>
|
822
890
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
823
891
|
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">client_ids</span>[<span class="ruby-identifier">i</span>]
|
824
|
-
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">
|
892
|
+
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">:up</span>
|
825
893
|
<span class="ruby-keyword kw">end</span>
|
826
894
|
<span class="ruby-keyword kw">end</span>
|
827
895
|
<span class="ruby-keyword kw">end</span></pre>
|