This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkmenubar.html is in python-gtk2-doc 2.24.0-4ubuntu1.

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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.MenuBar</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-gtkmenu.html" title="gtk.Menu"><link rel="next" href="class-gtkmenuitem.html" title="gtk.MenuItem"></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.MenuBar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkmenu.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkmenuitem.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.MenuBar"><a name="class-gtkmenubar"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.MenuBar</h2><p>gtk.MenuBar — a widget that displays <a class="link" href="class-gtkmenuitem.html" title="gtk.MenuItem"><code class="classname">gtk.MenuItem</code></a>
widgets horizontally</p></div><div class="refsect1" title="Synopsis"><a name="id3789917"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.MenuBar</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkmenushell.html" title="gtk.MenuShell">gtk.MenuShell</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkmenubar.html#constructor-gtkmenubar" title="Constructor">gtk.MenuBar</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkmenubar.html#method-gtkmenubar--set-pack-direction" title="gtk.MenuBar.set_pack_direction">set_pack_direction</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>pack_dir</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkmenubar.html#method-gtkmenubar--get-pack-direction" title="gtk.MenuBar.get_pack_direction">get_pack_direction</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkmenubar.html#method-gtkmenubar--set-child-pack-direction" title="gtk.MenuBar.set_child_pack_direction">set_child_pack_direction</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child_pack_dir</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkmenubar.html#method-gtkmenubar--get-child-pack-direction" title="gtk.MenuBar.get_child_pack_direction">get_child_pack_direction</a></span>()</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3790049"></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-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
        +-- <a class="link" href="class-gtkmenushell.html" title="gtk.MenuShell">gtk.MenuShell</a>
          +-- <a class="link" href="class-gtkmenubar.html" title="gtk.MenuBar">gtk.MenuBar</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3790100"></a><h2>Implemented Interfaces</h2><p>
			<a class="link" href="class-gtkmenubar.html" title="gtk.MenuBar"><code class="classname">gtk.MenuBar</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.MenuBar Properties"><a name="properties-gtkmenubar"></a><h2>gtk.MenuBar 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-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkmenushell.html#properties-gtkmenushell" title="gtk.MenuShell Properties">gtk.MenuShell 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="4in"></colgroup><tbody><tr valign="top"><td valign="top">"child-pack-direction"</td><td valign="top">Read-Write</td><td valign="top">The pack direction of the menubar. It determines how
