rumai 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CREDITS +4 -3
- data/HISTORY +327 -0
- data/INSTALL +31 -0
- data/README +92 -0
- data/USAGE +297 -0
- data/bin/rumai +9 -22
- data/doc/api/IO.html +119 -0
- data/doc/api/Integer.html +171 -0
- data/doc/api/Rumai.html +1270 -0
- data/doc/api/Rumai/Area.html +1485 -0
- data/doc/api/Rumai/Chain.html +301 -0
- data/doc/api/Rumai/Client.html +2451 -0
- data/doc/api/Rumai/ClientContainer.html +301 -0
- data/doc/api/Rumai/ExportInstanceMethods.html +103 -0
- data/doc/api/Rumai/IXP.html +94 -0
- data/doc/api/Rumai/IXP/Agent.html +1625 -0
- data/doc/api/Rumai/IXP/Agent/FidStream.html +959 -0
- data/doc/api/Rumai/IXP/Agent/RangedPool.html +381 -0
- data/doc/api/Rumai/IXP/Error.html +110 -0
- data/doc/api/Rumai/IXP/Fcall.html +503 -0
- data/doc/api/Rumai/IXP/Qid.html +207 -0
- data/doc/api/Rumai/IXP/Rattach.html +148 -0
- data/doc/api/Rumai/IXP/Rauth.html +148 -0
- data/doc/api/Rumai/IXP/Rclunk.html +148 -0
- data/doc/api/Rumai/IXP/Rcreate.html +148 -0
- data/doc/api/Rumai/IXP/Rerror.html +148 -0
- data/doc/api/Rumai/IXP/Rflush.html +148 -0
- data/doc/api/Rumai/IXP/Ropen.html +148 -0
- data/doc/api/Rumai/IXP/Rread.html +148 -0
- data/doc/api/Rumai/IXP/Rremove.html +148 -0
- data/doc/api/Rumai/IXP/Rstat.html +148 -0
- data/doc/api/Rumai/IXP/Rversion.html +148 -0
- data/doc/api/Rumai/IXP/Rwalk.html +148 -0
- data/doc/api/Rumai/IXP/Rwrite.html +148 -0
- data/doc/api/Rumai/IXP/Rwstat.html +148 -0
- data/doc/api/Rumai/IXP/Stat.html +335 -0
- data/doc/api/Rumai/IXP/Stream.html +194 -0
- data/doc/api/Rumai/IXP/Struct.html +586 -0
- data/doc/api/Rumai/IXP/Struct/ClassField.html +242 -0
- data/doc/api/Rumai/IXP/Struct/Field.html +782 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +227 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +153 -0
- data/doc/api/Rumai/IXP/Struct/Integer8Field.html +242 -0
- data/doc/api/Rumai/IXP/Struct/StringField.html +206 -0
- data/doc/api/Rumai/IXP/Tattach.html +148 -0
- data/doc/api/Rumai/IXP/Tauth.html +148 -0
- data/doc/api/Rumai/IXP/Tclunk.html +148 -0
- data/doc/api/Rumai/IXP/Tcreate.html +148 -0
- data/doc/api/Rumai/IXP/Terror.html +231 -0
- data/doc/api/Rumai/IXP/Tflush.html +148 -0
- data/doc/api/Rumai/IXP/Topen.html +240 -0
- data/doc/api/Rumai/IXP/Tread.html +148 -0
- data/doc/api/Rumai/IXP/Tremove.html +148 -0
- data/doc/api/Rumai/IXP/Tstat.html +148 -0
- data/doc/api/Rumai/IXP/Tversion.html +162 -0
- data/doc/api/Rumai/IXP/Twalk.html +148 -0
- data/doc/api/Rumai/IXP/Twrite.html +148 -0
- data/doc/api/Rumai/IXP/Twstat.html +148 -0
- data/doc/api/Rumai/Node.html +1406 -0
- data/doc/api/Rumai/View.html +1587 -0
- data/doc/api/Rumai/WidgetImpl.html +333 -0
- data/doc/api/Rumai/WidgetNode.html +246 -0
- data/doc/api/String.html +258 -0
- data/doc/api/StringIO.html +119 -0
- data/doc/api/Time.html +247 -0
- data/doc/api/_index.html +581 -0
- data/doc/api/class_list.html +36 -0
- data/doc/api/css/common.css +1 -0
- data/doc/api/css/full_list.css +50 -0
- data/doc/api/css/style.css +273 -0
- data/doc/api/file.LICENSE.html +73 -0
- data/doc/api/file_list.html +38 -0
- data/doc/api/frames.html +13 -0
- data/doc/api/index.html +72 -13
- data/doc/api/js/app.js +111 -0
- data/doc/api/js/full_list.js +117 -0
- data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
- data/doc/api/method_list.html +1483 -0
- data/doc/api/top-level-namespace.html +89 -0
- data/doc/index.erb +18 -13
- data/doc/index.html +331 -386
- data/lib/rumai.rb +1 -18
- data/lib/rumai/fs.rb +11 -11
- data/lib/rumai/inochi.rb +48 -0
- data/lib/rumai/inochi.yaml +94 -0
- data/lib/rumai/ixp.rb +0 -4
- data/lib/rumai/ixp/message.rb +6 -17
- data/lib/rumai/ixp/transport.rb +39 -30
- data/lib/rumai/wm.rb +35 -37
- data/test/rumai/inochi_test.rb +17 -0
- data/test/rumai/ixp/message_test.rb +245 -0
- data/test/runner +25 -0
- data/test/test_helper.rb +1 -0
- metadata +107 -125
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/IO.html +0 -72
- data/doc/api/classes/Integer.html +0 -110
- data/doc/api/classes/Object.html +0 -60
- data/doc/api/classes/Rumai.html +0 -837
- data/doc/api/classes/Rumai/Area.html +0 -909
- data/doc/api/classes/Rumai/Chain.html +0 -197
- data/doc/api/classes/Rumai/Client.html +0 -1526
- data/doc/api/classes/Rumai/ClientContainer.html +0 -191
- data/doc/api/classes/Rumai/ExportInstanceMethods.html +0 -69
- data/doc/api/classes/Rumai/IXP.html +0 -131
- data/doc/api/classes/Rumai/IXP/Agent.html +0 -941
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -456
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -108
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -241
- data/doc/api/classes/Rumai/IXP/Error.html +0 -67
- data/doc/api/classes/Rumai/IXP/Fcall.html +0 -323
- data/doc/api/classes/Rumai/IXP/Qid.html +0 -153
- data/doc/api/classes/Rumai/IXP/Rattach.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rauth.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rerror.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rflush.html +0 -67
- data/doc/api/classes/Rumai/IXP/Ropen.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rread.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rremove.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rstat.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rversion.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -67
- data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -67
- data/doc/api/classes/Rumai/IXP/Stat.html +0 -252
- data/doc/api/classes/Rumai/IXP/Stream.html +0 -131
- data/doc/api/classes/Rumai/IXP/Struct.html +0 -311
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -415
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -153
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -104
- data/doc/api/classes/Rumai/IXP/Tattach.html +0 -68
- data/doc/api/classes/Rumai/IXP/Tauth.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -68
- data/doc/api/classes/Rumai/IXP/Terror.html +0 -110
- data/doc/api/classes/Rumai/IXP/Tflush.html +0 -67
- data/doc/api/classes/Rumai/IXP/Topen.html +0 -165
- data/doc/api/classes/Rumai/IXP/Tread.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tremove.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tstat.html +0 -67
- data/doc/api/classes/Rumai/IXP/Tversion.html +0 -86
- data/doc/api/classes/Rumai/IXP/Twalk.html +0 -68
- data/doc/api/classes/Rumai/IXP/Twrite.html +0 -68
- data/doc/api/classes/Rumai/IXP/Twstat.html +0 -67
- data/doc/api/classes/Rumai/Node.html +0 -821
- data/doc/api/classes/Rumai/View.html +0 -967
- data/doc/api/classes/Rumai/WidgetImpl.html +0 -65
- data/doc/api/classes/Rumai/WidgetNode.html +0 -68
- data/doc/api/classes/String.html +0 -163
- data/doc/api/classes/StringIO.html +0 -72
- data/doc/api/classes/Time.html +0 -156
- data/doc/api/created.rid +0 -1
- data/doc/api/css/main.css +0 -263
- data/doc/api/css/panel.css +0 -383
- data/doc/api/css/reset.css +0 -53
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +0 -67
- data/doc/api/files/LICENSE.html +0 -76
- data/doc/api/files/lib/rumai/fs_rb.html +0 -75
- data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -91
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -75
- data/doc/api/files/lib/rumai/ixp_rb.html +0 -69
- data/doc/api/files/lib/rumai/wm_rb.html +0 -77
- data/doc/api/files/lib/rumai_rb.html +0 -65
- data/doc/api/i/arrows.png +0 -0
- data/doc/api/i/results_bg.png +0 -0
- data/doc/api/i/tree_bg.png +0 -0
- data/doc/api/js/jquery-effect.js +0 -593
- data/doc/api/js/main.js +0 -22
- data/doc/api/js/searchdoc.js +0 -628
- data/doc/api/panel/index.html +0 -71
- data/doc/api/panel/search_index.js +0 -1
- data/doc/api/panel/tree.js +0 -1
- data/doc/history.erb +0 -233
- data/doc/intro.erb +0 -70
- data/doc/setup.erb +0 -144
- data/doc/usage.erb +0 -308
- data/rakefile +0 -14
- data/test/rumai/ixp/message.rb +0 -237
|
@@ -1,197 +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::Chain</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">Module</span>
|
|
19
|
-
Rumai::Chain
|
|
20
|
-
|
|
21
|
-
</h1>
|
|
22
|
-
<ul class="files">
|
|
23
|
-
|
|
24
|
-
<li><a href="../../files/lib/rumai/wm_rb.html">lib/rumai/wm.rb</a></li>
|
|
25
|
-
|
|
26
|
-
</ul>
|
|
27
|
-
</div>
|
|
28
|
-
<div id="bodyContent">
|
|
29
|
-
<div id="content">
|
|
30
|
-
|
|
31
|
-
<div class="description">
|
|
32
|
-
<p>
|
|
33
|
-
NOTE: Inheritors must override the ‘chain’ method.
|
|
34
|
-
</p>
|
|
35
|
-
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<div class="sectiontitle">Methods</div>
|
|
47
|
-
<dl class="methods">
|
|
48
|
-
|
|
49
|
-
<dt>C</dt>
|
|
50
|
-
<dd>
|
|
51
|
-
<ul>
|
|
52
|
-
|
|
53
|
-
<li><a href="#M000001">chain</a></li>
|
|
54
|
-
|
|
55
|
-
</ul>
|
|
56
|
-
</dd>
|
|
57
|
-
|
|
58
|
-
<dt>N</dt>
|
|
59
|
-
<dd>
|
|
60
|
-
<ul>
|
|
61
|
-
|
|
62
|
-
<li><a href="#M000002">next</a></li>
|
|
63
|
-
|
|
64
|
-
</ul>
|
|
65
|
-
</dd>
|
|
66
|
-
|
|
67
|
-
<dt>P</dt>
|
|
68
|
-
<dd>
|
|
69
|
-
<ul>
|
|
70
|
-
|
|
71
|
-
<li><a href="#M000007">prev</a></li>
|
|
72
|
-
|
|
73
|
-
</ul>
|
|
74
|
-
</dd>
|
|
75
|
-
|
|
76
|
-
</dl>
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
<div class="sectiontitle">Instance Public methods</div>
|
|
91
|
-
|
|
92
|
-
<div class="method">
|
|
93
|
-
<div class="title" id="M000001">
|
|
94
|
-
|
|
95
|
-
<a name="M000001"></a><b>chain</b>()
|
|
96
|
-
|
|
97
|
-
</div>
|
|
98
|
-
|
|
99
|
-
<div class="description">
|
|
100
|
-
<p>
|
|
101
|
-
Returns an array of objects related to this one.
|
|
102
|
-
</p>
|
|
103
|
-
|
|
104
|
-
</div>
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
<div class="sourcecode">
|
|
110
|
-
<p class="source-link">
|
|
111
|
-
Source: <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show</a>
|
|
112
|
-
|
|
113
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L35" target="_blank" class="github_url">on GitHub</a>
|
|
114
|
-
|
|
115
|
-
</p>
|
|
116
|
-
<div id="M000001_source" class="dyn-source">
|
|
117
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 35</span>
|
|
118
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
|
119
|
-
[<span class="ruby-keyword kw">self</span>]
|
|
120
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
|
|
124
|
-
</div>
|
|
125
|
-
|
|
126
|
-
<div class="method">
|
|
127
|
-
<div class="title" id="M000002">
|
|
128
|
-
|
|
129
|
-
<a name="M000002"></a><b>next</b>()
|
|
130
|
-
|
|
131
|
-
</div>
|
|
132
|
-
|
|
133
|
-
<div class="description">
|
|
134
|
-
<p>
|
|
135
|
-
Returns the object after this one in the chain.
|
|
136
|
-
</p>
|
|
137
|
-
|
|
138
|
-
</div>
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
<div class="sourcecode">
|
|
144
|
-
<p class="source-link">
|
|
145
|
-
Source: <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show</a>
|
|
146
|
-
|
|
147
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L42" target="_blank" class="github_url">on GitHub</a>
|
|
148
|
-
|
|
149
|
-
</p>
|
|
150
|
-
<div id="M000002_source" class="dyn-source">
|
|
151
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 42</span>
|
|
152
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">next</span>
|
|
153
|
-
<span class="ruby-identifier">sibling</span>(<span class="ruby-value">+1</span>)
|
|
154
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
|
|
158
|
-
</div>
|
|
159
|
-
|
|
160
|
-
<div class="method">
|
|
161
|
-
<div class="title" id="M000007">
|
|
162
|
-
|
|
163
|
-
<a name="M000007"></a><b>prev</b>()
|
|
164
|
-
|
|
165
|
-
</div>
|
|
166
|
-
|
|
167
|
-
<div class="description">
|
|
168
|
-
<p>
|
|
169
|
-
Returns the object before this one in the chain.
|
|
170
|
-
</p>
|
|
171
|
-
|
|
172
|
-
</div>
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<div class="sourcecode">
|
|
178
|
-
<p class="source-link">
|
|
179
|
-
Source: <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show</a>
|
|
180
|
-
|
|
181
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L49" target="_blank" class="github_url">on GitHub</a>
|
|
182
|
-
|
|
183
|
-
</p>
|
|
184
|
-
<div id="M000007_source" class="dyn-source">
|
|
185
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 49</span>
|
|
186
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev</span>
|
|
187
|
-
<span class="ruby-identifier">sibling</span>(<span class="ruby-value">-1</span>)
|
|
188
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
</div>
|
|
195
|
-
</div>
|
|
196
|
-
</body>
|
|
197
|
-
</html>
|
|
@@ -1,1526 +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::Client</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::Client
|
|
20
|
-
|
|
21
|
-
<span class="parent"><
|
|
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
|
-
A graphical program that is running in your current X Windows session.
|
|
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="#M000049">area</a></li>
|
|
60
|
-
|
|
61
|
-
</ul>
|
|
62
|
-
</dd>
|
|
63
|
-
|
|
64
|
-
<dt>C</dt>
|
|
65
|
-
<dd>
|
|
66
|
-
<ul>
|
|
67
|
-
|
|
68
|
-
<li><a href="#M000019">chain</a>,</li>
|
|
69
|
-
|
|
70
|
-
<li><a href="#M000018">curr</a></li>
|
|
71
|
-
|
|
72
|
-
</ul>
|
|
73
|
-
</dd>
|
|
74
|
-
|
|
75
|
-
<dt>F</dt>
|
|
76
|
-
<dd>
|
|
77
|
-
<ul>
|
|
78
|
-
|
|
79
|
-
<li><a href="#M000041">float</a>,</li>
|
|
80
|
-
|
|
81
|
-
<li><a href="#M000043">float!</a>,</li>
|
|
82
|
-
|
|
83
|
-
<li><a href="#M000040">float?</a>,</li>
|
|
84
|
-
|
|
85
|
-
<li><a href="#M000020">focus</a>,</li>
|
|
86
|
-
|
|
87
|
-
<li><a href="#M000031">fullscreen</a>,</li>
|
|
88
|
-
|
|
89
|
-
<li><a href="#M000033">fullscreen!</a>,</li>
|
|
90
|
-
|
|
91
|
-
<li><a href="#M000034">fullscreen?</a></li>
|
|
92
|
-
|
|
93
|
-
</ul>
|
|
94
|
-
</dd>
|
|
95
|
-
|
|
96
|
-
<dt>G</dt>
|
|
97
|
-
<dd>
|
|
98
|
-
<ul>
|
|
99
|
-
|
|
100
|
-
<li><a href="#M000063">group</a>,</li>
|
|
101
|
-
|
|
102
|
-
<li><a href="#M000066">group!</a>,</li>
|
|
103
|
-
|
|
104
|
-
<li><a href="#M000062">group?</a></li>
|
|
105
|
-
|
|
106
|
-
</ul>
|
|
107
|
-
</dd>
|
|
108
|
-
|
|
109
|
-
<dt>K</dt>
|
|
110
|
-
<dd>
|
|
111
|
-
<ul>
|
|
112
|
-
|
|
113
|
-
<li><a href="#M000029">kill</a></li>
|
|
114
|
-
|
|
115
|
-
</ul>
|
|
116
|
-
</dd>
|
|
117
|
-
|
|
118
|
-
<dt>M</dt>
|
|
119
|
-
<dd>
|
|
120
|
-
<ul>
|
|
121
|
-
|
|
122
|
-
<li><a href="#M000046">manage</a>,</li>
|
|
123
|
-
|
|
124
|
-
<li><a href="#M000048">manage!</a>,</li>
|
|
125
|
-
|
|
126
|
-
<li><a href="#M000044">manage?</a>,</li>
|
|
127
|
-
|
|
128
|
-
<li><a href="#M000027">move</a></li>
|
|
129
|
-
|
|
130
|
-
</ul>
|
|
131
|
-
</dd>
|
|
132
|
-
|
|
133
|
-
<dt>N</dt>
|
|
134
|
-
<dd>
|
|
135
|
-
<ul>
|
|
136
|
-
|
|
137
|
-
<li><a href="#M000014">new</a></li>
|
|
138
|
-
|
|
139
|
-
</ul>
|
|
140
|
-
</dd>
|
|
141
|
-
|
|
142
|
-
<dt>S</dt>
|
|
143
|
-
<dd>
|
|
144
|
-
<ul>
|
|
145
|
-
|
|
146
|
-
<li><a href="#M000026">send</a>,</li>
|
|
147
|
-
|
|
148
|
-
<li><a href="#M000030">slay</a>,</li>
|
|
149
|
-
|
|
150
|
-
<li><a href="#M000036">stick</a>,</li>
|
|
151
|
-
|
|
152
|
-
<li><a href="#M000039">stick!</a>,</li>
|
|
153
|
-
|
|
154
|
-
<li><a href="#M000035">stick?</a>,</li>
|
|
155
|
-
|
|
156
|
-
<li><a href="#M000028">swap</a></li>
|
|
157
|
-
|
|
158
|
-
</ul>
|
|
159
|
-
</dd>
|
|
160
|
-
|
|
161
|
-
<dt>T</dt>
|
|
162
|
-
<dd>
|
|
163
|
-
<ul>
|
|
164
|
-
|
|
165
|
-
<li><a href="#M000059">tag</a>,</li>
|
|
166
|
-
|
|
167
|
-
<li><a href="#M000052">tags</a>,</li>
|
|
168
|
-
|
|
169
|
-
<li><a href="#M000056">tags=</a></li>
|
|
170
|
-
|
|
171
|
-
</ul>
|
|
172
|
-
</dd>
|
|
173
|
-
|
|
174
|
-
<dt>U</dt>
|
|
175
|
-
<dd>
|
|
176
|
-
<ul>
|
|
177
|
-
|
|
178
|
-
<li><a href="#M000042">unfloat</a>,</li>
|
|
179
|
-
|
|
180
|
-
<li><a href="#M000032">unfullscreen</a>,</li>
|
|
181
|
-
|
|
182
|
-
<li><a href="#M000065">ungroup</a>,</li>
|
|
183
|
-
|
|
184
|
-
<li><a href="#M000047">unmanage</a>,</li>
|
|
185
|
-
|
|
186
|
-
<li><a href="#M000037">unstick</a>,</li>
|
|
187
|
-
|
|
188
|
-
<li><a href="#M000060">untag</a></li>
|
|
189
|
-
|
|
190
|
-
</ul>
|
|
191
|
-
</dd>
|
|
192
|
-
|
|
193
|
-
<dt>V</dt>
|
|
194
|
-
<dd>
|
|
195
|
-
<ul>
|
|
196
|
-
|
|
197
|
-
<li><a href="#M000050">views</a></li>
|
|
198
|
-
|
|
199
|
-
</ul>
|
|
200
|
-
</dd>
|
|
201
|
-
|
|
202
|
-
<dt>W</dt>
|
|
203
|
-
<dd>
|
|
204
|
-
<ul>
|
|
205
|
-
|
|
206
|
-
<li><a href="#M000058">with_tags</a></li>
|
|
207
|
-
|
|
208
|
-
</ul>
|
|
209
|
-
</dd>
|
|
210
|
-
|
|
211
|
-
</dl>
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
<div class="sectiontitle">Included Modules</div>
|
|
216
|
-
<ul>
|
|
217
|
-
|
|
218
|
-
<li>
|
|
219
|
-
|
|
220
|
-
<a href="../Rumai.html">Rumai</a>
|
|
221
|
-
|
|
222
|
-
START:includes
|
|
223
|
-
</li>
|
|
224
|
-
|
|
225
|
-
</ul>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
<div class="sectiontitle">Constants</div>
|
|
234
|
-
<table border='0' cellpadding='5'>
|
|
235
|
-
|
|
236
|
-
<tr valign='top'>
|
|
237
|
-
<td class="attr-name">TAG_DELIMITER</td>
|
|
238
|
-
<td>=</td>
|
|
239
|
-
<td class="attr-value">'+'.freeze</td>
|
|
240
|
-
</tr>
|
|
241
|
-
|
|
242
|
-
<tr valign='top'>
|
|
243
|
-
<td> </td>
|
|
244
|
-
<td colspan="2" class="attr-desc"><hr size="10"></hr><pre>
|
|
245
|
-
tag manipulations
|
|
246
|
-
</pre>
|
|
247
|
-
<hr size="10"></hr></td>
|
|
248
|
-
</tr>
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
</table>
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
<div class="sectiontitle">Class Public methods</div>
|
|
258
|
-
|
|
259
|
-
<div class="method">
|
|
260
|
-
<div class="title" id="M000018">
|
|
261
|
-
|
|
262
|
-
<a name="M000018"></a><b>curr</b>()
|
|
263
|
-
|
|
264
|
-
</div>
|
|
265
|
-
|
|
266
|
-
<div class="description">
|
|
267
|
-
<p>
|
|
268
|
-
Returns the currently focused client.
|
|
269
|
-
</p>
|
|
270
|
-
|
|
271
|
-
</div>
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
<div class="sourcecode">
|
|
277
|
-
<p class="source-link">
|
|
278
|
-
Source: <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show</a>
|
|
279
|
-
|
|
280
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L116" target="_blank" class="github_url">on GitHub</a>
|
|
281
|
-
|
|
282
|
-
</p>
|
|
283
|
-
<div id="M000018_source" class="dyn-source">
|
|
284
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 116</span>
|
|
285
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
|
286
|
-
<span class="ruby-identifier">new</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
|
|
287
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
288
|
-
</div>
|
|
289
|
-
</div>
|
|
290
|
-
|
|
291
|
-
</div>
|
|
292
|
-
|
|
293
|
-
<div class="method">
|
|
294
|
-
<div class="title" id="M000014">
|
|
295
|
-
|
|
296
|
-
<a name="M000014"></a><b>new</b>(client_id)
|
|
297
|
-
|
|
298
|
-
</div>
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
<div class="sourcecode">
|
|
304
|
-
<p class="source-link">
|
|
305
|
-
Source: <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show</a>
|
|
306
|
-
|
|
307
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L109" target="_blank" class="github_url">on GitHub</a>
|
|
308
|
-
|
|
309
|
-
</p>
|
|
310
|
-
<div id="M000014_source" class="dyn-source">
|
|
311
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 109</span>
|
|
312
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">client_id</span>
|
|
313
|
-
<span class="ruby-keyword kw">super</span> <span class="ruby-identifier">client_id</span>, <span class="ruby-value str">'/client'</span>
|
|
314
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
315
|
-
</div>
|
|
316
|
-
</div>
|
|
317
|
-
|
|
318
|
-
</div>
|
|
319
|
-
|
|
320
|
-
<div class="sectiontitle">Instance Public methods</div>
|
|
321
|
-
|
|
322
|
-
<div class="method">
|
|
323
|
-
<div class="title" id="M000049">
|
|
324
|
-
|
|
325
|
-
<a name="M000049"></a><b>area</b>(view = View.curr)
|
|
326
|
-
|
|
327
|
-
</div>
|
|
328
|
-
|
|
329
|
-
<div class="description">
|
|
330
|
-
<p>
|
|
331
|
-
Returns the area that contains this client within the given view.
|
|
332
|
-
</p>
|
|
333
|
-
|
|
334
|
-
</div>
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
<div class="sourcecode">
|
|
340
|
-
<p class="source-link">
|
|
341
|
-
Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
|
|
342
|
-
|
|
343
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L301" target="_blank" class="github_url">on GitHub</a>
|
|
344
|
-
|
|
345
|
-
</p>
|
|
346
|
-
<div id="M000049_source" class="dyn-source">
|
|
347
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 301</span>
|
|
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
|
-
<span class="ruby-identifier">view</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-keyword kw">self</span>
|
|
350
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
351
|
-
</div>
|
|
352
|
-
</div>
|
|
353
|
-
|
|
354
|
-
</div>
|
|
355
|
-
|
|
356
|
-
<div class="method">
|
|
357
|
-
<div class="title" id="M000019">
|
|
358
|
-
|
|
359
|
-
<a name="M000019"></a><b>chain</b>()
|
|
360
|
-
|
|
361
|
-
</div>
|
|
362
|
-
|
|
363
|
-
<div class="description">
|
|
364
|
-
<p>
|
|
365
|
-
Returns a list of all clients in the current view.
|
|
366
|
-
</p>
|
|
367
|
-
|
|
368
|
-
</div>
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
<div class="sourcecode">
|
|
374
|
-
<p class="source-link">
|
|
375
|
-
Source: <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show</a>
|
|
376
|
-
|
|
377
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L125" target="_blank" class="github_url">on GitHub</a>
|
|
378
|
-
|
|
379
|
-
</p>
|
|
380
|
-
<div id="M000019_source" class="dyn-source">
|
|
381
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 125</span>
|
|
382
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
|
383
|
-
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">clients</span>
|
|
384
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
385
|
-
</div>
|
|
386
|
-
</div>
|
|
387
|
-
|
|
388
|
-
</div>
|
|
389
|
-
|
|
390
|
-
<div class="method">
|
|
391
|
-
<div class="title" id="M000041">
|
|
392
|
-
|
|
393
|
-
<a name="M000041"></a><b>float</b>(view = View.curr)
|
|
394
|
-
|
|
395
|
-
</div>
|
|
396
|
-
|
|
397
|
-
<div class="description">
|
|
398
|
-
<p>
|
|
399
|
-
Puts this client into the floating area of the given view.
|
|
400
|
-
</p>
|
|
401
|
-
|
|
402
|
-
</div>
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
<div class="aka">
|
|
406
|
-
This method is also aliased as
|
|
407
|
-
|
|
408
|
-
<a href="Client.html#M000047">unmanage</a>
|
|
409
|
-
|
|
410
|
-
</div>
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
<div class="sourcecode">
|
|
415
|
-
<p class="source-link">
|
|
416
|
-
Source: <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show</a>
|
|
417
|
-
|
|
418
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L264" target="_blank" class="github_url">on GitHub</a>
|
|
419
|
-
|
|
420
|
-
</p>
|
|
421
|
-
<div id="M000041_source" class="dyn-source">
|
|
422
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 264</span>
|
|
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
|
-
<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
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
426
|
-
</div>
|
|
427
|
-
</div>
|
|
428
|
-
|
|
429
|
-
</div>
|
|
430
|
-
|
|
431
|
-
<div class="method">
|
|
432
|
-
<div class="title" id="M000043">
|
|
433
|
-
|
|
434
|
-
<a name="M000043"></a><b>float!</b>(view = View.curr)
|
|
435
|
-
|
|
436
|
-
</div>
|
|
437
|
-
|
|
438
|
-
<div class="description">
|
|
439
|
-
<p>
|
|
440
|
-
Toggles the floating status of this client in the given view.
|
|
441
|
-
</p>
|
|
442
|
-
|
|
443
|
-
</div>
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
<div class="aka">
|
|
447
|
-
This method is also aliased as
|
|
448
|
-
|
|
449
|
-
<a href="Client.html#M000048">manage!</a>
|
|
450
|
-
|
|
451
|
-
</div>
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
<div class="sourcecode">
|
|
456
|
-
<p class="source-link">
|
|
457
|
-
Source: <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show</a>
|
|
458
|
-
|
|
459
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L278" target="_blank" class="github_url">on GitHub</a>
|
|
460
|
-
|
|
461
|
-
</p>
|
|
462
|
-
<div id="M000043_source" class="dyn-source">
|
|
463
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 278</span>
|
|
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
|
-
<span class="ruby-identifier">send</span> <span class="ruby-identifier">:toggle</span>, <span class="ruby-identifier">view</span>
|
|
466
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
467
|
-
</div>
|
|
468
|
-
</div>
|
|
469
|
-
|
|
470
|
-
</div>
|
|
471
|
-
|
|
472
|
-
<div class="method">
|
|
473
|
-
<div class="title" id="M000040">
|
|
474
|
-
|
|
475
|
-
<a name="M000040"></a><b>float?</b>(view = View.curr)
|
|
476
|
-
|
|
477
|
-
</div>
|
|
478
|
-
|
|
479
|
-
<div class="description">
|
|
480
|
-
<p>
|
|
481
|
-
Checks if this client is in the floating area of the given view.
|
|
482
|
-
</p>
|
|
483
|
-
|
|
484
|
-
</div>
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
<div class="sourcecode">
|
|
490
|
-
<p class="source-link">
|
|
491
|
-
Source: <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show</a>
|
|
492
|
-
|
|
493
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L257" target="_blank" class="github_url">on GitHub</a>
|
|
494
|
-
|
|
495
|
-
</p>
|
|
496
|
-
<div id="M000040_source" class="dyn-source">
|
|
497
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 257</span>
|
|
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
|
-
<span class="ruby-identifier">area</span>(<span class="ruby-identifier">view</span>).<span class="ruby-identifier">floating?</span>
|
|
500
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
501
|
-
</div>
|
|
502
|
-
</div>
|
|
503
|
-
|
|
504
|
-
</div>
|
|
505
|
-
|
|
506
|
-
<div class="method">
|
|
507
|
-
<div class="title" id="M000020">
|
|
508
|
-
|
|
509
|
-
<a name="M000020"></a><b>focus</b>(view = nil)
|
|
510
|
-
|
|
511
|
-
</div>
|
|
512
|
-
|
|
513
|
-
<div class="description">
|
|
514
|
-
<p>
|
|
515
|
-
Focuses this client within the given view.
|
|
516
|
-
</p>
|
|
517
|
-
|
|
518
|
-
</div>
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
<div class="sourcecode">
|
|
524
|
-
<p class="source-link">
|
|
525
|
-
Source: <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show</a>
|
|
526
|
-
|
|
527
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L136" target="_blank" class="github_url">on GitHub</a>
|
|
528
|
-
|
|
529
|
-
</p>
|
|
530
|
-
<div id="M000020_source" class="dyn-source">
|
|
531
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 136</span>
|
|
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
|
-
<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
|
-
(<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>
|
|
535
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">a</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">area</span>(<span class="ruby-identifier">v</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">exist?</span>
|
|
536
|
-
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">focus</span>
|
|
537
|
-
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">focus</span>
|
|
538
|
-
|
|
539
|
-
<span class="ruby-comment cmt"># slide focus from the current client onto this client</span>
|
|
540
|
-
<span class="ruby-identifier">arr</span> = <span class="ruby-identifier">a</span>.<span class="ruby-identifier">client_ids</span>
|
|
541
|
-
<span class="ruby-identifier">src</span> = <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">index</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">id</span>
|
|
542
|
-
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">index</span> <span class="ruby-ivar">@id</span>
|
|
543
|
-
|
|
544
|
-
<span class="ruby-identifier">distance</span> = (<span class="ruby-identifier">src</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">dst</span>).<span class="ruby-identifier">abs</span>
|
|
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
|
-
|
|
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
|
-
<span class="ruby-keyword kw">break</span>
|
|
549
|
-
<span class="ruby-keyword kw">end</span>
|
|
550
|
-
<span class="ruby-keyword kw">end</span>
|
|
551
|
-
<span class="ruby-keyword kw">end</span>
|
|
552
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
553
|
-
</div>
|
|
554
|
-
</div>
|
|
555
|
-
|
|
556
|
-
</div>
|
|
557
|
-
|
|
558
|
-
<div class="method">
|
|
559
|
-
<div class="title" id="M000031">
|
|
560
|
-
|
|
561
|
-
<a name="M000031"></a><b>fullscreen</b>()
|
|
562
|
-
|
|
563
|
-
</div>
|
|
564
|
-
|
|
565
|
-
<div class="description">
|
|
566
|
-
<p>
|
|
567
|
-
Maximizes this client to occupy the entire screen on the current view.
|
|
568
|
-
</p>
|
|
569
|
-
|
|
570
|
-
</div>
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
<div class="sourcecode">
|
|
576
|
-
<p class="source-link">
|
|
577
|
-
Source: <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show</a>
|
|
578
|
-
|
|
579
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L193" target="_blank" class="github_url">on GitHub</a>
|
|
580
|
-
|
|
581
|
-
</p>
|
|
582
|
-
<div id="M000031_source" class="dyn-source">
|
|
583
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 193</span>
|
|
584
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen</span>
|
|
585
|
-
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen on'</span>
|
|
586
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
587
|
-
</div>
|
|
588
|
-
</div>
|
|
589
|
-
|
|
590
|
-
</div>
|
|
591
|
-
|
|
592
|
-
<div class="method">
|
|
593
|
-
<div class="title" id="M000033">
|
|
594
|
-
|
|
595
|
-
<a name="M000033"></a><b>fullscreen!</b>()
|
|
596
|
-
|
|
597
|
-
</div>
|
|
598
|
-
|
|
599
|
-
<div class="description">
|
|
600
|
-
<p>
|
|
601
|
-
Toggles the fullscreen status of this client on the current view.
|
|
602
|
-
</p>
|
|
603
|
-
|
|
604
|
-
</div>
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
<div class="sourcecode">
|
|
610
|
-
<p class="source-link">
|
|
611
|
-
Source: <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show</a>
|
|
612
|
-
|
|
613
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L207" target="_blank" class="github_url">on GitHub</a>
|
|
614
|
-
|
|
615
|
-
</p>
|
|
616
|
-
<div id="M000033_source" class="dyn-source">
|
|
617
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 207</span>
|
|
618
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen!</span>
|
|
619
|
-
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen toggle'</span>
|
|
620
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
621
|
-
</div>
|
|
622
|
-
</div>
|
|
623
|
-
|
|
624
|
-
</div>
|
|
625
|
-
|
|
626
|
-
<div class="method">
|
|
627
|
-
<div class="title" id="M000034">
|
|
628
|
-
|
|
629
|
-
<a name="M000034"></a><b>fullscreen?</b>()
|
|
630
|
-
|
|
631
|
-
</div>
|
|
632
|
-
|
|
633
|
-
<div class="description">
|
|
634
|
-
<p>
|
|
635
|
-
Checks if this client is currently fullscreen on the current view.
|
|
636
|
-
</p>
|
|
637
|
-
|
|
638
|
-
</div>
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
<div class="sourcecode">
|
|
644
|
-
<p class="source-link">
|
|
645
|
-
Source: <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show</a>
|
|
646
|
-
|
|
647
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L214" target="_blank" class="github_url">on GitHub</a>
|
|
648
|
-
|
|
649
|
-
</p>
|
|
650
|
-
<div id="M000034_source" class="dyn-source">
|
|
651
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 214</span>
|
|
652
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fullscreen?</span>
|
|
653
|
-
<span class="ruby-comment cmt">#</span>
|
|
654
|
-
<span class="ruby-comment cmt"># If the client's dimensions match those of the</span>
|
|
655
|
-
<span class="ruby-comment cmt"># floating area, then we know it is fullscreen.</span>
|
|
656
|
-
<span class="ruby-comment cmt">#</span>
|
|
657
|
-
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">manifest</span> <span class="ruby-operator">=~</span> <span class="ruby-node">/^# #{FLOATING_AREA_ID} (\d+) (\d+)\n.*^#{FLOATING_AREA_ID} #{@id} \d+ \d+ \1 \2 /</span><span class="ruby-identifier">m</span>
|
|
658
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
659
|
-
</div>
|
|
660
|
-
</div>
|
|
661
|
-
|
|
662
|
-
</div>
|
|
663
|
-
|
|
664
|
-
<div class="method">
|
|
665
|
-
<div class="title" id="M000063">
|
|
666
|
-
|
|
667
|
-
<a name="M000063"></a><b>group</b>()
|
|
668
|
-
|
|
669
|
-
</div>
|
|
670
|
-
|
|
671
|
-
<div class="description">
|
|
672
|
-
<p>
|
|
673
|
-
Adds this client to the current grouping.
|
|
674
|
-
</p>
|
|
675
|
-
|
|
676
|
-
</div>
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
<div class="sourcecode">
|
|
682
|
-
<p class="source-link">
|
|
683
|
-
Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
|
|
684
|
-
|
|
685
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L412" target="_blank" class="github_url">on GitHub</a>
|
|
686
|
-
|
|
687
|
-
</p>
|
|
688
|
-
<div id="M000063_source" class="dyn-source">
|
|
689
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 412</span>
|
|
690
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group</span>
|
|
691
|
-
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
|
692
|
-
<span class="ruby-identifier">push</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
|
693
|
-
<span class="ruby-keyword kw">end</span>
|
|
694
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
695
|
-
</div>
|
|
696
|
-
</div>
|
|
697
|
-
|
|
698
|
-
</div>
|
|
699
|
-
|
|
700
|
-
<div class="method">
|
|
701
|
-
<div class="title" id="M000066">
|
|
702
|
-
|
|
703
|
-
<a name="M000066"></a><b>group!</b>()
|
|
704
|
-
|
|
705
|
-
</div>
|
|
706
|
-
|
|
707
|
-
<div class="description">
|
|
708
|
-
<p>
|
|
709
|
-
Toggles the presence of this client in the current grouping.
|
|
710
|
-
</p>
|
|
711
|
-
|
|
712
|
-
</div>
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
<div class="sourcecode">
|
|
718
|
-
<p class="source-link">
|
|
719
|
-
Source: <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show</a>
|
|
720
|
-
|
|
721
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L428" target="_blank" class="github_url">on GitHub</a>
|
|
722
|
-
|
|
723
|
-
</p>
|
|
724
|
-
<div id="M000066_source" class="dyn-source">
|
|
725
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 428</span>
|
|
726
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group!</span>
|
|
727
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">group?</span>
|
|
728
|
-
<span class="ruby-identifier">ungroup</span>
|
|
729
|
-
<span class="ruby-keyword kw">else</span>
|
|
730
|
-
<span class="ruby-identifier">group</span>
|
|
731
|
-
<span class="ruby-keyword kw">end</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="M000062">
|
|
740
|
-
|
|
741
|
-
<a name="M000062"></a><b>group?</b>()
|
|
742
|
-
|
|
743
|
-
</div>
|
|
744
|
-
|
|
745
|
-
<div class="description">
|
|
746
|
-
<p>
|
|
747
|
-
Checks if this client is included in the current grouping.
|
|
748
|
-
</p>
|
|
749
|
-
|
|
750
|
-
</div>
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
<div class="sourcecode">
|
|
756
|
-
<p class="source-link">
|
|
757
|
-
Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
|
|
758
|
-
|
|
759
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L405" target="_blank" class="github_url">on GitHub</a>
|
|
760
|
-
|
|
761
|
-
</p>
|
|
762
|
-
<div id="M000062_source" class="dyn-source">
|
|
763
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 405</span>
|
|
764
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group?</span>
|
|
765
|
-
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
|
766
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
767
|
-
</div>
|
|
768
|
-
</div>
|
|
769
|
-
|
|
770
|
-
</div>
|
|
771
|
-
|
|
772
|
-
<div class="method">
|
|
773
|
-
<div class="title" id="M000029">
|
|
774
|
-
|
|
775
|
-
<a name="M000029"></a><b>kill</b>()
|
|
776
|
-
|
|
777
|
-
</div>
|
|
778
|
-
|
|
779
|
-
<div class="description">
|
|
780
|
-
<p>
|
|
781
|
-
Terminates this client nicely (requests this window to be closed).
|
|
782
|
-
</p>
|
|
783
|
-
|
|
784
|
-
</div>
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
<div class="sourcecode">
|
|
790
|
-
<p class="source-link">
|
|
791
|
-
Source: <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show</a>
|
|
792
|
-
|
|
793
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L179" target="_blank" class="github_url">on GitHub</a>
|
|
794
|
-
|
|
795
|
-
</p>
|
|
796
|
-
<div id="M000029_source" class="dyn-source">
|
|
797
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 179</span>
|
|
798
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kill</span>
|
|
799
|
-
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">:kill</span>
|
|
800
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
801
|
-
</div>
|
|
802
|
-
</div>
|
|
803
|
-
|
|
804
|
-
</div>
|
|
805
|
-
|
|
806
|
-
<div class="method">
|
|
807
|
-
<div class="title" id="M000046">
|
|
808
|
-
|
|
809
|
-
<a name="M000046"></a><b>manage</b>(view = View.curr)
|
|
810
|
-
|
|
811
|
-
</div>
|
|
812
|
-
|
|
813
|
-
<div class="description">
|
|
814
|
-
<p>
|
|
815
|
-
Alias for <a href="Client.html#M000042">unfloat</a>
|
|
816
|
-
</p>
|
|
817
|
-
|
|
818
|
-
</div>
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
</div>
|
|
823
|
-
|
|
824
|
-
<div class="method">
|
|
825
|
-
<div class="title" id="M000048">
|
|
826
|
-
|
|
827
|
-
<a name="M000048"></a><b>manage!</b>(view = View.curr)
|
|
828
|
-
|
|
829
|
-
</div>
|
|
830
|
-
|
|
831
|
-
<div class="description">
|
|
832
|
-
<p>
|
|
833
|
-
Alias for <a href="Client.html#M000043">float!</a>
|
|
834
|
-
</p>
|
|
835
|
-
|
|
836
|
-
</div>
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
</div>
|
|
841
|
-
|
|
842
|
-
<div class="method">
|
|
843
|
-
<div class="title" id="M000044">
|
|
844
|
-
|
|
845
|
-
<a name="M000044"></a><b>manage?</b>(view = View.curr)
|
|
846
|
-
|
|
847
|
-
</div>
|
|
848
|
-
|
|
849
|
-
<div class="description">
|
|
850
|
-
<p>
|
|
851
|
-
Checks if this client is in the managed area of the given view.
|
|
852
|
-
</p>
|
|
853
|
-
|
|
854
|
-
</div>
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
<div class="sourcecode">
|
|
860
|
-
<p class="source-link">
|
|
861
|
-
Source: <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show</a>
|
|
862
|
-
|
|
863
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L284" target="_blank" class="github_url">on GitHub</a>
|
|
864
|
-
|
|
865
|
-
</p>
|
|
866
|
-
<div id="M000044_source" class="dyn-source">
|
|
867
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 284</span>
|
|
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>
|
|
869
|
-
<span class="ruby-keyword kw">not</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span>
|
|
870
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
871
|
-
</div>
|
|
872
|
-
</div>
|
|
873
|
-
|
|
874
|
-
</div>
|
|
875
|
-
|
|
876
|
-
<div class="method">
|
|
877
|
-
<div class="title" id="M000027">
|
|
878
|
-
|
|
879
|
-
<a name="M000027"></a><b>move</b>(area_or_id, view = View.curr)
|
|
880
|
-
|
|
881
|
-
</div>
|
|
882
|
-
|
|
883
|
-
<div class="description">
|
|
884
|
-
<p>
|
|
885
|
-
Alias for <a href="Client.html#M000026">send</a>
|
|
886
|
-
</p>
|
|
887
|
-
|
|
888
|
-
</div>
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
</div>
|
|
893
|
-
|
|
894
|
-
<div class="method">
|
|
895
|
-
<div class="title" id="M000026">
|
|
896
|
-
|
|
897
|
-
<a name="M000026"></a><b>send</b>(area_or_id, view = View.curr)
|
|
898
|
-
|
|
899
|
-
</div>
|
|
900
|
-
|
|
901
|
-
<div class="description">
|
|
902
|
-
<p>
|
|
903
|
-
Sends this client to the given destination within the given view.
|
|
904
|
-
</p>
|
|
905
|
-
|
|
906
|
-
</div>
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
<div class="aka">
|
|
910
|
-
This method is also aliased as
|
|
911
|
-
|
|
912
|
-
<a href="Client.html#M000027">move</a>
|
|
913
|
-
|
|
914
|
-
</div>
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
<div class="sourcecode">
|
|
919
|
-
<p class="source-link">
|
|
920
|
-
Source: <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show</a>
|
|
921
|
-
|
|
922
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L161" target="_blank" class="github_url">on GitHub</a>
|
|
923
|
-
|
|
924
|
-
</p>
|
|
925
|
-
<div id="M000026_source" class="dyn-source">
|
|
926
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 161</span>
|
|
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>
|
|
928
|
-
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">area_or_id</span>)
|
|
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>
|
|
930
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
931
|
-
</div>
|
|
932
|
-
</div>
|
|
933
|
-
|
|
934
|
-
</div>
|
|
935
|
-
|
|
936
|
-
<div class="method">
|
|
937
|
-
<div class="title" id="M000030">
|
|
938
|
-
|
|
939
|
-
<a name="M000030"></a><b>slay</b>()
|
|
940
|
-
|
|
941
|
-
</div>
|
|
942
|
-
|
|
943
|
-
<div class="description">
|
|
944
|
-
<p>
|
|
945
|
-
Terminates this client forcefully.
|
|
946
|
-
</p>
|
|
947
|
-
|
|
948
|
-
</div>
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
<div class="sourcecode">
|
|
954
|
-
<p class="source-link">
|
|
955
|
-
Source: <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show</a>
|
|
956
|
-
|
|
957
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L186" target="_blank" class="github_url">on GitHub</a>
|
|
958
|
-
|
|
959
|
-
</p>
|
|
960
|
-
<div id="M000030_source" class="dyn-source">
|
|
961
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 186</span>
|
|
962
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">slay</span>
|
|
963
|
-
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">:slay</span>
|
|
964
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
965
|
-
</div>
|
|
966
|
-
</div>
|
|
967
|
-
|
|
968
|
-
</div>
|
|
969
|
-
|
|
970
|
-
<div class="method">
|
|
971
|
-
<div class="title" id="M000036">
|
|
972
|
-
|
|
973
|
-
<a name="M000036"></a><b>stick</b>()
|
|
974
|
-
|
|
975
|
-
</div>
|
|
976
|
-
|
|
977
|
-
<div class="description">
|
|
978
|
-
<p>
|
|
979
|
-
Makes this client sticky (appears in all views).
|
|
980
|
-
</p>
|
|
981
|
-
|
|
982
|
-
</div>
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
<div class="sourcecode">
|
|
988
|
-
<p class="source-link">
|
|
989
|
-
Source: <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show</a>
|
|
990
|
-
|
|
991
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L232" target="_blank" class="github_url">on GitHub</a>
|
|
992
|
-
|
|
993
|
-
</p>
|
|
994
|
-
<div id="M000036_source" class="dyn-source">
|
|
995
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 232</span>
|
|
996
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick</span>
|
|
997
|
-
<span class="ruby-identifier">tag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
|
998
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
999
|
-
</div>
|
|
1000
|
-
</div>
|
|
1001
|
-
|
|
1002
|
-
</div>
|
|
1003
|
-
|
|
1004
|
-
<div class="method">
|
|
1005
|
-
<div class="title" id="M000039">
|
|
1006
|
-
|
|
1007
|
-
<a name="M000039"></a><b>stick!</b>()
|
|
1008
|
-
|
|
1009
|
-
</div>
|
|
1010
|
-
|
|
1011
|
-
<div class="description">
|
|
1012
|
-
<p>
|
|
1013
|
-
Toggles the stickyness of this client.
|
|
1014
|
-
</p>
|
|
1015
|
-
|
|
1016
|
-
</div>
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
<div class="sourcecode">
|
|
1022
|
-
<p class="source-link">
|
|
1023
|
-
Source: <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show</a>
|
|
1024
|
-
|
|
1025
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L246" target="_blank" class="github_url">on GitHub</a>
|
|
1026
|
-
|
|
1027
|
-
</p>
|
|
1028
|
-
<div id="M000039_source" class="dyn-source">
|
|
1029
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 246</span>
|
|
1030
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick!</span>
|
|
1031
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">stick?</span>
|
|
1032
|
-
<span class="ruby-identifier">unstick</span>
|
|
1033
|
-
<span class="ruby-keyword kw">else</span>
|
|
1034
|
-
<span class="ruby-identifier">stick</span>
|
|
1035
|
-
<span class="ruby-keyword kw">end</span>
|
|
1036
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1037
|
-
</div>
|
|
1038
|
-
</div>
|
|
1039
|
-
|
|
1040
|
-
</div>
|
|
1041
|
-
|
|
1042
|
-
<div class="method">
|
|
1043
|
-
<div class="title" id="M000035">
|
|
1044
|
-
|
|
1045
|
-
<a name="M000035"></a><b>stick?</b>()
|
|
1046
|
-
|
|
1047
|
-
</div>
|
|
1048
|
-
|
|
1049
|
-
<div class="description">
|
|
1050
|
-
<p>
|
|
1051
|
-
Checks if this client is sticky (appears in all views).
|
|
1052
|
-
</p>
|
|
1053
|
-
|
|
1054
|
-
</div>
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
<div class="sourcecode">
|
|
1060
|
-
<p class="source-link">
|
|
1061
|
-
Source: <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show</a>
|
|
1062
|
-
|
|
1063
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L225" target="_blank" class="github_url">on GitHub</a>
|
|
1064
|
-
|
|
1065
|
-
</p>
|
|
1066
|
-
<div id="M000035_source" class="dyn-source">
|
|
1067
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 225</span>
|
|
1068
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick?</span>
|
|
1069
|
-
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
|
1070
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1071
|
-
</div>
|
|
1072
|
-
</div>
|
|
1073
|
-
|
|
1074
|
-
</div>
|
|
1075
|
-
|
|
1076
|
-
<div class="method">
|
|
1077
|
-
<div class="title" id="M000028">
|
|
1078
|
-
|
|
1079
|
-
<a name="M000028"></a><b>swap</b>(area_or_id, view = View.curr)
|
|
1080
|
-
|
|
1081
|
-
</div>
|
|
1082
|
-
|
|
1083
|
-
<div class="description">
|
|
1084
|
-
<p>
|
|
1085
|
-
Swaps this client with the given destination within the given view.
|
|
1086
|
-
</p>
|
|
1087
|
-
|
|
1088
|
-
</div>
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
<div class="sourcecode">
|
|
1094
|
-
<p class="source-link">
|
|
1095
|
-
Source: <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show</a>
|
|
1096
|
-
|
|
1097
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L171" target="_blank" class="github_url">on GitHub</a>
|
|
1098
|
-
|
|
1099
|
-
</p>
|
|
1100
|
-
<div id="M000028_source" class="dyn-source">
|
|
1101
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 171</span>
|
|
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>
|
|
1103
|
-
<span class="ruby-identifier">dst</span> = <span class="ruby-identifier">area_to_id</span>(<span class="ruby-identifier">area_or_id</span>)
|
|
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>
|
|
1105
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1106
|
-
</div>
|
|
1107
|
-
</div>
|
|
1108
|
-
|
|
1109
|
-
</div>
|
|
1110
|
-
|
|
1111
|
-
<div class="method">
|
|
1112
|
-
<div class="title" id="M000059">
|
|
1113
|
-
|
|
1114
|
-
<a name="M000059"></a><b>tag</b>(*tags)
|
|
1115
|
-
|
|
1116
|
-
</div>
|
|
1117
|
-
|
|
1118
|
-
<div class="description">
|
|
1119
|
-
<p>
|
|
1120
|
-
Adds the given tags to this client.
|
|
1121
|
-
</p>
|
|
1122
|
-
|
|
1123
|
-
</div>
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
<div class="sourcecode">
|
|
1129
|
-
<p class="source-link">
|
|
1130
|
-
Source: <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show</a>
|
|
1131
|
-
|
|
1132
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L381" target="_blank" class="github_url">on GitHub</a>
|
|
1133
|
-
|
|
1134
|
-
</p>
|
|
1135
|
-
<div id="M000059_source" class="dyn-source">
|
|
1136
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 381</span>
|
|
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>
|
|
1138
|
-
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
|
1139
|
-
<span class="ruby-identifier">concat</span> <span class="ruby-identifier">tags</span>
|
|
1140
|
-
<span class="ruby-keyword kw">end</span>
|
|
1141
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1142
|
-
</div>
|
|
1143
|
-
</div>
|
|
1144
|
-
|
|
1145
|
-
</div>
|
|
1146
|
-
|
|
1147
|
-
<div class="method">
|
|
1148
|
-
<div class="title" id="M000052">
|
|
1149
|
-
|
|
1150
|
-
<a name="M000052"></a><b>tags</b>()
|
|
1151
|
-
|
|
1152
|
-
</div>
|
|
1153
|
-
|
|
1154
|
-
<div class="description">
|
|
1155
|
-
<p>
|
|
1156
|
-
Returns the tags associated with this client.
|
|
1157
|
-
</p>
|
|
1158
|
-
|
|
1159
|
-
</div>
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
<div class="sourcecode">
|
|
1165
|
-
<p class="source-link">
|
|
1166
|
-
Source: <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show</a>
|
|
1167
|
-
|
|
1168
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L321" target="_blank" class="github_url">on GitHub</a>
|
|
1169
|
-
|
|
1170
|
-
</p>
|
|
1171
|
-
<div id="M000052_source" class="dyn-source">
|
|
1172
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 321</span>
|
|
1173
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
|
|
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>
|
|
1175
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1176
|
-
</div>
|
|
1177
|
-
</div>
|
|
1178
|
-
|
|
1179
|
-
</div>
|
|
1180
|
-
|
|
1181
|
-
<div class="method">
|
|
1182
|
-
<div class="title" id="M000056">
|
|
1183
|
-
|
|
1184
|
-
<a name="M000056"></a><b>tags=</b>(*tags)
|
|
1185
|
-
|
|
1186
|
-
</div>
|
|
1187
|
-
|
|
1188
|
-
<div class="description">
|
|
1189
|
-
<p>
|
|
1190
|
-
Modifies the tags associated with this client.
|
|
1191
|
-
</p>
|
|
1192
|
-
<p>
|
|
1193
|
-
If a tag name is ’~’, this client is placed into the floating
|
|
1194
|
-
layer of the current view.
|
|
1195
|
-
</p>
|
|
1196
|
-
<p>
|
|
1197
|
-
If a tag name begins with ’~’, then this client is placed into
|
|
1198
|
-
the floating layer of the view corresponding to that tag.
|
|
1199
|
-
</p>
|
|
1200
|
-
<p>
|
|
1201
|
-
If a tag name is ’!’, this client is placed into the managed
|
|
1202
|
-
layer of the current view.
|
|
1203
|
-
</p>
|
|
1204
|
-
<p>
|
|
1205
|
-
If a tag name begins with ’!’, then this client is placed into
|
|
1206
|
-
the managed layer of the view corresponding to that tag.
|
|
1207
|
-
</p>
|
|
1208
|
-
|
|
1209
|
-
</div>
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
<div class="sourcecode">
|
|
1215
|
-
<p class="source-link">
|
|
1216
|
-
Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
|
|
1217
|
-
|
|
1218
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L342" target="_blank" class="github_url">on GitHub</a>
|
|
1219
|
-
|
|
1220
|
-
</p>
|
|
1221
|
-
<div id="M000056_source" class="dyn-source">
|
|
1222
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 342</span>
|
|
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>
|
|
1224
|
-
<span class="ruby-identifier">float</span> = []
|
|
1225
|
-
<span class="ruby-identifier">manage</span> = []
|
|
1226
|
-
<span class="ruby-identifier">inherit</span> = []
|
|
1227
|
-
|
|
1228
|
-
<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TAG_DELIMITER</span>).<span class="ruby-identifier">split</span>(<span class="ruby-constant">TAG_DELIMITER</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>
|
|
1229
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">tag</span>
|
|
1230
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'~'</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">float</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">Rumai</span>.<span class="ruby-identifier">curr_tag</span>
|
|
1231
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^~/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">float</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">$'</span>
|
|
1232
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'!'</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">manage</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">Rumai</span>.<span class="ruby-identifier">curr_tag</span>
|
|
1233
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^!/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">manage</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">$'</span>
|
|
1234
|
-
<span class="ruby-keyword kw">else</span> <span class="ruby-identifier">inherit</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">tag</span>
|
|
1235
|
-
<span class="ruby-keyword kw">end</span>
|
|
1236
|
-
<span class="ruby-keyword kw">end</span>
|
|
1237
|
-
|
|
1238
|
-
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">write</span>((<span class="ruby-identifier">float</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">manage</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">inherit</span>).<span class="ruby-identifier">uniq</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TAG_DELIMITER</span>))
|
|
1239
|
-
|
|
1240
|
-
<span class="ruby-identifier">float</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>
|
|
1241
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">float</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">tag</span>)
|
|
1242
|
-
<span class="ruby-keyword kw">end</span>
|
|
1243
|
-
|
|
1244
|
-
<span class="ruby-identifier">manage</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>
|
|
1245
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">manage</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">tag</span>)
|
|
1246
|
-
<span class="ruby-keyword kw">end</span>
|
|
1247
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1248
|
-
</div>
|
|
1249
|
-
</div>
|
|
1250
|
-
|
|
1251
|
-
</div>
|
|
1252
|
-
|
|
1253
|
-
<div class="method">
|
|
1254
|
-
<div class="title" id="M000042">
|
|
1255
|
-
|
|
1256
|
-
<a name="M000042"></a><b>unfloat</b>(view = View.curr)
|
|
1257
|
-
|
|
1258
|
-
</div>
|
|
1259
|
-
|
|
1260
|
-
<div class="description">
|
|
1261
|
-
<p>
|
|
1262
|
-
Puts this client into the managed area of the given view.
|
|
1263
|
-
</p>
|
|
1264
|
-
|
|
1265
|
-
</div>
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
<div class="aka">
|
|
1269
|
-
This method is also aliased as
|
|
1270
|
-
|
|
1271
|
-
<a href="Client.html#M000046">manage</a>
|
|
1272
|
-
|
|
1273
|
-
</div>
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
<div class="sourcecode">
|
|
1278
|
-
<p class="source-link">
|
|
1279
|
-
Source: <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show</a>
|
|
1280
|
-
|
|
1281
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L271" target="_blank" class="github_url">on GitHub</a>
|
|
1282
|
-
|
|
1283
|
-
</p>
|
|
1284
|
-
<div id="M000042_source" class="dyn-source">
|
|
1285
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 271</span>
|
|
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>
|
|
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>
|
|
1288
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1289
|
-
</div>
|
|
1290
|
-
</div>
|
|
1291
|
-
|
|
1292
|
-
</div>
|
|
1293
|
-
|
|
1294
|
-
<div class="method">
|
|
1295
|
-
<div class="title" id="M000032">
|
|
1296
|
-
|
|
1297
|
-
<a name="M000032"></a><b>unfullscreen</b>()
|
|
1298
|
-
|
|
1299
|
-
</div>
|
|
1300
|
-
|
|
1301
|
-
<div class="description">
|
|
1302
|
-
<p>
|
|
1303
|
-
Restores this client back to its original size on the current view.
|
|
1304
|
-
</p>
|
|
1305
|
-
|
|
1306
|
-
</div>
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
<div class="sourcecode">
|
|
1312
|
-
<p class="source-link">
|
|
1313
|
-
Source: <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show</a>
|
|
1314
|
-
|
|
1315
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L200" target="_blank" class="github_url">on GitHub</a>
|
|
1316
|
-
|
|
1317
|
-
</p>
|
|
1318
|
-
<div id="M000032_source" class="dyn-source">
|
|
1319
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 200</span>
|
|
1320
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unfullscreen</span>
|
|
1321
|
-
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">'Fullscreen off'</span>
|
|
1322
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1323
|
-
</div>
|
|
1324
|
-
</div>
|
|
1325
|
-
|
|
1326
|
-
</div>
|
|
1327
|
-
|
|
1328
|
-
<div class="method">
|
|
1329
|
-
<div class="title" id="M000065">
|
|
1330
|
-
|
|
1331
|
-
<a name="M000065"></a><b>ungroup</b>()
|
|
1332
|
-
|
|
1333
|
-
</div>
|
|
1334
|
-
|
|
1335
|
-
<div class="description">
|
|
1336
|
-
<p>
|
|
1337
|
-
Removes this client to the current grouping.
|
|
1338
|
-
</p>
|
|
1339
|
-
|
|
1340
|
-
</div>
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
<div class="sourcecode">
|
|
1346
|
-
<p class="source-link">
|
|
1347
|
-
Source: <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show</a>
|
|
1348
|
-
|
|
1349
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L421" target="_blank" class="github_url">on GitHub</a>
|
|
1350
|
-
|
|
1351
|
-
</p>
|
|
1352
|
-
<div id="M000065_source" class="dyn-source">
|
|
1353
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 421</span>
|
|
1354
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ungroup</span>
|
|
1355
|
-
<span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
|
|
1356
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1357
|
-
</div>
|
|
1358
|
-
</div>
|
|
1359
|
-
|
|
1360
|
-
</div>
|
|
1361
|
-
|
|
1362
|
-
<div class="method">
|
|
1363
|
-
<div class="title" id="M000047">
|
|
1364
|
-
|
|
1365
|
-
<a name="M000047"></a><b>unmanage</b>(view = View.curr)
|
|
1366
|
-
|
|
1367
|
-
</div>
|
|
1368
|
-
|
|
1369
|
-
<div class="description">
|
|
1370
|
-
<p>
|
|
1371
|
-
Alias for <a href="Client.html#M000041">float</a>
|
|
1372
|
-
</p>
|
|
1373
|
-
|
|
1374
|
-
</div>
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
</div>
|
|
1379
|
-
|
|
1380
|
-
<div class="method">
|
|
1381
|
-
<div class="title" id="M000037">
|
|
1382
|
-
|
|
1383
|
-
<a name="M000037"></a><b>unstick</b>()
|
|
1384
|
-
|
|
1385
|
-
</div>
|
|
1386
|
-
|
|
1387
|
-
<div class="description">
|
|
1388
|
-
<p>
|
|
1389
|
-
Makes this client unsticky (does not appear in all views).
|
|
1390
|
-
</p>
|
|
1391
|
-
|
|
1392
|
-
</div>
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
<div class="sourcecode">
|
|
1398
|
-
<p class="source-link">
|
|
1399
|
-
Source: <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show</a>
|
|
1400
|
-
|
|
1401
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L239" target="_blank" class="github_url">on GitHub</a>
|
|
1402
|
-
|
|
1403
|
-
</p>
|
|
1404
|
-
<div id="M000037_source" class="dyn-source">
|
|
1405
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 239</span>
|
|
1406
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unstick</span>
|
|
1407
|
-
<span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
|
|
1408
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1409
|
-
</div>
|
|
1410
|
-
</div>
|
|
1411
|
-
|
|
1412
|
-
</div>
|
|
1413
|
-
|
|
1414
|
-
<div class="method">
|
|
1415
|
-
<div class="title" id="M000060">
|
|
1416
|
-
|
|
1417
|
-
<a name="M000060"></a><b>untag</b>(*tags)
|
|
1418
|
-
|
|
1419
|
-
</div>
|
|
1420
|
-
|
|
1421
|
-
<div class="description">
|
|
1422
|
-
<p>
|
|
1423
|
-
Removes the given tags from this client.
|
|
1424
|
-
</p>
|
|
1425
|
-
|
|
1426
|
-
</div>
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
<div class="sourcecode">
|
|
1432
|
-
<p class="source-link">
|
|
1433
|
-
Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
|
|
1434
|
-
|
|
1435
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L390" target="_blank" class="github_url">on GitHub</a>
|
|
1436
|
-
|
|
1437
|
-
</p>
|
|
1438
|
-
<div id="M000060_source" class="dyn-source">
|
|
1439
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 390</span>
|
|
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>
|
|
1441
|
-
<span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
|
|
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>
|
|
1443
|
-
<span class="ruby-identifier">delete</span> <span class="ruby-identifier">tag</span>.<span class="ruby-identifier">to_s</span>
|
|
1444
|
-
<span class="ruby-keyword kw">end</span>
|
|
1445
|
-
<span class="ruby-keyword kw">end</span>
|
|
1446
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1447
|
-
</div>
|
|
1448
|
-
</div>
|
|
1449
|
-
|
|
1450
|
-
</div>
|
|
1451
|
-
|
|
1452
|
-
<div class="method">
|
|
1453
|
-
<div class="title" id="M000050">
|
|
1454
|
-
|
|
1455
|
-
<a name="M000050"></a><b>views</b>()
|
|
1456
|
-
|
|
1457
|
-
</div>
|
|
1458
|
-
|
|
1459
|
-
<div class="description">
|
|
1460
|
-
<p>
|
|
1461
|
-
Returns the views that contain this client.
|
|
1462
|
-
</p>
|
|
1463
|
-
|
|
1464
|
-
</div>
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
<div class="sourcecode">
|
|
1470
|
-
<p class="source-link">
|
|
1471
|
-
Source: <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show</a>
|
|
1472
|
-
|
|
1473
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L308" target="_blank" class="github_url">on GitHub</a>
|
|
1474
|
-
|
|
1475
|
-
</p>
|
|
1476
|
-
<div id="M000050_source" class="dyn-source">
|
|
1477
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 308</span>
|
|
1478
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
|
|
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> }
|
|
1480
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1481
|
-
</div>
|
|
1482
|
-
</div>
|
|
1483
|
-
|
|
1484
|
-
</div>
|
|
1485
|
-
|
|
1486
|
-
<div class="method">
|
|
1487
|
-
<div class="title" id="M000058">
|
|
1488
|
-
|
|
1489
|
-
<a name="M000058"></a><b>with_tags</b>(&block)
|
|
1490
|
-
|
|
1491
|
-
</div>
|
|
1492
|
-
|
|
1493
|
-
<div class="description">
|
|
1494
|
-
<p>
|
|
1495
|
-
Evaluates the given block within the context of this client’s list of
|
|
1496
|
-
tags.
|
|
1497
|
-
</p>
|
|
1498
|
-
|
|
1499
|
-
</div>
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
<div class="sourcecode">
|
|
1505
|
-
<p class="source-link">
|
|
1506
|
-
Source: <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show</a>
|
|
1507
|
-
|
|
1508
|
-
| <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L372" target="_blank" class="github_url">on GitHub</a>
|
|
1509
|
-
|
|
1510
|
-
</p>
|
|
1511
|
-
<div id="M000058_source" class="dyn-source">
|
|
1512
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 372</span>
|
|
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>
|
|
1514
|
-
<span class="ruby-identifier">arr</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tags</span>
|
|
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>)
|
|
1516
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tags</span> = <span class="ruby-identifier">arr</span>
|
|
1517
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
1518
|
-
</div>
|
|
1519
|
-
</div>
|
|
1520
|
-
|
|
1521
|
-
</div>
|
|
1522
|
-
|
|
1523
|
-
</div>
|
|
1524
|
-
</div>
|
|
1525
|
-
</body>
|
|
1526
|
-
</html>
|