/usr/share/gtk-doc/html/pygtk/class-gtkarrow.html is in python-gtk2-doc 2.24.0-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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.Arrow</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkalignment.html" title="gtk.Alignment"><link rel="next" href="class-gtkaspectframe.html" title="gtk.AspectFrame"></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">gtk.Arrow</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkalignment.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkaspectframe.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.Arrow"><a name="class-gtkarrow"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Arrow</h2><p>gtk.Arrow — produces an arrow pointing in one of the four cardinal
directions.</p></div><div class="refsect1" title="Synopsis"><a name="id3532688"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Arrow</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkmisc.html" title="gtk.Misc">gtk.Misc</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkarrow.html#constructor-gtkarrow" title="Constructor">gtk.Arrow</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>arrow_type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>shadow_type</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkarrow.html#method-gtkarrow--set" title="gtk.Arrow.set">set</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>arrow_type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>shadow_type</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id2976992"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
+-- <a class="link" href="class-gtkmisc.html" title="gtk.Misc">gtk.Misc</a>
+-- <a class="link" href="class-gtkarrow.html" title="gtk.Arrow">gtk.Arrow</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3343771"></a><h2>Implemented Interfaces</h2><p>
<a class="link" href="class-gtkarrow.html" title="gtk.Arrow"><code class="classname">gtk.Arrow</code></a>
implements
<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
</p></div><div class="refsect1" title="gtk.Arrow Properties"><a name="properties-gtkarrow"></a><h2>gtk.Arrow Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkmisc.html#properties-gtkmisc" title="gtk.Misc Properties">gtk.Misc Properties</a></p><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="4.5in"></colgroup><tbody><tr valign="top"><td valign="top">"arrow-type"</td><td valign="top">Read/Write</td><td valign="top">The direction the arrow should point (gtk.ARROW_UP,
gtk.ARROW_DOWN, gtk.ARROW_LEFT, or gtk.ARROW_RIGHT)</td></tr><tr valign="top"><td valign="top">"shadow-type"</td><td valign="top">Read/Write</td><td valign="top">Appearance of the shadow surrounding the arrow
(<code class="literal">gtk.SHADOW IN, gtk.SHADOW OUT, gtk.ETCHED IN, or
gtk.ETCHED OUT</code>)</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.Arrow Style Properties"><a name="style-properties-gtkarrow"></a><h2>gtk.Arrow Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p></div><div class="refsect1" title="gtk.Arrow Signal Prototypes"><a name="signal-prototypes-gtkarrow"></a><h2>gtk.Arrow Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3423606"></a><h2>Description</h2><p>The <a class="link" href="class-gtkarrow.html" title="gtk.Arrow"><code class="classname">gtk.Arrow</code></a> is used to
draw simple arrows that point in one of the four cardinal directions
(gtk.ARROW_UP, gtk.ARROW_DOWN, gtk.ARROW_LEFT, or gtk.ARROW_RIGHT). The
shadow style of the arrow can be one of gtk.SHADOW IN, gtk.SHADOW OUT,
gtk.ETCHED IN, or gtk.ETCHED OUT.</p><p>A <a class="link" href="class-gtkarrow.html" title="gtk.Arrow"><code class="classname">gtk.Arrow</code></a> will fill
any space alloted to it, but since it is inherited from <a class="link" href="class-gtkmisc.html" title="gtk.Misc"><code class="classname">gtk.Misc</code></a>, it can be
padded and/or aligned, to fill exactly the space desired.</p><p>Arrows are created with a call to <a class="link" href="class-gtkarrow.html#constructor-gtkarrow" title="Constructor"><code class="methodname">gtk.Arrow</code>()</a>.
The direction or style of an arrow can be changed after creation by using
<a class="link" href="class-gtkarrow.html#method-gtkarrow--set" title="gtk.Arrow.set"><code class="methodname">arrow_set</code>()</a>.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkarrow"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.Arrow</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>arrow_type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>shadow_type</code></strong></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>arrow_type</code></strong> :</span></p></td><td>one of the <a class="xref" href="gtk-constants.html#gtk-arrow-type-constants" title="GTK Arrow Type Constants">GTK Arrow Type Constants</a></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>shadow_type</code></strong> :</span></p></td><td>one
of the <a class="xref" href="gtk-constants.html#gtk-shadow-type-constants" title="GTK Shadow Type Constants">GTK Shadow Type Constants</a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-gtkarrow.html" title="gtk.Arrow"><code class="classname">gtk.Arrow</code></a>
widget</td></tr></tbody></table><p>Creates a new arrow widget with the specified
<em class="parameter"><code>arrow_type</code></em> and
<em class="parameter"><code>arrow_shadow</code></em>.</p></div><div class="refsect1" title="Methods"><a name="id3464266"></a><h2>Methods</h2><div class="refsect2" title="gtk.Arrow.set"><a name="method-gtkarrow--set"></a><h3>gtk.Arrow.set</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>arrow_type</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>shadow_type</code></strong></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>arrow_type</code></strong> :</span></p></td><td>a GtkArrowType</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>shadow_type</code></strong> :</span></p></td><td>one of the <a class="xref" href="gtk-constants.html#gtk-shadow-type-constants" title="GTK Shadow Type Constants">GTK Shadow Type Constants</a></td></tr></tbody></table><p>The <code class="methodname">set</code>() method sets the
<em class="parameter"><code>arrow_type</code></em> and <em class="parameter"><code>shadow_type</code></em> of
the arrow widget.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkalignment.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkaspectframe.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Alignment </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.AspectFrame</td></tr></table></div></body></html>
|