/usr/share/doc/python-kiwi/api/kiwi.ui.gadgets.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 | <!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.gadgets”</title>
</head>
<body><h1 class="module">Module k.u.gadgets</h1><span id="part">Part of <a href="kiwi.ui.html">kiwi.ui</a></span><div class="toplevel"><div><p>Graphical utilities: color management and eyecandy</p>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#kiwi.ui.gadgets.gdk_color_to_string">gdk_color_to_string</a></td><td><div><p>Convert a color to a #AABBCC string</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.gadgets.set_foreground">set_foreground</a></td><td><div><p>Set the foreground color of a widget:</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.gadgets.get_foreground">get_foreground</a></td><td><div><p>Return the foreground color of the widget as a string</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.gadgets.set_background">set_background</a></td><td><div><p>Set the background color of a widget:</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.gadgets.get_background">get_background</a></td><td><div><p>Return the background color of the widget as a string</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.ui.gadgets.quit_if_last">quit_if_last</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="class"><td>Class</td><td><a href="kiwi.ui.gadgets.FadeOut.html">FadeOut</a></td><td><div><p>I am a helper class to draw the fading effect of the background</p>
</div></td></tr></table>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.gadgets.gdk_color_to_string">gdk_color_to_string(color):</a></div>
<div class="functionBody"><div><p>Convert a color to a #AABBCC string</p>
</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.gadgets.set_foreground">set_foreground(widget, color, state=gtk.STATE_NORMAL):</a></div>
<div class="functionBody"><div><p>Set the foreground color of a widget:</p>
<ul>
<li>
widget: the widget we are changing the color
</li>
<li>
color: a hexadecimal code or a well known color name
</li>
<li>
state: the state we are afecting, see gtk.STATE_*
</li>
</ul>
</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.gadgets.get_foreground">get_foreground(widget, state=gtk.STATE_NORMAL):</a></div>
<div class="functionBody"><div><p>Return the foreground color of the widget as a string</p>
</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.gadgets.set_background">set_background(widget, color, state=gtk.STATE_NORMAL):</a></div>
<div class="functionBody"><div><p>Set the background color of a widget:</p>
<ul>
<li>
widget: the widget we are changing the color
</li>
<li>
color: a hexadecimal code or a well known color name
</li>
<li>
state: the state we are afecting, see gtk.STATE_*
</li>
</ul>
</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.gadgets.get_background">get_background(widget, state=gtk.STATE_NORMAL):</a></div>
<div class="functionBody"><div><p>Return the background color of the widget as a string</p>
</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.ui.gadgets.quit_if_last">quit_if_last(*args):</a></div>
<div class="functionBody"><div class="undocumented">Undocumented</div></div>
</div></body>
|