/usr/share/doc/python-kiwi/api/kiwi.ui.widgets.label.ProxyLabel.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 | <!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 “kiwi.ui.widgets.label.ProxyLabel”</title>
</head>
<body><h1 class="class">Class k.u.w.l.ProxyLabel(<a href="kiwi.utils.PropertyObject.html">PropertyObject</a>, gtk.Label, <a href="kiwi.ui.proxywidget.ProxyWidgetMixin.html">ProxyWidgetMixin</a>):</h1><span id="part">Part of <a href="kiwi.ui.widgets.label.html">kiwi.ui.widgets.label</a></span><p>known subclasses: <a href="kiwi.ui.widgets.label.Label.html">kiwi.ui.widgets.label.Label</a></p><div class="toplevel"><div class="undocumented">Undocumented</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.__init__">__init__</a></td><td><div><p>Create a new ProxyLabel object.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.prop_set_data_type">prop_set_data_type</a></td><td><div><p>Set the data type for the widget</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.replace">replace</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel._on_label_changed">_on_label_changed</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.read">read</a></td><td><div><p>Get the content of the widget.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.update">update</a></td><td><div><p>Update the content value of the widget.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel._apply_attributes">_apply_attributes</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel._set_text_attribute">_set_text_attribute</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.set_bold">set_bold</a></td><td><div><p>If True set the text to bold. False sets the text to normal</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.set_italic">set_italic</a></td><td><div><p>Enable or disable italic text</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.set_underline">set_underline</a></td><td><div><p>Enable or disable underlined text</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.set_size">set_size</a></td><td><div><p>Set the size of the label. If size is empty the label will be</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.set_text">set_text</a></td><td><div><p>Overrides gtk.Label set_text method. Sets the new text of</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.widgets.label.ProxyLabel.set_color">set_color</a></td><td><span class="undocumented">Undocumented</span></td></tr></table>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.__init__">__init__(self, label='', data_type=None):</a></div>
<div class="functionBody"><div><p>Create a new ProxyLabel object.</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">label</span><span class="body">initial text
</span></div><div class="metadata"><span class="tag">param</span> <span class="arg">data_type</span><span class="body">data type of label
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.prop_set_data_type">prop_set_data_type(self, data_type):</a></div>
<div class="functionBody"><div><p>Set the data type for the widget</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">data_type</span><span class="body">can be None, a type object or a string with the name of the type object, so
None, "<type 'str'>" or 'str'
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.replace">replace(cls, markup, value):</a></div>
<div class="functionBody"><div class="undocumented">Undocumented</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel._on_label_changed">_on_label_changed(self, label, param):</a></div>
<div class="functionBody"><div class="undocumented">Undocumented</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.read">read(self):</a></div>
<div class="functionBody"><div><p>Get the content of the widget. The type of the return value</p>
</div><div class="metadata"><span class="tag">returns</span> <span class="arg">None</span><span class="body">None if the user input a invalid value
</span></div><div class="metadata"><span class="tag">rtype</span> <span class="arg">None</span><span class="body">Must matche the data-type property.
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.update">update(self, data):</a></div>
<div class="functionBody"><div><p>Update the content value of the widget.</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">value</span><span class="body"></span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel._apply_attributes">_apply_attributes(self):</a></div>
<div class="functionBody"><div class="undocumented">Undocumented</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel._set_text_attribute">_set_text_attribute(self, attribute_name, attr, value):</a></div>
<div class="functionBody"><div class="undocumented">Undocumented</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.set_bold">set_bold(self, value):</a></div>
<div class="functionBody"><div><p>If True set the text to bold. False sets the text to normal</p>
</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.set_italic">set_italic(self, value):</a></div>
<div class="functionBody"><div><p>Enable or disable italic text</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">value</span><span class="body">Allowed values:
<ul>
<li>
True: enable Italic attribute
</li>
<li>
False: disable Italic attribute
</li>
</ul>
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.set_underline">set_underline(self, value):</a></div>
<div class="functionBody"><div><p>Enable or disable underlined text</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">value</span><span class="body">Allowed values:
<ul>
<li>
True: enable Underline attribute
</li>
<li>
Fase: disable Underline attribute
</li>
</ul>
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.set_size">set_size(self, size=None):</a></div>
<div class="functionBody"><div><p>Set the size of the label. If size is empty the label will be set to the
default size.</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">size</span><span class="body">Allowed values:
<ul>
<li>
xx-small
</li>
<li>
x-small
</li>
<li>
small
</li>
<li>
medium,
</li>
<li>
large
</li>
<li>
x-large
</li>
<li>
xx-large
</li>
</ul>
</span></div><div class="metadata"><span class="tag">type</span> <span class="arg">size</span><span class="body">string
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.set_text">set_text(self, text):</a></div>
<div class="functionBody"><div><p>Overrides gtk.Label set_text method. Sets the new text of the label but
keeps the formating</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">text</span><span class="body">label
</span></div><div class="metadata"><span class="tag">type</span> <span class="arg">text</span><span class="body">string
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.widgets.label.ProxyLabel.set_color">set_color(self, color):</a></div>
<div class="functionBody"><div class="undocumented">Undocumented</div></div>
</div></body>
|