~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/gtk-doc/html/gtk2/GtkAssistant.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>GtkAssistant</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
 
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
 
8
<link rel="up" href="WindowWidgets.html" title="Windows">
 
9
<link rel="prev" href="GtkAboutDialog.html" title="GtkAboutDialog">
 
10
<link rel="next" href="GtkOffscreenWindow.html" title="GtkOffscreenWindow">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
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">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="GtkAboutDialog.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="WindowWidgets.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+ 2 Reference Manual</th>
 
21
<td><a accesskey="n" href="GtkOffscreenWindow.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#GtkAssistant.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#GtkAssistant.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#GtkAssistant.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#GtkAssistant.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
31
                   | 
 
32
                  <a href="#GtkAssistant.child-properties" class="shortcut">Child Properties</a>
 
33
                   | 
 
34
                  <a href="#GtkAssistant.style-properties" class="shortcut">Style Properties</a>
 
35
                   | 
 
36
                  <a href="#GtkAssistant.signals" class="shortcut">Signals</a>
 
37
</td></tr>
 
38
</table>
 
39
<div class="refentry">
 
40
<a name="GtkAssistant"></a><div class="titlepage"></div>
 
41
<div class="refnamediv"><table width="100%"><tr>
 
42
<td valign="top">
 
43
<h2><span class="refentrytitle"><a name="GtkAssistant.top_of_page"></a>GtkAssistant</span></h2>
 
44
<p>GtkAssistant — A widget used to guide users through multi-step operations</p>
 
45
</td>
 
46
<td valign="top" align="right"><img src="assistant.png"></td>
 
47
</tr></table></div>
 
48
<div class="refsynopsisdiv">
 
49
<a name="GtkAssistant.synopsis"></a><h2>Synopsis</h2>
 
50
<pre class="synopsis">
 
51
#include &lt;gtk/gtk.h&gt;
 
52
 
 
53
struct              <a class="link" href="GtkAssistant.html#GtkAssistant-struct" title="struct GtkAssistant">GtkAssistant</a>;
 
54
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkAssistant.html#gtk-assistant-new" title="gtk_assistant_new ()">gtk_assistant_new</a>                   (<em class="parameter"><code><span class="type">void</span></code></em>);
 
55
<span class="returnvalue">gint</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-get-current-page" title="gtk_assistant_get_current_page ()">gtk_assistant_get_current_page</a>      (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);
 
56
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-set-current-page" title="gtk_assistant_set_current_page ()">gtk_assistant_set_current_page</a>      (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
57
                                                         <em class="parameter"><code><span class="type">gint</span> page_num</code></em>);
 
58
<span class="returnvalue">gint</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-get-n-pages" title="gtk_assistant_get_n_pages ()">gtk_assistant_get_n_pages</a>           (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);
 
59
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkAssistant.html#gtk-assistant-get-nth-page" title="gtk_assistant_get_nth_page ()">gtk_assistant_get_nth_page</a>          (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
60
                                                         <em class="parameter"><code><span class="type">gint</span> page_num</code></em>);
 
61
<span class="returnvalue">gint</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-prepend-page" title="gtk_assistant_prepend_page ()">gtk_assistant_prepend_page</a>          (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
62
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);
 
63
<span class="returnvalue">gint</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-append-page" title="gtk_assistant_append_page ()">gtk_assistant_append_page</a>           (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
64
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);
 
65
<span class="returnvalue">gint</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-insert-page" title="gtk_assistant_insert_page ()">gtk_assistant_insert_page</a>           (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
66
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
67
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);
 
68
<span class="returnvalue">gint</span>                (<a class="link" href="GtkAssistant.html#GtkAssistantPageFunc" title="GtkAssistantPageFunc ()">*GtkAssistantPageFunc</a>)             (<em class="parameter"><code><span class="type">gint</span> current_page</code></em>,
 
69
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
 
70
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-set-forward-page-func" title="gtk_assistant_set_forward_page_func ()">gtk_assistant_set_forward_page_func</a> (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
71
                                                         <em class="parameter"><code><a class="link" href="GtkAssistant.html#GtkAssistantPageFunc" title="GtkAssistantPageFunc ()"><span class="type">GtkAssistantPageFunc</span></a> page_func</code></em>,
 
72
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
73
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
 
74
enum                <a class="link" href="GtkAssistant.html#GtkAssistantPageType" title="enum GtkAssistantPageType">GtkAssistantPageType</a>;
 
75
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-set-page-type" title="gtk_assistant_set_page_type ()">gtk_assistant_set_page_type</a>         (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
76
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
77
                                                         <em class="parameter"><code><a class="link" href="GtkAssistant.html#GtkAssistantPageType" title="enum GtkAssistantPageType"><span class="type">GtkAssistantPageType</span></a> type</code></em>);
 
78
<a class="link" href="GtkAssistant.html#GtkAssistantPageType" title="enum GtkAssistantPageType"><span class="returnvalue">GtkAssistantPageType</span></a> <a class="link" href="GtkAssistant.html#gtk-assistant-get-page-type" title="gtk_assistant_get_page_type ()">gtk_assistant_get_page_type</a>        (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
79
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);
 
80
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-set-page-title" title="gtk_assistant_set_page_title ()">gtk_assistant_set_page_title</a>        (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
81
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
82
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);
 
83
const <span class="returnvalue">gchar</span> *       <a class="link" href="GtkAssistant.html#gtk-assistant-get-page-title" title="gtk_assistant_get_page_title ()">gtk_assistant_get_page_title</a>        (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
84
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);
 
85
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-set-page-header-image" title="gtk_assistant_set_page_header_image ()">gtk_assistant_set_page_header_image</a> (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
86
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
87
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
 
88
<a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="GtkAssistant.html#gtk-assistant-get-page-header-image" title="gtk_assistant_get_page_header_image ()">gtk_assistant_get_page_header_image</a> (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
89
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);
 
90
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-set-page-side-image" title="gtk_assistant_set_page_side_image ()">gtk_assistant_set_page_side_image</a>   (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
91
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
92
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
 
93
<a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="GtkAssistant.html#gtk-assistant-get-page-side-image" title="gtk_assistant_get_page_side_image ()">gtk_assistant_get_page_side_image</a>   (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
94
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);
 
95
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-set-page-complete" title="gtk_assistant_set_page_complete ()">gtk_assistant_set_page_complete</a>     (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
96
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
97
                                                         <em class="parameter"><code><span class="type">gboolean</span> complete</code></em>);
 
98
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkAssistant.html#gtk-assistant-get-page-complete" title="gtk_assistant_get_page_complete ()">gtk_assistant_get_page_complete</a>     (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
99
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);
 
