rumai 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/rumai +1 -1
- data/doc/api/classes/Integer.html +7 -7
- data/doc/api/classes/Rumai.html +148 -141
- data/doc/api/classes/Rumai/Area.html +135 -130
- data/doc/api/classes/Rumai/Chain.html +21 -21
- data/doc/api/classes/Rumai/Client.html +188 -189
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +248 -143
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +50 -50
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +7 -7
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +21 -21
- data/doc/api/classes/Rumai/IXP/Fcall.html +33 -33
- data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
- data/doc/api/classes/Rumai/IXP/Stat.html +8 -8
- data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
- data/doc/api/classes/Rumai/IXP/Struct.html +34 -38
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +42 -42
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +14 -14
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +7 -7
- data/doc/api/classes/Rumai/IXP/Terror.html +7 -7
- data/doc/api/classes/Rumai/IXP/Topen.html +1 -1
- data/doc/api/classes/Rumai/Node.html +114 -110
- data/doc/api/classes/Rumai/View.html +184 -136
- data/doc/api/classes/String.html +15 -15
- data/doc/api/classes/Time.html +14 -14
- data/doc/api/created.rid +1 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/transport_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 +41 -0
- data/doc/index.html +1315 -669
- data/doc/setup.erb +82 -45
- data/doc/usage.erb +96 -132
- data/lib/rumai.rb +2 -2
- data/lib/rumai/fs.rb +11 -6
- data/lib/rumai/ixp/message.rb +31 -17
- data/lib/rumai/ixp/transport.rb +82 -36
- data/lib/rumai/wm.rb +87 -25
- metadata +5 -5
@@ -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="#M000001">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="#M000002">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="#M000007">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="M000001">
|
94
94
|
|
95
|
-
<a name="
|
95
|
+
<a name="M000001"></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('M000001_source')" id="l_M000001_source">show</a>
|
112
112
|
|
113
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
113
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L35" 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="M000001_source" class="dyn-source">
|
117
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 35</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="M000002">
|
128
128
|
|
129
|
-
<a name="
|
129
|
+
<a name="M000002"></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('M000002_source')" id="l_M000002_source">show</a>
|
146
146
|
|
147
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
147
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L42" 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="M000002_source" class="dyn-source">
|
151
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 42</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="M000007">
|
162
162
|
|
163
|
-
<a name="
|
163
|
+
<a name="M000007"></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('M000007_source')" id="l_M000007_source">show</a>
|
180
180
|
|
181
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
181
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L49" 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="M000007_source" class="dyn-source">
|
185
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 49</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="#M000049">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="#M000019">chain</a>,</li>
|
69
69
|
|
70
|
-
<li><a href="#
|
70
|
+
<li><a href="#M000018">curr</a></li>
|
71
71
|
|
72
72
|
</ul>
|
73
73
|
</dd>
|
@@ -76,13 +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="#M000041">float</a>,</li>
|
80
80
|
|
81
|
-
<li><a href="#
|
81
|
+
<li><a href="#M000043">float!</a>,</li>
|
82
82
|
|
83
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000040">float?</a>,</li>
|
84
84
|
|
85
|
-
<li><a href="#
|
85
|
+
<li><a href="#M000020">focus</a>,</li>
|
86
86
|
|
87
87
|
<li><a href="#M000031">fullscreen</a>,</li>
|
88
88
|
|
@@ -97,11 +97,11 @@ A graphical program that is running in your current X Windows session.
|
|
97
97
|
<dd>
|
98
98
|
<ul>
|
99
99
|
|
100
|
-
<li><a href="#
|
100
|
+
<li><a href="#M000063">group</a>,</li>
|
101
101
|
|
102
|
-
<li><a href="#
|
102
|
+
<li><a href="#M000066">group!</a>,</li>
|
103
103
|
|
104
|
-
<li><a href="#
|
104
|
+
<li><a href="#M000062">group?</a></li>
|
105
105
|
|
106
106
|
</ul>
|
107
107
|
</dd>
|
@@ -119,11 +119,11 @@ A graphical program that is running in your current X Windows session.
|
|
119
119
|
<dd>
|
120
120
|
<ul>
|
121
121
|
|
122
|
-
<li><a href="#
|
122
|
+
<li><a href="#M000046">manage</a>,</li>
|
123
123
|
|
124
|
-
<li><a href="#
|
124
|
+
<li><a href="#M000048">manage!</a>,</li>
|
125
125
|
|
126
|
-
<li><a href="#
|
126
|
+
<li><a href="#M000044">manage?</a>,</li>
|
127
127
|
|
128
128
|
<li><a href="#M000027">move</a></li>
|
129
129
|
|
@@ -134,7 +134,7 @@ A graphical program that is running in your current X Windows session.
|
|
134
134
|
<dd>
|
135
135
|
<ul>
|
136
136
|
|
137
|
-
<li><a href="#
|
137
|
+
<li><a href="#M000014">new</a></li>
|
138
138
|
|
139
139
|
</ul>
|
140
140
|
</dd>
|
@@ -149,7 +149,7 @@ A graphical program that is running in your current X Windows session.
|
|
149
149
|
|
150
150
|
<li><a href="#M000036">stick</a>,</li>
|
151
151
|
|
152
|
-
<li><a href="#
|
152
|
+
<li><a href="#M000039">stick!</a>,</li>
|
153
153
|
|
154
154
|
<li><a href="#M000035">stick?</a>,</li>
|
155
155
|
|
@@ -162,11 +162,11 @@ A graphical program that is running in your current X Windows session.
|
|
162
162
|
<dd>
|
163
163
|
<ul>
|
164
164
|
|
165
|
-
<li><a href="#
|
165
|
+
<li><a href="#M000059">tag</a>,</li>
|
166
166
|
|
167
|
-
<li><a href="#
|
167
|
+
<li><a href="#M000052">tags</a>,</li>
|
168
168
|
|
169
|
-
<li><a href="#
|
169
|
+
<li><a href="#M000056">tags=</a></li>
|
170
170
|
|
171
171
|
</ul>
|
172
172
|
</dd>
|
@@ -175,17 +175,17 @@ A graphical program that is running in your current X Windows session.
|
|
175
175
|
<dd>
|
176
176
|
<ul>
|
177
177
|
|
178
|
-
<li><a href="#
|
178
|
+
<li><a href="#M000042">unfloat</a>,</li>
|
179
179
|
|
180
180
|
<li><a href="#M000032">unfullscreen</a>,</li>
|
181
181
|
|
182
|
-
<li><a href="#
|
182
|
+
<li><a href="#M000065">ungroup</a>,</li>
|
183
183
|
|
184
|
-
<li><a href="#
|
184
|
+
<li><a href="#M000047">unmanage</a>,</li>
|
185
185
|
|
186
186
|
<li><a href="#M000037">unstick</a>,</li>
|
187
187
|
|
188
|
-
<li><a href="#
|
188
|
+
<li><a href="#M000060">untag</a></li>
|
189
189
|
|
190
190
|
</ul>
|
191
191
|
</dd>
|
@@ -194,7 +194,7 @@ A graphical program that is running in your current X Windows session.
|
|
194
194
|
<dd>
|
195
195
|
<ul>
|
196
196
|
|
197
|
-
<li><a href="#
|
197
|
+
<li><a href="#M000050">views</a></li>
|
198
198
|
|
199
199
|
</ul>
|
200
200
|
</dd>
|
@@ -203,7 +203,7 @@ A graphical program that is running in your current X Windows session.
|
|
203
203
|
<dd>
|
204
204
|
<ul>
|
205
205
|
|
206
|
-
<li><a href="#
|
206
|
+
<li><a href="#M000058">with_tags</a></li>
|
207
207
|
|
208
208
|
</ul>
|
209
209
|
</dd>
|
@@ -241,10 +241,10 @@ A graphical program that is running in your current X Windows session.
|
|
241
241
|
|
242
242
|
<tr valign='top'>
|
243
243
|
<td> </td>
|
244
|
-
<td colspan="2" class="attr-desc"><
|
245
|
-
tag manipulations
|
246
|
-
</
|
247
|
-
|
244
|
+
<td colspan="2" class="attr-desc"><hr size="10"></hr><pre>
|
245
|
+
tag manipulations
|
246
|
+
</pre>
|
247
|
+
<hr size="10"></hr></td>
|
248
248
|
</tr>
|
249
249
|
|
250
250
|
|
@@ -257,9 +257,9 @@ tag manipulations
|
|
257
257
|
<div class="sectiontitle">Class Public methods</div>
|
258
258
|
|
259
259
|
<div class="method">
|
260
|
-
<div class="title" id="
|
260
|
+
<div class="title" id="M000018">
|
261
261
|
|
262
|
-
<a name="
|
262
|
+
<a name="M000018"></a><b>curr</b>()
|
263
263
|
|
264
264
|
</div>
|
265
265
|
|
@@ -275,13 +275,13 @@ Returns the currently focused client.
|
|
275
275
|
|
276
276
|
<div class="sourcecode">
|
277
277
|
<p class="source-link">
|
278
|
-
Source: <a href="javascript:toggleSource('
|
278
|
+
Source: <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show</a>
|
279
279
|
|
280
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
280
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L116" target="_blank" class="github_url">on GitHub</a>
|
281
281
|
|
282
282
|
</p>
|
283
|
-
<div id="
|
284
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
283
|
+
<div id="M000018_source" class="dyn-source">
|
284
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 116</span>
|
285
285
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
286
286
|
<span class="ruby-identifier">new</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
|
287
287
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -291,9 +291,9 @@ Returns the currently focused client.
|
|
291
291
|
</div>
|
292
292
|
|
293
293
|
<div class="method">
|
294
|
-
<div class="title" id="
|
294
|
+
<div class="title" id="M000014">
|
295
295
|
|
296
|
-
<a name="
|
296
|
+
<a name="M000014"></a><b>new</b>(client_id)
|
297
297
|
|
298
298
|
</div>
|
299
299
|
|
@@ -302,13 +302,13 @@ Returns the currently focused client.
|
|
302
302
|
|
303
303
|
<div class="sourcecode">
|
304
304
|
<p class="source-link">
|
305
|
-
Source: <a href="javascript:toggleSource('
|
305
|
+
Source: <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show</a>
|
306
306
|
|
307
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
307
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L109" target="_blank" class="github_url">on GitHub</a>
|
308
308
|
|
309
309
|
</p>
|
310
|
-
<div id="
|
311
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
310
|
+
<div id="M000014_source" class="dyn-source">
|
311
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 109</span>
|
312
312
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">client_id</span>
|
313
313
|
<span class="ruby-keyword kw">super</span> <span class="ruby-identifier">client_id</span>, <span class="ruby-value str">'/client'</span>
|
314
314
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -320,9 +320,9 @@ Returns the currently focused client.
|
|
320
320
|
<div class="sectiontitle">Instance Public methods</div>
|
321
321
|
|
322
322
|
<div class="method">
|
323
|
-
<div class="title" id="
|
323
|
+
<div class="title" id="M000049">
|
324
324
|
|
325
|
-
<a name="
|
325
|
+
<a name="M000049"></a><b>area</b>(view = View.curr)
|
326
326
|
|
327
327
|
</div>
|
328
328
|
|
@@ -338,13 +338,13 @@ Returns the area that contains this client within the given view.
|
|
338
338
|
|
339
339
|
<div class="sourcecode">
|
340
340
|
<p class="source-link">
|
341
|
-
Source: <a href="javascript:toggleSource('
|
341
|
+
Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
|
342
342
|
|
343
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
343
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L301" target="_blank" class="github_url">on GitHub</a>
|
344
344
|
|
345
345
|
</p>
|
346
|
-
<div id="
|
347
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
346
|
+
<div id="M000049_source" class="dyn-source">
|
347
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 301</span>
|
348
348
|
<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>
|
349
349
|
<span class="ruby-identifier">view</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-keyword kw">self</span>
|
350
350
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -354,9 +354,9 @@ Returns the area that contains this client within the given view.
|
|
354
354
|
</div>
|
355
355
|
|
356
356
|
<div class="method">
|
357
|
-
<div class="title" id="
|
357
|
+
<div class="title" id="M000019">
|
358
358
|
|
359
|
-
<a name="
|
359
|
+
<a name="M000019"></a><b>chain</b>()
|
360
360
|
|
361
361
|
</div>
|
362
362
|
|
@@ -372,13 +372,13 @@ Returns a list of all clients in the current view.
|
|
372
372
|
|
373
373
|
<div class="sourcecode">
|
374
374
|
<p class="source-link">
|
375
|
-
Source: <a href="javascript:toggleSource('
|
375
|
+
Source: <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show</a>
|
376
376
|
|
377
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
377
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L125" target="_blank" class="github_url">on GitHub</a>
|
378
378
|
|
379
379
|
</p>
|
380
|
-
<div id="
|
381
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
380
|
+
<div id="M000019_source" class="dyn-source">
|
381
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 125</span>
|
382
382
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
383
383
|
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">clients</span>
|
384
384
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -388,9 +388,9 @@ Returns a list of all clients in the current view.
|
|
388
388
|
</div>
|
389
389
|
|
390
390
|
<div class="method">
|
391
|
-
<div class="title" id="
|
391
|
+
<div class="title" id="M000041">
|
392
392
|
|
393
|
-
<a name="
|
393
|
+
<a name="M000041"></a><b>float</b>(view = View.curr)
|
394
394
|
|
395
395
|
</div>
|
396
396
|
|
@@ -405,7 +405,7 @@ Puts this client into the floating area of the given view.
|
|
405
405
|
<div class="aka">
|
406
406
|
This method is also aliased as
|
407
407
|
|
408
|
-
<a href="Client.html#
|
408
|
+
<a href="Client.html#M000047">unmanage</a>
|
409
409
|
|
410
410
|
</div>
|
411
411
|
|
@@ -413,13 +413,13 @@ Puts this client into the floating area of the given view.
|
|
413
413
|
|
414
414
|
<div class="sourcecode">
|
415
415
|
<p class="source-link">
|
416
|
-
Source: <a href="javascript:toggleSource('
|
416
|
+
Source: <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show</a>
|
417
417
|
|
418
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
418
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L264" target="_blank" class="github_url">on GitHub</a>
|
419
419
|
|
420
420
|
</p>
|
421
|
-
<div id="
|
422
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
421
|
+
<div id="M000041_source" class="dyn-source">
|
422
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 264</span>
|
423
423
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">float</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
424
424
|
<span class="ruby-identifier">send</span> <span class="ruby-identifier">:toggle</span>, <span class="ruby-identifier">view</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span>
|
425
425
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -429,9 +429,9 @@ Puts this client into the floating area of the given view.
|
|
429
429
|
</div>
|
430
430
|
|
431
431
|
<div class="method">
|
432
|
-
<div class="title" id="
|
432
|
+
<div class="title" id="M000043">
|
433
433
|
|
434
|
-
<a name="
|
434
|
+
<a name="M000043"></a><b>float!</b>(view = View.curr)
|
435
435
|
|
436
436
|
</div>
|
437
437
|
|
@@ -446,7 +446,7 @@ Toggles the floating status of this client in the given view.
|
|
446
446
|
<div class="aka">
|
447
447
|
This method is also aliased as
|
448
448
|
|
449
|
-
<a href="Client.html#
|
449
|
+
<a href="Client.html#M000048">manage!</a>
|
450
450
|
|
451
451
|
</div>
|
452
452
|
|
@@ -454,13 +454,13 @@ Toggles the floating status of this client in the given view.
|
|
454
454
|
|
455
455
|
<div class="sourcecode">
|
456
456
|
<p class="source-link">
|
457
|
-
Source: <a href="javascript:toggleSource('
|
457
|
+
Source: <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show</a>
|
458
458
|
|
459
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
459
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L278" target="_blank" class="github_url">on GitHub</a>
|
460
460
|
|
461
461
|
</p>
|
462
|
-
<div id="
|
463
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
462
|
+
<div id="M000043_source" class="dyn-source">
|
463
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 278</span>
|
464
464
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">float!</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
465
465
|
<span class="ruby-identifier">send</span> <span class="ruby-identifier">:toggle</span>, <span class="ruby-identifier">view</span>
|
466
466
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -470,9 +470,9 @@ Toggles the floating status of this client in the given view.
|
|
470
470
|
</div>
|
471
471
|
|
472
472
|
<div class="method">
|
473
|
-
<div class="title" id="
|
473
|
+
<div class="title" id="M000040">
|
474
474
|
|
475
|
-
<a name="
|
475
|
+
<a name="M000040"></a><b>float?</b>(view = View.curr)
|
476
476
|
|
477
477
|
</div>
|
478
478
|
|
@@ -488,13 +488,13 @@ Checks if this client is in the floating area of the given view.
|
|
488
488
|
|
489
489
|
<div class="sourcecode">
|
490
490
|
<p class="source-link">
|
491
|
-
Source: <a href="javascript:toggleSource('
|
491
|
+
Source: <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show</a>
|
492
492
|
|
493
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
493
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L257" target="_blank" class="github_url">on GitHub</a>
|
494
494
|
|
495
495
|
</p>
|
496
|
-
<div id="
|
497
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
496
|
+
<div id="M000040_source" class="dyn-source">
|
497
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 257</span>
|
498
498
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
499
499
|
<span class="ruby-identifier">area</span>(<span class="ruby-identifier">view</span>).<span class="ruby-identifier">floating?</span>
|
500
500
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -504,9 +504,9 @@ Checks if this client is in the floating area of the given view.
|
|
504
504
|
</div>
|
505
505
|
|
506
506
|
<div class="method">
|
507
|
-
<div class="title" id="
|
507
|
+
<div class="title" id="M000020">
|
508
508
|
|
509
|
-
<a name="
|
509
|
+
<a name="M000020"></a><b>focus</b>(view = nil)
|
510
510
|
|
511
511
|
</div>
|
512
512
|
|
@@ -522,13 +522,13 @@ Focuses this client within the given view.
|
|
522
522
|
|
523
523
|
<div class="sourcecode">
|
524
524
|
<p class="source-link">
|
525
|
-
Source: <a href="javascript:toggleSource('
|
525
|
+
Source: <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show</a>
|
526
526
|
|
527
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
527
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L136" target="_blank" class="github_url">on GitHub</a>
|
528
528
|
|
529
529
|
</p>
|
530
|
-
<div id="
|
531
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
530
|
+
<div id="M000020_source" class="dyn-source">
|
531
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 136</span>
|
532
532
|
<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>
|
533
533
|
<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>
|
534
534
|
(<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>
|
@@ -545,7 +545,6 @@ Focuses this client within the given view.
|
|
545
545
|
<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>
|
546
546
|
|
547
547
|
<span class="ruby-identifier">distance</span>.<span class="ruby-identifier">times</span> { <span class="ruby-identifier">v</span>.<span class="ruby-identifier">select</span> <span class="ruby-identifier">direction</span> }
|
548
|
-
|
549
548
|
<span class="ruby-keyword kw">break</span>
|
550
549
|
<span class="ruby-keyword kw">end</span>
|
551
550
|
<span class="ruby-keyword kw">end</span>
|
@@ -577,11 +576,11 @@ Maximizes this client to occupy the entire screen on the current view.
|
|
577
576
|
<p class="source-link">
|
578
577
|
Source: <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show</a>
|
579
578
|
|
580
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
579
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L193" target="_blank" class="github_url">on GitHub</a>
|
581
580
|
|
582
581
|
</p>
|
583
582
|
<div id="M000031_source" class="dyn-source">
|
584
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
583
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 193</span>
|
585
584
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen</span>
|
586
585
|
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen on'</span>
|
587
586
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -611,11 +610,11 @@ Toggles the fullscreen status of this client on the current view.
|
|
611
610
|
<p class="source-link">
|
612
611
|
Source: <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show</a>
|
613
612
|
|
614
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
613
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L207" target="_blank" class="github_url">on GitHub</a>
|
615
614
|
|
616
615
|
</p>
|
617
616
|
<div id="M000033_source" class="dyn-source">
|
618
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
617
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 207</span>
|
619
618
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen!</span>
|
620
619
|
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen toggle'</span>
|
621
620
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -645,11 +644,11 @@ Checks if this client is currently fullscreen on the current view.
|
|
645
644
|
<p class="source-link">
|
646
645
|
Source: <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show</a>
|
647
646
|
|
648
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
647
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L214" target="_blank" class="github_url">on GitHub</a>
|
649
648
|
|
650
649
|
</p>
|
651
650
|
<div id="M000034_source" class="dyn-source">
|
652
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
651
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 214</span>
|
653
652
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen?</span>
|
654
653
|
<span class="ruby-comment cmt">#</span>
|
655
654
|
<span class="ruby-comment cmt"># If the client's dimensions match those of the</span>
|
@@ -663,9 +662,9 @@ Checks if this client is currently fullscreen on the current view.
|
|
663
662
|
</div>
|
664
663
|
|
665
664
|
<div class="method">
|
666
|
-
<div class="title" id="
|
665
|
+
<div class="title" id="M000063">
|
667
666
|
|
668
|
-
<a name="
|
667
|
+
<a name="M000063"></a><b>group</b>()
|
669
668
|
|
670
669
|
</div>
|
671
670
|
|
@@ -681,13 +680,13 @@ Adds this client to the current grouping.
|
|
681
680
|
|
682
681
|
<div class="sourcecode">
|
683
682
|
<p class="source-link">
|
684
|
-
Source: <a href="javascript:toggleSource('
|
683
|
+
Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
|
685
684
|
|
686
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
685
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L412" target="_blank" class="github_url">on GitHub</a>
|
687
686
|
|
688
687
|
</p>
|
689
|
-
<div id="
|
690
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
688
|
+
<div id="M000063_source" class="dyn-source">
|
689
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 412</span>
|
691
690
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group</span>
|
692
691
|
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
693
692
|
<span class="ruby-identifier">push</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
@@ -699,9 +698,9 @@ Adds this client to the current grouping.
|
|
699
698
|
</div>
|
700
699
|
|
701
700
|
<div class="method">
|
702
|
-
<div class="title" id="
|
701
|
+
<div class="title" id="M000066">
|
703
702
|
|
704
|
-
<a name="
|
703
|
+
<a name="M000066"></a><b>group!</b>()
|
705
704
|
|
706
705
|
</div>
|
707
706
|
|
@@ -717,13 +716,13 @@ Toggles the presence of this client in the current grouping.
|
|
717
716
|
|
718
717
|
<div class="sourcecode">
|
719
718
|
<p class="source-link">
|
720
|
-
Source: <a href="javascript:toggleSource('
|
719
|
+
Source: <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show</a>
|
721
720
|
|
722
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
721
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L428" target="_blank" class="github_url">on GitHub</a>
|
723
722
|
|
724
723
|
</p>
|
725
|
-
<div id="
|
726
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
724
|
+
<div id="M000066_source" class="dyn-source">
|
725
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 428</span>
|
727
726
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group!</span>
|
728
727
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">group?</span>
|
729
728
|
<span class="ruby-identifier">ungroup</span>
|
@@ -737,9 +736,9 @@ Toggles the presence of this client in the current grouping.
|
|
737
736
|
</div>
|
738
737
|
|
739
738
|
<div class="method">
|
740
|
-
<div class="title" id="
|
739
|
+
<div class="title" id="M000062">
|
741
740
|
|
742
|
-
<a name="
|
741
|
+
<a name="M000062"></a><b>group?</b>()
|
743
742
|
|
744
743
|
</div>
|
745
744
|
|
@@ -755,13 +754,13 @@ Checks if this client is included in the current grouping.
|
|
755
754
|
|
756
755
|
<div class="sourcecode">
|
757
756
|
<p class="source-link">
|
758
|
-
Source: <a href="javascript:toggleSource('
|
757
|
+
Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
|
759
758
|
|
760
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
759
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L405" target="_blank" class="github_url">on GitHub</a>
|
761
760
|
|
762
761
|
</p>
|
763
|
-
<div id="
|
764
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
762
|
+
<div id="M000062_source" class="dyn-source">
|
763
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 405</span>
|
765
764
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group?</span>
|
766
765
|
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
767
766
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -791,11 +790,11 @@ Terminates this client nicely (requests this window to be closed).
|
|
791
790
|
<p class="source-link">
|
792
791
|
Source: <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show</a>
|
793
792
|
|
794
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
793
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L179" target="_blank" class="github_url">on GitHub</a>
|
795
794
|
|
796
795
|
</p>
|
797
796
|
<div id="M000029_source" class="dyn-source">
|
798
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
797
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 179</span>
|
799
798
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kill</span>
|
800
799
|
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">:kill</span>
|
801
800
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -805,15 +804,15 @@ Terminates this client nicely (requests this window to be closed).
|
|
805
804
|
</div>
|
806
805
|
|
807
806
|
<div class="method">
|
808
|
-
<div class="title" id="
|
807
|
+
<div class="title" id="M000046">
|
809
808
|
|
810
|
-
<a name="
|
809
|
+
<a name="M000046"></a><b>manage</b>(view = View.curr)
|
811
810
|
|
812
811
|
</div>
|
813
812
|
|
814
813
|
<div class="description">
|
815
814
|
<p>
|
816
|
-
Alias for <a href="Client.html#
|
815
|
+
Alias for <a href="Client.html#M000042">unfloat</a>
|
817
816
|
</p>
|
818
817
|
|
819
818
|
</div>
|
@@ -823,15 +822,15 @@ Alias for <a href="Client.html#M000041">unfloat</a>
|
|
823
822
|
</div>
|
824
823
|
|
825
824
|
<div class="method">
|
826
|
-
<div class="title" id="
|
825
|
+
<div class="title" id="M000048">
|
827
826
|
|
828
|
-
<a name="
|
827
|
+
<a name="M000048"></a><b>manage!</b>(view = View.curr)
|
829
828
|
|
830
829
|
</div>
|
831
830
|
|
832
831
|
<div class="description">
|
833
832
|
<p>
|
834
|
-
Alias for <a href="Client.html#
|
833
|
+
Alias for <a href="Client.html#M000043">float!</a>
|
835
834
|
</p>
|
836
835
|
|
837
836
|
</div>
|
@@ -841,9 +840,9 @@ Alias for <a href="Client.html#M000042">float!</a>
|
|
841
840
|
</div>
|
842
841
|
|
843
842
|
<div class="method">
|
844
|
-
<div class="title" id="
|
843
|
+
<div class="title" id="M000044">
|
845
844
|
|
846
|
-
<a name="
|
845
|
+
<a name="M000044"></a><b>manage?</b>(view = View.curr)
|
847
846
|
|
848
847
|
</div>
|
849
848
|
|
@@ -859,13 +858,13 @@ Checks if this client is in the managed area of the given view.
|
|
859
858
|
|
860
859
|
<div class="sourcecode">
|
861
860
|
<p class="source-link">
|
862
|
-
Source: <a href="javascript:toggleSource('
|
861
|
+
Source: <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show</a>
|
863
862
|
|
864
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
863
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L284" target="_blank" class="github_url">on GitHub</a>
|
865
864
|
|
866
865
|
</p>
|
867
|
-
<div id="
|
868
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
866
|
+
<div id="M000044_source" class="dyn-source">
|
867
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 284</span>
|
869
868
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">manage?</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
870
869
|
<span class="ruby-keyword kw">not</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span>
|
871
870
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -920,11 +919,11 @@ Sends this client to the given destination within the given view.
|
|
920
919
|
<p class="source-link">
|
921
920
|
Source: <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show</a>
|
922
921
|
|
923
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
922
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L161" target="_blank" class="github_url">on GitHub</a>
|
924
923
|
|
925
924
|
</p>
|
926
925
|
<div id="M000026_source" class="dyn-source">
|
927
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
926
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 161</span>
|
928
927
|
<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>
|
929
928
|
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">area_or_id</span>)
|
930
929
|
<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>
|
@@ -955,11 +954,11 @@ Terminates this client forcefully.
|
|
955
954
|
<p class="source-link">
|
956
955
|
Source: <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show</a>
|
957
956
|
|
958
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
957
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L186" target="_blank" class="github_url">on GitHub</a>
|
959
958
|
|
960
959
|
</p>
|
961
960
|
<div id="M000030_source" class="dyn-source">
|
962
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
961
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 186</span>
|
963
962
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">slay</span>
|
964
963
|
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">:slay</span>
|
965
964
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -989,11 +988,11 @@ Makes this client sticky (appears in all views).
|
|
989
988
|
<p class="source-link">
|
990
989
|
Source: <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show</a>
|
991
990
|
|
992
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
991
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L232" target="_blank" class="github_url">on GitHub</a>
|
993
992
|
|
994
993
|
</p>
|
995
994
|
<div id="M000036_source" class="dyn-source">
|
996
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
995
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 232</span>
|
997
996
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick</span>
|
998
997
|
<span class="ruby-identifier">tag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
999
998
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1003,9 +1002,9 @@ Makes this client sticky (appears in all views).
|
|
1003
1002
|
</div>
|
1004
1003
|
|
1005
1004
|
<div class="method">
|
1006
|
-
<div class="title" id="
|
1005
|
+
<div class="title" id="M000039">
|
1007
1006
|
|
1008
|
-
<a name="
|
1007
|
+
<a name="M000039"></a><b>stick!</b>()
|
1009
1008
|
|
1010
1009
|
</div>
|
1011
1010
|
|
@@ -1021,13 +1020,13 @@ Toggles the stickyness of this client.
|
|
1021
1020
|
|
1022
1021
|
<div class="sourcecode">
|
1023
1022
|
<p class="source-link">
|
1024
|
-
Source: <a href="javascript:toggleSource('
|
1023
|
+
Source: <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show</a>
|
1025
1024
|
|
1026
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1025
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L246" target="_blank" class="github_url">on GitHub</a>
|
1027
1026
|
|
1028
1027
|
</p>
|
1029
|
-
<div id="
|
1030
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1028
|
+
<div id="M000039_source" class="dyn-source">
|
1029
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 246</span>
|
1031
1030
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick!</span>
|
1032
1031
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">stick?</span>
|
1033
1032
|
<span class="ruby-identifier">unstick</span>
|
@@ -1061,11 +1060,11 @@ Checks if this client is sticky (appears in all views).
|
|
1061
1060
|
<p class="source-link">
|
1062
1061
|
Source: <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show</a>
|
1063
1062
|
|
1064
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1063
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L225" target="_blank" class="github_url">on GitHub</a>
|
1065
1064
|
|
1066
1065
|
</p>
|
1067
1066
|
<div id="M000035_source" class="dyn-source">
|
1068
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1067
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 225</span>
|
1069
1068
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick?</span>
|
1070
1069
|
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
1071
1070
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1095,11 +1094,11 @@ Swaps this client with the given destination within the given view.
|
|
1095
1094
|
<p class="source-link">
|
1096
1095
|
Source: <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show</a>
|
1097
1096
|
|
1098
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1097
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L171" target="_blank" class="github_url">on GitHub</a>
|
1099
1098
|
|
1100
1099
|
</p>
|
1101
1100
|
<div id="M000028_source" class="dyn-source">
|
1102
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1101
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 171</span>
|
1103
1102
|
<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>
|
1104
1103
|
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">area_or_id</span>)
|
1105
1104
|
<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>
|
@@ -1110,9 +1109,9 @@ Swaps this client with the given destination within the given view.
|
|
1110
1109
|
</div>
|
1111
1110
|
|
1112
1111
|
<div class="method">
|
1113
|
-
<div class="title" id="
|
1112
|
+
<div class="title" id="M000059">
|
1114
1113
|
|
1115
|
-
<a name="
|
1114
|
+
<a name="M000059"></a><b>tag</b>(*tags)
|
1116
1115
|
|
1117
1116
|
</div>
|
1118
1117
|
|
@@ -1128,13 +1127,13 @@ Adds the given tags to this client.
|
|
1128
1127
|
|
1129
1128
|
<div class="sourcecode">
|
1130
1129
|
<p class="source-link">
|
1131
|
-
Source: <a href="javascript:toggleSource('
|
1130
|
+
Source: <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show</a>
|
1132
1131
|
|
1133
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1132
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L381" target="_blank" class="github_url">on GitHub</a>
|
1134
1133
|
|
1135
1134
|
</p>
|
1136
|
-
<div id="
|
1137
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1135
|
+
<div id="M000059_source" class="dyn-source">
|
1136
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 381</span>
|
1138
1137
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
|
1139
1138
|
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
1140
1139
|
<span class="ruby-identifier">concat</span> <span class="ruby-identifier">tags</span>
|
@@ -1146,9 +1145,9 @@ Adds the given tags to this client.
|
|
1146
1145
|
</div>
|
1147
1146
|
|
1148
1147
|
<div class="method">
|
1149
|
-
<div class="title" id="
|
1148
|
+
<div class="title" id="M000052">
|
1150
1149
|
|
1151
|
-
<a name="
|
1150
|
+
<a name="M000052"></a><b>tags</b>()
|
1152
1151
|
|
1153
1152
|
</div>
|
1154
1153
|
|
@@ -1164,13 +1163,13 @@ Returns the tags associated with this client.
|
|
1164
1163
|
|
1165
1164
|
<div class="sourcecode">
|
1166
1165
|
<p class="source-link">
|
1167
|
-
Source: <a href="javascript:toggleSource('
|
1166
|
+
Source: <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show</a>
|
1168
1167
|
|
1169
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1168
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L321" target="_blank" class="github_url">on GitHub</a>
|
1170
1169
|
|
1171
1170
|
</p>
|
1172
|
-
<div id="
|
1173
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1171
|
+
<div id="M000052_source" class="dyn-source">
|
1172
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 321</span>
|
1174
1173
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
|
1175
1174
|
<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>
|
1176
1175
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1180,9 +1179,9 @@ Returns the tags associated with this client.
|
|
1180
1179
|
</div>
|
1181
1180
|
|
1182
1181
|
<div class="method">
|
1183
|
-
<div class="title" id="
|
1182
|
+
<div class="title" id="M000056">
|
1184
1183
|
|
1185
|
-
<a name="
|
1184
|
+
<a name="M000056"></a><b>tags=</b>(*tags)
|
1186
1185
|
|
1187
1186
|
</div>
|
1188
1187
|
|
@@ -1214,13 +1213,13 @@ the managed layer of the view corresponding to that tag.
|
|
1214
1213
|
|
1215
1214
|
<div class="sourcecode">
|
1216
1215
|
<p class="source-link">
|
1217
|
-
Source: <a href="javascript:toggleSource('
|
1216
|
+
Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
|
1218
1217
|
|
1219
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1218
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L342" target="_blank" class="github_url">on GitHub</a>
|
1220
1219
|
|
1221
1220
|
</p>
|
1222
|
-
<div id="
|
1223
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1221
|
+
<div id="M000056_source" class="dyn-source">
|
1222
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 342</span>
|
1224
1223
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags=</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
|
1225
1224
|
<span class="ruby-identifier">float</span> = []
|
1226
1225
|
<span class="ruby-identifier">manage</span> = []
|
@@ -1252,9 +1251,9 @@ the managed layer of the view corresponding to that tag.
|
|
1252
1251
|
</div>
|
1253
1252
|
|
1254
1253
|
<div class="method">
|
1255
|
-
<div class="title" id="
|
1254
|
+
<div class="title" id="M000042">
|
1256
1255
|
|
1257
|
-
<a name="
|
1256
|
+
<a name="M000042"></a><b>unfloat</b>(view = View.curr)
|
1258
1257
|
|
1259
1258
|
</div>
|
1260
1259
|
|
@@ -1269,7 +1268,7 @@ Puts this client into the managed area of the given view.
|
|
1269
1268
|
<div class="aka">
|
1270
1269
|
This method is also aliased as
|
1271
1270
|
|
1272
|
-
<a href="Client.html#
|
1271
|
+
<a href="Client.html#M000046">manage</a>
|
1273
1272
|
|
1274
1273
|
</div>
|
1275
1274
|
|
@@ -1277,13 +1276,13 @@ Puts this client into the managed area of the given view.
|
|
1277
1276
|
|
1278
1277
|
<div class="sourcecode">
|
1279
1278
|
<p class="source-link">
|
1280
|
-
Source: <a href="javascript:toggleSource('
|
1279
|
+
Source: <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show</a>
|
1281
1280
|
|
1282
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1281
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L271" target="_blank" class="github_url">on GitHub</a>
|
1283
1282
|
|
1284
1283
|
</p>
|
1285
|
-
<div id="
|
1286
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1284
|
+
<div id="M000042_source" class="dyn-source">
|
1285
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 271</span>
|
1287
1286
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unfloat</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
1288
1287
|
<span class="ruby-identifier">send</span> <span class="ruby-identifier">:toggle</span>, <span class="ruby-identifier">view</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span>
|
1289
1288
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1313,11 +1312,11 @@ Restores this client back to its original size on the current view.
|
|
1313
1312
|
<p class="source-link">
|
1314
1313
|
Source: <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show</a>
|
1315
1314
|
|
1316
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1315
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L200" target="_blank" class="github_url">on GitHub</a>
|
1317
1316
|
|
1318
1317
|
</p>
|
1319
1318
|
<div id="M000032_source" class="dyn-source">
|
1320
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1319
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 200</span>
|
1321
1320
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unfullscreen</span>
|
1322
1321
|
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen off'</span>
|
1323
1322
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1327,9 +1326,9 @@ Restores this client back to its original size on the current view.
|
|
1327
1326
|
</div>
|
1328
1327
|
|
1329
1328
|
<div class="method">
|
1330
|
-
<div class="title" id="
|
1329
|
+
<div class="title" id="M000065">
|
1331
1330
|
|
1332
|
-
<a name="
|
1331
|
+
<a name="M000065"></a><b>ungroup</b>()
|
1333
1332
|
|
1334
1333
|
</div>
|
1335
1334
|
|
@@ -1345,13 +1344,13 @@ Removes this client to the current grouping.
|
|
1345
1344
|
|
1346
1345
|
<div class="sourcecode">
|
1347
1346
|
<p class="source-link">
|
1348
|
-
Source: <a href="javascript:toggleSource('
|
1347
|
+
Source: <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show</a>
|
1349
1348
|
|
1350
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1349
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L421" target="_blank" class="github_url">on GitHub</a>
|
1351
1350
|
|
1352
1351
|
</p>
|
1353
|
-
<div id="
|
1354
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1352
|
+
<div id="M000065_source" class="dyn-source">
|
1353
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 421</span>
|
1355
1354
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ungroup</span>
|
1356
1355
|
<span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
1357
1356
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1361,15 +1360,15 @@ Removes this client to the current grouping.
|
|
1361
1360
|
</div>
|
1362
1361
|
|
1363
1362
|
<div class="method">
|
1364
|
-
<div class="title" id="
|
1363
|
+
<div class="title" id="M000047">
|
1365
1364
|
|
1366
|
-
<a name="
|
1365
|
+
<a name="M000047"></a><b>unmanage</b>(view = View.curr)
|
1367
1366
|
|
1368
1367
|
</div>
|
1369
1368
|
|
1370
1369
|
<div class="description">
|
1371
1370
|
<p>
|
1372
|
-
Alias for <a href="Client.html#
|
1371
|
+
Alias for <a href="Client.html#M000041">float</a>
|
1373
1372
|
</p>
|
1374
1373
|
|
1375
1374
|
</div>
|
@@ -1399,11 +1398,11 @@ Makes this client unsticky (does not appear in all views).
|
|
1399
1398
|
<p class="source-link">
|
1400
1399
|
Source: <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show</a>
|
1401
1400
|
|
1402
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1401
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L239" target="_blank" class="github_url">on GitHub</a>
|
1403
1402
|
|
1404
1403
|
</p>
|
1405
1404
|
<div id="M000037_source" class="dyn-source">
|
1406
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1405
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 239</span>
|
1407
1406
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unstick</span>
|
1408
1407
|
<span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
1409
1408
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1413,9 +1412,9 @@ Makes this client unsticky (does not appear in all views).
|
|
1413
1412
|
</div>
|
1414
1413
|
|
1415
1414
|
<div class="method">
|
1416
|
-
<div class="title" id="
|
1415
|
+
<div class="title" id="M000060">
|
1417
1416
|
|
1418
|
-
<a name="
|
1417
|
+
<a name="M000060"></a><b>untag</b>(*tags)
|
1419
1418
|
|
1420
1419
|
</div>
|
1421
1420
|
|
@@ -1431,13 +1430,13 @@ Removes the given tags from this client.
|
|
1431
1430
|
|
1432
1431
|
<div class="sourcecode">
|
1433
1432
|
<p class="source-link">
|
1434
|
-
Source: <a href="javascript:toggleSource('
|
1433
|
+
Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
|
1435
1434
|
|
1436
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1435
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L390" target="_blank" class="github_url">on GitHub</a>
|
1437
1436
|
|
1438
1437
|
</p>
|
1439
|
-
<div id="
|
1440
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1438
|
+
<div id="M000060_source" class="dyn-source">
|
1439
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 390</span>
|
1441
1440
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untag</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
|
1442
1441
|
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
1443
1442
|
<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>
|
@@ -1451,9 +1450,9 @@ Removes the given tags from this client.
|
|
1451
1450
|
</div>
|
1452
1451
|
|
1453
1452
|
<div class="method">
|
1454
|
-
<div class="title" id="
|
1453
|
+
<div class="title" id="M000050">
|
1455
1454
|
|
1456
|
-
<a name="
|
1455
|
+
<a name="M000050"></a><b>views</b>()
|
1457
1456
|
|
1458
1457
|
</div>
|
1459
1458
|
|
@@ -1469,13 +1468,13 @@ Returns the views that contain this client.
|
|
1469
1468
|
|
1470
1469
|
<div class="sourcecode">
|
1471
1470
|
<p class="source-link">
|
1472
|
-
Source: <a href="javascript:toggleSource('
|
1471
|
+
Source: <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show</a>
|
1473
1472
|
|
1474
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1473
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L308" target="_blank" class="github_url">on GitHub</a>
|
1475
1474
|
|
1476
1475
|
</p>
|
1477
|
-
<div id="
|
1478
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1476
|
+
<div id="M000050_source" class="dyn-source">
|
1477
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 308</span>
|
1479
1478
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
|
1480
1479
|
<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> }
|
1481
1480
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -1485,9 +1484,9 @@ Returns the views that contain this client.
|
|
1485
1484
|
</div>
|
1486
1485
|
|
1487
1486
|
<div class="method">
|
1488
|
-
<div class="title" id="
|
1487
|
+
<div class="title" id="M000058">
|
1489
1488
|
|
1490
|
-
<a name="
|
1489
|
+
<a name="M000058"></a><b>with_tags</b>(&block)
|
1491
1490
|
|
1492
1491
|
</div>
|
1493
1492
|
|
@@ -1504,13 +1503,13 @@ tags.
|
|
1504
1503
|
|
1505
1504
|
<div class="sourcecode">
|
1506
1505
|
<p class="source-link">
|
1507
|
-
Source: <a href="javascript:toggleSource('
|
1506
|
+
Source: <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show</a>
|
1508
1507
|
|
1509
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
1508
|
+
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L372" target="_blank" class="github_url">on GitHub</a>
|
1510
1509
|
|
1511
1510
|
</p>
|
1512
|
-
<div id="
|
1513
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
1511
|
+
<div id="M000058_source" class="dyn-source">
|
1512
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 372</span>
|
1514
1513
|
<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>
|
1515
1514
|
<span class="ruby-identifier">arr</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tags</span>
|
1516
1515
|
<span class="ruby-identifier">arr</span>.<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|