File: class-gtkvbuttonbox.html

package info (click to toggle)
python-gtk2-doc 2.5.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,304 kB
  • ctags: 3,741
  • sloc: makefile: 38
file content (26 lines) | stat: -rw-r--r-- 6,144 bytes parent folder | download
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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>gtk.VButtonBox</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><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="previous" href="class-gtkvbox.html" title="gtk.VBox"><link rel="next" href="class-gtkvpaned.html" title="gtk.VPaned"></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.VButtonBox</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkvbox.html">Prev</a></td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"><a accesskey="n" href="class-gtkvpaned.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkvbuttonbox"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>gtk.VButtonBox</h2><p>gtk.VButtonBox &#8212; a container for arranging buttons vertically.</p></div><div class="refsect1" lang="en"><a name="id3618014"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.VButtonBox</span></span>(<span class="ooclass"><span class="classname"><a href="class-gtkbuttonbox.html" title="gtk.ButtonBox">gtk.ButtonBox</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a href="class-gtkvbuttonbox.html#constructor-gtkvbuttonbox" title="Constructor">gtk.VButtonBox</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3618057"></a><h2>Ancestry</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="synopsis">+-- <a href="class-gobject.html" title="gobject.GObject">gobject.GObject</a>
  +-- <a href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
    +-- <a href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
      +-- <a href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
        +-- <a href="class-gtkbox.html" title="gtk.Box">gtk.Box</a>
          +-- <a href="class-gtkbuttonbox.html" title="gtk.ButtonBox">gtk.ButtonBox</a>
            +-- <a href="class-gtkvbuttonbox.html" title="gtk.VButtonBox">gtk.VButtonBox</a>
</pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3618112"></a><h2>Description</h2><p>A <a href="class-gtkvbuttonbox.html" title="gtk.VButtonBox"><tt class="classname">gtk.VButtonBox</tt></a>
is a container subclassed from <a href="class-gtkbuttonbox.html" title="gtk.ButtonBox"><tt class="classname">gtk.ButtonBox</tt></a>
that is optimized for the vertical layout of buttons. The <a href="class-gtkvbuttonbox.html" title="gtk.VButtonBox"><tt class="classname">gtk.VButtonBox</tt></a>
helps provide a consistent layout of buttons in an application by supplying
default values of spacing, padding and layout style (see the <a href="class-gtkbuttonbox.html" title="gtk.ButtonBox"><tt class="classname">gtk.ButtonBox</tt></a>
reference for more detail). Buttons are packed into a <a href="class-gtkvbuttonbox.html" title="gtk.VButtonBox"><tt class="classname">gtk.VButtonBox</tt></a>
using the <a href="class-gtkcontainer.html#method-gtkcontainer--add" title="gtk.Container.add"><tt class="methodname">gtk.Container.add</tt>()</a>)
method. The <a href="class-gtkbox.html#method-gtkbox--pack-start" title="gtk.Box.pack_start"><tt class="methodname">pack_start</tt>()</a>
and <a href="class-gtkbox.html#method-gtkbox--pack-end" title="gtk.Box.pack_end"><tt class="methodname">pack_end</tt>()</a>
methods can also be used but they work just like the <a href="class-gtkcontainer.html#method-gtkcontainer--add" title="gtk.Container.add"><tt class="methodname">gtk.Container.add</tt>()</a>)
method i.e. they pack the button in a way that depends on the current layout
style and on whether the button has had the <a href="class-gtkbuttonbox.html#method-gtkbuttonbox--set-child-secondary" title="gtk.ButtonBox.set_child_secondary"><tt class="methodname">gtk.ButtonBox.set_child_secondary</tt>()</a>
method called on it. The spacing between buttons can be set with the <a href="class-gtkbox.html#method-gtkbox--set-spacing" title="gtk.Box.set_spacing"><tt class="methodname">gtk.Box.set_spacing</tt>()</a>
method. The arrangement and layout of the buttons can be changed with the
<a href="class-gtkbuttonbox.html#method-gtkbuttonbox--set-layout" title="gtk.ButtonBox.set_layout"><tt class="methodname">gtk.ButtonBox.set_layout</tt>()</a>
method.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkvbuttonbox"></a><h2>Constructor</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.VButtonBox</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>a new <a href="class-gtkvbuttonbox.html" title="gtk.VButtonBox"><tt class="classname">gtk.VButtonBox</tt></a>
widget</td></tr></tbody></table><p>Creates a new <a href="class-gtkvbuttonbox.html" title="gtk.VButtonBox"><tt class="classname">gtk.VButtonBox</tt></a>
widget</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkvbox.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-gtkvpaned.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.VBox</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">gtk.VPaned</td></tr></table></div></body></html>