100
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-add-action-widget" title="gtk_assistant_add_action_widget ()">gtk_assistant_add_action_widget</a>     (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
101
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);
 
102
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-remove-action-widget" title="gtk_assistant_remove_action_widget ()">gtk_assistant_remove_action_widget</a>  (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
103
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);
 
104
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-update-buttons-state" title="gtk_assistant_update_buttons_state ()">gtk_assistant_update_buttons_state</a>  (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);
 
105
<span class="returnvalue">void</span>                <a class="link" href="GtkAssistant.html#gtk-assistant-commit" title="gtk_assistant_commit ()">gtk_assistant_commit</a>                (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);
 
106
</pre>
 
107
</div>
 
108
<div class="refsect1">
 
109
<a name="GtkAssistant.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
110
<pre class="synopsis">
 
111
  GObject
 
112
   +----GInitiallyUnowned
 
113
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
 
114
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
 
115
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
 
116
                           +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
 
117
                                 +----<a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
 
118
                                       +----GtkAssistant
 
119
</pre>
 
120
</div>
 
121
<div class="refsect1">
 
122
<a name="GtkAssistant.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
 
123
<p>
 
124
GtkAssistant implements
 
125
 AtkImplementorIface and  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
 
126
</div>
 
127
<div class="refsect1">
 
128
<a name="GtkAssistant.child-properties"></a><h2>Child Properties</h2>
 
129
<pre class="synopsis">
 
130
  "<a class="link" href="GtkAssistant.html#GtkAssistant--c-complete" title='The "complete" child property'>complete</a>"                 <span class="type">gboolean</span>              : Read / Write
 
131
  "<a class="link" href="GtkAssistant.html#GtkAssistant--c-header-image" title='The "header-image" child property'>header-image</a>"             <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write
 
132
  "<a class="link" href="GtkAssistant.html#GtkAssistant--c-page-type" title='The "page-type" child property'>page-type</a>"                <a class="link" href="GtkAssistant.html#GtkAssistantPageType" title="enum GtkAssistantPageType"><span class="type">GtkAssistantPageType</span></a>  : Read / Write
 
133
  "<a class="link" href="GtkAssistant.html#GtkAssistant--c-sidebar-image" title='The "sidebar-image" child property'>sidebar-image</a>"            <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write
 
134
  "<a class="link" href="GtkAssistant.html#GtkAssistant--c-title" title='The "title" child property'>title</a>"                    <span class="type">gchar</span>*                : Read / Write
 
135
</pre>
 
136
</div>
 
137
<div class="refsect1">
 
138
<a name="GtkAssistant.style-properties"></a><h2>Style Properties</h2>
 
139
<pre class="synopsis">
 
140
  "<a class="link" href="GtkAssistant.html#GtkAssistant--s-content-padding" title='The "content-padding" style property'>content-padding</a>"          <span class="type">gint</span>                  : Read
 
141
  "<a class="link" href="GtkAssistant.html#GtkAssistant--s-header-padding" title='The "header-padding" style property'>header-padding</a>"           <span class="type">gint</span>                  : Read
 
142
</pre>
 
143
</div>
 
144
<div class="refsect1">
 
145
<a name="GtkAssistant.signals"></a><h2>Signals</h2>
 
146
<pre class="synopsis">
 
147
  "<a class="link" href="GtkAssistant.html#GtkAssistant-apply" title='The "apply" signal'>apply</a>"                                          : <code class="literal">Run Last</code>
 
148
  "<a class="link" href="GtkAssistant.html#GtkAssistant-cancel" title='The "cancel" signal'>cancel</a>"                                         : <code class="literal">Run Last</code>
 
149
  "<a class="link" href="GtkAssistant.html#GtkAssistant-close" title='The "close" signal'>close</a>"                                          : <code class="literal">Run Last</code>
 
150
  "<a class="link" href="GtkAssistant.html#GtkAssistant-prepare" title='The "prepare" signal'>prepare</a>"                                        : <code class="literal">Run Last</code>
 
151
</pre>
 
152
</div>
 
153
<div class="refsect1">
 
154
<a name="GtkAssistant.description"></a><h2>Description</h2>
 
155
<p>
 
156
A <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> is a widget used to represent a generally complex
 
157
operation splitted in several steps, guiding the user through its pages
 
158
and controlling the page flow to collect the necessary data.
 
159
</p>
 
160
<p>
 
161
</p>
 
162
<div class="refsect2">
 
163
<a name="GtkAssistant-BUILDER-UI"></a><h3>GtkAssistant as GtkBuildable</h3>
 
164
<p>
 
165
The GtkAssistant implementation of the GtkBuildable interface exposes the
 
166
<em class="parameter"><code>action_area</code></em> as internal children with the name "action_area".
 
167
</p>
 
168
<p>
 
169
To add pages to an assistant in GtkBuilder, simply add it as a
 
170
&lt;child&gt; to the GtkAssistant object, and set its child properties
 
171
as necessary.
 
172
</p>
 
173
</div>
 
174
<p>
 
175
</p>
 
176
</div>
 
177
<div class="refsect1">
 
178
<a name="GtkAssistant.details"></a><h2>Details</h2>
 
179
<div class="refsect2">
 
180
<a name="GtkAssistant-struct"></a><h3>struct GtkAssistant</h3>
 
181
<pre class="programlisting">struct GtkAssistant;</pre>
 
182
<p>
 
183
</p>
 
184
</div>
 
185
<hr>
 
186
<div class="refsect2">
 
187
<a name="gtk-assistant-new"></a><h3>gtk_assistant_new ()</h3>
 
