~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-gtkscrolledwindow.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.ScrolledWindow</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" 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-gtkscrollbar.html" title="gtk.Scrollbar"><link rel="next" href="class-gtkselectiondata.html" title="gtk.SelectionData"></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.ScrolledWindow</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkscrollbar.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkselectiondata.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkscrolledwindow"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.ScrolledWindow</h2><p>gtk.ScrolledWindow — adds scrollbars to its child widget.</p></div><div class="refsect1" lang="en"><a name="id3644219"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.ScrolledWindow</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a></span></span>):
2
 
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#constructor-gtkscrolledwindow" title="Constructor">gtk.ScrolledWindow</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hadjustment</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>vadjustment</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-hadjustment" title="gtk.ScrolledWindow.set_hadjustment">set_hadjustment</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hadjustment</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-vadjustment" title="gtk.ScrolledWindow.set_vadjustment">set_vadjustment</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>vadjustment</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-hadjustment" title="gtk.ScrolledWindow.get_hadjustment">get_hadjustment</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-vadjustment" title="gtk.ScrolledWindow.get_vadjustment">get_vadjustment</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-hscrollbar" title="gtk.ScrolledWindow.get_hscrollbar">get_hscrollbar</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-vscrollbar" title="gtk.ScrolledWindow.get_vscrollbar">get_vscrollbar</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-policy" title="gtk.ScrolledWindow.set_policy">set_policy</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hscrollbar_policy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>vscrollbar_policy</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-policy" title="gtk.ScrolledWindow.get_policy">get_policy</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hscrollbar_policy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>vscrollbar_policy</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-placement" title="gtk.ScrolledWindow.set_placement">set_placement</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window_placement</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-placement" title="gtk.ScrolledWindow.get_placement">get_placement</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-shadow-type" title="gtk.ScrolledWindow.set_shadow_type">set_shadow_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-shadow-type" title="gtk.ScrolledWindow.get_shadow_type">get_shadow_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--add-with-viewport" title="gtk.ScrolledWindow.add_with_viewport">add_with_viewport</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3644639"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.ScrolledWindow</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" 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-gtkscrollbar.html" title="gtk.Scrollbar"><link rel="next" href="class-gtkselectiondata.html" title="gtk.SelectionData"></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.ScrolledWindow</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkscrollbar.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkselectiondata.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkscrolledwindow"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.ScrolledWindow</h2><p>gtk.ScrolledWindow — adds scrollbars to its child widget.</p></div><div class="refsect1" lang="en"><a name="id3845024"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.ScrolledWindow</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a></span></span>):
 
2
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#constructor-gtkscrolledwindow" title="Constructor">gtk.ScrolledWindow</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hadjustment</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>vadjustment</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-hadjustment" title="gtk.ScrolledWindow.set_hadjustment">set_hadjustment</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hadjustment</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-vadjustment" title="gtk.ScrolledWindow.set_vadjustment">set_vadjustment</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>vadjustment</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-hadjustment" title="gtk.ScrolledWindow.get_hadjustment">get_hadjustment</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-vadjustment" title="gtk.ScrolledWindow.get_vadjustment">get_vadjustment</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-hscrollbar" title="gtk.ScrolledWindow.get_hscrollbar">get_hscrollbar</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-vscrollbar" title="gtk.ScrolledWindow.get_vscrollbar">get_vscrollbar</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-policy" title="gtk.ScrolledWindow.set_policy">set_policy</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hscrollbar_policy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>vscrollbar_policy</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-policy" title="gtk.ScrolledWindow.get_policy">get_policy</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hscrollbar_policy</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>vscrollbar_policy</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-placement" title="gtk.ScrolledWindow.set_placement">set_placement</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window_placement</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-placement" title="gtk.ScrolledWindow.get_placement">get_placement</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--set-shadow-type" title="gtk.ScrolledWindow.set_shadow_type">set_shadow_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--get-shadow-type" title="gtk.ScrolledWindow.get_shadow_type">get_shadow_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkscrolledwindow.html#method-gtkscrolledwindow--add-with-viewport" title="gtk.ScrolledWindow.add_with_viewport">add_with_viewport</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3845444"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
3
3
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
4
4
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
5
5
      +-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
6
6
        +-- <a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a>
7
7
          +-- <a class="link" href="class-gtkscrolledwindow.html" title="gtk.ScrolledWindow">gtk.ScrolledWindow</a>
8
 
</pre></div><div class="refsect1" lang="en"><a name="id3644690"></a><h2>Implemented Interfaces</h2><p>
 
8
</pre></div><div class="refsect1" lang="en"><a name="id3845495"></a><h2>Implemented Interfaces</h2><p>
9
9
                        <a class="link" href="class-gtkscrolledwindow.html" title="gtk.ScrolledWindow"><code class="classname">gtk.ScrolledWindow</code></a>
10
10
                        implements 
11
11
                        <a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
31
31
              above.</td></tr><tr valign="top"><td valign="top">"scrollbar-within-bevel"</td><td valign="top">Read</td><td valign="top">Whether to place scrollbars within the scrolled window's bevel.
