rumai 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. data/CREDITS +4 -3
  2. data/HISTORY +327 -0
  3. data/INSTALL +31 -0
  4. data/README +92 -0
  5. data/USAGE +297 -0
  6. data/bin/rumai +9 -22
  7. data/doc/api/IO.html +119 -0
  8. data/doc/api/Integer.html +171 -0
  9. data/doc/api/Rumai.html +1270 -0
  10. data/doc/api/Rumai/Area.html +1485 -0
  11. data/doc/api/Rumai/Chain.html +301 -0
  12. data/doc/api/Rumai/Client.html +2451 -0
  13. data/doc/api/Rumai/ClientContainer.html +301 -0
  14. data/doc/api/Rumai/ExportInstanceMethods.html +103 -0
  15. data/doc/api/Rumai/IXP.html +94 -0
  16. data/doc/api/Rumai/IXP/Agent.html +1625 -0
  17. data/doc/api/Rumai/IXP/Agent/FidStream.html +959 -0
  18. data/doc/api/Rumai/IXP/Agent/RangedPool.html +381 -0
  19. data/doc/api/Rumai/IXP/Error.html +110 -0
  20. data/doc/api/Rumai/IXP/Fcall.html +503 -0
  21. data/doc/api/Rumai/IXP/Qid.html +207 -0
  22. data/doc/api/Rumai/IXP/Rattach.html +148 -0
  23. data/doc/api/Rumai/IXP/Rauth.html +148 -0
  24. data/doc/api/Rumai/IXP/Rclunk.html +148 -0
  25. data/doc/api/Rumai/IXP/Rcreate.html +148 -0
  26. data/doc/api/Rumai/IXP/Rerror.html +148 -0
  27. data/doc/api/Rumai/IXP/Rflush.html +148 -0
  28. data/doc/api/Rumai/IXP/Ropen.html +148 -0
  29. data/doc/api/Rumai/IXP/Rread.html +148 -0
  30. data/doc/api/Rumai/IXP/Rremove.html +148 -0
  31. data/doc/api/Rumai/IXP/Rstat.html +148 -0
  32. data/doc/api/Rumai/IXP/Rversion.html +148 -0
  33. data/doc/api/Rumai/IXP/Rwalk.html +148 -0
  34. data/doc/api/Rumai/IXP/Rwrite.html +148 -0
  35. data/doc/api/Rumai/IXP/Rwstat.html +148 -0
  36. data/doc/api/Rumai/IXP/Stat.html +335 -0
  37. data/doc/api/Rumai/IXP/Stream.html +194 -0
  38. data/doc/api/Rumai/IXP/Struct.html +586 -0
  39. data/doc/api/Rumai/IXP/Struct/ClassField.html +242 -0
  40. data/doc/api/Rumai/IXP/Struct/Field.html +782 -0
  41. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +227 -0
  42. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +153 -0
  43. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +242 -0
  44. data/doc/api/Rumai/IXP/Struct/StringField.html +206 -0
  45. data/doc/api/Rumai/IXP/Tattach.html +148 -0
  46. data/doc/api/Rumai/IXP/Tauth.html +148 -0
  47. data/doc/api/Rumai/IXP/Tclunk.html +148 -0
  48. data/doc/api/Rumai/IXP/Tcreate.html +148 -0
  49. data/doc/api/Rumai/IXP/Terror.html +231 -0
  50. data/doc/api/Rumai/IXP/Tflush.html +148 -0
  51. data/doc/api/Rumai/IXP/Topen.html +240 -0
  52. data/doc/api/Rumai/IXP/Tread.html +148 -0
  53. data/doc/api/Rumai/IXP/Tremove.html +148 -0
  54. data/doc/api/Rumai/IXP/Tstat.html +148 -0
  55. data/doc/api/Rumai/IXP/Tversion.html +162 -0
  56. data/doc/api/Rumai/IXP/Twalk.html +148 -0
  57. data/doc/api/Rumai/IXP/Twrite.html +148 -0
  58. data/doc/api/Rumai/IXP/Twstat.html +148 -0
  59. data/doc/api/Rumai/Node.html +1406 -0
  60. data/doc/api/Rumai/View.html +1587 -0
  61. data/doc/api/Rumai/WidgetImpl.html +333 -0
  62. data/doc/api/Rumai/WidgetNode.html +246 -0
  63. data/doc/api/String.html +258 -0
  64. data/doc/api/StringIO.html +119 -0
  65. data/doc/api/Time.html +247 -0
  66. data/doc/api/_index.html +581 -0
  67. data/doc/api/class_list.html +36 -0
  68. data/doc/api/css/common.css +1 -0
  69. data/doc/api/css/full_list.css +50 -0
  70. data/doc/api/css/style.css +273 -0
  71. data/doc/api/file.LICENSE.html +73 -0
  72. data/doc/api/file_list.html +38 -0
  73. data/doc/api/frames.html +13 -0
  74. data/doc/api/index.html +72 -13
  75. data/doc/api/js/app.js +111 -0
  76. data/doc/api/js/full_list.js +117 -0
  77. data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
  78. data/doc/api/method_list.html +1483 -0
  79. data/doc/api/top-level-namespace.html +89 -0
  80. data/doc/index.erb +18 -13
  81. data/doc/index.html +331 -386
  82. data/lib/rumai.rb +1 -18
  83. data/lib/rumai/fs.rb +11 -11
  84. data/lib/rumai/inochi.rb +48 -0
  85. data/lib/rumai/inochi.yaml +94 -0
  86. data/lib/rumai/ixp.rb +0 -4
  87. data/lib/rumai/ixp/message.rb +6 -17
  88. data/lib/rumai/ixp/transport.rb +39 -30
  89. data/lib/rumai/wm.rb +35 -37
  90. data/test/rumai/inochi_test.rb +17 -0
  91. data/test/rumai/ixp/message_test.rb +245 -0
  92. data/test/runner +25 -0
  93. data/test/test_helper.rb +1 -0
  94. metadata +107 -125
  95. data/doc/api/apple-touch-icon.png +0 -0
  96. data/doc/api/classes/IO.html +0 -72
  97. data/doc/api/classes/Integer.html +0 -110
  98. data/doc/api/classes/Object.html +0 -60
  99. data/doc/api/classes/Rumai.html +0 -837
  100. data/doc/api/classes/Rumai/Area.html +0 -909
  101. data/doc/api/classes/Rumai/Chain.html +0 -197
  102. data/doc/api/classes/Rumai/Client.html +0 -1526
  103. data/doc/api/classes/Rumai/ClientContainer.html +0 -191
  104. data/doc/api/classes/Rumai/ExportInstanceMethods.html +0 -69
  105. data/doc/api/classes/Rumai/IXP.html +0 -131
  106. data/doc/api/classes/Rumai/IXP/Agent.html +0 -941
  107. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -456
  108. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -108
  109. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -241
  110. data/doc/api/classes/Rumai/IXP/Error.html +0 -67
  111. data/doc/api/classes/Rumai/IXP/Fcall.html +0 -323
  112. data/doc/api/classes/Rumai/IXP/Qid.html +0 -153
  113. data/doc/api/classes/Rumai/IXP/Rattach.html +0 -67
  114. data/doc/api/classes/Rumai/IXP/Rauth.html +0 -67
  115. data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -67
  116. data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -67
  117. data/doc/api/classes/Rumai/IXP/Rerror.html +0 -67
  118. data/doc/api/classes/Rumai/IXP/Rflush.html +0 -67
  119. data/doc/api/classes/Rumai/IXP/Ropen.html +0 -67
  120. data/doc/api/classes/Rumai/IXP/Rread.html +0 -67
  121. data/doc/api/classes/Rumai/IXP/Rremove.html +0 -67
  122. data/doc/api/classes/Rumai/IXP/Rstat.html +0 -67
  123. data/doc/api/classes/Rumai/IXP/Rversion.html +0 -67
  124. data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -67
  125. data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -67
  126. data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -67
  127. data/doc/api/classes/Rumai/IXP/Stat.html +0 -252
  128. data/doc/api/classes/Rumai/IXP/Stream.html +0 -131
  129. data/doc/api/classes/Rumai/IXP/Struct.html +0 -311
  130. data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -415
  131. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -153
  132. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -104
  133. data/doc/api/classes/Rumai/IXP/Tattach.html +0 -68
  134. data/doc/api/classes/Rumai/IXP/Tauth.html +0 -67
  135. data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -67
  136. data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -68
  137. data/doc/api/classes/Rumai/IXP/Terror.html +0 -110
  138. data/doc/api/classes/Rumai/IXP/Tflush.html +0 -67
  139. data/doc/api/classes/Rumai/IXP/Topen.html +0 -165
  140. data/doc/api/classes/Rumai/IXP/Tread.html +0 -67
  141. data/doc/api/classes/Rumai/IXP/Tremove.html +0 -67
  142. data/doc/api/classes/Rumai/IXP/Tstat.html +0 -67
  143. data/doc/api/classes/Rumai/IXP/Tversion.html +0 -86
  144. data/doc/api/classes/Rumai/IXP/Twalk.html +0 -68
  145. data/doc/api/classes/Rumai/IXP/Twrite.html +0 -68
  146. data/doc/api/classes/Rumai/IXP/Twstat.html +0 -67
  147. data/doc/api/classes/Rumai/Node.html +0 -821
  148. data/doc/api/classes/Rumai/View.html +0 -967
  149. data/doc/api/classes/Rumai/WidgetImpl.html +0 -65
  150. data/doc/api/classes/Rumai/WidgetNode.html +0 -68
  151. data/doc/api/classes/String.html +0 -163
  152. data/doc/api/classes/StringIO.html +0 -72
  153. data/doc/api/classes/Time.html +0 -156
  154. data/doc/api/created.rid +0 -1
  155. data/doc/api/css/main.css +0 -263
  156. data/doc/api/css/panel.css +0 -383
  157. data/doc/api/css/reset.css +0 -53
  158. data/doc/api/favicon.ico +0 -0
  159. data/doc/api/files/CREDITS.html +0 -67
  160. data/doc/api/files/LICENSE.html +0 -76
  161. data/doc/api/files/lib/rumai/fs_rb.html +0 -75
  162. data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -91
  163. data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -75
  164. data/doc/api/files/lib/rumai/ixp_rb.html +0 -69
  165. data/doc/api/files/lib/rumai/wm_rb.html +0 -77
  166. data/doc/api/files/lib/rumai_rb.html +0 -65
  167. data/doc/api/i/arrows.png +0 -0
  168. data/doc/api/i/results_bg.png +0 -0
  169. data/doc/api/i/tree_bg.png +0 -0
  170. data/doc/api/js/jquery-effect.js +0 -593
  171. data/doc/api/js/main.js +0 -22
  172. data/doc/api/js/searchdoc.js +0 -628
  173. data/doc/api/panel/index.html +0 -71
  174. data/doc/api/panel/search_index.js +0 -1
  175. data/doc/api/panel/tree.js +0 -1
  176. data/doc/history.erb +0 -233
  177. data/doc/intro.erb +0 -70
  178. data/doc/setup.erb +0 -144
  179. data/doc/usage.erb +0 -308
  180. data/rakefile +0 -14
  181. data/test/rumai/ixp/message.rb +0 -237