the widgets contained in child menuitems are arranged.
Default value: <code class="literal">gtk.PACK_DIRECTION_LTR</code>.
Available in GTK+ 2.8 and above.</td></tr><tr valign="top"><td valign="top">"pack-direction"</td><td valign="top">Read-Write</td><td valign="top">The pack direction of the menubar. It determines how
menuitems are arranged in the menubar.
Default value: <code class="literal">gtk.PACK_DIRECTION_LTR</code>.
Available in GTK+ 2.8 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.MenuBar Style Properties"><a name="style-properties-gtkmenubar"></a><h2>gtk.MenuBar 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 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="4in"></colgroup><tbody><tr valign="top"><td valign="top">"internal-padding"</td><td valign="top">Read</td><td valign="top">Amount of border space between the menubar shadow and
the menu items</td></tr><tr valign="top"><td valign="top">"shadow-type"</td><td valign="top">Read</td><td valign="top">The style of bevel around the menubar</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.MenuBar Signal Prototypes"><a name="signal-prototypes-gtkmenubar"></a><h2>gtk.MenuBar 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><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkmenushell.html#signal-prototypes-gtkmenushell" title="gtk.MenuShell Signal Prototypes">gtk.MenuShell Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3790417"></a><h2>Description</h2><p>The <a class="link" href="class-gtkmenubar.html" title="gtk.MenuBar"><code class="classname">gtk.MenuBar</code></a> is a
subclass of <a class="link" href="class-gtkmenushell.html" title="gtk.MenuShell"><code class="classname">gtk.MenuShell</code></a>
which contains one or more <a class="link" href="class-gtkmenuitem.html" title="gtk.MenuItem"><code class="classname">gtk.MenuItem</code></a>
widgets. A <a class="link" href="class-gtkmenubar.html" title="gtk.MenuBar"><code class="classname">gtk.MenuBar</code></a>
displays the menu items horizontally in an application window or
dialog.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkmenubar"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.MenuBar</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkmenubar.html" title="gtk.MenuBar"><code class="classname">gtk.MenuBar</code></a>
widget</td></tr></tbody></table><p>Creates a new <a class="link" href="class-gtkmenubar.html" title="gtk.MenuBar"><code class="classname">gtk.MenuBar</code></a>
widget.</p></div><div class="refsect1" title="Methods"><a name="id3790527"></a><h2>Methods</h2><div class="refsect2" title="gtk.MenuBar.set_pack_direction"><a name="method-gtkmenubar--set-pack-direction"></a><h3>gtk.MenuBar.set_pack_direction</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_pack_direction</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>pack_dir</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>pack_dir</code></strong> :</span></p></td><td>one of the <a class="xref" href="gtk-constants.html#gtk-pack-direction-constants" title="GTK Pack Direction Constants">GTK Pack Direction Constants</a>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.8 and above.</p></div><p>The <code class="methodname">set_pack_direction</code>() sets the
"pack-direction" property to the value of
<em class="parameter"><code>pack_dir</code></em>. <em class="parameter"><code>pack_dir</code></em> must be one
of the <a class="xref" href="gtk-constants.html#gtk-pack-direction-constants" title="GTK Pack Direction Constants">GTK Pack Direction Constants</a> that specify how
menuitems are arranged in the menubar.</p></div><div class="refsect2" title="gtk.MenuBar.get_pack_direction"><a name="method-gtkmenubar--get-pack-direction"></a><h3>gtk.MenuBar.get_pack_direction</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_pack_direction</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the current pack direction of the
menubar.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.8 and above.</p></div><p>The <code class="methodname">get_pack_direction</code>() method returns
the value of the "pack-direction" property that specifies the arrangement
of menuitems in the menubar. See the <a class="xref" href="gtk-constants.html#gtk-pack-direction-constants" title="GTK Pack Direction Constants">GTK Pack Direction Constants</a> for more
information.</p></div><div class="refsect2" title="gtk.MenuBar.set_child_pack_direction"><a name="method-gtkmenubar--set-child-pack-direction"></a><h3>gtk.MenuBar.set_child_pack_direction</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_child_pack_direction</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child_pack_dir</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>child_pack_dir</code></strong> :</span></p></td><td>one of the <a class="xref" href="gtk-constants.html#gtk-pack-direction-constants" title="GTK Pack Direction Constants">GTK Pack Direction Constants</a>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.8 and above.</p></div><p>The <code class="methodname">set_child_pack_direction</code>() method
sets the "child-pack-direction" property to the value of
<em class="parameter"><code>child_pack_dir</code></em>. <em class="parameter"><code>child_pack_dir</code></em>
must be one of the <a class="xref" href="gtk-constants.html#gtk-pack-direction-constants" title="GTK Pack Direction Constants">GTK Pack Direction Constants</a> that specify how
menuitems are arranged in the child menuitems of the menubar.</p></div><div class="refsect2" title="gtk.MenuBar.get_child_pack_direction"><a name="method-gtkmenubar--get-child-pack-direction"></a><h3>gtk.MenuBar.get_child_pack_direction</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_child_pack_direction</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the current child pack
direction</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.8 and above.</p></div><p>The <code class="methodname">get_child_pack_direction</code>() method
returns the value of the "child-pack-direction" property that specifies the
arrangement of menuitems in thechild menuitems of the menubar. See the <a class="xref" href="gtk-constants.html#gtk-pack-direction-constants" title="GTK Pack Direction Constants">GTK Pack Direction Constants</a> for more
information.</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-gtkmenu.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-gtkmenuitem.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Menu </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.MenuItem</td></tr></table></div></body></html>