|
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/21585/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>GnomeMessageBox</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="deprecated.html" title="Deprecated modules">
<link rel="prev" href="GnomeDialog.html" title="GnomeDialog">
<link rel="next" href="GnomePropertyBox.html" title="GnomePropertyBox">
<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="GnomeDialog.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="GnomePropertyBox.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="#id3150968" class="shortcut">Top</a>
 | 
<a href="#id3151251" class="shortcut">Description</a>
 | 
<a href="#id3151152" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3151229" class="shortcut">Implemented Interfaces</a></nobr></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>
<a name="id3150968"></a><span class="refentrytitle">GnomeMessageBox</span>
</h2>
<p>GnomeMessageBox — Create standard message boxes.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
#define <a href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-INFO:CAPS">GNOME_MESSAGE_BOX_INFO</a>
#define <a href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-WARNING:CAPS">GNOME_MESSAGE_BOX_WARNING</a>
#define <a href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-ERROR:CAPS">GNOME_MESSAGE_BOX_ERROR</a>
#define <a href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-QUESTION:CAPS">GNOME_MESSAGE_BOX_QUESTION</a>
#define <a href="GnomeMessageBox.html#GNOME-MESSAGE-BOX-GENERIC:CAPS">GNOME_MESSAGE_BOX_GENERIC</a>
<a href="GnomeMessageBox.html#GnomeMessageBox-struct">GnomeMessageBox</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GnomeMessageBox.html#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,
...);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GnomeMessageBox.html#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 href="GnomeMessageBox.html#gnome-message-box-construct">gnome_message_box_construct</a> (<a 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="id3151152"></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>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a>
+----<a href="GnomeDialog.html" title="GnomeDialog">GnomeDialog</a>
+----GnomeMessageBox
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3151229"></a><h2>Implemented Interfaces</h2>
<p>
GnomeMessageBox implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3151251"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3151266"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3151276"></a><h3>
<a name="GNOME-MESSAGE-BOX-INFO:CAPS"></a>GNOME_MESSAGE_BOX_INFO</h3>
<a class="indexterm" name="id3151292"></a><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 href="GnomeMessageBox.html#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="id3151332"></a><h3>
<a name="GNOME-MESSAGE-BOX-WARNING:CAPS"></a>GNOME_MESSAGE_BOX_WARNING</h3>
<a class="indexterm" name="id3151349"></a><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 href="GnomeMessageBox.html#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="id3151389"></a><h3>
<a name="GNOME-MESSAGE-BOX-ERROR:CAPS"></a>GNOME_MESSAGE_BOX_ERROR</h3>
<a class="indexterm" name="id3151406"></a><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 href="GnomeMessageBox.html#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="id3151446"></a><h3>
<a name="GNOME-MESSAGE-BOX-QUESTION:CAPS"></a>GNOME_MESSAGE_BOX_QUESTION</h3>
<a class="indexterm" name="id3151462"></a><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 href="GnomeMessageBox.html#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="id3151502"></a><h3>
<a name="GNOME-MESSAGE-BOX-GENERIC:CAPS"></a>GNOME_MESSAGE_BOX_GENERIC</h3>
<a class="indexterm" name="id3151519"></a><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 href="GnomeMessageBox.html#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="id3151559"></a><h3>
<a name="GnomeMessageBox-struct"></a>GnomeMessageBox</h3>
<a class="indexterm" name="id3151572"></a><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>
<span class="term"><a href="GnomeDialog.html" title="GnomeDialog">GnomeDialog</a> <em class="structfield"><code>dialog</code></em>;</span></td>
<td> A <a 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="id3151637"></a><h3>
<a name="gnome-message-box-new"></a>gnome_message_box_new ()</h3>
<a class="indexterm" name="id3151651"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* 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>
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
<td> The message to be displayed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>message_box_type</code></em> :</span></td>
<td> The type of the message
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>...</code></em> :</span></td>
<td> A NULL terminated list of strings to use in each button.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>a widget that has the dialog box.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3151776"></a><h3>
<a name="gnome-message-box-newv"></a>gnome_message_box_newv ()</h3>
<a class="indexterm" name="id3151792"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* 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>
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
<td> The message to be displayed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>message_box_type</code></em> :</span></td>
<td> The type of the message
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>buttons</code></em> :</span></td>
<td> a NULL terminated array with the buttons to insert.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>a widget that has the dialog box.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3151932"></a><h3>
<a name="gnome-message-box-construct"></a>gnome_message_box_construct ()</h3>
<a class="indexterm" name="id3151948"></a><pre class="programlisting">void gnome_message_box_construct (<a 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 href="GnomeMessageBox.html#gnome-message-box-new"><span class="type">gnome_message_box_new</span></a> or
<a href="GnomeMessageBox.html#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>
<span class="term"><em class="parameter"><code>messagebox</code></em> :</span></td>
<td> The message box to construct
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
<td> The message to be displayed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>message_box_type</code></em> :</span></td>
<td> The type of the message
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>buttons</code></em> :</span></td>
<td> a NULL terminated array with the buttons to insert.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>