188
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_assistant_new                   (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
189
<p>
 
190
Creates a new <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>.
 
191
</p>
 
192
<div class="variablelist"><table border="0" class="variablelist">
 
193
<colgroup>
 
194
<col align="left" valign="top">
 
195
<col>
 
196
</colgroup>
 
197
<tbody><tr>
 
198
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
199
<td>a newly created <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
200
</td>
 
201
</tr></tbody>
 
202
</table></div>
 
203
<p class="since">Since 2.10</p>
 
204
</div>
 
205
<hr>
 
206
<div class="refsect2">
 
207
<a name="gtk-assistant-get-current-page"></a><h3>gtk_assistant_get_current_page ()</h3>
 
208
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_assistant_get_current_page      (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);</pre>
 
209
<p>
 
210
Returns the page number of the current page
 
211
</p>
 
212
<div class="variablelist"><table border="0" class="variablelist">
 
213
<colgroup>
 
214
<col align="left" valign="top">
 
215
<col>
 
216
</colgroup>
 
217
<tbody>
 
218
<tr>
 
219
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
220
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
221
</td>
 
222
</tr>
 
223
<tr>
 
224
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
225
<td>The index (starting from 0) of the current page in
 
226
the <em class="parameter"><code>assistant</code></em>, if the <em class="parameter"><code>assistant</code></em> has no pages, -1 will be returned</td>
 
227
</tr>
 
228
</tbody>
 
229
</table></div>
 
230
<p class="since">Since 2.10</p>
 
231
</div>
 
232
<hr>
 
233
<div class="refsect2">
 
234
<a name="gtk-assistant-set-current-page"></a><h3>gtk_assistant_set_current_page ()</h3>
 
235
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_set_current_page      (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
236
                                                         <em class="parameter"><code><span class="type">gint</span> page_num</code></em>);</pre>
 
237
<p>
 
238
Switches the page to <em class="parameter"><code>page_num</code></em>. Note that this will only be necessary
 
239
in custom buttons, as the <em class="parameter"><code>assistant</code></em> flow can be set with
 
240
<a class="link" href="GtkAssistant.html#gtk-assistant-set-forward-page-func" title="gtk_assistant_set_forward_page_func ()"><code class="function">gtk_assistant_set_forward_page_func()</code></a>.
 
241
</p>
 
242
<div class="variablelist"><table border="0" class="variablelist">
 
243
<colgroup>
 
244
<col align="left" valign="top">
 
245
<col>
 
246
</colgroup>
 
247
<tbody>
 
248
<tr>
 
249
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
250
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
251
</td>
 
252
</tr>
 
253
<tr>
 
254
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
 
255
<td>index of the page to switch to, starting from 0.
 
256
If negative, the last page will be used. If greater
 
257
than the number of pages in the <em class="parameter"><code>assistant</code></em>, nothing
 
258
will be done.</td>
 
259
</tr>
 
260
</tbody>
 
261
</table></div>
 
262
<p class="since">Since 2.10</p>
 
263
</div>
 
264
<hr>
 
265
<div class="refsect2">
 
266
<a name="gtk-assistant-get-n-pages"></a><h3>gtk_assistant_get_n_pages ()</h3>
 
267
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_assistant_get_n_pages           (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);</pre>
 
268
<p>
 
269
Returns the number of pages in the <em class="parameter"><code>assistant</code></em>
 
270
</p>
 
271
<div class="variablelist"><table border="0" class="variablelist">
 
272
<colgroup>
 
273
<col align="left" valign="top">
 
274
<col>
 
275
</colgroup>
 
276
<tbody>
 
277
<tr>
 
278
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
279
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
280
</td>
 
281
</tr>
 
282
<tr>
 
283
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
284
<td>The number of pages in the <em class="parameter"><code>assistant</code></em>.</td>
 
285
</tr>
 
286
</tbody>
 
287
</table></div>
 
288
<p class="since">Since 2.10</p>
 
289
</div>
 
290
<hr>
 
291
<div class="refsect2">
 
292
<a name="gtk-assistant-get-nth-page"></a><h3>gtk_assistant_get_nth_page ()</h3>
 
293
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_assistant_get_nth_page          (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
294
                                                         <em class="parameter"><code><span class="type">gint</span> page_num</code></em>);</pre>
 
295
<p>
 
296
Returns the child widget contained in page number <em class="parameter"><code>page_num</code></em>.
 
297
</p>
 
298
<div class="variablelist"><table border="0" class="variablelist">
 
299
<colgroup>
 
300
<col align="left" valign="top">
 
301
<col>
 
302
</colgroup>
 
303
<tbody>
 
304
<tr>
 
305
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
306
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
307
</td>
 
308
</tr>
 
309
<tr>
 
310
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
 
311
<td>The index of a page in the <em class="parameter"><code>assistant</code></em>, or -1 to get the last page;</td>
 
312
</tr>
 
313
<tr>
 
314
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
315
<td>The child widget, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
316
if <em class="parameter"><code>page_num</code></em> is out of bounds. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
317
</td>
 
318
</tr>
 
319
</tbody>
 
320
</table></div>
 
321
<p class="since">Since 2.10</p>
 
322
</div>
 
323
<hr>
 
324
<div class="refsect2">
 
325
<a name="gtk-assistant-prepend-page"></a><h3>gtk_assistant_prepend_page ()</h3>
 
326
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_assistant_prepend_page          (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
327
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);</pre>
 
328
<p>
 
329
Prepends a page to the <em class="parameter"><code>assistant</code></em>.
 
330
</p>
 
331
<div class="variablelist"><table border="0" class="variablelist">
 
332
<colgroup>
 
333
<col align="left" valign="top">
 
334
<col>
 
335
</colgroup>
 
336
<tbody>
 
337
<tr>
 
338
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
339
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
340
</td>
 
341
</tr>
 
342
<tr>
 
343
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
344
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
 
345
</td>
 
346
</tr>
 
347
<tr>
 
348
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
349
<td>the index (starting at 0) of the inserted page</td>
 
350
</tr>
 
351
</tbody>
 
352
</table></div>
 
353
<p class="since">Since 2.10</p>
 
354
</div>
 
355
<hr>
 
356
<div class="refsect2">
 
357
<a name="gtk-assistant-append-page"></a><h3>gtk_assistant_append_page ()</h3>
 
358
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_assistant_append_page           (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
359
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);</pre>
 
360
<p>
 
361
Appends a page to the <em class="parameter"><code>assistant</code></em>.
 
362
</p>
 
363
<div class="variablelist"><table border="0" class="variablelist">
 
364
<colgroup>
 
365
<col align="left" valign="top">
 
366
<col>
 
367
</colgroup>
 
368
<tbody>
 
369
<tr>
 
370
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
371
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
372
</td>
 
373
</tr>
 
374
<tr>
 
375
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
376
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
 
377
</td>
 
378
</tr>
 
379
<tr>
 
380
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
381
<td>the index (starting at 0) of the inserted page</td>
 
382
</tr>
 
383
</tbody>
 
384
</table></div>
 
385
<p class="since">Since 2.10</p>
 
386
</div>
 
387
<hr>
 
388
<div class="refsect2">
 
389
<a name="gtk-assistant-insert-page"></a><h3>gtk_assistant_insert_page ()</h3>
 
390
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_assistant_insert_page           (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
391
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
392
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
 
393
<p>
 
394
Inserts a page in the <em class="parameter"><code>assistant</code></em> at a given position.
 
395
</p>
 
396
<div class="variablelist"><table border="0" class="variablelist">
 
397
<colgroup>
 
398
<col align="left" valign="top">
 
399
<col>
 
400
</colgroup>
 
401
<tbody>
 
402
<tr>
 
403
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
404
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
405
</td>
 
406
</tr>
 
407
<tr>
 
408
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
409
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
 
410
</td>
 
411
</tr>
 
412
<tr>
 
413
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
 
414
<td>the index (starting at 0) at which to insert the page,
 
415
or -1 to append the page to the <em class="parameter"><code>assistant</code></em>
 
416
</td>
 
417
</tr>
 
418
<tr>
 
419
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
420
<td>the index (starting from 0) of the inserted page</td>
 
421
</tr>
 
422
</tbody>
 
423
</table></div>
 
424
<p class="since">Since 2.10</p>
 
425
</div>
 
426
<hr>
 
427
<div class="refsect2">
 
428
<a name="GtkAssistantPageFunc"></a><h3>GtkAssistantPageFunc ()</h3>
 
429
<pre class="programlisting"><span class="returnvalue">gint</span>                (*GtkAssistantPageFunc)             (<em class="parameter"><code><span class="type">gint</span> current_page</code></em>,
 
430
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
 
431
<p>
 
432
A function used by <a class="link" href="GtkAssistant.html#gtk-assistant-set-forward-page-func" title="gtk_assistant_set_forward_page_func ()"><code class="function">gtk_assistant_set_forward_page_func()</code></a> to know which
 
433
is the next page given a current one. It's called both for computing the
 
434
next page when the user presses the "forward" button and for handling
 
435
the behavior of the "last" button.
 
436
</p>
 
437
<div class="variablelist"><table border="0" class="variablelist">
 
438
<colgroup>
 
439
<col align="left" valign="top">
 
440
<col>
 
441
</colgroup>
 
442
<tbody>
 
443
<tr>
 
444
<td><p><span class="term"><em class="parameter"><code>current_page</code></em> :</span></p></td>
 
445
<td>The page number used to calculate the next page.</td>
 
446
</tr>
 
447
<tr>
 
448
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
 
449
<td>user data.</td>
 
450
</tr>
 
451
<tr>
 
452
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
453
<td>The next page number.</td>
 
454
</tr>
 
455
</tbody>
 
456
</table></div>
 
457
</div>
 
458
<hr>
 
459
<div class="refsect2">
 
460
<a name="gtk-assistant-set-forward-page-func"></a><h3>gtk_assistant_set_forward_page_func ()</h3>
 
461
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_set_forward_page_func (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
462
                                                         <em class="parameter"><code><a class="link" href="GtkAssistant.html#GtkAssistantPageFunc" title="GtkAssistantPageFunc ()"><span class="type">GtkAssistantPageFunc</span></a> page_func</code></em>,
 
463
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
464
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
 
465
<p>
 
466
Sets the page forwarding function to be <em class="parameter"><code>page_func</code></em>, this function will
 
467
be used to determine what will be the next page when the user presses
 
468
the forward button. Setting <em class="parameter"><code>page_func</code></em> to <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> will make the assistant
 
469
to use the default forward function, which just goes to the next visible 
 
470
page.
 
471
</p>
 
472
<div class="variablelist"><table border="0" class="variablelist">
 
473
<colgroup>
 
474
<col align="left" valign="top">
 
475
<col>
 
476
</colgroup>
 
477
<tbody>
 
478
<tr>
 
479
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
480
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
481
</td>
 
482
</tr>
 
483
<tr>
 
484
<td><p><span class="term"><em class="parameter"><code>page_func</code></em> :</span></p></td>
 
485
<td>the <a class="link" href="GtkAssistant.html#GtkAssistantPageFunc" title="GtkAssistantPageFunc ()"><span class="type">GtkAssistantPageFunc</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default one. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
486
</td>
 
487
</tr>
 
488
<tr>
 
489
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
 
490
<td>user data for <em class="parameter"><code>page_func</code></em>
 
491
</td>
 
492
</tr>
 
493
<tr>
 
494
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
495
<td>destroy notifier for <em class="parameter"><code>data</code></em>
 
496
</td>
 
497
</tr>
 
498
</tbody>
 
499
</table></div>
 
500
<p class="since">Since 2.10</p>
 
501
</div>
 
502
<hr>
 
503
<div class="refsect2">
 
504
<a name="GtkAssistantPageType"></a><h3>enum GtkAssistantPageType</h3>
 
505
<pre class="programlisting">typedef enum {
 
506
  GTK_ASSISTANT_PAGE_CONTENT,
 
507
  GTK_ASSISTANT_PAGE_INTRO,
 
508
  GTK_ASSISTANT_PAGE_CONFIRM,
 
509
  GTK_ASSISTANT_PAGE_SUMMARY,
 
510
  GTK_ASSISTANT_PAGE_PROGRESS
 
511
} GtkAssistantPageType;
 
512
</pre>
 
513
<p>
 
514
An enum for determining the page role inside the <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>. It's
 
515
used to handle buttons sensitivity and visibility.
 
516
</p>
 
517
<p>
 
518
Note that an assistant needs to end its page flow with a page of type
 
519
<a class="link" href="GtkAssistant.html#GTK-ASSISTANT-PAGE-CONFIRM:CAPS"><code class="literal">GTK_ASSISTANT_PAGE_CONFIRM</code></a>, <a class="link" href="GtkAssistant.html#GTK-ASSISTANT-PAGE-SUMMARY:CAPS"><code class="literal">GTK_ASSISTANT_PAGE_SUMMARY</code></a> or
 
520
<a class="link" href="GtkAssistant.html#GTK-ASSISTANT-PAGE-PROGRESS:CAPS"><code class="literal">GTK_ASSISTANT_PAGE_PROGRESS</code></a> to be correct.
 
521
</p>
 
522
<div class="variablelist"><table border="0" class="variablelist">
 
523
<colgroup>
 
524
<col align="left" valign="top">
 
525
<col>
 
526
</colgroup>
 
527
<tbody>
 
528
<tr>
 
529
<td><p><a name="GTK-ASSISTANT-PAGE-CONTENT:CAPS"></a><span class="term"><code class="literal">GTK_ASSISTANT_PAGE_CONTENT</code></span></p></td>
 
530
<td>The page has regular contents.
 
531
</td>
 
532
</tr>
 
533
<tr>
 
534
<td><p><a name="GTK-ASSISTANT-PAGE-INTRO:CAPS"></a><span class="term"><code class="literal">GTK_ASSISTANT_PAGE_INTRO</code></span></p></td>
 
535
<td>The page contains an introduction to the
 
536
 assistant task.
 
537
</td>
 
538
</tr>
 
539
<tr>
 
540
<td><p><a name="GTK-ASSISTANT-PAGE-CONFIRM:CAPS"></a><span class="term"><code class="literal">GTK_ASSISTANT_PAGE_CONFIRM</code></span></p></td>
 
541
<td>The page lets the user confirm or deny the
 
542
 changes.
 
543
</td>
 
544
</tr>
 
545
<tr>
 
546
<td><p><a name="GTK-ASSISTANT-PAGE-SUMMARY:CAPS"></a><span class="term"><code class="literal">GTK_ASSISTANT_PAGE_SUMMARY</code></span></p></td>
 
547
<td>The page informs the user of the changes
 
548
 done.
 
549
</td>
 
550
</tr>
 
551
<tr>
 
552
<td><p><a name="GTK-ASSISTANT-PAGE-PROGRESS:CAPS"></a><span class="term"><code class="literal">GTK_ASSISTANT_PAGE_PROGRESS</code></span></p></td>
 
553
<td>Used for tasks that take a long time to
 
554
 complete, blocks the assistant until the page is marked as complete.
 
555
</td>
 
556
</tr>
 
557
</tbody>
 
558
</table></div>
 
559
</div>
 
560
<hr>
 
561
<div class="refsect2">
 
562
<a name="gtk-assistant-set-page-type"></a><h3>gtk_assistant_set_page_type ()</h3>
 
563
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_set_page_type         (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
564
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
565
                                                         <em class="parameter"><code><a class="link" href="GtkAssistant.html#GtkAssistantPageType" title="enum GtkAssistantPageType"><span class="type">GtkAssistantPageType</span></a> type</code></em>);</pre>
 
566
<p>
 
567
Sets the page type for <em class="parameter"><code>page</code></em>. The page type determines the page
 
568
behavior in the <em class="parameter"><code>assistant</code></em>.
 
569
</p>
 
570
<div class="variablelist"><table border="0" class="variablelist">
 
571
<colgroup>
 
572
<col align="left" valign="top">
 
573
<col>
 
574
</colgroup>
 
575
<tbody>
 
576
<tr>
 
577
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
578
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
579
</td>
 
580
</tr>
 
581
<tr>
 
582
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
583
<td>a page of <em class="parameter"><code>assistant</code></em>
 
584
</td>
 
585
</tr>
 
586
<tr>
 
587
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
 
588
<td>the new type for <em class="parameter"><code>page</code></em>
 
589
</td>
 
590
</tr>
 
591
</tbody>
 
592
</table></div>
 
593
<p class="since">Since 2.10</p>
 
594
</div>
 
595
<hr>
 
596
<div class="refsect2">
 
597
<a name="gtk-assistant-get-page-type"></a><h3>gtk_assistant_get_page_type ()</h3>
 
598
<pre class="programlisting"><a class="link" href="GtkAssistant.html#GtkAssistantPageType" title="enum GtkAssistantPageType"><span class="returnvalue">GtkAssistantPageType</span></a> gtk_assistant_get_page_type        (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
599
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);</pre>
 
600
<p>
 
601
Gets the page type of <em class="parameter"><code>page</code></em>.
 
602
</p>
 
603
<div class="variablelist"><table border="0" class="variablelist">
 
604
<colgroup>
 
605
<col align="left" valign="top">
 
606
<col>
 
607
</colgroup>
 
608
<tbody>
 
609
<tr>
 
610
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
611
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
612
</td>
 
613
</tr>
 
614
<tr>
 
615
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
616
<td>a page of <em class="parameter"><code>assistant</code></em>
 
617
</td>
 
618
</tr>
 
619
<tr>
 
620
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
621
<td>the page type of <em class="parameter"><code>page</code></em>.</td>
 
622
</tr>
 
623
</tbody>
 
624
</table></div>
 
625
<p class="since">Since 2.10</p>
 
626
</div>
 
627
<hr>
 
628
<div class="refsect2">
 
629
<a name="gtk-assistant-set-page-title"></a><h3>gtk_assistant_set_page_title ()</h3>
 
630
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_set_page_title        (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
631
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
632
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
 
633
<p>
 
634
Sets a title for <em class="parameter"><code>page</code></em>. The title is displayed in the header
 
635
area of the assistant when <em class="parameter"><code>page</code></em> is the current page.
 
636
</p>
 
637
<div class="variablelist"><table border="0" class="variablelist">
 
638
<colgroup>
 
639
<col align="left" valign="top">
 
640
<col>
 
641
</colgroup>
 
642
<tbody>
 
643
<tr>
 
644
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
645
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
646
</td>
 
647
</tr>
 
648
<tr>
 
649
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
650
<td>a page of <em class="parameter"><code>assistant</code></em>
 
651
</td>
 
652
</tr>
 
653
<tr>
 
654
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
 
655
<td>the new title for <em class="parameter"><code>page</code></em>
 
656
</td>
 
657
</tr>
 
658
</tbody>
 
659
</table></div>
 
660
<p class="since">Since 2.10</p>
 
661
</div>
 
662
<hr>
 
663
<div class="refsect2">
 
664
<a name="gtk-assistant-get-page-title"></a><h3>gtk_assistant_get_page_title ()</h3>
 
665
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gtk_assistant_get_page_title        (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
666
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);</pre>
 
667
<p>
 
668
Gets the title for <em class="parameter"><code>page</code></em>.
 
669
</p>
 
670
<div class="variablelist"><table border="0" class="variablelist">
 
671
<colgroup>
 
672
<col align="left" valign="top">
 
673
<col>
 
674
</colgroup>
 
675
<tbody>
 
676
<tr>
 
677
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
678
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
679
</td>
 
680
</tr>
 
681
<tr>
 
682
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
683
<td>a page of <em class="parameter"><code>assistant</code></em>
 
684
</td>
 
685
</tr>
 
686
<tr>
 
687
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
688
<td>the title for <em class="parameter"><code>page</code></em>.</td>
 
689
</tr>
 
690
</tbody>
 
691
</table></div>
 
692
<p class="since">Since 2.10</p>
 
693
</div>
 
694
<hr>
 
695
<div class="refsect2">
 
696
<a name="gtk-assistant-set-page-header-image"></a><h3>gtk_assistant_set_page_header_image ()</h3>
 
697
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_set_page_header_image (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
698
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
699
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
 
700
<p>
 
701
Sets a header image for <em class="parameter"><code>page</code></em>. This image is displayed in the header
 
702
area of the assistant when <em class="parameter"><code>page</code></em> is the current page.
 
703
</p>
 
704
<div class="variablelist"><table border="0" class="variablelist">
 
705
<colgroup>
 
706
<col align="left" valign="top">
 
707
<col>
 
708
</colgroup>
 
709
<tbody>
 
710
<tr>
 
711
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
712
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
713
</td>
 
714
</tr>
 
715
<tr>
 
716
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
717
<td>a page of <em class="parameter"><code>assistant</code></em>
 
718
</td>
 
719
</tr>
 
720
<tr>
 
721
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
 
722
<td>the new header image <em class="parameter"><code>page</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
723
</td>
 
724
</tr>
 
725
</tbody>
 
726
</table></div>
 
727
<p class="since">Since 2.10</p>
 
728
</div>
 
729
<hr>
 
730
<div class="refsect2">
 
731
<a name="gtk-assistant-get-page-header-image"></a><h3>gtk_assistant_get_page_header_image ()</h3>
 
732
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gtk_assistant_get_page_header_image (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
733
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);</pre>
 
734
<p>
 
735
Gets the header image for <em class="parameter"><code>page</code></em>.
 
736
</p>
 
737
<div class="variablelist"><table border="0" class="variablelist">
 
738
<colgroup>
 
739
<col align="left" valign="top">
 
740
<col>
 
741
</colgroup>
 
742
<tbody>
 
743
<tr>
 
744
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
745
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
746
</td>
 
747
</tr>
 
748
<tr>
 
749
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
750
<td>a page of <em class="parameter"><code>assistant</code></em>
 
751
</td>
 
752
</tr>
 
753
<tr>
 
754
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
755
<td>the header image for <em class="parameter"><code>page</code></em>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
756
if there's no header image for the page. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
757
</td>
 
758
</tr>
 
759
</tbody>
 
760
</table></div>
 
761
<p class="since">Since 2.10</p>
 
762
</div>
 
763
<hr>
 
764
<div class="refsect2">
 
765
<a name="gtk-assistant-set-page-side-image"></a><h3>gtk_assistant_set_page_side_image ()</h3>
 
766
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_set_page_side_image   (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
767
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
768
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
 
769
<p>
 
770
Sets a header image for <em class="parameter"><code>page</code></em>. This image is displayed in the side
 
771
area of the assistant when <em class="parameter"><code>page</code></em> is the current page.
 
772
</p>
 
773
<div class="variablelist"><table border="0" class="variablelist">
 
774
<colgroup>
 
775
<col align="left" valign="top">
 
776
<col>
 
777
</colgroup>
 
778
<tbody>
 
779
<tr>
 
780
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
781
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
782
</td>
 
783
</tr>
 
784
<tr>
 
785
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
786
<td>a page of <em class="parameter"><code>assistant</code></em>
 
787
</td>
 
788
</tr>
 
789
<tr>
 
790
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
 
791
<td>the new header image <em class="parameter"><code>page</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
792
</td>
 
793
</tr>
 
794
</tbody>
 
795
</table></div>
 
796
<p class="since">Since 2.10</p>
 
797
</div>
 
798
<hr>
 
799
<div class="refsect2">
 
800
<a name="gtk-assistant-get-page-side-image"></a><h3>gtk_assistant_get_page_side_image ()</h3>
 
801
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gtk_assistant_get_page_side_image   (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
802
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);</pre>
 
803
<p>
 
804
Gets the header image for <em class="parameter"><code>page</code></em>.
 
805
</p>
 
806
<div class="variablelist"><table border="0" class="variablelist">
 
807
<colgroup>
 
808
<col align="left" valign="top">
 
809
<col>
 
810
</colgroup>
 
811
<tbody>
 
812
<tr>
 
813
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
814
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
815
</td>
 
816
</tr>
 
817
<tr>
 
818
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
819
<td>a page of <em class="parameter"><code>assistant</code></em>
 
820
</td>
 
821
</tr>
 
822
<tr>
 
823
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
824
<td>the side image for <em class="parameter"><code>page</code></em>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
825
if there's no side image for the page. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
826
</td>
 
827
</tr>
 
828
</tbody>
 
829
</table></div>
 
830
<p class="since">Since 2.10</p>
 
831
</div>
 
832
<hr>
 
833
<div class="refsect2">
 
834
<a name="gtk-assistant-set-page-complete"></a><h3>gtk_assistant_set_page_complete ()</h3>
 
835
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_set_page_complete     (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
836
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>,
 
837
                                                         <em class="parameter"><code><span class="type">gboolean</span> complete</code></em>);</pre>
 
838
<p>
 
839
Sets whether <em class="parameter"><code>page</code></em> contents are complete. This will make
 
840
<em class="parameter"><code>assistant</code></em> update the buttons state to be able to continue the task.
 
841
</p>
 
842
<div class="variablelist"><table border="0" class="variablelist">
 
843
<colgroup>
 
844
<col align="left" valign="top">
 
845
<col>
 
846
</colgroup>
 
847
<tbody>
 
848
<tr>
 
849
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
850
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
851
</td>
 
852
</tr>
 
853
<tr>
 
854
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
855
<td>a page of <em class="parameter"><code>assistant</code></em>
 
856
</td>
 
857
</tr>
 
858
<tr>
 
859
<td><p><span class="term"><em class="parameter"><code>complete</code></em> :</span></p></td>
 
860
<td>the completeness status of the page</td>
 
861
</tr>
 
862
</tbody>
 
863
</table></div>
 
864
<p class="since">Since 2.10</p>
 
865
</div>
 
866
<hr>
 
867
<div class="refsect2">
 
868
<a name="gtk-assistant-get-page-complete"></a><h3>gtk_assistant_get_page_complete ()</h3>
 
869
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_assistant_get_page_complete     (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
870
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *page</code></em>);</pre>
 
871
<p>
 
872
Gets whether <em class="parameter"><code>page</code></em> is complete.
 
873
</p>
 
874
<div class="variablelist"><table border="0" class="variablelist">
 
875
<colgroup>
 
876
<col align="left" valign="top">
 
877
<col>
 
878
</colgroup>
 
879
<tbody>
 
880
<tr>
 
881
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
882
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
883
</td>
 
884
</tr>
 
885
<tr>
 
886
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
887
<td>a page of <em class="parameter"><code>assistant</code></em>
 
888
</td>
 
889
</tr>
 
890
<tr>
 
891
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
892
<td>
 
893
<code class="literal">TRUE</code> if <em class="parameter"><code>page</code></em> is complete.</td>
 
894
</tr>
 
895
</tbody>
 
896
</table></div>
 
897
<p class="since">Since 2.10</p>
 
898
</div>
 
899
<hr>
 
900
<div class="refsect2">
 
901
<a name="gtk-assistant-add-action-widget"></a><h3>gtk_assistant_add_action_widget ()</h3>
 
902
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_add_action_widget     (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
903
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);</pre>
 
904
<p>
 
905
Adds a widget to the action area of a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>.
 
906
</p>
 
907
<div class="variablelist"><table border="0" class="variablelist">
 
908
<colgroup>
 
909
<col align="left" valign="top">
 
910
<col>
 
911
</colgroup>
 
912
<tbody>
 
913
<tr>
 
914
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
915
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
916
</td>
 
917
</tr>
 
918
<tr>
 
919
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
 
920
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
 
921
</td>
 
922
</tr>
 
923
</tbody>
 
924
</table></div>
 
925
<p class="since">Since 2.10</p>
 
926
</div>
 
927
<hr>
 
928
<div class="refsect2">
 
929
<a name="gtk-assistant-remove-action-widget"></a><h3>gtk_assistant_remove_action_widget ()</h3>
 
930
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_remove_action_widget  (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>,
 
931
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);</pre>
 
932
<p>
 
933
Removes a widget from the action area of a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>.
 
934
</p>
 
935
<div class="variablelist"><table border="0" class="variablelist">
 
936
<colgroup>
 
937
<col align="left" valign="top">
 
938
<col>
 
939
</colgroup>
 
940
<tbody>
 
941
<tr>
 
942
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
943
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
944
</td>
 
945
</tr>
 
946
<tr>
 
947
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
 
948
<td>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
 
949
</td>
 
950
</tr>
 
951
</tbody>
 
952
</table></div>
 
953
<p class="since">Since 2.10</p>
 
954
</div>
 
955
<hr>
 
956
<div class="refsect2">
 
957
<a name="gtk-assistant-update-buttons-state"></a><h3>gtk_assistant_update_buttons_state ()</h3>
 
958
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_update_buttons_state  (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);</pre>
 
959
<p>
 
960
Forces <em class="parameter"><code>assistant</code></em> to recompute the buttons state.
 
961
</p>
 
962
<p>
 
963
GTK+ automatically takes care of this in most situations, 
 
964
e.g. when the user goes to a different page, or when the
 
965
visibility or completeness of a page changes.
 
966
</p>
 
967
<p>
 
968
One situation where it can be necessary to call this
 
969
function is when changing a value on the current page
 
970
affects the future page flow of the assistant.
 
971
</p>
 
972
<div class="variablelist"><table border="0" class="variablelist">
 
973
<colgroup>
 
974
<col align="left" valign="top">
 
975
<col>
 
976
</colgroup>
 
977
<tbody><tr>
 
978
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
979
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
980
</td>
 
981
</tr></tbody>
 
982
</table></div>
 
983
<p class="since">Since 2.10</p>
 
984
</div>
 
985
<hr>
 
986
<div class="refsect2">
 
987
<a name="gtk-assistant-commit"></a><h3>gtk_assistant_commit ()</h3>
 
988
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_assistant_commit                (<em class="parameter"><code><a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant</code></em>);</pre>
 
989
<p>
 
990
Erases the visited page history so the back button is not
 
991
shown on the current page, and removes the cancel button
 
992
from subsequent pages.
 
993
</p>
 
994
<p>
 
995
Use this when the information provided up to the current
 
996
page is hereafter deemed permanent and cannot be modified
 
997
or undone.  For example, showing a progress page to track
 
998
a long-running, unreversible operation after the user has
 
999
clicked apply on a confirmation page.
 
1000
</p>
 
1001
<div class="variablelist"><table border="0" class="variablelist">
 
1002
<colgroup>
 
1003
<col align="left" valign="top">
 
1004
<col>
 
1005
</colgroup>
 
1006
<tbody><tr>
 
1007
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
1008
<td>a <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
1009
</td>
 
1010
</tr></tbody>
 
1011
</table></div>
 
1012
<p class="since">Since 2.22</p>
 
1013
</div>
 
1014
</div>
 
1015
<div class="refsect1">
 
1016
<a name="GtkAssistant.child-property-details"></a><h2>Child Property Details</h2>
 
1017
<div class="refsect2">
 
1018
<a name="GtkAssistant--c-complete"></a><h3>The <code class="literal">"complete"</code> child property</h3>
 
1019
<pre class="programlisting">  "complete"                 <span class="type">gboolean</span>              : Read / Write</pre>
 
1020
<p>
 
1021
Setting the "complete" child property to <code class="literal">TRUE</code> marks a page as complete
 
1022
(i.e.: all the required fields are filled out). GTK+ uses this information
 
1023
to control the sensitivity of the navigation buttons.
 
1024
</p>
 
1025
<p>Default value: FALSE</p>
 
1026
<p class="since">Since 2.10</p>
 
1027
</div>
 
1028
<hr>
 
1029
<div class="refsect2">
 
1030
<a name="GtkAssistant--c-header-image"></a><h3>The <code class="literal">"header-image"</code> child property</h3>
 
1031
<pre class="programlisting">  "header-image"             <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write</pre>
 
1032
<p>
 
1033
The image that is displayed next to the page.
 
1034
</p>
 
1035
<p>
 
1036
Set this to <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to make the sidebar disappear.
 
1037
</p>
 
1038
<p class="since">Since 2.10</p>
 
1039
</div>
 
1040
<hr>
 
1041
<div class="refsect2">
 
1042
<a name="GtkAssistant--c-page-type"></a><h3>The <code class="literal">"page-type"</code> child property</h3>
 
1043
<pre class="programlisting">  "page-type"                <a class="link" href="GtkAssistant.html#GtkAssistantPageType" title="enum GtkAssistantPageType"><span class="type">GtkAssistantPageType</span></a>  : Read / Write</pre>
 
1044
<p>
 
1045
The type of the assistant page.
 
1046
</p>
 
1047
<p>Default value: GTK_ASSISTANT_PAGE_CONTENT</p>
 
1048
<p class="since">Since 2.10</p>
 
1049
</div>
 
1050
<hr>
 
1051
<div class="refsect2">
 
1052
<a name="GtkAssistant--c-sidebar-image"></a><h3>The <code class="literal">"sidebar-image"</code> child property</h3>
 
1053
<pre class="programlisting">  "sidebar-image"            <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write</pre>
 
1054
<p>Sidebar image for the assistant page.</p>
 
1055
</div>
 
1056
<hr>
 
1057
<div class="refsect2">
 
1058
<a name="GtkAssistant--c-title"></a><h3>The <code class="literal">"title"</code> child property</h3>
 
1059
<pre class="programlisting">  "title"                    <span class="type">gchar</span>*                : Read / Write</pre>
 
1060
<p>
 
1061
The title that is displayed in the page header.
 
1062
</p>
 
1063
<p>
 
1064
If title and header-image are both <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, no header is displayed.
 
1065
</p>
 
1066
<p>Default value: NULL</p>
 
1067
<p class="since">Since 2.10</p>
 
1068
</div>
 
1069
</div>
 
1070
<div class="refsect1">
 
1071
<a name="GtkAssistant.style-property-details"></a><h2>Style Property Details</h2>
 
1072
<div class="refsect2">
 
1073
<a name="GtkAssistant--s-content-padding"></a><h3>The <code class="literal">"content-padding"</code> style property</h3>
 
1074
<pre class="programlisting">  "content-padding"          <span class="type">gint</span>                  : Read</pre>
 
1075
<p>Number of pixels around the content pages.</p>
 
1076
<p>Allowed values: &gt;= 0</p>
 
1077
<p>Default value: 1</p>
 
1078
</div>
 
1079
<hr>
 
1080
<div class="refsect2">
 
1081
<a name="GtkAssistant--s-header-padding"></a><h3>The <code class="literal">"header-padding"</code> style property</h3>
 
1082
<pre class="programlisting">  "header-padding"           <span class="type">gint</span>                  : Read</pre>
 
1083
<p>Number of pixels around the header.</p>
 
1084
<p>Allowed values: &gt;= 0</p>
 
1085
<p>Default value: 6</p>
 
1086
</div>
 
1087
</div>
 
1088
<div class="refsect1">
 
1089
<a name="GtkAssistant.signal-details"></a><h2>Signal Details</h2>
 
1090
<div class="refsect2">
 
1091
<a name="GtkAssistant-apply"></a><h3>The <code class="literal">"apply"</code> signal</h3>
 
1092
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant,
 
1093
                                                        <span class="type">gpointer</span>      user_data)      : <code class="literal">Run Last</code></pre>
 
1094
<p>
 
1095
The ::apply signal is emitted when the apply button is clicked. The default
 
1096
behavior of the <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> is to switch to the page after the current
 
1097
page, unless the current page is the last one.
 
1098
</p>
 
1099
<p>
 
1100
A handler for the ::apply signal should carry out the actions for which
 
1101
the wizard has collected data. If the action takes a long time to complete,
 
1102
you might consider putting a page of type <a class="link" href="GtkAssistant.html#GTK-ASSISTANT-PAGE-PROGRESS:CAPS"><code class="literal">GTK_ASSISTANT_PAGE_PROGRESS</code></a>
 
1103
after the confirmation page and handle this operation within the
 
1104
<a class="link" href="GtkAssistant.html#GtkAssistant-prepare" title='The "prepare" signal'><span class="type">"prepare"</span></a> signal of the progress page.
 
1105
</p>
 
1106
<div class="variablelist"><table border="0" class="variablelist">
 
1107
<colgroup>
 
1108
<col align="left" valign="top">
 
1109
<col>
 
1110
</colgroup>
 
1111
<tbody>
 
1112
<tr>
 
1113
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
1114
<td>the <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
1115
</td>
 
1116
</tr>
 
1117
<tr>
 
1118
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1119
<td>user data set when the signal handler was connected.</td>
 
1120
</tr>
 
1121
</tbody>
 
1122
</table></div>
 
1123
<p class="since">Since 2.10</p>
 
1124
</div>
 
1125
<hr>
 
1126
<div class="refsect2">
 
1127
<a name="GtkAssistant-cancel"></a><h3>The <code class="literal">"cancel"</code> signal</h3>
 
1128
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant,
 
1129
                                                        <span class="type">gpointer</span>      user_data)      : <code class="literal">Run Last</code></pre>
 
1130
<p>
 
1131
The ::cancel signal is emitted when then the cancel button is clicked.
 
1132
</p>
 
1133
<div class="variablelist"><table border="0" class="variablelist">
 
1134
<colgroup>
 
1135
<col align="left" valign="top">
 
1136
<col>
 
1137
</colgroup>
 
1138
<tbody>
 
1139
<tr>
 
1140
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
1141
<td>the <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
1142
</td>
 
1143
</tr>
 
1144
<tr>
 
1145
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1146
<td>user data set when the signal handler was connected.</td>
 
1147
</tr>
 
1148
</tbody>
 
1149
</table></div>
 
1150
<p class="since">Since 2.10</p>
 
1151
</div>
 
1152
<hr>
 
1153
<div class="refsect2">
 
1154
<a name="GtkAssistant-close"></a><h3>The <code class="literal">"close"</code> signal</h3>
 
1155
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant,
 
1156
                                                        <span class="type">gpointer</span>      user_data)      : <code class="literal">Run Last</code></pre>
 
1157
<p>
 
1158
The ::close signal is emitted either when the close button of
 
1159
a summary page is clicked, or when the apply button in the last
 
1160
page in the flow (of type <a class="link" href="GtkAssistant.html#GTK-ASSISTANT-PAGE-CONFIRM:CAPS"><code class="literal">GTK_ASSISTANT_PAGE_CONFIRM</code></a>) is clicked.
 
1161
</p>
 
1162
<div class="variablelist"><table border="0" class="variablelist">
 
1163
<colgroup>
 
1164
<col align="left" valign="top">
 
1165
<col>
 
1166
</colgroup>
 
1167
<tbody>
 
1168
<tr>
 
1169
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
1170
<td>the <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
1171
</td>
 
1172
</tr>
 
1173
<tr>
 
1174
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1175
<td>user data set when the signal handler was connected.</td>
 
1176
</tr>
 
1177
</tbody>
 
1178
</table></div>
 
1179
<p class="since">Since 2.10</p>
 
1180
</div>
 
1181
<hr>
 
1182
<div class="refsect2">
 
1183
<a name="GtkAssistant-prepare"></a><h3>The <code class="literal">"prepare"</code> signal</h3>
 
1184
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a> *assistant,
 
1185
                                                        <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>    *page,
 
1186
                                                        <span class="type">gpointer</span>      user_data)      : <code class="literal">Run Last</code></pre>
 
1187
<p>
 
1188
The ::prepare signal is emitted when a new page is set as the assistant's
 
1189
current page, before making the new page visible. A handler for this signal
 
1190
can do any preparation which are necessary before showing <em class="parameter"><code>page</code></em>.
 
1191
</p>
 
1192
<div class="variablelist"><table border="0" class="variablelist">
 
1193
<colgroup>
 
1194
<col align="left" valign="top">
 
1195
<col>
 
1196
</colgroup>
 
1197
<tbody>
 
1198
<tr>
 
1199
<td><p><span class="term"><em class="parameter"><code>assistant</code></em> :</span></p></td>
 
1200
<td>the <a class="link" href="GtkAssistant.html" title="GtkAssistant"><span class="type">GtkAssistant</span></a>
 
1201
</td>
 
1202
</tr>
 
1203
<tr>
 
1204
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
 
1205
<td>the current page</td>
 
1206
</tr>
 
1207
<tr>
 
1208
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1209
<td>user data set when the signal handler was connected.</td>
 
1210
</tr>
 
1211
</tbody>
 
1212
</table></div>
 
1213
<p class="since">Since 2.10</p>
 
1214
</div>
 
1215
</div>
 
1216
</div>
 
1217
<div class="footer">
 
1218
<hr>
 
1219
          Generated by GTK-Doc V1.18</div>
 
1220
</body>
 
1221
</html>
 
 
b'\\ No newline at end of file'