File: kiwi.ui.selectablebox.SelectableBox.html

package info (click to toggle)
kiwi 1.9.22-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 11,976 kB
  • ctags: 5,619
  • sloc: python: 15,767; ansic: 193; xml: 77; makefile: 53; sh: 18
file content (262 lines) | stat: -rw-r--r-- 8,655 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>API docs for &ldquo;kiwi.ui.selectablebox.SelectableBox&rdquo;</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <link href="apidocs.css" type="text/css" rel="stylesheet" />
    
    
  </head>
  <body>
    <h1 class="class">Class k.u.s.SelectableBox(<span title="object">object</span>):</h1>
    <p>
      <span id="part">Part of <a href="kiwi.html">kiwi</a>.<a href="kiwi.ui.html">ui</a>.<a href="kiwi.ui.selectablebox.html">selectablebox</a></span>
      
      <a href="classIndex.html#kiwi.ui.selectablebox.SelectableBox">View In Hierarchy</a>
    </p>
    <div>
      <p>Known subclasses: <a href="kiwi.ui.selectablebox.SelectableHBox.html">kiwi.ui.selectablebox.SelectableHBox</a>, <a href="kiwi.ui.selectablebox.SelectableVBox.html">kiwi.ui.selectablebox.SelectableVBox</a></p>
    </div>
    <div class="undocumented">No class docstring</div>
    
    
    <div id="splitTables">
      <table class="children sortable" id="id289">
  
  
  
  
  <tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#__init__">__init__</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#get_selected">get_selected</a></td>
    <td><span>Get the currently selected widget.
</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#set_selected">set_selected</a></td>
    <td><span>Set the widget to be selected, must be a children of self.
</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#pack_start">pack_start</a></td>
    <td><span>Identical to gtk.Box.pack_start
</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#pack_end">pack_end</a></td>
    <td><span>Identical to gtk.Box.pack_end
</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#add">add</a></td>
    <td><span>Identical to gtk.Container.add
</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#update_selection">update_selection</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#do_realize">do_realize</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#do_button_press_event">do_button_press_event</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#_get_child_at_pos">_get_child_at_pos</a></td>
    <td><span>Get child at position x and y.
</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.ui.selectablebox.SelectableBox.html#_child_added">_child_added</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr>
  
</table>
      
      
    </div>
    
    
    
    <div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.__init__"></a>
        <a name="__init__"></a>
        <div class="functionHeader">
        
        def __init__(self, width=4):
        
      </div>
        <div class="functionBody">
          <div class="interfaceinfo">overridden in <a href="kiwi.ui.selectablebox.SelectableHBox.html">kiwi.ui.selectablebox.SelectableHBox</a>, <a href="kiwi.ui.selectablebox.SelectableVBox.html">kiwi.ui.selectablebox.SelectableVBox</a></div>
          <div class="undocumented">Undocumented</div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.get_selected"></a>
        <a name="get_selected"></a>
        <div class="functionHeader">
        
        def get_selected(self):
        
      </div>
        <div class="functionBody">
          
          <div>Get the currently selected widget.
<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">widget
</td></tr></table></div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.set_selected"></a>
        <a name="set_selected"></a>
        <div class="functionHeader">
        
        def set_selected(self, widget):
        
      </div>
        <div class="functionBody">
          
          <div>Set the widget to be selected, must be a children of self.
<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">widget</td><td>widget to select.
</td></tr></table></div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.pack_start"></a>
        <a name="pack_start"></a>
        <div class="functionHeader">
        
        def pack_start(self, child, expand=True, fill=True, padding=0):
        
      </div>
        <div class="functionBody">
          
          <div>Identical to gtk.Box.pack_start
<table class="fieldTable"></table></div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.pack_end"></a>
        <a name="pack_end"></a>
        <div class="functionHeader">
        
        def pack_end(self, child, expand=True, fill=True, padding=0):
        
      </div>
        <div class="functionBody">
          
          <div>Identical to gtk.Box.pack_end
<table class="fieldTable"></table></div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.add"></a>
        <a name="add"></a>
        <div class="functionHeader">
        
        def add(self, child):
        
      </div>
        <div class="functionBody">
          
          <div>Identical to gtk.Container.add
<table class="fieldTable"></table></div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.update_selection"></a>
        <a name="update_selection"></a>
        <div class="functionHeader">
        
        def update_selection(self):
        
      </div>
        <div class="functionBody">
          
          <div class="undocumented">Undocumented</div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.do_realize"></a>
        <a name="do_realize"></a>
        <div class="functionHeader">
        
        def do_realize(self):
        
      </div>
        <div class="functionBody">
          
          <div class="undocumented">Undocumented</div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox.do_button_press_event"></a>
        <a name="do_button_press_event"></a>
        <div class="functionHeader">
        
        def do_button_press_event(self, event):
        
      </div>
        <div class="functionBody">
          
          <div class="undocumented">Undocumented</div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox._get_child_at_pos"></a>
        <a name="_get_child_at_pos"></a>
        <div class="functionHeader">
        
        def _get_child_at_pos(self, x, y):
        
      </div>
        <div class="functionBody">
          
          <div>Get child at position x and y.
<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">x</td><td>x coordinate
 (type: integer
)</td></tr><tr><td></td><td class="fieldArg">y</td><td>y coordinate
 (type: integer
)</td></tr></table></div>
        </div>
      </div><div class="function">
        <a name="kiwi.ui.selectablebox.SelectableBox._child_added"></a>
        <a name="_child_added"></a>
        <div class="functionHeader">
        
        def _child_added(self, child):
        
      </div>
        <div class="functionBody">
          
          <div class="undocumented">Undocumented</div>
        </div>
      </div>
    
    <address>
      <a href="index.html">API Documentation</a> for Kiwi, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2008-05-29 16:06:17.
    </address>
  </body>
</html>