/usr/share/doc/python-kiwi/api/kiwi.ui.search.SearchSlaveDelegate.html is in python-kiwi 1.9.22-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 | <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html>
<head>
<title>kiwi.ui.search.SearchSlaveDelegate : API documentation</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">k.u.s.SearchSlaveDelegate(<a href="kiwi.ui.delegates.SlaveDelegate.html">SlaveDelegate</a>) : class documentation</h1>
<p>
<span id="part">Part of <a href="kiwi.html">kiwi</a>.<a href="kiwi.ui.html">ui</a>.<a href="kiwi.ui.search.html">search</a></span>
<a href="classIndex.html#kiwi.ui.search.SearchSlaveDelegate">View In Hierarchy</a>
</p>
<div>
</div>
<div class="undocumented">No class docstring</div>
<div id="splitTables">
<table class="children sortable" id="id314">
<tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#__init__">__init__</a></td>
<td><span>Create a new SearchSlaveDelegate object.</span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#add_filter">add_filter</a></td>
<td><span>See <a
href="kiwi.ui.search.SearchSlaveDelegate.html#add_filter"><code>SearchSlaveDelegate.add_filter</code></a></span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#set_query_executer">set_query_executer</a></td>
<td><span>See <a
href="kiwi.ui.search.SearchSlaveDelegate.html#set_query_executer"><code>SearchSlaveDelegate.set_query_executer</code></a></span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#set_text_field_columns">set_text_field_columns</a></td>
<td><span>See <a
href="kiwi.ui.search.SearchSlaveDelegate.html#set_text_field_columns"><code>SearchSlaveDelegate.set_text_field_columns</code></a></span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#get_primary_filter">get_primary_filter</a></td>
<td><span>Fetches the primary filter of the SearchSlaveDelegate</span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#focus_search_entry">focus_search_entry</a></td>
<td><span>Grabs the focus of the search entry</span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#refresh">refresh</a></td>
<td><span>Triggers a search again with the currently selected inputs</span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#clear">clear</a></td>
<td><span>Clears the result list</span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#disable_search_entry">disable_search_entry</a></td>
<td><span>Disables the search entry</span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#set_summary_label">set_summary_label</a></td>
<td><span>See <a
href="kiwi.ui.search.SearchContainer.html#set_summary_label"><code>SearchContainer.set_summary_label</code></a></span></td>
</tr><tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.search.SearchSlaveDelegate.html#get_columns">get_columns</a></td>
<td><span>This needs to be implemented in a subclass</span></td>
</tr>
</table>
<p>
Inherited from <a href="kiwi.ui.views.SlaveView.html">SlaveView</a> (via <a href="kiwi.ui.delegates.SlaveDelegate.html">SlaveDelegate</a>):
</p>
<table class="children sortable" id="id315">
<tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#get_glade_adaptor">get_glade_adaptor</a></td>
<td><span>Special init code that subclasses may want to override.</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#on_attach">on_attach</a></td>
<td><span>Hook function called when attach_slave is performed on slave views.</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#on_startup">on_startup</a></td>
<td><span>This is a virtual method that can be customized by classes that</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#get_toplevel">get_toplevel</a></td>
<td><span>Returns the toplevel widget in the view</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#get_widget">get_widget</a></td>
<td><span>Retrieves the named widget from the View</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#set_controller">set_controller</a></td>
<td><span>Sets the view's controller, checking to see if one has already</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#show_and_loop">show_and_loop</a></td>
<td><span>Runs show() and runs the GTK+ event loop. If the parent</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#show">show</a></td>
<td><span>Shows the toplevel widget</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#show_all">show_all</a></td>
<td><span>Shows all widgets attached to the toplevel widget</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#focus_toplevel">focus_toplevel</a></td>
<td><span>Focuses the toplevel widget in the view</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#focus_topmost">focus_topmost</a></td>
<td><span>Looks through widgets specified (if no widgets are specified,</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#get_topmost_widget">get_topmost_widget</a></td>
<td><span>A real hack; returns the widget that is most to the left and</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#attach_slave">attach_slave</a></td>
<td><span>Attaches a slaveview to the current view, substituting the</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#get_sizegroups">get_sizegroups</a></td>
<td><span>Get a list of sizegroups for the current view.</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#detach_slave">detach_slave</a></td>
<td><span>Detatch a slave called name from view</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#get_slave">get_slave</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#connect_multiple">connect_multiple</a></td>
<td><span>Connect the same handler to the specified signal for a number of</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#disconnect_autoconnected">disconnect_autoconnected</a></td>
<td><span>Disconnect handlers previously connected with</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#handler_block">handler_block</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#handler_unblock">handler_unblock</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#add_proxy">add_proxy</a></td>
<td><span>Add a proxy to this view that automatically update a model when</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#check_and_notify_validity">check_and_notify_validity</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#force_validation">force_validation</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#register_validate_function">register_validate_function</a></td>
<td><span>The signature of the validate function is:</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_get_notebooks">_get_notebooks</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_check_reserved">_check_reserved</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_get_toplevel">_get_toplevel</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_attach_callbacks">_attach_callbacks</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_merge_sizegroup">_merge_sizegroup</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_attach_groups">_attach_groups</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_on_child__validation_changed">_on_child__validation_changed</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.ui.views.SlaveView.html#_on_notebook_slave__validation_changed">_on_notebook_slave__validation_changed</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr>
</table>
<p>
Inherited from <a href="kiwi.controllers.BaseController.html">BaseController</a> (via <a href="kiwi.ui.delegates.SlaveDelegate.html">SlaveDelegate</a>):
</p>
<table class="children sortable" id="id316">
<tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#on_key_press">on_key_press</a></td>
<td><span>The keypress handler, which dispatches keypresses to the</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#get_parent">get_parent</a></td>
<td><span>parent: the correspondent parent for the controller</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#set_parent">set_parent</a></td>
<td><span>parent: the correspondent parent for the controller</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#get_view">get_view</a></td>
<td><span>view: the correspondent view for the controller</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#set_view">set_view</a></td>
<td><span>view: the correspondent view for the controller</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#set_keyactions">set_keyactions</a></td>
<td><span>Sets the keyactions mapping. See the constructor</span></td>
</tr><tr class="basemethod">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#update_keyactions">update_keyactions</a></td>
<td><span>XXX</span></td>
</tr><tr class="basemethod private">
<td>Method</td>
<td><a href="kiwi.controllers.BaseController.html#_get_all_methods">_get_all_methods</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr>
</table>
</div>
<div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.__init__">
</a>
<a name="__init__">
</a>
<div class="functionHeader">
def
__init__(self, columns):
</div>
<div class="functionBody">
<div class="interfaceinfo">overrides <a href="kiwi.ui.delegates.SlaveDelegate.html#__init__">kiwi.ui.delegates.SlaveDelegate.__init__</a></div>
<div>Create a new SearchSlaveDelegate object.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Instance Variables</td><td class="fieldArg">results</td><td>the results list of the container
</td></tr><tr><td></td><td class="fieldArg">search</td><td>the <a
href="kiwi.ui.search.SearchContainer.html"><code>SearchContainer</code></a>
</td></tr></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.add_filter">
</a>
<a name="add_filter">
</a>
<div class="functionHeader">
def
add_filter(self, search_filter, position=SearchFilterPosition.BOTTOM, columns=None, callback=None):
</div>
<div class="functionBody">
<div>See <a
href="kiwi.ui.search.SearchSlaveDelegate.html#add_filter"><code>SearchSlaveDelegate.add_filter</code></a><table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.set_query_executer">
</a>
<a name="set_query_executer">
</a>
<div class="functionHeader">
def
set_query_executer(self, querty_executer):
</div>
<div class="functionBody">
<div>See <a
href="kiwi.ui.search.SearchSlaveDelegate.html#set_query_executer"><code>SearchSlaveDelegate.set_query_executer</code></a><table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.set_text_field_columns">
</a>
<a name="set_text_field_columns">
</a>
<div class="functionHeader">
def
set_text_field_columns(self, columns):
</div>
<div class="functionBody">
<div>See <a
href="kiwi.ui.search.SearchSlaveDelegate.html#set_text_field_columns"><code>SearchSlaveDelegate.set_text_field_columns</code></a><table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.get_primary_filter">
</a>
<a name="get_primary_filter">
</a>
<div class="functionHeader">
def
get_primary_filter(self):
</div>
<div class="functionBody">
<div>Fetches the primary filter of the SearchSlaveDelegate<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">primary filter
</td></tr></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.focus_search_entry">
</a>
<a name="focus_search_entry">
</a>
<div class="functionHeader">
def
focus_search_entry(self):
</div>
<div class="functionBody">
<div>Grabs the focus of the search entry<table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.refresh">
</a>
<a name="refresh">
</a>
<div class="functionHeader">
def
refresh(self):
</div>
<div class="functionBody">
<div>Triggers a search again with the currently selected inputs<table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.clear">
</a>
<a name="clear">
</a>
<div class="functionHeader">
def
clear(self):
</div>
<div class="functionBody">
<div>Clears the result list<table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.disable_search_entry">
</a>
<a name="disable_search_entry">
</a>
<div class="functionHeader">
def
disable_search_entry(self):
</div>
<div class="functionBody">
<div>Disables the search entry<table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.set_summary_label">
</a>
<a name="set_summary_label">
</a>
<div class="functionHeader">
def
set_summary_label(self, column, label='Total:', format='%s'):
</div>
<div class="functionBody">
<div>See <a
href="kiwi.ui.search.SearchContainer.html#set_summary_label"><code>SearchContainer.set_summary_label</code></a><table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="kiwi.ui.search.SearchSlaveDelegate.get_columns">
</a>
<a name="get_columns">
</a>
<div class="functionHeader">
def
get_columns(self):
</div>
<div class="functionBody">
<div>This needs to be implemented in a subclass<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">columns
(type: list of <a
href="kiwi.ui.objectlist.Column.html"><code>kiwi.ui.objectlist.Column</code></a>
)</td></tr></table></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 2010-05-20 02:10:57.
</address>
</body>
</html>
|