32
32
          Default value: <code class="literal">False</code>
33
33
          Available in <code class="literal">GTK+</code> 2.12 and
34
 
              above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkscrolledwindow"></a><h2>gtk.ScrolledWindow 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><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gtkscrolledwindow.html#signal-gtkscrolledwindow--move-focus-out" title='The "move-focus-out" gtk.ScrolledWindow Signal'>move-focus-out</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolledwindow</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>direction</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkscrolledwindow.html#signal-gtkscrolledwindow--scroll-child" title='The "scroll-child" gtk.ScrolledWindow Signal'>scroll-child</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolledwindow</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolltype</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>horizontal</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" lang="en"><a name="id3645365"></a><h2>Description</h2><p>A <a class="link" href="class-gtkscrolledwindow.html" title="gtk.ScrolledWindow"><code class="classname">gtk.ScrolledWindow</code></a> 
 
34
              above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkscrolledwindow"></a><h2>gtk.ScrolledWindow 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><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gtkscrolledwindow.html#signal-gtkscrolledwindow--move-focus-out" title='The "move-focus-out" gtk.ScrolledWindow Signal'>move-focus-out</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolledwindow</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>direction</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr><tr><td><p><span class="term">"<a class="link" href="class-gtkscrolledwindow.html#signal-gtkscrolledwindow--scroll-child" title='The "scroll-child" gtk.ScrolledWindow Signal'>scroll-child</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolledwindow</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolltype</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>horizontal</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" lang="en"><a name="id3846170"></a><h2>Description</h2><p>A <a class="link" href="class-gtkscrolledwindow.html" title="gtk.ScrolledWindow"><code class="classname">gtk.ScrolledWindow</code></a> 
35
35
is a subclass of <a class="link" href="class-gtkbin.html" title="gtk.Bin"><code class="classname">gtk.Bin</code></a> that  adds
36
36
scrollbars to a single child widget and optionally draws a beveled frame
37
37
around the child widget. The scrolled window can work in two ways:</p><div class="itemizedlist"><ul type="disc"><li>Some widgets have native scrolling support using "slots" to
75
75
the scrollbars and the child widget to keep the bars in sync with the child.
76
76
If <em class="parameter"><code>hadjustment</code></em> and <em class="parameter"><code>vadjustment</code></em>
77
77
are <code class="literal">None</code> or not specified the scrolled window will create
78
 
them for you.</p></div><div class="refsect1" lang="en"><a name="id3645877"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkscrolledwindow--set-hadjustment"></a><h3>gtk.ScrolledWindow.set_hadjustment</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_hadjustment</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hadjustment</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>hadjustment</code></strong> :</span></p></td><td>the horizontal <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a></td></tr></tbody></table><p>The <code class="methodname">set_hadjustment</code>() method sets the
 
78
them for you.</p></div><div class="refsect1" lang="en"><a name="id3846682"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkscrolledwindow--set-hadjustment"></a><h3>gtk.ScrolledWindow.set_hadjustment</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_hadjustment</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>hadjustment</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>hadjustment</code></strong> :</span></p></td><td>the horizontal <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a></td></tr></tbody></table><p>The <code class="methodname">set_hadjustment</code>() method sets the
79
79
horizontal adjustment (and the "hadjustment" property) to the value of
80
80
<em class="parameter"><code>hadjustment</code></em>. <em class="parameter"><code>hadjustment</code></em> must
81
81
be a <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a>.</p></div><div class="refsect2" lang="en"><a name="method-gtkscrolledwindow--set-vadjustment"></a><h3>gtk.ScrolledWindow.set_vadjustment</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_vadjustment</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>vadjustment</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>vadjustment</code></strong> :</span></p></td><td>the vertical <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a></td></tr></tbody></table><p>The <code class="methodname">set_vadjustment</code>() method sets the
138
138
This will be wrong for most widgets that support native scrolling. For
139
139
example, if you add a widget such as <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a> with
140
140
a viewport, the whole widget will scroll, including the column
141
 
headings.</p></div></div><div class="refsect1" lang="en"><a name="id3647253"></a><h2>Signals</h2><div class="refsect2" lang="en"><a name="signal-gtkscrolledwindow--move-focus-out"></a><h3>The "move-focus-out" gtk.ScrolledWindow Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolledwindow</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>direction</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></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"><em class="parameter"><code>scrolledwindow</code></em> :</span></p></td><td>the scrolledwindow that received the
 
141
headings.</p></div></div><div class="refsect1" lang="en"><a name="id3848058"></a><h2>Signals</h2><div class="refsect2" lang="en"><a name="signal-gtkscrolledwindow--move-focus-out"></a><h3>The "move-focus-out" gtk.ScrolledWindow Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>scrolledwindow</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>direction</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></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"><em class="parameter"><code>scrolledwindow</code></em> :</span></p></td><td>the scrolledwindow that received the
142
142
signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td><td>the direction that the focus is moving either
143
143
<code class="literal">gtk.DIR_TAB_FORWARD</code> or
144
144
<code class="literal">gtk.DIR_TAB_BACKWARD</code>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified