/usr/share/doc/python-kiwi/api/kiwi.ui.widgets.contextmenu.ContextMenuItem.html is in python-kiwi 1.9.22-4.
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 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html>
<head>
<title>kiwi.ui.widgets.contextmenu.ContextMenuItem : API documentation</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link type="text/css" rel="stylesheet" href="bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="apidocs.css" />
</head>
<body>
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="index.html">
Kiwi API Documentation
</a>
</div>
</div>
</nav>
<div id="showPrivate">
<button class="btn btn-link" onclick="togglePrivate()">Toggle Private API</button>
</div>
<div class="container">
<div class="page-header">
<h1 class="class"><code>kiwi.ui.widgets.contextmenu.ContextMenuItem(<span title="gtk.ImageMenuItem">gtk.ImageMenuItem</span>)</code> <small>class documentation</small></h1>
<span id="partOf">
Part of <code><a href="kiwi.html" data-type="Package" class="code">kiwi</a>.<a href="kiwi.ui.html" data-type="Package" class="code">ui</a>.<a href="kiwi.ui.widgets.html" data-type="Package" class="code">widgets</a>.<a href="kiwi.ui.widgets.contextmenu.html" data-type="Module" class="code">contextmenu</a></code>
<a href="classIndex.html#kiwi.ui.widgets.contextmenu.ContextMenuItem">(View In Hierarchy)</a>
</span>
</div>
<div class="extrasDocstring">
</div>
<div class="moduleDocstring">
<div class="undocumented">No class docstring</div>
</div>
<div id="splitTables">
<table class="children sortable" id="id263">
<tr class="method">
<td>Method</td>
<td><a href="kiwi.ui.widgets.contextmenu.ContextMenuItem.html#__init__" data-type="Method" class="code">__init__</a></td>
<td><span>An menu item with an (option) icon.</span></td>
</tr>
</table>
</div>
<div id="childList">
<div class="basemethod">
<a name="kiwi.ui.widgets.contextmenu.ContextMenuItem.__init__">
</a>
<a name="__init__">
</a>
<div class="functionHeader">
def
__init__(self, label, stock=None):
</div>
<div class="docstring functionBody">
<div><p>An menu item with an (option) icon.</p>
<p>you can use this in three different ways:</p>
<p>ContextMenuItem('foo') ContextMenuItem('foo', gtk.STOCK_PASTE)
ContextMenuItem(gtk.STOCK_PASTE)</p>
<p>The first will display an label 'foo'. The second will display the same
label with the paste icon, and the last will display the paste icon with
the default paste label</p><table class="fieldTable"></table></div>
</div>
</div>
</div>
<address>
<a href="index.html">API Documentation</a> for Kiwi, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-12-15 11:23:22.
</address>
</div>
<script type="text/javascript" src="pydoctor.js"></script>
</body>
</html>
|