rumai 2.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -56,7 +56,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000013">[]</a></li>
|
60
60
|
|
61
61
|
</ul>
|
62
62
|
</dd>
|
@@ -65,11 +65,11 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
65
65
|
<dd>
|
66
66
|
<ul>
|
67
67
|
|
68
|
-
<li><a href="#
|
68
|
+
<li><a href="#M000017">children</a>,</li>
|
69
69
|
|
70
|
-
<li><a href="#
|
70
|
+
<li><a href="#M000019">clear</a>,</li>
|
71
71
|
|
72
|
-
<li><a href="#
|
72
|
+
<li><a href="#M000009">create</a></li>
|
73
73
|
|
74
74
|
</ul>
|
75
75
|
</dd>
|
@@ -87,7 +87,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
87
87
|
<dd>
|
88
88
|
<ul>
|
89
89
|
|
90
|
-
<li><a href="#
|
90
|
+
<li><a href="#M000018">each</a>,</li>
|
91
91
|
|
92
92
|
<li><a href="#M000007">each_line</a>,</li>
|
93
93
|
|
@@ -102,7 +102,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
102
102
|
<dd>
|
103
103
|
<ul>
|
104
104
|
|
105
|
-
<li><a href="#
|
105
|
+
<li><a href="#M000020">method_missing</a></li>
|
106
106
|
|
107
107
|
</ul>
|
108
108
|
</dd>
|
@@ -129,7 +129,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
129
129
|
<dd>
|
130
130
|
<ul>
|
131
131
|
|
132
|
-
<li><a href="#
|
132
|
+
<li><a href="#M000016">parent</a></li>
|
133
133
|
|
134
134
|
</ul>
|
135
135
|
</dd>
|
@@ -140,7 +140,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
140
140
|
|
141
141
|
<li><a href="#M000006">read</a>,</li>
|
142
142
|
|
143
|
-
<li><a href="#
|
143
|
+
<li><a href="#M000012">remove</a></li>
|
144
144
|
|
145
145
|
</ul>
|
146
146
|
</dd>
|
@@ -158,7 +158,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
158
158
|
<dd>
|
159
159
|
<ul>
|
160
160
|
|
161
|
-
<li><a href="#
|
161
|
+
<li><a href="#M000008">write</a></li>
|
162
162
|
|
163
163
|
</ul>
|
164
164
|
</dd>
|
@@ -234,9 +234,9 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
234
234
|
<div class="sectiontitle">Instance Public methods</div>
|
235
235
|
|
236
236
|
<div class="method">
|
237
|
-
<div class="title" id="
|
237
|
+
<div class="title" id="M000013">
|
238
238
|
|
239
|
-
<a name="
|
239
|
+
<a name="M000013"></a><b>[]</b>(sub_path)
|
240
240
|
|
241
241
|
</div>
|
242
242
|
|
@@ -252,12 +252,12 @@ Returns the given sub-path as a <a href="Node.html">Node</a> object.
|
|
252
252
|
|
253
253
|
<div class="sourcecode">
|
254
254
|
<p class="source-link">
|
255
|
-
Source: <a href="javascript:toggleSource('
|
255
|
+
Source: <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show</a>
|
256
256
|
|
257
257
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L132" target="_blank" class="github_url">on GitHub</a>
|
258
258
|
|
259
259
|
</p>
|
260
|
-
<div id="
|
260
|
+
<div id="M000013_source" class="dyn-source">
|
261
261
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 132</span>
|
262
262
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span> <span class="ruby-identifier">sub_path</span>
|
263
263
|
<span class="ruby-ivar">@@cache</span>[ <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@path</span>, <span class="ruby-identifier">sub_path</span>.<span class="ruby-identifier">to_s</span>) ]
|
@@ -268,9 +268,9 @@ Returns the given sub-path as a <a href="Node.html">Node</a> object.
|
|
268
268
|
</div>
|
269
269
|
|
270
270
|
<div class="method">
|
271
|
-
<div class="title" id="
|
271
|
+
<div class="title" id="M000017">
|
272
272
|
|
273
|
-
<a name="
|
273
|
+
<a name="M000017"></a><b>children</b>()
|
274
274
|
|
275
275
|
</div>
|
276
276
|
|
@@ -286,12 +286,12 @@ Returns all child nodes of this node.
|
|
286
286
|
|
287
287
|
<div class="sourcecode">
|
288
288
|
<p class="source-link">
|
289
|
-
Source: <a href="javascript:toggleSource('
|
289
|
+
Source: <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show</a>
|
290
290
|
|
291
291
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L146" target="_blank" class="github_url">on GitHub</a>
|
292
292
|
|
293
293
|
</p>
|
294
|
-
<div id="
|
294
|
+
<div id="M000017_source" class="dyn-source">
|
295
295
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 146</span>
|
296
296
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">children</span>
|
297
297
|
<span class="ruby-identifier">entries</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">c</span>] }
|
@@ -302,9 +302,9 @@ Returns all child nodes of this node.
|
|
302
302
|
</div>
|
303
303
|
|
304
304
|
<div class="method">
|
305
|
-
<div class="title" id="
|
305
|
+
<div class="title" id="M000019">
|
306
306
|
|
307
|
-
<a name="
|
307
|
+
<a name="M000019"></a><b>clear</b>()
|
308
308
|
|
309
309
|
</div>
|
310
310
|
|
@@ -320,12 +320,12 @@ Deletes all child nodes.
|
|
320
320
|
|
321
321
|
<div class="sourcecode">
|
322
322
|
<p class="source-link">
|
323
|
-
Source: <a href="javascript:toggleSource('
|
323
|
+
Source: <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show</a>
|
324
324
|
|
325
325
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L162" target="_blank" class="github_url">on GitHub</a>
|
326
326
|
|
327
327
|
</p>
|
328
|
-
<div id="
|
328
|
+
<div id="M000019_source" class="dyn-source">
|
329
329
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 162</span>
|
330
330
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span>
|
331
331
|
<span class="ruby-identifier">children</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
@@ -338,9 +338,9 @@ Deletes all child nodes.
|
|
338
338
|
</div>
|
339
339
|
|
340
340
|
<div class="method">
|
341
|
-
<div class="title" id="
|
341
|
+
<div class="title" id="M000009">
|
342
342
|
|
343
|
-
<a name="
|
343
|
+
<a name="M000009"></a><b>create</b>(*args)
|
344
344
|
|
345
345
|
</div>
|
346
346
|
|
@@ -360,12 +360,12 @@ See Rumai::IXP::Client#create for details.
|
|
360
360
|
|
361
361
|
<div class="sourcecode">
|
362
362
|
<p class="source-link">
|
363
|
-
Source: <a href="javascript:toggleSource('
|
363
|
+
Source: <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show</a>
|
364
364
|
|
365
365
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L118" target="_blank" class="github_url">on GitHub</a>
|
366
366
|
|
367
367
|
</p>
|
368
|
-
<div id="
|
368
|
+
<div id="M000009_source" class="dyn-source">
|
369
369
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 118</span>
|
370
370
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span> <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
|
371
371
|
<span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">create</span> <span class="ruby-ivar">@path</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
|
@@ -410,9 +410,9 @@ Tests if this node is a directory.
|
|
410
410
|
</div>
|
411
411
|
|
412
412
|
<div class="method">
|
413
|
-
<div class="title" id="
|
413
|
+
<div class="title" id="M000018">
|
414
414
|
|
415
|
-
<a name="
|
415
|
+
<a name="M000018"></a><b>each</b>(&block)
|
416
416
|
|
417
417
|
</div>
|
418
418
|
|
@@ -428,12 +428,12 @@ Iterates through each child of this directory.
|
|
428
428
|
|
429
429
|
<div class="sourcecode">
|
430
430
|
<p class="source-link">
|
431
|
-
Source: <a href="javascript:toggleSource('
|
431
|
+
Source: <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show</a>
|
432
432
|
|
433
433
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L155" target="_blank" class="github_url">on GitHub</a>
|
434
434
|
|
435
435
|
</p>
|
436
|
-
<div id="
|
436
|
+
<div id="M000018_source" class="dyn-source">
|
437
437
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 155</span>
|
438
438
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
439
439
|
<span class="ruby-identifier">children</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -554,9 +554,9 @@ Tests if this node exists on the <a href="IXP.html">IXP</a> server.
|
|
554
554
|
</div>
|
555
555
|
|
556
556
|
<div class="method">
|
557
|
-
<div class="title" id="
|
557
|
+
<div class="title" id="M000020">
|
558
558
|
|
559
|
-
<a name="
|
559
|
+
<a name="M000020"></a><b> node.child → Node
|
560
560
|
</b>
|
561
561
|
|
562
562
|
</div>
|
@@ -573,12 +573,12 @@ Provides access to child nodes through method calls.
|
|
573
573
|
|
574
574
|
<div class="sourcecode">
|
575
575
|
<p class="source-link">
|
576
|
-
Source: <a href="javascript:toggleSource('
|
576
|
+
Source: <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show</a>
|
577
577
|
|
578
578
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L173" target="_blank" class="github_url">on GitHub</a>
|
579
579
|
|
580
580
|
</p>
|
581
|
-
<div id="
|
581
|
+
<div id="M000020_source" class="dyn-source">
|
582
582
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 173</span>
|
583
583
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span> <span class="ruby-identifier">meth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
|
584
584
|
<span class="ruby-identifier">child</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">meth</span>]
|
@@ -635,9 +635,9 @@ See Rumai::IXP::Client#open for details.
|
|
635
635
|
</div>
|
636
636
|
|
637
637
|
<div class="method">
|
638
|
-
<div class="title" id="
|
638
|
+
<div class="title" id="M000016">
|
639
639
|
|
640
|
-
<a name="
|
640
|
+
<a name="M000016"></a><b>parent</b>()
|
641
641
|
|
642
642
|
</div>
|
643
643
|
|
@@ -653,12 +653,12 @@ Returns the parent node of this node.
|
|
653
653
|
|
654
654
|
<div class="sourcecode">
|
655
655
|
<p class="source-link">
|
656
|
-
Source: <a href="javascript:toggleSource('
|
656
|
+
Source: <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show</a>
|
657
657
|
|
658
658
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L139" target="_blank" class="github_url">on GitHub</a>
|
659
659
|
|
660
660
|
</p>
|
661
|
-
<div id="
|
661
|
+
<div id="M000016_source" class="dyn-source">
|
662
662
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 139</span>
|
663
663
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parent</span>
|
664
664
|
<span class="ruby-ivar">@@cache</span>[ <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-ivar">@path</span>) ]
|
@@ -706,9 +706,9 @@ See Rumai::IXP::Client#read for details.
|
|
706
706
|
</div>
|
707
707
|
|
708
708
|
<div class="method">
|
709
|
-
<div class="title" id="
|
709
|
+
<div class="title" id="M000012">
|
710
710
|
|
711
|
-
<a name="
|
711
|
+
<a name="M000012"></a><b>remove</b>()
|
712
712
|
|
713
713
|
</div>
|
714
714
|
|
@@ -725,12 +725,12 @@ href="IXP.html">IXP</a> server.
|
|
725
725
|
|
726
726
|
<div class="sourcecode">
|
727
727
|
<p class="source-link">
|
728
|
-
Source: <a href="javascript:toggleSource('
|
728
|
+
Source: <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show</a>
|
729
729
|
|
730
730
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L125" target="_blank" class="github_url">on GitHub</a>
|
731
731
|
|
732
732
|
</p>
|
733
|
-
<div id="
|
733
|
+
<div id="M000012_source" class="dyn-source">
|
734
734
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 125</span>
|
735
735
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>
|
736
736
|
<span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">remove</span> <span class="ruby-ivar">@path</span>
|
@@ -778,9 +778,9 @@ See Rumai::IXP::Client#stat for details.
|
|
778
778
|
</div>
|
779
779
|
|
780
780
|
<div class="method">
|
781
|
-
<div class="title" id="
|
781
|
+
<div class="title" id="M000008">
|
782
782
|
|
783
|
-
<a name="
|
783
|
+
<a name="M000008"></a><b>write</b>(content)
|
784
784
|
|
785
785
|
</div>
|
786
786
|
|
@@ -796,12 +796,12 @@ Writes the given content to this node.
|
|
796
796
|
|
797
797
|
<div class="sourcecode">
|
798
798
|
<p class="source-link">
|
799
|
-
Source: <a href="javascript:toggleSource('
|
799
|
+
Source: <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show</a>
|
800
800
|
|
801
801
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/fs.rb#L109" target="_blank" class="github_url">on GitHub</a>
|
802
802
|
|
803
803
|
</p>
|
804
|
-
<div id="
|
804
|
+
<div id="M000008_source" class="dyn-source">
|
805
805
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 109</span>
|
806
806
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write</span> <span class="ruby-identifier">content</span>
|
807
807
|
<span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">write</span> <span class="ruby-ivar">@path</span>, <span class="ruby-identifier">content</span>
|
@@ -56,17 +56,17 @@ The visualization of a tag.
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000108">area_ids</a>,</li>
|
60
60
|
|
61
|
-
<li><a href="#
|
61
|
+
<li><a href="#M000104">area_of_client</a>,</li>
|
62
62
|
|
63
|
-
<li><a href="#
|
63
|
+
<li><a href="#M000109">areas</a>,</li>
|
64
64
|
|
65
|
-
<li><a href="#
|
65
|
+
<li><a href="#M000117">arrange_as_larswm</a>,</li>
|
66
66
|
|
67
|
-
<li><a href="#
|
67
|
+
<li><a href="#M000120">arrange_in_diamond</a>,</li>
|
68
68
|
|
69
|
-
<li><a href="#
|
69
|
+
<li><a href="#M000119">arrange_in_grid</a></li>
|
70
70
|
|
71
71
|
</ul>
|
72
72
|
</dd>
|
@@ -75,13 +75,13 @@ The visualization of a tag.
|
|
75
75
|
<dd>
|
76
76
|
<ul>
|
77
77
|
|
78
|
-
<li><a href="#
|
78
|
+
<li><a href="#M000095">chain</a>,</li>
|
79
79
|
|
80
|
-
<li><a href="#
|
80
|
+
<li><a href="#M000096">client_ids</a>,</li>
|
81
81
|
|
82
|
-
<li><a href="#
|
82
|
+
<li><a href="#M000112">columns</a>,</li>
|
83
83
|
|
84
|
-
<li><a href="#
|
84
|
+
<li><a href="#M000093">curr</a></li>
|
85
85
|
|
86
86
|
</ul>
|
87
87
|
</dd>
|
@@ -90,9 +90,11 @@ The visualization of a tag.
|
|
90
90
|
<dd>
|
91
91
|
<ul>
|
92
92
|
|
93
|
-
<li><a href="#
|
93
|
+
<li><a href="#M000099">each</a>,</li>
|
94
94
|
|
95
|
-
<li><a href="#
|
95
|
+
<li><a href="#M000114">each_column</a>,</li>
|
96
|
+
|
97
|
+
<li><a href="#M000116">each_managed_area</a></li>
|
96
98
|
|
97
99
|
</ul>
|
98
100
|
</dd>
|
@@ -101,9 +103,9 @@ The visualization of a tag.
|
|
101
103
|
<dd>
|
102
104
|
<ul>
|
103
105
|
|
104
|
-
<li><a href="#
|
106
|
+
<li><a href="#M000110">floating_area</a>,</li>
|
105
107
|
|
106
|
-
<li><a href="#
|
108
|
+
<li><a href="#M000094">focus</a></li>
|
107
109
|
|
108
110
|
</ul>
|
109
111
|
</dd>
|
@@ -112,7 +114,9 @@ The visualization of a tag.
|
|
112
114
|
<dd>
|
113
115
|
<ul>
|
114
116
|
|
115
|
-
<li><a href="#
|
117
|
+
<li><a href="#M000113">managed_areas</a>,</li>
|
118
|
+
|
119
|
+
<li><a href="#M000102">manifest</a></li>
|
116
120
|
|
117
121
|
</ul>
|
118
122
|
</dd>
|
@@ -121,7 +125,16 @@ The visualization of a tag.
|
|
121
125
|
<dd>
|
122
126
|
<ul>
|
123
127
|
|
124
|
-
<li><a href="#
|
128
|
+
<li><a href="#M000100">new</a></li>
|
129
|
+
|
130
|
+
</ul>
|
131
|
+
</dd>
|
132
|
+
|
133
|
+
<dt>S</dt>
|
134
|
+
<dd>
|
135
|
+
<ul>
|
136
|
+
|
137
|
+
<li><a href="#M000103">select</a></li>
|
125
138
|
|
126
139
|
</ul>
|
127
140
|
</dd>
|
@@ -176,9 +189,9 @@ The visualization of a tag.
|
|
176
189
|
<div class="sectiontitle">Class Public methods</div>
|
177
190
|
|
178
191
|
<div class="method">
|
179
|
-
<div class="title" id="
|
192
|
+
<div class="title" id="M000093">
|
180
193
|
|
181
|
-
<a name="
|
194
|
+
<a name="M000093"></a><b>curr</b>()
|
182
195
|
|
183
196
|
</div>
|
184
197
|
|
@@ -194,15 +207,15 @@ Returns the currently focused view.
|
|
194
207
|
|
195
208
|
<div class="sourcecode">
|
196
209
|
<p class="source-link">
|
197
|
-
Source: <a href="javascript:toggleSource('
|
210
|
+
Source: <a href="javascript:toggleSource('M000093_source')" id="l_M000093_source">show</a>
|
198
211
|
|
199
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
212
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L628" target="_blank" class="github_url">on GitHub</a>
|
200
213
|
|
201
214
|
</p>
|
202
|
-
<div id="
|
203
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
215
|
+
<div id="M000093_source" class="dyn-source">
|
216
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 628</span>
|
204
217
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
205
|
-
<span class="ruby-identifier">new</span> <span class="ruby-
|
218
|
+
<span class="ruby-identifier">new</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
|
206
219
|
<span class="ruby-keyword kw">end</span></pre>
|
207
220
|
</div>
|
208
221
|
</div>
|
@@ -210,9 +223,9 @@ Returns the currently focused view.
|
|
210
223
|
</div>
|
211
224
|
|
212
225
|
<div class="method">
|
213
|
-
<div class="title" id="
|
226
|
+
<div class="title" id="M000100">
|
214
227
|
|
215
|
-
<a name="
|
228
|
+
<a name="M000100"></a><b>new</b>(view_id)
|
216
229
|
|
217
230
|
</div>
|
218
231
|
|
@@ -221,13 +234,13 @@ Returns the currently focused view.
|
|
221
234
|
|
222
235
|
<div class="sourcecode">
|
223
236
|
<p class="source-link">
|
224
|
-
Source: <a href="javascript:toggleSource('
|
237
|
+
Source: <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show</a>
|
225
238
|
|
226
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
239
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L667" target="_blank" class="github_url">on GitHub</a>
|
227
240
|
|
228
241
|
</p>
|
229
|
-
<div id="
|
230
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
242
|
+
<div id="M000100_source" class="dyn-source">
|
243
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 667</span>
|
231
244
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">view_id</span>
|
232
245
|
<span class="ruby-keyword kw">super</span> <span class="ruby-identifier">view_id</span>, <span class="ruby-value str">'/tag'</span>
|
233
246
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -239,9 +252,9 @@ Returns the currently focused view.
|
|
239
252
|
<div class="sectiontitle">Instance Public methods</div>
|
240
253
|
|
241
254
|
<div class="method">
|
242
|
-
<div class="title" id="
|
255
|
+
<div class="title" id="M000108">
|
243
256
|
|
244
|
-
<a name="
|
257
|
+
<a name="M000108"></a><b>area_ids</b>()
|
245
258
|
|
246
259
|
</div>
|
247
260
|
|
@@ -257,17 +270,15 @@ Returns the IDs of all areas in this view.
|
|
257
270
|
|
258
271
|
<div class="sourcecode">
|
259
272
|
<p class="source-link">
|
260
|
-
Source: <a href="javascript:toggleSource('
|
273
|
+
Source: <a href="javascript:toggleSource('M000108_source')" id="l_M000108_source">show</a>
|
261
274
|
|
262
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
275
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L709" target="_blank" class="github_url">on GitHub</a>
|
263
276
|
|
264
277
|
</p>
|
265
|
-
<div id="
|
266
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
278
|
+
<div id="M000108_source" class="dyn-source">
|
279
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 709</span>
|
267
280
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area_ids</span>
|
268
|
-
<span class="ruby-identifier">
|
269
|
-
<span class="ruby-identifier">ids</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-value str">'~'</span> <span class="ruby-comment cmt"># the floating area</span>
|
270
|
-
<span class="ruby-identifier">ids</span>
|
281
|
+
<span class="ruby-identifier">manifest</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">/^# (\d+)/</span>).<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">unshift</span>(<span class="ruby-constant">FLOATING_AREA_ID</span>)
|
271
282
|
<span class="ruby-keyword kw">end</span></pre>
|
272
283
|
</div>
|
273
284
|
</div>
|
@@ -275,9 +286,9 @@ Returns the IDs of all areas in this view.
|
|
275
286
|
</div>
|
276
287
|
|
277
288
|
<div class="method">
|
278
|
-
<div class="title" id="
|
289
|
+
<div class="title" id="M000104">
|
279
290
|
|
280
|
-
<a name="
|
291
|
+
<a name="M000104"></a><b>area_of_client</b>(client_or_id)
|
281
292
|
|
282
293
|
</div>
|
283
294
|
|
@@ -293,13 +304,13 @@ Returns the area which contains the given client in this view.
|
|
293
304
|
|
294
305
|
<div class="sourcecode">
|
295
306
|
<p class="source-link">
|
296
|
-
Source: <a href="javascript:toggleSource('
|
307
|
+
Source: <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show</a>
|
297
308
|
|
298
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
309
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L692" target="_blank" class="github_url">on GitHub</a>
|
299
310
|
|
300
311
|
</p>
|
301
|
-
<div id="
|
302
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
312
|
+
<div id="M000104_source" class="dyn-source">
|
313
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 692</span>
|
303
314
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area_of_client</span> <span class="ruby-identifier">client_or_id</span>
|
304
315
|
<span class="ruby-identifier">arg</span> =
|
305
316
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">client_or_id</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:id</span>
|
@@ -319,9 +330,9 @@ Returns the area which contains the given client in this view.
|
|
319
330
|
</div>
|
320
331
|
|
321
332
|
<div class="method">
|
322
|
-
<div class="title" id="
|
333
|
+
<div class="title" id="M000109">
|
323
334
|
|
324
|
-
<a name="
|
335
|
+
<a name="M000109"></a><b>areas</b>()
|
325
336
|
|
326
337
|
</div>
|
327
338
|
|
@@ -337,13 +348,13 @@ Returns all areas in this view.
|
|
337
348
|
|
338
349
|
<div class="sourcecode">
|
339
350
|
<p class="source-link">
|
340
|
-
Source: <a href="javascript:toggleSource('
|
351
|
+
Source: <a href="javascript:toggleSource('M000109_source')" id="l_M000109_source">show</a>
|
341
352
|
|
342
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
353
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L716" target="_blank" class="github_url">on GitHub</a>
|
343
354
|
|
344
355
|
</p>
|
345
|
-
<div id="
|
346
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
356
|
+
<div id="M000109_source" class="dyn-source">
|
357
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 716</span>
|
347
358
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">areas</span>
|
348
359
|
<span class="ruby-identifier">area_ids</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-constant">Area</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">i</span>, <span class="ruby-keyword kw">self</span> }
|
349
360
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -353,9 +364,9 @@ Returns all areas in this view.
|
|
353
364
|
</div>
|
354
365
|
|
355
366
|
<div class="method">
|
356
|
-
<div class="title" id="
|
367
|
+
<div class="title" id="M000117">
|
357
368
|
|
358
|
-
<a name="
|
369
|
+
<a name="M000117"></a><b>arrange_as_larswm</b>()
|
359
370
|
|
360
371
|
</div>
|
361
372
|
|
@@ -377,26 +388,32 @@ squeezed into the <b>bottom</b> of the secondary column.
|
|
377
388
|
|
378
389
|
<div class="sourcecode">
|
379
390
|
<p class="source-link">
|
380
|
-
Source: <a href="javascript:toggleSource('
|
391
|
+
Source: <a href="javascript:toggleSource('M000117_source')" id="l_M000117_source">show</a>
|
381
392
|
|
382
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
393
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L768" target="_blank" class="github_url">on GitHub</a>
|
383
394
|
|
384
395
|
</p>
|
385
|
-
<div id="
|
386
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
396
|
+
<div id="M000117_source" class="dyn-source">
|
397
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 768</span>
|
387
398
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_as_larswm</span>
|
388
399
|
<span class="ruby-identifier">maintain_focus</span> <span class="ruby-keyword kw">do</span>
|
389
|
-
<span class="ruby-identifier">float</span>, <span class="ruby-identifier">main</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">extra</span> = <span class="ruby-identifier">areas</span>
|
390
|
-
|
391
400
|
<span class="ruby-comment cmt"># keep only one client in the primary column</span>
|
401
|
+
<span class="ruby-identifier">main</span> = <span class="ruby-constant">Area</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">1</span>, <span class="ruby-keyword kw">self</span>)
|
392
402
|
<span class="ruby-identifier">main</span>.<span class="ruby-identifier">length</span> = <span class="ruby-value">1</span>
|
403
|
+
<span class="ruby-identifier">main</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">:default</span>
|
404
|
+
|
405
|
+
<span class="ruby-comment cmt"># collapse remaining areas into secondary column</span>
|
406
|
+
<span class="ruby-identifier">extra</span> = <span class="ruby-identifier">columns</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
393
407
|
|
394
408
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">extra</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">1</span>
|
395
|
-
<span class="ruby-comment cmt"># collapse remaining areas into secondary column</span>
|
396
409
|
<span class="ruby-identifier">extra</span>.<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">each_cons</span>(<span class="ruby-value">2</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">src</span>, <span class="ruby-identifier">dst</span><span class="ruby-operator">|</span>
|
397
410
|
<span class="ruby-identifier">dst</span>.<span class="ruby-identifier">concat</span> <span class="ruby-identifier">src</span>
|
398
411
|
<span class="ruby-keyword kw">end</span>
|
399
412
|
<span class="ruby-keyword kw">end</span>
|
413
|
+
|
414
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">dock</span> = <span class="ruby-identifier">extra</span>.<span class="ruby-identifier">first</span>
|
415
|
+
<span class="ruby-identifier">dock</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">:default</span>
|
416
|
+
<span class="ruby-keyword kw">end</span>
|
400
417
|
<span class="ruby-keyword kw">end</span>
|
401
418
|
<span class="ruby-keyword kw">end</span></pre>
|
402
419
|
</div>
|
@@ -405,9 +422,9 @@ squeezed into the <b>bottom</b> of the secondary column.
|
|
405
422
|
</div>
|
406
423
|
|
407
424
|
<div class="method">
|
408
|
-
<div class="title" id="
|
425
|
+
<div class="title" id="M000120">
|
409
426
|
|
410
|
-
<a name="
|
427
|
+
<a name="M000120"></a><b>arrange_in_diamond</b>()
|
411
428
|
|
412
429
|
</div>
|
413
430
|
|
@@ -425,13 +442,13 @@ appears like a diamond because wmii does not waste screen space.
|
|
425
442
|
|
426
443
|
<div class="sourcecode">
|
427
444
|
<p class="source-link">
|
428
|
-
Source: <a href="javascript:toggleSource('
|
445
|
+
Source: <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">show</a>
|
429
446
|
|
430
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
447
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L822" target="_blank" class="github_url">on GitHub</a>
|
431
448
|
|
432
449
|
</p>
|
433
|
-
<div id="
|
434
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
450
|
+
<div id="M000120_source" class="dyn-source">
|
451
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 822</span>
|
435
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_in_diamond</span>
|
436
453
|
<span class="ruby-identifier">num_clients</span> = <span class="ruby-identifier">num_managed_clients</span>
|
437
454
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">num_clients</span> <span class="ruby-operator">></span> <span class="ruby-value">1</span>
|
@@ -475,9 +492,9 @@ appears like a diamond because wmii does not waste screen space.
|
|
475
492
|
</div>
|
476
493
|
|
477
494
|
<div class="method">
|
478
|
-
<div class="title" id="
|
495
|
+
<div class="title" id="M000119">
|
479
496
|
|
480
|
-
<a name="
|
497
|
+
<a name="M000119"></a><b>arrange_in_grid</b>(max_clients_per_column = nil)
|
481
498
|
|
482
499
|
</div>
|
483
500
|
|
@@ -494,13 +511,13 @@ in a (at best) square grid.
|
|
494
511
|
|
495
512
|
<div class="sourcecode">
|
496
513
|
<p class="source-link">
|
497
|
-
Source: <a href="javascript:toggleSource('
|
514
|
+
Source: <a href="javascript:toggleSource('M000119_source')" id="l_M000119_source">show</a>
|
498
515
|
|
499
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
516
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L794" target="_blank" class="github_url">on GitHub</a>
|
500
517
|
|
501
518
|
</p>
|
502
|
-
<div id="
|
503
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
519
|
+
<div id="M000119_source" class="dyn-source">
|
520
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 794</span>
|
504
521
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_in_grid</span> <span class="ruby-identifier">max_clients_per_column</span> = <span class="ruby-keyword kw">nil</span>
|
505
522
|
<span class="ruby-comment cmt"># compute client distribution</span>
|
506
523
|
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">max_clients_per_column</span>
|
@@ -527,9 +544,9 @@ in a (at best) square grid.
|
|
527
544
|
</div>
|
528
545
|
|
529
546
|
<div class="method">
|
530
|
-
<div class="title" id="
|
547
|
+
<div class="title" id="M000095">
|
531
548
|
|
532
|
-
<a name="
|
549
|
+
<a name="M000095"></a><b>chain</b>()
|
533
550
|
|
534
551
|
</div>
|
535
552
|
|
@@ -545,13 +562,13 @@ Returns a list of all views.
|
|
545
562
|
|
546
563
|
<div class="sourcecode">
|
547
564
|
<p class="source-link">
|
548
|
-
Source: <a href="javascript:toggleSource('
|
565
|
+
Source: <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show</a>
|
549
566
|
|
550
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
567
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L644" target="_blank" class="github_url">on GitHub</a>
|
551
568
|
|
552
569
|
</p>
|
553
|
-
<div id="
|
554
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
570
|
+
<div id="M000095_source" class="dyn-source">
|
571
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 644</span>
|
555
572
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
556
573
|
<span class="ruby-constant">Rumai</span>.<span class="ruby-identifier">views</span>
|
557
574
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -561,9 +578,9 @@ Returns a list of all views.
|
|
561
578
|
</div>
|
562
579
|
|
563
580
|
<div class="method">
|
564
|
-
<div class="title" id="
|
581
|
+
<div class="title" id="M000096">
|
565
582
|
|
566
|
-
<a name="
|
583
|
+
<a name="M000096"></a><b>client_ids</b>(area_id = '\S+')
|
567
584
|
|
568
585
|
</div>
|
569
586
|
|
@@ -580,13 +597,13 @@ view.
|
|
580
597
|
|
581
598
|
<div class="sourcecode">
|
582
599
|
<p class="source-link">
|
583
|
-
Source: <a href="javascript:toggleSource('
|
600
|
+
Source: <a href="javascript:toggleSource('M000096_source')" id="l_M000096_source">show</a>
|
584
601
|
|
585
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
602
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L654" target="_blank" class="github_url">on GitHub</a>
|
586
603
|
|
587
604
|
</p>
|
588
|
-
<div id="
|
589
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
605
|
+
<div id="M000096_source" class="dyn-source">
|
606
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 654</span>
|
590
607
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span> <span class="ruby-identifier">area_id</span> = <span class="ruby-value str">'\S+'</span>
|
591
608
|
<span class="ruby-identifier">manifest</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-node">/^#{area_id} (0x\S+)/</span>).<span class="ruby-identifier">flatten</span>
|
592
609
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -596,9 +613,9 @@ view.
|
|
596
613
|
</div>
|
597
614
|
|
598
615
|
<div class="method">
|
599
|
-
<div class="title" id="
|
616
|
+
<div class="title" id="M000112">
|
600
617
|
|
601
|
-
<a name="
|
618
|
+
<a name="M000112"></a><b>columns</b>()
|
602
619
|
|
603
620
|
</div>
|
604
621
|
|
@@ -610,17 +627,24 @@ Returns all columns (managed areas) in this view.
|
|
610
627
|
</div>
|
611
628
|
|
612
629
|
|
630
|
+
<div class="aka">
|
631
|
+
This method is also aliased as
|
632
|
+
|
633
|
+
<a href="View.html#M000113">managed_areas</a>
|
634
|
+
|
635
|
+
</div>
|
636
|
+
|
613
637
|
|
614
638
|
|
615
639
|
<div class="sourcecode">
|
616
640
|
<p class="source-link">
|
617
|
-
Source: <a href="javascript:toggleSource('
|
641
|
+
Source: <a href="javascript:toggleSource('M000112_source')" id="l_M000112_source">show</a>
|
618
642
|
|
619
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
643
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L730" target="_blank" class="github_url">on GitHub</a>
|
620
644
|
|
621
645
|
</p>
|
622
|
-
<div id="
|
623
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
646
|
+
<div id="M000112_source" class="dyn-source">
|
647
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 730</span>
|
624
648
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">columns</span>
|
625
649
|
<span class="ruby-identifier">areas</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
626
650
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -630,9 +654,9 @@ Returns all columns (managed areas) in this view.
|
|
630
654
|
</div>
|
631
655
|
|
632
656
|
<div class="method">
|
633
|
-
<div class="title" id="
|
657
|
+
<div class="title" id="M000099">
|
634
658
|
|
635
|
-
<a name="
|
659
|
+
<a name="M000099"></a><b>each</b>(&block)
|
636
660
|
|
637
661
|
</div>
|
638
662
|
|
@@ -648,13 +672,13 @@ Iterates through each area in this view.
|
|
648
672
|
|
649
673
|
<div class="sourcecode">
|
650
674
|
<p class="source-link">
|
651
|
-
Source: <a href="javascript:toggleSource('
|
675
|
+
Source: <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show</a>
|
652
676
|
|
653
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
677
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L663" target="_blank" class="github_url">on GitHub</a>
|
654
678
|
|
655
679
|
</p>
|
656
|
-
<div id="
|
657
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
680
|
+
<div id="M000099_source" class="dyn-source">
|
681
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 663</span>
|
658
682
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
659
683
|
<span class="ruby-identifier">areas</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
660
684
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -664,9 +688,9 @@ Iterates through each area in this view.
|
|
664
688
|
</div>
|
665
689
|
|
666
690
|
<div class="method">
|
667
|
-
<div class="title" id="
|
691
|
+
<div class="title" id="M000114">
|
668
692
|
|
669
|
-
<a name="
|
693
|
+
<a name="M000114"></a><b>each_column</b>(starting_column_id = 1)
|
670
694
|
|
671
695
|
</div>
|
672
696
|
|
@@ -680,17 +704,24 @@ processed in the iteration.
|
|
680
704
|
</div>
|
681
705
|
|
682
706
|
|
707
|
+
<div class="aka">
|
708
|
+
This method is also aliased as
|
709
|
+
|
710
|
+
<a href="View.html#M000116">each_managed_area</a>
|
711
|
+
|
712
|
+
</div>
|
713
|
+
|
683
714
|
|
684
715
|
|
685
716
|
<div class="sourcecode">
|
686
717
|
<p class="source-link">
|
687
|
-
Source: <a href="javascript:toggleSource('
|
718
|
+
Source: <a href="javascript:toggleSource('M000114_source')" id="l_M000114_source">show</a>
|
688
719
|
|
689
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
720
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L741" target="_blank" class="github_url">on GitHub</a>
|
690
721
|
|
691
722
|
</p>
|
692
|
-
<div id="
|
693
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
723
|
+
<div id="M000114_source" class="dyn-source">
|
724
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 741</span>
|
694
725
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_column</span> <span class="ruby-identifier">starting_column_id</span> = <span class="ruby-value">1</span>
|
695
726
|
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">starting_column_id</span>
|
696
727
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword kw">do</span>
|
@@ -711,9 +742,27 @@ processed in the iteration.
|
|
711
742
|
</div>
|
712
743
|
|
713
744
|
<div class="method">
|
714
|
-
<div class="title" id="
|
745
|
+
<div class="title" id="M000116">
|
746
|
+
|
747
|
+
<a name="M000116"></a><b>each_managed_area</b>(starting_column_id = 1)
|
748
|
+
|
749
|
+
</div>
|
750
|
+
|
751
|
+
<div class="description">
|
752
|
+
<p>
|
753
|
+
Alias for <a href="View.html#M000114">each_column</a>
|
754
|
+
</p>
|
755
|
+
|
756
|
+
</div>
|
757
|
+
|
758
|
+
|
759
|
+
|
760
|
+
</div>
|
761
|
+
|
762
|
+
<div class="method">
|
763
|
+
<div class="title" id="M000110">
|
715
764
|
|
716
|
-
<a name="
|
765
|
+
<a name="M000110"></a><b>floating_area</b>()
|
717
766
|
|
718
767
|
</div>
|
719
768
|
|
@@ -729,15 +778,15 @@ Returns the floating area of this view.
|
|
729
778
|
|
730
779
|
<div class="sourcecode">
|
731
780
|
<p class="source-link">
|
732
|
-
Source: <a href="javascript:toggleSource('
|
781
|
+
Source: <a href="javascript:toggleSource('M000110_source')" id="l_M000110_source">show</a>
|
733
782
|
|
734
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
783
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L723" target="_blank" class="github_url">on GitHub</a>
|
735
784
|
|
736
785
|
</p>
|
737
|
-
<div id="
|
738
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
739
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
740
|
-
<span class="ruby-
|
786
|
+
<div id="M000110_source" class="dyn-source">
|
787
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 723</span>
|
788
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">floating_area</span>
|
789
|
+
<span class="ruby-constant">Area</span>.<span class="ruby-identifier">floating</span> <span class="ruby-keyword kw">self</span>
|
741
790
|
<span class="ruby-keyword kw">end</span></pre>
|
742
791
|
</div>
|
743
792
|
</div>
|
@@ -745,9 +794,9 @@ Returns the floating area of this view.
|
|
745
794
|
</div>
|
746
795
|
|
747
796
|
<div class="method">
|
748
|
-
<div class="title" id="
|
797
|
+
<div class="title" id="M000094">
|
749
798
|
|
750
|
-
<a name="
|
799
|
+
<a name="M000094"></a><b>focus</b>()
|
751
800
|
|
752
801
|
</div>
|
753
802
|
|
@@ -763,15 +812,15 @@ Focuses this view.
|
|
763
812
|
|
764
813
|
<div class="sourcecode">
|
765
814
|
<p class="source-link">
|
766
|
-
Source: <a href="javascript:toggleSource('
|
815
|
+
Source: <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show</a>
|
767
816
|
|
768
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
817
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L635" target="_blank" class="github_url">on GitHub</a>
|
769
818
|
|
770
819
|
</p>
|
771
|
-
<div id="
|
772
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
820
|
+
<div id="M000094_source" class="dyn-source">
|
821
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 635</span>
|
773
822
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span>
|
774
|
-
<span class="ruby-constant">
|
823
|
+
<span class="ruby-constant">IXP_FS_ROOT</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"view #{@id}"</span>
|
775
824
|
<span class="ruby-keyword kw">end</span></pre>
|
776
825
|
</div>
|
777
826
|
</div>
|
@@ -779,9 +828,27 @@ Focuses this view.
|
|
779
828
|
</div>
|
780
829
|
|
781
830
|
<div class="method">
|
782
|
-
<div class="title" id="
|
831
|
+
<div class="title" id="M000113">
|
783
832
|
|
784
|
-
<a name="
|
833
|
+
<a name="M000113"></a><b>managed_areas</b>()
|
834
|
+
|
835
|
+
</div>
|
836
|
+
|
837
|
+
<div class="description">
|
838
|
+
<p>
|
839
|
+
Alias for <a href="View.html#M000112">columns</a>
|
840
|
+
</p>
|
841
|
+
|
842
|
+
</div>
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
</div>
|
847
|
+
|
848
|
+
<div class="method">
|
849
|
+
<div class="title" id="M000102">
|
850
|
+
|
851
|
+
<a name="M000102"></a><b>manifest</b>()
|
785
852
|
|
786
853
|
</div>
|
787
854
|
|
@@ -797,16 +864,50 @@ Returns the manifest of all areas and clients in this view.
|
|
797
864
|
|
798
865
|
<div class="sourcecode">
|
799
866
|
<p class="source-link">
|
800
|
-
Source: <a href="javascript:toggleSource('
|
867
|
+
Source: <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show</a>
|
801
868
|
|
802
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
869
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L676" target="_blank" class="github_url">on GitHub</a>
|
803
870
|
|
804
871
|
</p>
|
805
|
-
<div id="
|
806
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
807
|
-
|
808
|
-
|
809
|
-
|
872
|
+
<div id="M000102_source" class="dyn-source">
|
873
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 676</span>
|
874
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">manifest</span>
|
875
|
+
<span class="ruby-identifier">index</span>.<span class="ruby-identifier">read</span> <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>
|
876
|
+
<span class="ruby-keyword kw">end</span></pre>
|
877
|
+
</div>
|
878
|
+
</div>
|
879
|
+
|
880
|
+
</div>
|
881
|
+
|
882
|
+
<div class="method">
|
883
|
+
<div class="title" id="M000103">
|
884
|
+
|
885
|
+
<a name="M000103"></a><b>select</b>(direction)
|
886
|
+
|
887
|
+
</div>
|
888
|
+
|
889
|
+
<div class="description">
|
890
|
+
<p>
|
891
|
+
Moves the focus from the current client in the given direction.
|
892
|
+
</p>
|
893
|
+
|
894
|
+
</div>
|
895
|
+
|
896
|
+
|
897
|
+
|
898
|
+
|
899
|
+
<div class="sourcecode">
|
900
|
+
<p class="source-link">
|
901
|
+
Source: <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show</a>
|
902
|
+
|
903
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L683" target="_blank" class="github_url">on GitHub</a>
|
904
|
+
|
905
|
+
</p>
|
906
|
+
<div id="M000103_source" class="dyn-source">
|
907
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 683</span>
|
908
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select</span> <span class="ruby-identifier">direction</span>
|
909
|
+
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"select #{direction}"</span>
|
910
|
+
<span class="ruby-keyword kw">end</span></pre>
|
810
911
|
</div>
|
811
912
|
</div>
|
812
913
|
|