This file is indexed.

/usr/share/gtk-doc/html/pygoocanvas/class-canvas-widget.html is in python-pygoocanvas 0.14.1-1.1ubuntu1.

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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>goocanvas.Widget</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="PyGooCanvas Reference Manual"><link rel="up" href="pygoocanvas-std-items.html" title="PyGooCanvas Standard Canvas Items Reference"><link rel="prev" href="class-canvas-table.html" title="goocanvas.Table"><link rel="next" href="pygoocanvas-model-items.html" title="PyGooCanvas Canvas Item Models Reference"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">goocanvas.Widget</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-canvas-table.html">Prev</a> </td><th width="60%" align="center">PyGooCanvas Standard Canvas Items Reference</th><td width="20%" align="right"> <a accesskey="n" href="pygoocanvas-model-items.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="class-canvas-widget"></a><div class="titlepage"></div><div class="refnamediv"><h2>goocanvas.Widget</h2><p>goocanvas.Widget — An embedded widget item.</p></div><div class="refsect1"><a name="idp46888210971168"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.Widget</span></span>(<span class="ooclass"><span class="classname">goocanvas.ItemSimple</span></span>):
<code class="constructorsynopsis">    <span class="methodname">goocanvas.Widget</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>properties</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1"><a name="idp46888210976656"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
href="../pygobject/class-gobject.html"
>gobject.GObject</a>
	+-- goocanvas.ItemSimple
		+-- goocanvas.Widget
</pre></div><div class="refsect1"><a name="properties-goocanvaswidget"></a><h2>goocanvas.Widget Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"anchor"</td><td valign="top">Read/Write</td><td valign="top">How to position the widget relative to the item's x and y coordinate settings.
								Default value: gtk.ANCHOR_NORTH_WEST</td></tr><tr valign="top"><td valign="top">"height"</td><td valign="top">Read/Write</td><td valign="top">The height of the widget, or -1 to use its requested height. Default value: -1</td></tr><tr valign="top"><td valign="top">"widget"</td><td valign="top">Read/Write</td><td valign="top">The widget to place in the canvas.</td></tr><tr valign="top"><td valign="top">"width"</td><td valign="top">Read/Write</td><td valign="top">The width of the widget, or -1 to use its requested width. Default value: -1</td></tr><tr valign="top"><td valign="top">"x"</td><td valign="top">Read/Write</td><td valign="top">The x coordinate of the widget. Default value: 0</td></tr><tr valign="top"><td valign="top">"y"</td><td valign="top">Read/Write</td><td valign="top">he y coordinate of the widget. Default value: 0</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1"><a name="idp46888210999456"></a><h2>Implemented Interfaces</h2><p>
			<code class="classname">goocanvas.Widget</code>
			implements 
			<code class="classname">goocanvas.Item</code>
		</p></div><div class="refsect1"><a name="idp46888211002496"></a><h2>Description</h2><code class="classname">goocanvas.Widget</code> 
			provides support for placing any GtkWidget in the canvas.
            Note that there are a number of limitations in the use of GooCanvasWidget:
            It doesn't support any transformation besides simple translation. This means you can't scale a canvas with a GooCanvasWidget in it.
            It doesn't support layering, so you can't place other items beneath or above the GooCanvasWidget.
            It doesn't support rendering of widgets to a given cairo_t, which means you can't output the widget to a pdf or postscript file.
            It doesn't have a model/view variant like the other standard items, so it can only be used in a simple canvas without a model.
	</div><div class="refsect1"><a name="constructor-canvas-widget"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">goocanvas.Widget</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>properties</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>properties</code></strong>:</span></p></td><td>A comma separated properties as **kwargs.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td>A new 
						<code class="classname">goocanvas.Widget</code>
					</td></tr></tbody></table><p>
			Creates a new canvas widget item.
		</p><p>
			Here's an example showing how to create an entry widget centered at (100.0, 100.0):
		</p><pre class="programlisting">
entry = gtk.Entry()
ellipse = goocanvas.Widget(parent = root,
                           widget = entry,
                           x = 100,
                           y = 100,
                           width = -1,
                           height = -1,
                           anchor = gtk.ANCHOR_CENTER)
</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-canvas-table.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pygoocanvas-std-items.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pygoocanvas-model-items.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">goocanvas.Table </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> PyGooCanvas Canvas Item Models Reference</td></tr></table></div></body></html>