| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /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=UTF-8">
<title>GnomeMessageBox</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.74.2">
<link rel="home" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="deprecated.html" title="Deprecated Modules">
<link rel="prev" href="libgnomeui-gnome-mdi-session.html" title="gnome-mdi-session">
<link rel="next" href="GnomePixmap.html" title="GnomePixmap">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="pt01.html" title="Part I. GNOME UI Library (libgnomeui)">
<link rel="chapter" href="initialization.html" title="Initialization and Session Management">
<link rel="chapter" href="application-mgmt.html" title="Application Management">
<link rel="chapter" href="druids.html" title="Druids">
<link rel="chapter" href="fixme.html" title="Miscellaneous Widgets">
<link rel="chapter" href="miscellaneous.html" title="Miscellaneous Utility Functions and Macros">
<link rel="chapter" href="deprecated.html" title="Deprecated Modules">
<link rel="chapter" href="libgnomeui-objects.html" title="Object Hierarchy">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
<link rel="index" href="ix08.html" title="Index of new symbols in 2.12">
<link rel="index" href="ix09.html" title="Index of new symbols in 2.14">
<link rel="index" href="ix10.html" title="Index of new symbols in 2.16">
</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="libgnomeui-gnome-mdi-session.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="deprecated.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="GnomePixmap.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GnomeMessageBox.synopsis" class="shortcut">Top</a>
|
<a href="#GnomeMessageBox.description" class="shortcut">Description</a>
|
<a href="#GnomeMessageBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GnomeMessageBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</td></tr>
</table>
<div class="refentry" lang="en">
<a name="GnomeMessageBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GnomeMessageBox.top_of_page"></a>GnomeMessageBox</span></h2>
<p>GnomeMessageBox — Create standard message boxes.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GnomeMessageBox.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
#define <a class="link" href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-INFO--CAPS" title="GNOME_MESSAGE_BOX_INFO">GNOME_MESSAGE_BOX_INFO</a>
#define <a class="link" href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-WARNING--CAPS" title="GNOME_MESSAGE_BOX_WARNING">GNOME_MESSAGE_BOX_WARNING</a>
#define <a class="link" href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-ERROR--CAPS" title="GNOME_MESSAGE_BOX_ERROR">GNOME_MESSAGE_BOX_ERROR</a>
#define <a class="link" href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-QUESTION--CAPS" title="GNOME_MESSAGE_BOX_QUESTION">GNOME_MESSAGE_BOX_QUESTION</a>
#define <a class="link" href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-GENERIC--CAPS" title="GNOME_MESSAGE_BOX_GENERIC">GNOME_MESSAGE_BOX_GENERIC</a>
<a class="link" href="GnomeMessageBox.html#GnomeMessageBox-struct" title="GnomeMessageBox">GnomeMessageBox</a>;
GtkWidget* <a class="link" href="GnomeMessageBox.html#gnome-message-box-new" title="gnome_message_box_new ()">gnome_message_box_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message_box_type,
...);
GtkWidget* <a class="link" href="GnomeMessageBox.html#gnome-message-box-newv" title="gnome_message_box_newv ()">gnome_message_box_newv</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message_box_type,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> **buttons);
void <a class="link" href="GnomeMessageBox.html#gnome-message-box-construct" title="gnome_message_box_construct ()">gnome_message_box_construct</a> (<a class="link" href="GnomeMessageBox.html" title="GnomeMessageBox">GnomeMessageBox</a> *messagebox,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message_box_type,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> **buttons);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GnomeMessageBox.object-hierarchy"></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>
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----<a class="link" href="GnomeDialog.html" title="GnomeDialog">GnomeDialog</a>
+----GnomeMessageBox
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GnomeMessageBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GnomeMessageBox implements
GtkBuildable and AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="GnomeMessageBox.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="GnomeMessageBox.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="GNOME-MESSAGE-BOX-INFO--CAPS"></a><h3>GNOME_MESSAGE_BOX_INFO</h3>
<pre class="programlisting">#define GNOME_MESSAGE_BOX_INFO "info"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_MESSAGE_BOX_INFO</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A constant that can be passed to <a class="link" href="GnomeMessageBox.html#gnome-message-box-new" title="gnome_message_box_new ()"><code class="function">gnome_message_box_new()</code></a> to specify the type of
message box to create.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GNOME-MESSAGE-BOX-WARNING--CAPS"></a><h3>GNOME_MESSAGE_BOX_WARNING</h3>
<pre class="programlisting">#define GNOME_MESSAGE_BOX_WARNING "warning"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_MESSAGE_BOX_WARNING</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A constant that can be passed to <a class="link" href="GnomeMessageBox.html#gnome-message-box-new" title="gnome_message_box_new ()"><code class="function">gnome_message_box_new()</code></a> to specify the type of
message box to create.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GNOME-MESSAGE-BOX-ERROR--CAPS"></a><h3>GNOME_MESSAGE_BOX_ERROR</h3>
<pre class="programlisting">#define GNOME_MESSAGE_BOX_ERROR "error"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_MESSAGE_BOX_ERROR</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A constant that can be passed to <a class="link" href="GnomeMessageBox.html#gnome-message-box-new" title="gnome_message_box_new ()"><code class="function">gnome_message_box_new()</code></a> to specify the type of
message box to create.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GNOME-MESSAGE-BOX-QUESTION--CAPS"></a><h3>GNOME_MESSAGE_BOX_QUESTION</h3>
<pre class="programlisting">#define GNOME_MESSAGE_BOX_QUESTION "question"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_MESSAGE_BOX_QUESTION</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A constant that can be passed to <a class="link" href="GnomeMessageBox.html#gnome-message-box-new" title="gnome_message_box_new ()"><code class="function">gnome_message_box_new()</code></a> to specify the type of
message box to create.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GNOME-MESSAGE-BOX-GENERIC--CAPS"></a><h3>GNOME_MESSAGE_BOX_GENERIC</h3>
<pre class="programlisting">#define GNOME_MESSAGE_BOX_GENERIC "generic"
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GNOME_MESSAGE_BOX_GENERIC</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A constant that can be passed to <a class="link" href="GnomeMessageBox.html#gnome-message-box-new" title="gnome_message_box_new ()"><code class="function">gnome_message_box_new()</code></a> to specify the type of
message box to create.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GnomeMessageBox-struct"></a><h3>GnomeMessageBox</h3>
<pre class="programlisting">typedef struct {
GnomeDialog dialog;
} GnomeMessageBox;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMessageBox</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><a class="link" href="GnomeDialog.html" title="GnomeDialog">GnomeDialog</a> <em class="structfield"><code>dialog</code></em>;</span></p></td>
<td> A <a class="link" href="GnomeDialog.html" title="GnomeDialog"><span class="type">GnomeDialog</span></a> widget holding the contents of the message box.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gnome-message-box-new"></a><h3>gnome_message_box_new ()</h3>
<pre class="programlisting">GtkWidget* gnome_message_box_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message_box_type,
...);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_message_box_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a dialog box of type <em class="parameter"><code>message_box_type</code></em> with <em class="parameter"><code>message</code></em>. A number
of buttons are inserted on it. You can use the GNOME stock identifiers
to create gnome-stock-buttons.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
<td> The message to be displayed.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>message_box_type</code></em> :</span></p></td>
<td> The type of the message
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> A NULL terminated list of strings to use in each button.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a widget that has the dialog box.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gnome-message-box-newv"></a><h3>gnome_message_box_newv ()</h3>
<pre class="programlisting">GtkWidget* gnome_message_box_newv (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message_box_type,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> **buttons);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_message_box_newv</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a dialog box of type <em class="parameter"><code>message_box_type</code></em> with <em class="parameter"><code>message</code></em>. A number
of buttons are inserted on it, the messages come from the <em class="parameter"><code>buttons</code></em> array.
You can use the GNOME stock identifiers to create gnome-stock-buttons.
The buttons array can be NULL if you wish to add buttons yourself later.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
<td> The message to be displayed.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>message_box_type</code></em> :</span></p></td>
<td> The type of the message
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buttons</code></em> :</span></p></td>
<td> a NULL terminated array with the buttons to insert.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a widget that has the dialog box.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gnome-message-box-construct"></a><h3>gnome_message_box_construct ()</h3>
<pre class="programlisting">void gnome_message_box_construct (<a class="link" href="GnomeMessageBox.html" title="GnomeMessageBox">GnomeMessageBox</a> *messagebox,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message_box_type,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> **buttons);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_message_box_construct</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
For language bindings or subclassing, from C use <a class="link" href="GnomeMessageBox.html#gnome-message-box-new" title="gnome_message_box_new ()"><span class="type">gnome_message_box_new</span></a> or
<a class="link" href="GnomeMessageBox.html#gnome-message-box-newv" title="gnome_message_box_newv ()"><span class="type">gnome_message_box_newv</span></a></p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>messagebox</code></em> :</span></p></td>
<td> The message box to construct
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
<td> The message to be displayed.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>message_box_type</code></em> :</span></p></td>
<td> The type of the message
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buttons</code></em> :</span></p></td>
<td> a NULL terminated array with the buttons to insert.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>