1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GtkViewport</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
8 <link rel="up" href="MiscObjects.html" title="Miscellaneous">
9 <link rel="prev" href="GtkTooltip.html" title="GtkTooltip">
10 <link rel="next" href="GtkAccessible.html" title="GtkAccessible">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="GtkTooltip.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="MiscObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GTK+ 3 Reference Manual</th>
21 <td><a accesskey="n" href="GtkAccessible.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#GtkViewport.synopsis" class="shortcut">Top</a>
26 <a href="#GtkViewport.description" class="shortcut">Description</a>
28 <a href="#GtkViewport.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#GtkViewport.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32 <a href="#GtkViewport.properties" class="shortcut">Properties</a>
35 <div class="refentry">
36 <a name="GtkViewport"></a><div class="titlepage"></div>
37 <div class="refnamediv"><table width="100%"><tr>
39 <h2><span class="refentrytitle"><a name="GtkViewport.top_of_page"></a>GtkViewport</span></h2>
40 <p>GtkViewport — An adapter which makes widgets scrollable</p>
42 <td valign="top" align="right"></td>
44 <div class="refsynopsisdiv">
45 <a name="GtkViewport.synopsis"></a><h2>Synopsis</h2>
46 <pre class="synopsis">
47 #include <gtk/gtk.h>
49 struct <a class="link" href="GtkViewport.html#GtkViewport-struct" title="struct GtkViewport">GtkViewport</a>;
50 <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkViewport.html#gtk-viewport-new" title="gtk_viewport_new ()">gtk_viewport_new</a> (<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *hadjustment</code></em>,
51 <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *vadjustment</code></em>);
52 <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> * <a class="link" href="GtkViewport.html#gtk-viewport-get-hadjustment" title="gtk_viewport_get_hadjustment ()">gtk_viewport_get_hadjustment</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);
53 <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> * <a class="link" href="GtkViewport.html#gtk-viewport-get-vadjustment" title="gtk_viewport_get_vadjustment ()">gtk_viewport_get_vadjustment</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);
54 <span class="returnvalue">void</span> <a class="link" href="GtkViewport.html#gtk-viewport-set-hadjustment" title="gtk_viewport_set_hadjustment ()">gtk_viewport_set_hadjustment</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>,
55 <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);
56 <span class="returnvalue">void</span> <a class="link" href="GtkViewport.html#gtk-viewport-set-vadjustment" title="gtk_viewport_set_vadjustment ()">gtk_viewport_set_vadjustment</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>,
57 <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);
58 <span class="returnvalue">void</span> <a class="link" href="GtkViewport.html#gtk-viewport-set-shadow-type" title="gtk_viewport_set_shadow_type ()">gtk_viewport_set_shadow_type</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>,
59 <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> type</code></em>);
60 <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="returnvalue">GtkShadowType</span></a> <a class="link" href="GtkViewport.html#gtk-viewport-get-shadow-type" title="gtk_viewport_get_shadow_type ()">gtk_viewport_get_shadow_type</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);
61 <a href="http://developer.gnome.org/devel/gdk/gdk3-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="GtkViewport.html#gtk-viewport-get-bin-window" title="gtk_viewport_get_bin_window ()">gtk_viewport_get_bin_window</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);
62 <a href="http://developer.gnome.org/devel/gdk/gdk3-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="GtkViewport.html#gtk-viewport-get-view-window" title="gtk_viewport_get_view_window ()">gtk_viewport_get_view_window</a> (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);
65 <div class="refsect1">
66 <a name="GtkViewport.object-hierarchy"></a><h2>Object Hierarchy</h2>
67 <pre class="synopsis">
68 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
69 +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
70 +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
71 +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
72 +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
76 <div class="refsect1">
77 <a name="GtkViewport.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
79 GtkViewport implements
80 AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a> and <a class="link" href="GtkScrollable.html" title="GtkScrollable">GtkScrollable</a>.</p>
82 <div class="refsect1">
83 <a name="GtkViewport.properties"></a><h2>Properties</h2>
84 <pre class="synopsis">
85 "<a class="link" href="GtkViewport.html#GtkViewport--shadow-type" title='The "shadow-type" property'>shadow-type</a>" <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read / Write
88 <div class="refsect1">
89 <a name="GtkViewport.description"></a><h2>Description</h2>
91 The <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> widget acts as an adaptor class, implementing
92 scrollability for child widgets that lack their own scrolling
93 capabilities. Use <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> to scroll child widgets such as
94 <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a>, <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a>, and so on.
97 If a widget has native scrolling abilities, such as <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a>,
98 <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> or <span class="type">GtkIconview</span>, it can be added to a <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>
99 with <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a>. If a widget does not, you must first add the
100 widget to a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>, then add the viewport to the scrolled window.
101 The convenience function <a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-add-with-viewport" title="gtk_scrolled_window_add_with_viewport ()"><code class="function">gtk_scrolled_window_add_with_viewport()</code></a> does
102 exactly this, so you can ignore the presence of the viewport.
105 The <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> will start scrolling content only if allocated less
106 than the child widget's minimum size in a given orientation.
109 <div class="refsect1">
110 <a name="GtkViewport.details"></a><h2>Details</h2>
111 <div class="refsect2">
112 <a name="GtkViewport-struct"></a><h3>struct GtkViewport</h3>
113 <pre class="programlisting">struct GtkViewport;</pre>
116 <div class="refsect2">
117 <a name="gtk-viewport-new"></a><h3>gtk_viewport_new ()</h3>
118 <pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_viewport_new (<em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *hadjustment</code></em>,
119 <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *vadjustment</code></em>);</pre>
121 Creates a new <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> with the given adjustments.
123 <div class="variablelist"><table border="0">
124 <col align="left" valign="top">
127 <td><p><span class="term"><em class="parameter"><code>hadjustment</code></em> :</span></p></td>
128 <td>horizontal adjustment</td>
131 <td><p><span class="term"><em class="parameter"><code>vadjustment</code></em> :</span></p></td>
132 <td>vertical adjustment</td>
135 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
136 <td>a new <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>
143 <div class="refsect2">
144 <a name="gtk-viewport-get-hadjustment"></a><h3>gtk_viewport_get_hadjustment ()</h3>
145 <pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> * gtk_viewport_get_hadjustment (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);</pre>
146 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
147 <h3 class="title">Warning</h3>
148 <p><code class="literal">gtk_viewport_get_hadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code. Use <a class="link" href="GtkScrollable.html#gtk-scrollable-get-hadjustment" title="gtk_scrollable_get_hadjustment ()"><code class="function">gtk_scrollable_get_hadjustment()</code></a></p>
151 Returns the horizontal adjustment of the viewport.
153 <div class="variablelist"><table border="0">
154 <col align="left" valign="top">
157 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
158 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.</td>
161 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
162 <td>the horizontal adjustment of <em class="parameter"><code>viewport</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
169 <div class="refsect2">
170 <a name="gtk-viewport-get-vadjustment"></a><h3>gtk_viewport_get_vadjustment ()</h3>
171 <pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> * gtk_viewport_get_vadjustment (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);</pre>
172 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
173 <h3 class="title">Warning</h3>
174 <p><code class="literal">gtk_viewport_get_vadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code. Use <a class="link" href="GtkScrollable.html#gtk-scrollable-get-vadjustment" title="gtk_scrollable_get_vadjustment ()"><code class="function">gtk_scrollable_get_vadjustment()</code></a></p>
177 Returns the vertical adjustment of the viewport.
179 <div class="variablelist"><table border="0">
180 <col align="left" valign="top">
183 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
184 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.</td>
187 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
188 <td>the vertical adjustment of <em class="parameter"><code>viewport</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
195 <div class="refsect2">
196 <a name="gtk-viewport-set-hadjustment"></a><h3>gtk_viewport_set_hadjustment ()</h3>
197 <pre class="programlisting"><span class="returnvalue">void</span> gtk_viewport_set_hadjustment (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>,
198 <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);</pre>
199 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
200 <h3 class="title">Warning</h3>
201 <p><code class="literal">gtk_viewport_set_hadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code. Use <a class="link" href="GtkScrollable.html#gtk-scrollable-set-hadjustment" title="gtk_scrollable_set_hadjustment ()"><code class="function">gtk_scrollable_set_hadjustment()</code></a></p>
204 Sets the horizontal adjustment of the viewport.
206 <div class="variablelist"><table border="0">
207 <col align="left" valign="top">
210 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
211 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.</td>
214 <td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
215 <td>a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
222 <div class="refsect2">
223 <a name="gtk-viewport-set-vadjustment"></a><h3>gtk_viewport_set_vadjustment ()</h3>
224 <pre class="programlisting"><span class="returnvalue">void</span> gtk_viewport_set_vadjustment (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>,
225 <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);</pre>
226 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
227 <h3 class="title">Warning</h3>
228 <p><code class="literal">gtk_viewport_set_vadjustment</code> has been deprecated since version 3.0 and should not be used in newly-written code. Use <a class="link" href="GtkScrollable.html#gtk-scrollable-set-vadjustment" title="gtk_scrollable_set_vadjustment ()"><code class="function">gtk_scrollable_set_vadjustment()</code></a></p>
231 Sets the vertical adjustment of the viewport.
233 <div class="variablelist"><table border="0">
234 <col align="left" valign="top">
237 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
238 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.</td>
241 <td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
242 <td>a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
249 <div class="refsect2">
250 <a name="gtk-viewport-set-shadow-type"></a><h3>gtk_viewport_set_shadow_type ()</h3>
251 <pre class="programlisting"><span class="returnvalue">void</span> gtk_viewport_set_shadow_type (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>,
252 <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> type</code></em>);</pre>
254 Sets the shadow type of the viewport.
256 <div class="variablelist"><table border="0">
257 <col align="left" valign="top">
260 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
261 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.</td>
264 <td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
265 <td>the new shadow type.</td>
271 <div class="refsect2">
272 <a name="gtk-viewport-get-shadow-type"></a><h3>gtk_viewport_get_shadow_type ()</h3>
273 <pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="returnvalue">GtkShadowType</span></a> gtk_viewport_get_shadow_type (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);</pre>
275 Gets the shadow type of the <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>. See
276 <a class="link" href="GtkViewport.html#gtk-viewport-set-shadow-type" title="gtk_viewport_set_shadow_type ()"><code class="function">gtk_viewport_set_shadow_type()</code></a>.
278 <div class="variablelist"><table border="0">
279 <col align="left" valign="top">
282 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
283 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>
287 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
288 <td>the shadow type</td>
294 <div class="refsect2">
295 <a name="gtk-viewport-get-bin-window"></a><h3>gtk_viewport_get_bin_window ()</h3>
296 <pre class="programlisting"><a href="http://developer.gnome.org/devel/gdk/gdk3-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gtk_viewport_get_bin_window (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);</pre>
298 Gets the bin window of the <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.
300 <div class="variablelist"><table border="0">
301 <col align="left" valign="top">
304 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
305 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>
309 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
310 <td>a <a href="http://developer.gnome.org/devel/gdk/gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
315 <p class="since">Since 2.20</p>
318 <div class="refsect2">
319 <a name="gtk-viewport-get-view-window"></a><h3>gtk_viewport_get_view_window ()</h3>
320 <pre class="programlisting"><a href="http://developer.gnome.org/devel/gdk/gdk3-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gtk_viewport_get_view_window (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);</pre>
322 Gets the view window of the <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.
324 <div class="variablelist"><table border="0">
325 <col align="left" valign="top">
328 <td><p><span class="term"><em class="parameter"><code>viewport</code></em> :</span></p></td>
329 <td>a <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>
333 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
334 <td>a <a href="http://developer.gnome.org/devel/gdk/gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
339 <p class="since">Since 2.22</p>
342 <div class="refsect1">
343 <a name="GtkViewport.property-details"></a><h2>Property Details</h2>
344 <div class="refsect2">
345 <a name="GtkViewport--shadow-type"></a><h3>The <code class="literal">"shadow-type"</code> property</h3>
346 <pre class="programlisting"> "shadow-type" <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read / Write</pre>
347 <p>Determines how the shadowed box around the viewport is drawn.</p>
348 <p>Default value: GTK_SHADOW_IN</p>
351 <div class="refsect1">
352 <a name="GtkViewport.see-also"></a><h2>See Also</h2>
353 <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>, <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
358 Generated by GTK-Doc V1.18</div>