@@ -1,967 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title>Rumai::View</title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
9
- <link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
10
- <script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
- <script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
- <script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
13
- </head>
14
-
15
- <body>
16
- <div class="banner">
17
- <h1>
18
- <span class="type">Class</span>
19
- Rumai::View
20
-
21
- <span class="parent">&lt;
22
-
23
- WidgetNode
24
-
25
- </span>
26
-
27
- </h1>
28
- <ul class="files">
29
-
30
- <li><a href="../../files/lib/rumai/wm_rb.html">lib/rumai/wm.rb</a></li>
31
-
32
- </ul>
33
- </div>
34
- <div id="bodyContent">
35
- <div id="content">
36
-
37
- <div class="description">
38
- <p>
39
- The visualization of a tag.
40
- </p>
41
-
42
- </div>
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
- <div class="sectiontitle">Methods</div>
53
- <dl class="methods">
54
-
55
- <dt>A</dt>
56
- <dd>
57
- <ul>
58
-
59
- <li><a href="#M000125">area_ids</a>,</li>
60
-
61
- <li><a href="#M000122">area_of_client</a>,</li>
62
-
63
- <li><a href="#M000126">areas</a>,</li>
64
-
65
- <li><a href="#M000136">arrange_as_larswm</a>,</li>
66
-
67
- <li><a href="#M000144">arrange_in_diamond</a>,</li>
68
-
69
- <li><a href="#M000137">arrange_in_grid</a>,</li>
70
-
71
- <li><a href="#M000141">arrange_in_stacks</a></li>
72
-
73
- </ul>
74
- </dd>
75
-
76
- <dt>C</dt>
77
- <dd>
78
- <ul>
79
-
80
- <li><a href="#M000114">chain</a>,</li>
81
-
82
- <li><a href="#M000115">client_ids</a>,</li>
83
-
84
- <li><a href="#M000130">columns</a>,</li>
85
-
86
- <li><a href="#M000112">curr</a></li>
87
-
88
- </ul>
89
- </dd>
90
-
91
- <dt>E</dt>
92
- <dd>
93
- <ul>
94
-
95
- <li><a href="#M000116">each</a>,</li>
96
-
97
- <li><a href="#M000132">each_column</a>,</li>
98
-
99
- <li><a href="#M000134">each_managed_area</a></li>
100
-
101
- </ul>
102
- </dd>
103
-
104
- <dt>F</dt>
105
- <dd>
106
- <ul>
107
-
108
- <li><a href="#M000127">floating_area</a>,</li>
109
-
110
- <li><a href="#M000113">focus</a></li>
111
-
112
- </ul>
113
- </dd>
114
-
115
- <dt>M</dt>
116
- <dd>
117
- <ul>
118
-
119
- <li><a href="#M000131">managed_areas</a>,</li>
120
-
121
- <li><a href="#M000119">manifest</a></li>
122
-
123
- </ul>
124
- </dd>
125
-
126
- <dt>N</dt>
127
- <dd>
128
- <ul>
129
-
130
- <li><a href="#M000117">new</a></li>
131
-
132
- </ul>
133
- </dd>
134
-
135
- <dt>S</dt>
136
- <dd>
137
- <ul>
138
-
139
- <li><a href="#M000120">select</a></li>
140
-
141
- </ul>
142
- </dd>
143
-
144
- </dl>
145
-
146
-
147
-
148
- <div class="sectiontitle">Included Modules</div>
149
- <ul>
150
-
151
- <li>
152
-
153
- <a href="../Rumai.html">Rumai</a>
154
-
155
- START:includes
156
- </li>
157
-
158
- <li>
159
-
160
- <a href="../Rumai.html">Rumai</a>
161
-
162
- START:includes
163
- </li>
164
-
165
- <li>
166
-
167
- <a href="../Rumai.html">Rumai</a>
168
-
169
- START:includes
170
- </li>
171
-
172
- <li>
173
-
174
- <span>Enumerable</span>
175
-
176
- START:includes
177
- </li>
178
-
179
- </ul>
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
- <div class="sectiontitle">Class Public methods</div>
192
-
193
- <div class="method">
194
- <div class="title" id="M000112">
195
-
196
- <a name="M000112"></a><b>curr</b>()
197
-
198
- </div>
199
-
200
- <div class="description">
201
- <p>
202
- Returns the currently focused view.
203
- </p>
204
-
205
- </div>
206
-
207
-
208
-
209
-
210
- <div class="sourcecode">
211
- <p class="source-link">
212
- Source: <a href="javascript:toggleSource('M000112_source')" id="l_M000112_source">show</a>
213
-
214
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L721" target="_blank" class="github_url">on GitHub</a>
215
-
216
- </p>
217
- <div id="M000112_source" class="dyn-source">
218
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 721</span>
219
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
220
- <span class="ruby-identifier">new</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
221
- <span class="ruby-keyword kw">end</span></pre>
222
- </div>
223
- </div>
224
-
225
- </div>
226
-
227
- <div class="method">
228
- <div class="title" id="M000117">
229
-
230
- <a name="M000117"></a><b>new</b>(view_id)
231
-
232
- </div>
233
-
234
-
235
-
236
-
237
- <div class="sourcecode">
238
- <p class="source-link">
239
- Source: <a href="javascript:toggleSource('M000117_source')" id="l_M000117_source">show</a>
240
-
241
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L760" target="_blank" class="github_url">on GitHub</a>
242
-
243
- </p>
244
- <div id="M000117_source" class="dyn-source">
245
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 760</span>
246
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">view_id</span>
247
- <span class="ruby-keyword kw">super</span> <span class="ruby-identifier">view_id</span>, <span class="ruby-value str">'/tag'</span>
248
- <span class="ruby-keyword kw">end</span></pre>
249
- </div>
250
- </div>
251
-
252
- </div>
253
-
254
- <div class="sectiontitle">Instance Public methods</div>
255
-
256
- <div class="method">
257
- <div class="title" id="M000125">
258
-
259
- <a name="M000125"></a><b>area_ids</b>()
260
-
261
- </div>
262
-
263
- <div class="description">
264
- <p>
265
- Returns the IDs of all areas in this view.
266
- </p>
267
-
268
- </div>
269
-
270
-
271
-
272
-
273
- <div class="sourcecode">
274
- <p class="source-link">
275
- Source: <a href="javascript:toggleSource('M000125_source')" id="l_M000125_source">show</a>
276
-
277
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L806" target="_blank" class="github_url">on GitHub</a>
278
-
279
- </p>
280
- <div id="M000125_source" class="dyn-source">
281
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 806</span>
282
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area_ids</span>
283
- <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>)
284
- <span class="ruby-keyword kw">end</span></pre>
285
- </div>
286
- </div>
287
-
288
- </div>
289
-
290
- <div class="method">
291
- <div class="title" id="M000122">
292
-
293
- <a name="M000122"></a><b>area_of_client</b>(client_or_id)
294
-
295
- </div>
296
-
297
- <div class="description">
298
- <p>
299
- Returns the area which contains the given client in this view.
300
- </p>
301
-
302
- </div>
303
-
304
-
305
-
306
-
307
- <div class="sourcecode">
308
- <p class="source-link">
309
- Source: <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">show</a>
310
-
311
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L789" target="_blank" class="github_url">on GitHub</a>
312
-
313
- </p>
314
- <div id="M000122_source" class="dyn-source">
315
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 789</span>
316
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area_of_client</span> <span class="ruby-identifier">client_or_id</span>
317
- <span class="ruby-identifier">arg</span> =
318
- <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
- <span class="ruby-identifier">client_or_id</span>.<span class="ruby-identifier">id</span>
320
- <span class="ruby-keyword kw">else</span>
321
- <span class="ruby-identifier">client_or_id</span>
322
- <span class="ruby-keyword kw">end</span>
323
-
324
- <span class="ruby-identifier">manifest</span> <span class="ruby-operator">=~</span> <span class="ruby-node">/^(\S+) #{arg}/</span>
325
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">area_id</span> = <span class="ruby-identifier">$1</span>
326
- <span class="ruby-constant">Area</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">area_id</span>, <span class="ruby-keyword kw">self</span>
327
- <span class="ruby-keyword kw">end</span>
328
- <span class="ruby-keyword kw">end</span></pre>
329
- </div>
330
- </div>
331
-
332
- </div>
333
-
334
- <div class="method">
335
- <div class="title" id="M000126">
336
-
337
- <a name="M000126"></a><b>areas</b>()
338
-
339
- </div>
340
-
341
- <div class="description">
342
- <p>
343
- Returns all areas in this view.
344
- </p>
345
-
346
- </div>
347
-
348
-
349
-
350
-
351
- <div class="sourcecode">
352
- <p class="source-link">
353
- Source: <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">show</a>
354
-
355
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L813" target="_blank" class="github_url">on GitHub</a>
356
-
357
- </p>
358
- <div id="M000126_source" class="dyn-source">
359
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 813</span>
360
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">areas</span>
361
- <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> }
362
- <span class="ruby-keyword kw">end</span></pre>
363
- </div>
364
- </div>
365
-
366
- </div>
367
-
368
- <div class="method">
369
- <div class="title" id="M000136">
370
-
371
- <a name="M000136"></a><b>arrange_as_larswm</b>()
372
-
373
- </div>
374
-
375
- <div class="description">
376
- <p>
377
- Arranges the clients in this view, while maintaining their relative order,
378
- in the tiling fashion of LarsWM.
379
- </p>
380
- <p>
381
- Only the first client in the primary column is kept; all others are evicted
382
- to the <b>top</b> of the secondary column. Any subsequent columns are
383
- squeezed into the <b>bottom</b> of the secondary column.
384
- </p>
385
-
386
- </div>
387
-
388
-
389
-
390
-
391
- <div class="sourcecode">
392
- <p class="source-link">
393
- Source: <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show</a>
394
-
395
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L867" target="_blank" class="github_url">on GitHub</a>
396
-
397
- </p>
398
- <div id="M000136_source" class="dyn-source">
399
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 867</span>
400
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_as_larswm</span>
401
- <span class="ruby-identifier">maintain_focus</span> <span class="ruby-keyword kw">do</span>
402
- <span class="ruby-comment cmt"># keep only one client in the primary column</span>
403
- <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>)
404
- <span class="ruby-identifier">main</span>.<span class="ruby-identifier">length</span> = <span class="ruby-value">1</span>
405
- <span class="ruby-identifier">main</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">:default</span>
406
-
407
- <span class="ruby-comment cmt"># collapse remaining areas into secondary column</span>
408
- <span class="ruby-identifier">extra</span> = <span class="ruby-identifier">squeeze_columns</span>(<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>)
409
-
410
- <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>
411
- <span class="ruby-identifier">dock</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">:default</span>
412
- <span class="ruby-keyword kw">end</span>
413
- <span class="ruby-keyword kw">end</span>
414
- <span class="ruby-keyword kw">end</span></pre>
415
- </div>
416
- </div>
417
-
418
- </div>
419
-
420
- <div class="method">
421
- <div class="title" id="M000144">
422
-
423
- <a name="M000144"></a><b>arrange_in_diamond</b>()
424
-
425
- </div>
426
-
427
- <div class="description">
428
- <p>
429
- Arranges the clients in this view, while maintaining their relative order,
430
- in a (at best) equilateral triangle. However, the resulting arrangement
431
- appears like a diamond because wmii does not waste screen space.
432
- </p>
433
-
434
- </div>
435
-
436
-
437
-
438
-
439
- <div class="sourcecode">
440
- <p class="source-link">
441
- Source: <a href="javascript:toggleSource('M000144_source')" id="l_M000144_source">show</a>
442
-
443
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L940" target="_blank" class="github_url">on GitHub</a>
444
-
445
- </p>
446
- <div id="M000144_source" class="dyn-source">
447
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 940</span>
448
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_in_diamond</span>
449
- <span class="ruby-identifier">num_clients</span> = <span class="ruby-identifier">num_managed_clients</span>
450
- <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">&gt;</span> <span class="ruby-value">1</span>
451
-
452
- <span class="ruby-comment cmt"># determine dimensions of the rising sub-triangle</span>
453
- <span class="ruby-identifier">rise</span> = <span class="ruby-identifier">num_clients</span> <span class="ruby-operator">/</span> <span class="ruby-value">2</span>
454
-
455
- <span class="ruby-identifier">span</span> = <span class="ruby-identifier">sum</span> = <span class="ruby-value">0</span>
456
- <span class="ruby-value">1</span>.<span class="ruby-identifier">upto</span> <span class="ruby-identifier">rise</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span>
457
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">sum</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">h</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">rise</span>
458
- <span class="ruby-keyword kw">break</span>
459
- <span class="ruby-keyword kw">else</span>
460
- <span class="ruby-identifier">sum</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">h</span>
461
- <span class="ruby-identifier">span</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
462
- <span class="ruby-keyword kw">end</span>
463
- <span class="ruby-keyword kw">end</span>
464
-
465
- <span class="ruby-identifier">peak</span> = <span class="ruby-identifier">num_clients</span> <span class="ruby-operator">-</span> (<span class="ruby-identifier">sum</span> <span class="ruby-operator">*</span> <span class="ruby-value">2</span>)
466
-
467
- <span class="ruby-comment cmt"># describe the overall triangle as a sequence of heights</span>
468
- <span class="ruby-identifier">rise_seq</span> = (<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-identifier">span</span>).<span class="ruby-identifier">to_a</span>
469
- <span class="ruby-identifier">fall_seq</span> = <span class="ruby-identifier">rise_seq</span>.<span class="ruby-identifier">reverse</span>
470
-
471
- <span class="ruby-identifier">heights</span> = <span class="ruby-identifier">rise_seq</span>
472
- <span class="ruby-identifier">heights</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">peak</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">peak</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
473
- <span class="ruby-identifier">heights</span>.<span class="ruby-identifier">concat</span> <span class="ruby-identifier">fall_seq</span>
474
-
475
- <span class="ruby-comment cmt"># apply the heights</span>
476
- <span class="ruby-identifier">maintain_focus</span> <span class="ruby-keyword kw">do</span>
477
- <span class="ruby-identifier">each_column</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">col</span><span class="ruby-operator">|</span>
478
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">h</span> = <span class="ruby-identifier">heights</span>.<span class="ruby-identifier">shift</span>
479
- <span class="ruby-identifier">col</span>.<span class="ruby-identifier">length</span> = <span class="ruby-identifier">h</span>
480
- <span class="ruby-identifier">col</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">:default</span>
481
- <span class="ruby-keyword kw">end</span>
482
- <span class="ruby-keyword kw">end</span>
483
- <span class="ruby-keyword kw">end</span>
484
- <span class="ruby-keyword kw">end</span></pre>
485
- </div>
486
- </div>
487
-
488
- </div>
489
-
490
- <div class="method">
491
- <div class="title" id="M000137">
492
-
493
- <a name="M000137"></a><b>arrange_in_grid</b>(max_clients_per_column = nil)
494
-
495
- </div>
496
-
497
- <div class="description">
498
- <p>
499
- Arranges the clients in this view, while maintaining their relative order,
500
- in a (at best) square grid.
501
- </p>
502
-
503
- </div>
504
-
505
-
506
-
507
-
508
- <div class="sourcecode">
509
- <p class="source-link">
510
- Source: <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show</a>
511
-
512
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L887" target="_blank" class="github_url">on GitHub</a>
513
-
514
- </p>
515
- <div id="M000137_source" class="dyn-source">
516
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 887</span>
517
- <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>
518
- <span class="ruby-comment cmt"># compute client distribution</span>
519
- <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">max_clients_per_column</span>
520
- <span class="ruby-identifier">num_clients</span> = <span class="ruby-identifier">num_managed_clients</span>
521
- <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">&gt;</span> <span class="ruby-value">0</span>
522
-
523
- <span class="ruby-identifier">num_columns</span> = <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span>(<span class="ruby-identifier">num_clients</span>)
524
- <span class="ruby-identifier">max_clients_per_column</span> = (<span class="ruby-identifier">num_clients</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">num_columns</span>).<span class="ruby-identifier">round</span>
525
- <span class="ruby-keyword kw">end</span>
526
-
527
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">max_clients_per_column</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">1</span>
528
-
529
- <span class="ruby-comment cmt"># apply the distribution</span>
530
- <span class="ruby-identifier">maintain_focus</span> <span class="ruby-keyword kw">do</span>
531
- <span class="ruby-identifier">each_column</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
532
- <span class="ruby-identifier">a</span>.<span class="ruby-identifier">length</span> = <span class="ruby-identifier">max_clients_per_column</span>
533
- <span class="ruby-identifier">a</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">:default</span>
534
- <span class="ruby-keyword kw">end</span>
535
- <span class="ruby-keyword kw">end</span>
536
- <span class="ruby-keyword kw">end</span></pre>
537
- </div>
538
- </div>
539
-
540
- </div>
541
-
542
- <div class="method">
543
- <div class="title" id="M000141">
544
-
545
- <a name="M000141"></a><b>arrange_in_stacks</b>(num_stacks)
546
-
547
- </div>
548
-
549
- <div class="description">
550
- <p>
551
- Arranges the clients in this view, while maintaining their relative order,
552
- in the given number of columns.
553
- </p>
554
-
555
- </div>
556
-
557
-
558
-
559
-
560
- <div class="sourcecode">
561
- <p class="source-link">
562
- Source: <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">show</a>
563
-
564
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L912" target="_blank" class="github_url">on GitHub</a>
565
-
566
- </p>
567
- <div id="M000141_source" class="dyn-source">
568
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 912</span>
569
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_in_stacks</span> <span class="ruby-identifier">num_stacks</span>
570
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">num_stacks</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">1</span>
571
-
572
- <span class="ruby-comment cmt"># compute client distribution</span>
573
- <span class="ruby-identifier">num_clients</span> = <span class="ruby-identifier">num_managed_clients</span>
574
- <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">&gt;</span> <span class="ruby-value">0</span>
575
-
576
- <span class="ruby-identifier">stack_length</span> = <span class="ruby-identifier">num_clients</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">num_stacks</span>
577
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">stack_length</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">1</span>
578
-
579
- <span class="ruby-comment cmt"># apply the distribution</span>
580
- <span class="ruby-identifier">maintain_focus</span> <span class="ruby-keyword kw">do</span>
581
- <span class="ruby-identifier">each_column</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
582
- <span class="ruby-identifier">a</span>.<span class="ruby-identifier">length</span> = <span class="ruby-identifier">stack_length</span>
583
- <span class="ruby-identifier">a</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">:stack</span>
584
- <span class="ruby-keyword kw">end</span>
585
-
586
- <span class="ruby-identifier">squeeze_columns</span> <span class="ruby-identifier">num_stacks</span><span class="ruby-operator">-</span><span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>
587
- <span class="ruby-keyword kw">end</span>
588
- <span class="ruby-keyword kw">end</span></pre>
589
- </div>
590
- </div>
591
-
592
- </div>
593
-
594
- <div class="method">
595
- <div class="title" id="M000114">
596
-
597
- <a name="M000114"></a><b>chain</b>()
598
-
599
- </div>
600
-
601
- <div class="description">
602
- <p>
603
- Returns a list of all views.
604
- </p>
605
-
606
- </div>
607
-
608
-
609
-
610
-
611
- <div class="sourcecode">
612
- <p class="source-link">
613
- Source: <a href="javascript:toggleSource('M000114_source')" id="l_M000114_source">show</a>
614
-
615
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L737" target="_blank" class="github_url">on GitHub</a>
616
-
617
- </p>
618
- <div id="M000114_source" class="dyn-source">
619
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 737</span>
620
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
621
- <span class="ruby-constant">Rumai</span>.<span class="ruby-identifier">views</span>
622
- <span class="ruby-keyword kw">end</span></pre>
623
- </div>
624
- </div>
625
-
626
- </div>
627
-
628
- <div class="method">
629
- <div class="title" id="M000115">
630
-
631
- <a name="M000115"></a><b>client_ids</b>(area_id = '\S+')
632
-
633
- </div>
634
-
635
- <div class="description">
636
- <p>
637
- Returns the IDs of the clients contained in the given area within this
638
- view.
639
- </p>
640
-
641
- </div>
642
-
643
-
644
-
645
-
646
- <div class="sourcecode">
647
- <p class="source-link">
648
- Source: <a href="javascript:toggleSource('M000115_source')" id="l_M000115_source">show</a>
649
-
650
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L747" target="_blank" class="github_url">on GitHub</a>
651
-
652
- </p>
653
- <div id="M000115_source" class="dyn-source">
654
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 747</span>
655
- <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>
656
- <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>
657
- <span class="ruby-keyword kw">end</span></pre>
658
- </div>
659
- </div>
660
-
661
- </div>
662
-
663
- <div class="method">
664
- <div class="title" id="M000130">
665
-
666
- <a name="M000130"></a><b>columns</b>()
667
-
668
- </div>
669
-
670
- <div class="description">
671
- <p>
672
- Returns all columns (managed areas) in this view.
673
- </p>
674
-
675
- </div>
676
-
677
-
678
- <div class="aka">
679
- This method is also aliased as
680
-
681
- <a href="View.html#M000131">managed_areas</a>
682
-
683
- </div>
684
-
685
-
686
-
687
- <div class="sourcecode">
688
- <p class="source-link">
689
- Source: <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">show</a>
690
-
691
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L827" target="_blank" class="github_url">on GitHub</a>
692
-
693
- </p>
694
- <div id="M000130_source" class="dyn-source">
695
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 827</span>
696
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">columns</span>
697
- <span class="ruby-identifier">areas</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
698
- <span class="ruby-keyword kw">end</span></pre>
699
- </div>
700
- </div>
701
-
702
- </div>
703
-
704
- <div class="method">
705
- <div class="title" id="M000116">
706
-
707
- <a name="M000116"></a><b>each</b>(&amp;block)
708
-
709
- </div>
710
-
711
- <div class="description">
712
- <p>
713
- Iterates through each area in this view.
714
- </p>
715
-
716
- </div>
717
-
718
-
719
-
720
-
721
- <div class="sourcecode">
722
- <p class="source-link">
723
- Source: <a href="javascript:toggleSource('M000116_source')" id="l_M000116_source">show</a>
724
-
725
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L756" target="_blank" class="github_url">on GitHub</a>
726
-
727
- </p>
728
- <div id="M000116_source" class="dyn-source">
729
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 756</span>
730
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
731
- <span class="ruby-identifier">areas</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
732
- <span class="ruby-keyword kw">end</span></pre>
733
- </div>
734
- </div>
735
-
736
- </div>
737
-
738
- <div class="method">
739
- <div class="title" id="M000132">
740
-
741
- <a name="M000132"></a><b>each_column</b>(starting_column_id = 1)
742
-
743
- </div>
744
-
745
- <div class="description">
746
- <p>
747
- Resiliently iterates through possibly destructive changes to each column.
748
- That is, if the given block creates new columns, then those will also be
749
- processed in the iteration.
750
- </p>
751
-
752
- </div>
753
-
754
-
755
- <div class="aka">
756
- This method is also aliased as
757
-
758
- <a href="View.html#M000134">each_managed_area</a>
759
-
760
- </div>
761
-
762
-
763
-
764
- <div class="sourcecode">
765
- <p class="source-link">
766
- Source: <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show</a>
767
-
768
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L838" target="_blank" class="github_url">on GitHub</a>
769
-
770
- </p>
771
- <div id="M000132_source" class="dyn-source">
772
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 838</span>
773
- <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>
774
- <span class="ruby-identifier">i</span> = <span class="ruby-identifier">starting_column_id</span>
775
- <span class="ruby-identifier">loop</span> <span class="ruby-keyword kw">do</span>
776
- <span class="ruby-identifier">a</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>
777
-
778
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">exist?</span>
779
- <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">a</span>
780
- <span class="ruby-keyword kw">else</span>
781
- <span class="ruby-keyword kw">break</span>
782
- <span class="ruby-keyword kw">end</span>
783
-
784
- <span class="ruby-identifier">i</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
785
- <span class="ruby-keyword kw">end</span>
786
- <span class="ruby-keyword kw">end</span></pre>
787
- </div>
788
- </div>
789
-
790
- </div>
791
-
792
- <div class="method">
793
- <div class="title" id="M000134">
794
-
795
- <a name="M000134"></a><b>each_managed_area</b>(starting_column_id = 1)
796
-
797
- </div>
798
-
799
- <div class="description">
800
- <p>
801
- Alias for <a href="View.html#M000132">each_column</a>
802
- </p>
803
-
804
- </div>
805
-
806
-
807
-
808
- </div>
809
-
810
- <div class="method">
811
- <div class="title" id="M000127">
812
-
813
- <a name="M000127"></a><b>floating_area</b>()
814
-
815
- </div>
816
-
817
- <div class="description">
818
- <p>
819
- Returns the floating area of this view.
820
- </p>
821
-
822
- </div>
823
-
824
-
825
-
826
-
827
- <div class="sourcecode">
828
- <p class="source-link">
829
- Source: <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">show</a>
830
-
831
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L820" target="_blank" class="github_url">on GitHub</a>
832
-
833
- </p>
834
- <div id="M000127_source" class="dyn-source">
835
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 820</span>
836
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">floating_area</span>
837
- <span class="ruby-constant">Area</span>.<span class="ruby-identifier">floating</span> <span class="ruby-keyword kw">self</span>
838
- <span class="ruby-keyword kw">end</span></pre>
839
- </div>
840
- </div>
841
-
842
- </div>
843
-
844
- <div class="method">
845
- <div class="title" id="M000113">
846
-
847
- <a name="M000113"></a><b>focus</b>()
848
-
849
- </div>
850
-
851
- <div class="description">
852
- <p>
853
- Focuses this view.
854
- </p>
855
-
856
- </div>
857
-
858
-
859
-
860
-
861
- <div class="sourcecode">
862
- <p class="source-link">
863
- Source: <a href="javascript:toggleSource('M000113_source')" id="l_M000113_source">show</a>
864
-
865
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L728" target="_blank" class="github_url">on GitHub</a>
866
-
867
- </p>
868
- <div id="M000113_source" class="dyn-source">
869
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 728</span>
870
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span>
871
- <span class="ruby-constant">IXP_FS_ROOT</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">&quot;view #{@id}&quot;</span>
872
- <span class="ruby-keyword kw">end</span></pre>
873
- </div>
874
- </div>
875
-
876
- </div>
877
-
878
- <div class="method">
879
- <div class="title" id="M000131">
880
-
881
- <a name="M000131"></a><b>managed_areas</b>()
882
-
883
- </div>
884
-
885
- <div class="description">
886
- <p>
887
- Alias for <a href="View.html#M000130">columns</a>
888
- </p>
889
-
890
- </div>
891
-
892
-
893
-
894
- </div>
895
-
896
- <div class="method">
897
- <div class="title" id="M000119">
898
-
899
- <a name="M000119"></a><b>manifest</b>()
900
-
901
- </div>
902
-
903
- <div class="description">
904
- <p>
905
- Returns the manifest of all areas and clients in this view.
906
- </p>
907
-
908
- </div>
909
-
910
-
911
-
912
-
913
- <div class="sourcecode">
914
- <p class="source-link">
915
- Source: <a href="javascript:toggleSource('M000119_source')" id="l_M000119_source">show</a>
916
-
917
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L771" target="_blank" class="github_url">on GitHub</a>
918
-
919
- </p>
920
- <div id="M000119_source" class="dyn-source">
921
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 771</span>
922
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">manifest</span>
923
- <span class="ruby-identifier">index</span>.<span class="ruby-identifier">read</span> <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>
924
- <span class="ruby-keyword kw">end</span></pre>
925
- </div>
926
- </div>
927
-
928
- </div>
929
-
930
- <div class="method">
931
- <div class="title" id="M000120">
932
-
933
- <a name="M000120"></a><b>select</b>(direction)
934
-
935
- </div>
936
-
937
- <div class="description">
938
- <p>
939
- Moves the focus from the current client in the given direction.
940
- </p>
941
-
942
- </div>
943
-
944
-
945
-
946
-
947
- <div class="sourcecode">
948
- <p class="source-link">
949
- Source: <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">show</a>
950
-
951
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L778" target="_blank" class="github_url">on GitHub</a>
952
-
953
- </p>
954
- <div id="M000120_source" class="dyn-source">
955
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 778</span>
956
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select</span> <span class="ruby-identifier">direction</span>
957
- <span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">&quot;select #{direction}&quot;</span>
958
- <span class="ruby-keyword kw">end</span></pre>
959
- </div>
960
- </div>
961
-
962
- </div>
963
-
964
- </div>
965
- </div>
966
- </body>
967
- </html>