This file is indexed.

/usr/share/doc/python-kiwi/api/kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;kiwi.ui.proxywidget.ValidatableProxyWidgetMixin&rdquo;</title>
        </head>
        <body><h1 class="class">Class k.u.p.ValidatableProxyWidgetMixin(<a href="kiwi.ui.proxywidget.ProxyWidgetMixin.html">ProxyWidgetMixin</a>):</h1><span id="part">Part of <a href="kiwi.ui.proxywidget.html">kiwi.ui.proxywidget</a></span><p>known subclasses: <a href="kiwi.ui.widgets.entry.ProxyEntry.html">kiwi.ui.widgets.entry.ProxyEntry</a>, <a href="kiwi.ui.widgets.entry.ProxyDateEntry.html">kiwi.ui.widgets.entry.ProxyDateEntry</a>, <a href="kiwi.ui.widgets.textview.ProxyTextView.html">kiwi.ui.widgets.textview.ProxyTextView</a>, <a href="kiwi.ui.widgets.spinbutton.ProxySpinButton.html">kiwi.ui.widgets.spinbutton.ProxySpinButton</a>, <a href="kiwi.ui.widgets.combo.ProxyComboBoxEntry.html">kiwi.ui.widgets.combo.ProxyComboBoxEntry</a>, <a href="kiwi.ui.widgets.combo.ProxyComboEntry.html">kiwi.ui.widgets.combo.ProxyComboEntry</a></p><div class="toplevel"><div><p>Class used by some Kiwi Widgets that need to support mandatory input and
validation features such as custom validation and data-type validation.</p>
<p>Mandatory support provides a way to warn the user when input is 
necessary. The validatation feature provides a way to check the data 
entered and to display information about what is wrong.</p>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.__init__">__init__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.update_background">update_background</a></td><td><div><p>Implement in subclass</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.get_background">get_background</a></td><td><div><p>Implement in subclass</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_pixbuf">set_pixbuf</a></td><td><div><p>Implement in subclass</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.get_icon_window">get_icon_window</a></td><td><div><p>Implement in subclass</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_tooltip">set_tooltip</a></td><td><div><p>Implement in subclass</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.is_valid">is_valid</a></td><td><div><p>Verify the widget state.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.validate">validate</a></td><td><div><p>Checks if the data is valid.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_valid">set_valid</a></td><td><div><p>Changes the validation state to valid, which will remove icons and</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_invalid">set_invalid</a></td><td><div><p>Changes the validation state to invalid.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_blank">set_blank</a></td><td><div><p>Changes the validation state to blank state, this only applies</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin._set_valid_state">_set_valid_state</a></td><td><div><p>Updates the validation state and emits a signal iff it changed</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin._draw_stock_icon">_draw_stock_icon</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.proxywidget.ValidatableProxyWidgetMixin._on_fadeout__color_changed">_on_fadeout__color_changed</a></td><td><span class="undocumented">Undocumented</span></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.__init__">__init__(self, widget=None):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.update_background">update_background(self, color):</a></div>
            <div class="functionBody"><div><p>Implement in subclass</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.get_background">get_background(self):</a></div>
            <div class="functionBody"><div><p>Implement in subclass</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_pixbuf">set_pixbuf(self, pixbuf):</a></div>
            <div class="functionBody"><div><p>Implement in subclass</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.get_icon_window">get_icon_window(self):</a></div>
            <div class="functionBody"><div><p>Implement in subclass</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_tooltip">set_tooltip(self, text):</a></div>
            <div class="functionBody"><div><p>Implement in subclass</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.is_valid">is_valid(self):</a></div>
            <div class="functionBody"><div><p>Verify the widget state.</p>
</div><div class="metadata"><span class="tag">returns</span> <span class="arg">None</span><span class="body">True if the widget is in validated state
</span></div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.validate">validate(self, force=False):</a></div>
            <div class="functionBody"><div><p>Checks if the data is valid. Validates data-type and custom 
validation.</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">force</span><span class="body">if True, force validation
</span></div><div class="metadata"><span class="tag">returns</span> <span class="arg">None</span><span class="body">validated data or ValueUnset if it failed
</span></div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_valid">set_valid(self):</a></div>
            <div class="functionBody"><div><p>Changes the validation state to valid, which will remove icons and reset
the background color</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_invalid">set_invalid(self, text=None, fade=True):</a></div>
            <div class="functionBody"><div><p>Changes the validation state to invalid.</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">text</span><span class="body">text of tooltip of None
</span></div><div class="metadata"><span class="tag">param</span> <span class="arg">fade</span><span class="body">if we should fade the background
</span></div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_blank">set_blank(self):</a></div>
            <div class="functionBody"><div><p>Changes the validation state to blank state, this only applies for 
mandatory widgets, draw an icon and set a tooltip</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin._set_valid_state">_set_valid_state(self, state):</a></div>
            <div class="functionBody"><div><p>Updates the validation state and emits a signal iff it changed</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin._draw_stock_icon">_draw_stock_icon(self, stock_id):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="kiwi.ui.proxywidget.ValidatableProxyWidgetMixin._on_fadeout__color_changed">_on_fadeout__color_changed(self, fadeout, color):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div></body>