|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/share/gtk-doc/html/libgnomeui/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GnomeDruid</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="druids.html" title="Druids">
<link rel="prev" href="druids.html" title="Druids">
<link rel="next" href="GnomeDruidPage.html" title="GnomeDruidPage">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="GNOME UI Library (libgnomeui)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="druids.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="druids.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="GnomeDruidPage.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2977276" class="shortcut">Top</a>
 | 
<a href="#id2977869" class="shortcut">Description</a>
 | 
<a href="#id2977662" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id2977716" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id2977739" class="shortcut">Properties</a>
 | 
<a href="#id2977790" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GnomeDruid"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2977276"></a><span class="refentrytitle">GnomeDruid</span>
</h2>
<p>GnomeDruid — Widget for sequentially stepping through some pages.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
<a href="GnomeDruid.html#GnomeDruid-struct">GnomeDruid</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GnomeDruid.html#gnome-druid-new">gnome_druid_new</a> (void);
void <a href="GnomeDruid.html#gnome-druid-set-buttons-sensitive">gnome_druid_set_buttons_sensitive</a>
(<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> back_sensitive,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> next_sensitive,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> cancel_sensitive,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> help_sensitive);
void <a href="GnomeDruid.html#gnome-druid-set-show-finish">gnome_druid_set_show_finish</a> (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_finish);
void <a href="GnomeDruid.html#gnome-druid-set-show-help">gnome_druid_set_show_help</a> (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_help);
void <a href="GnomeDruid.html#gnome-druid-prepend-page">gnome_druid_prepend_page</a> (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);
void <a href="GnomeDruid.html#gnome-druid-insert-page">gnome_druid_insert_page</a> (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *back_page,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);
void <a href="GnomeDruid.html#gnome-druid-append-page">gnome_druid_append_page</a> (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);
void <a href="GnomeDruid.html#gnome-druid-set-page">gnome_druid_set_page</a> (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GnomeDruid.html#gnome-druid-new-with-window">gnome_druid_new_with_window</a> (const char *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> close_on_cancel,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **window);
void <a href="GnomeDruid.html#gnome-druid-construct-with-window">gnome_druid_construct_with_window</a>
(<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
const char *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> close_on_cancel,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **window);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2977662"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----GnomeDruid
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2977716"></a><h2>Implemented Interfaces</h2>
<p>
GnomeDruid implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2977739"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GnomeDruid.html#GnomeDruid--show-finish">show-finish</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GnomeDruid.html#GnomeDruid--show-help">show-help</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2977790"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GnomeDruid.html#GnomeDruid-cancel">cancel</a>" void user_function (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last
"<a href="GnomeDruid.html#GnomeDruid-help">help</a>" void user_function (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2977869"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2977884"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2977894"></a><h3>
<a name="GnomeDruid-struct"></a>GnomeDruid</h3>
<a class="indexterm" name="id2977907"></a><pre class="programlisting">typedef struct _GnomeDruid GnomeDruid;</pre>
<p>
The widget which ultimately holds all of the druid's pages and information.
This is the widget which the application developer then places inside an outer
widget, such as a dialog box for ultimate display.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2977926"></a><h3>
<a name="gnome-druid-new"></a>gnome_druid_new ()</h3>
<a class="indexterm" name="id2977938"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gnome_druid_new (void);</pre>
<p>
Creates a new <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget. You need to add this
to a dialog yourself, it is not a dialog.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A new <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2977995"></a><h3>
<a name="gnome-druid-set-buttons-sensitive"></a>gnome_druid_set_buttons_sensitive ()</h3>
<a class="indexterm" name="id2978009"></a><pre class="programlisting">void gnome_druid_set_buttons_sensitive
(<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> back_sensitive,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> next_sensitive,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> cancel_sensitive,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> help_sensitive);</pre>
<p>
Sets the sensitivity of <em class="parameter"><code>druid</code></em>'s control-buttons. If the
variables are <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, then they will be clickable. This function is used
primarily by the actual GnomeDruidPage widgets.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> A Druid.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>back_sensitive</code></em> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the back button is sensitive.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>next_sensitive</code></em> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the next button is sensitive.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cancel_sensitive</code></em> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the cancel button is sensitive.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>help_sensitive</code></em> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the help button is sensitive.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2978206"></a><h3>
<a name="gnome-druid-set-show-finish"></a>gnome_druid_set_show_finish ()</h3>
<a class="indexterm" name="id2978220"></a><pre class="programlisting">void gnome_druid_set_show_finish (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_finish);</pre>
<p>
Used to specify if <em class="parameter"><code>druid</code></em> is currently showing the last page of the sequence
(and hence should display "Finish", rather than "Next").</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> A <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>show_finish</code></em> :</span></td>
<td> If <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, then the "Next" button is changed to be "Finish"
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2978318"></a><h3>
<a name="gnome-druid-set-show-help"></a>gnome_druid_set_show_help ()</h3>
<a class="indexterm" name="id2978332"></a><pre class="programlisting">void gnome_druid_set_show_help (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_help);</pre>
<p>
Sets the "Help" button on the druid to be visible in the lower left corner of
the widget, if <em class="parameter"><code>show_help</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> A <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>show_help</code></em> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if the "Help" button is to be shown, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2978448"></a><h3>
<a name="gnome-druid-prepend-page"></a>gnome_druid_prepend_page ()</h3>
<a class="indexterm" name="id2978461"></a><pre class="programlisting">void gnome_druid_prepend_page (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);</pre>
<p>
This will prepend a GnomeDruidPage into the internal list of
pages that the <em class="parameter"><code>druid</code></em> has. Since <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> is just a container, you will
need to also call <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-show"
><code class="function">gtk_widget_show()</code></a> on the page, otherwise the page will not
be shown.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> A Druid widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page</code></em> :</span></td>
<td> The page to be inserted.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2978562"></a><h3>
<a name="gnome-druid-insert-page"></a>gnome_druid_insert_page ()</h3>
<a class="indexterm" name="id2978575"></a><pre class="programlisting">void gnome_druid_insert_page (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *back_page,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);</pre>
<p>
This will insert <em class="parameter"><code>page</code></em> after <em class="parameter"><code>back_page</code></em> into the list of
internal pages that the <em class="parameter"><code>druid</code></em> has. If <em class="parameter"><code>back_page</code></em> is not present in the
list or <a
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
><code class="literal">NULL</code></a>, <em class="parameter"><code>page</code></em> will be prepended to the list. Since <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> is
just a container, you will need to also call <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-show"
><code class="function">gtk_widget_show()</code></a> on the page,
otherwise the page will not be shown.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> A <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>back_page</code></em> :</span></td>
<td> The page prior to the page to be inserted.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page</code></em> :</span></td>
<td> The page to insert.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2978739"></a><h3>
<a name="gnome-druid-append-page"></a>gnome_druid_append_page ()</h3>
<a class="indexterm" name="id2978752"></a><pre class="programlisting">void gnome_druid_append_page (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);</pre>
<p>
This will append <em class="parameter"><code>page</code></em> onto the end of the internal list.
Since <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> is just a container, you will need to also call
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-show"
><code class="function">gtk_widget_show()</code></a> on the page, otherwise the page will not be shown.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> A <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page</code></em> :</span></td>
<td> The <a href="GnomeDruidPage.html" title="GnomeDruidPage"><span class="type">GnomeDruidPage</span></a> to be appended.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2978866"></a><h3>
<a name="gnome-druid-set-page"></a>gnome_druid_set_page ()</h3>
<a class="indexterm" name="id2978879"></a><pre class="programlisting">void gnome_druid_set_page (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a href="GnomeDruidPage.html" title="GnomeDruidPage">GnomeDruidPage</a> *page);</pre>
<p>
This will make <em class="parameter"><code>page</code></em> the currently showing page in the druid.
<em class="parameter"><code>page</code></em> must already be in the druid.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> A <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page</code></em> :</span></td>
<td> The <a href="GnomeDruidPage.html" title="GnomeDruidPage"><span class="type">GnomeDruidPage</span></a> to be brought to the foreground.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2978980"></a><h3>
<a name="gnome-druid-new-with-window"></a>gnome_druid_new_with_window ()</h3>
<a class="indexterm" name="id2978994"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gnome_druid_new_with_window (const char *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> close_on_cancel,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **window);</pre>
<p>
Creates a new <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget. It also creates a new
toplevel window with the title of <em class="parameter"><code>title</code></em> (which can be <a
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
><code class="literal">NULL</code></a>) and a parent
of <em class="parameter"><code>parent</code></em> (which also can be <a
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
><code class="literal">NULL</code></a>). The window and the druid will both be
shown. If you need the window widget pointer you can optionally get it
through the last argument. When the druid gets destroyed, so will the
window that is created here.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
<td> A title of the window.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
<td> The parent of this window (transient_for).
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>close_on_cancel</code></em> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the window should be closed when cancel is
pressed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> Optional return of the <a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
><span class="type">GtkWindow</span></a> created.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A new <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a> widget.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2979192"></a><h3>
<a name="gnome-druid-construct-with-window"></a>gnome_druid_construct_with_window ()</h3>
<a class="indexterm" name="id2979207"></a><pre class="programlisting">void gnome_druid_construct_with_window
(<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
const char *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a> *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> close_on_cancel,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **window);</pre>
<p>
Creates a new toplevel window with the title of <em class="parameter"><code>title</code></em> (which
can be <a
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
><code class="literal">NULL</code></a>) and a parent of <em class="parameter"><code>parent</code></em> (which also can be <a
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
><code class="literal">NULL</code></a>). The <em class="parameter"><code>druid</code></em>
will be placed inside this window. The window and the druid will both be
shown. If you need the window widget pointer you can optionally get it
through the last argument. When the druid gets destroyed, so will the
window that is created here.
</p>
<p>
See also <a href="GnomeDruid.html#gnome-druid-new-with-window"><code class="function">gnome_druid_new_with_window()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td> The <a href="GnomeDruid.html" title="GnomeDruid"><span class="type">GnomeDruid</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
<td> A title of the window.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>parent</code></em> :</span></td>
<td> The parent of this window (transient_for).
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>close_on_cancel</code></em> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the window should be closed when cancel is
pressed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> Optional return of the <a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
><span class="type">GtkWindow</span></a> created.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2979430"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2979441"></a><h3>
<a name="GnomeDruid--show-finish"></a>The "<code class="literal">show-finish</code>" property</h3>
<a class="indexterm" name="id2979457"></a><pre class="programlisting"> "show-finish" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Show the 'Finish' button instead of the 'Next' button.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2979484"></a><h3>
<a name="GnomeDruid--show-help"></a>The "<code class="literal">show-help</code>" property</h3>
<a class="indexterm" name="id2979500"></a><pre class="programlisting"> "show-help" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Show the 'Help' button.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2979528"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2979538"></a><h3>
<a name="GnomeDruid-cancel"></a>The "cancel" signal</h3>
<a class="indexterm" name="id2979549"></a><pre class="programlisting">void user_function (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2979616"></a><h3>
<a name="GnomeDruid-help"></a>The "help" signal</h3>
<a class="indexterm" name="id2979626"></a><pre class="programlisting">void user_function (<a href="GnomeDruid.html" title="GnomeDruid">GnomeDruid</a> *druid,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>druid</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>