Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 1162

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Gtk::MessageDialog class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Gtk::MessageDialog Class Reference<br>
<small>
[<a class="el" href="group__Dialogs.html">Dialogs</a>]</small>
</h1>Convenient message window. 
<a href="#_details">More...</a>
<p>
Inheritance diagram for Gtk::MessageDialog:<p><center><img src="classGtk_1_1MessageDialog__inherit__graph.png" border="0" usemap="#Gtk_1_1MessageDialog__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1MessageDialog__inherit__map">
<area href="classGtk_1_1Dialog.html" shape="rect" coords="32,502,107,521" alt="">
<area href="classGtk_1_1Window.html" shape="rect" coords="27,433,112,452" alt="">
<area href="classGtk_1_1Bin.html" shape="rect" coords="41,364,97,382" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="21,294,117,313" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="31,225,108,244" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="31,156,108,174" alt="">
<area href="classGlib_1_1Object.html" shape="rect" coords="29,86,109,105" alt="">
<area href="classGlib_1_1ObjectBase.html" shape="rect" coords="15,17,124,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1MessageDialog-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1MessageDialog.html#a0">~MessageDialog</a> ()</td></tr>
<tr><td nowrap align=right valign=top>GtkMessageDialog*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1MessageDialog.html#a1">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const GtkMessageDialog*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1MessageDialog.html#a2">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1MessageDialog.html#a3">MessageDialog</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; message, <a class="el" href="group__gtkmmEnums.html#a97">MessageType</a> type=MESSAGE_INFO, <a class="el" href="group__gtkmmEnums.html#a98">ButtonsType</a> buttons=BUTTONS_OK, bool modal=false, bool use_separator=false)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1MessageDialog.html#a4">MessageDialog</a> (<a class="el" href="classGtk_1_1Window.html">Gtk::Window</a>&amp; parent, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; message, <a class="el" href="group__gtkmmEnums.html#a97">MessageType</a> type=MESSAGE_INFO, <a class="el" href="group__gtkmmEnums.html#a98">ButtonsType</a> buttons=BUTTONS_OK, bool modal=false, bool use_separator=false)</td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1MessageDialog.html#b0">set_message</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr><td colspan=2><br><h2>Related Functions</h2></td></tr>
<tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr>
<tr><td nowrap align=right valign=top>Gtk::MessageDialog*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1MessageDialog.html#k0">wrap</a> (GtkMessageDialog* object, bool take_copy=false)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Convenient message window.
<p>
Gtk::MessageDialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of Gtk::MessageDialog from <a class="el" href="classGtk_1_1Dialog.html">Gtk::Dialog</a> without too much effort, but Gtk::MessageDialog saves typing. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gtk::MessageDialog::~MessageDialog"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Gtk::MessageDialog::~MessageDialog </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a3" doxytag="Gtk::MessageDialog::MessageDialog"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::MessageDialog::MessageDialog </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>message</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group__gtkmmEnums.html#a97">MessageType</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>type</em> = MESSAGE_INFO, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group__gtkmmEnums.html#a98">ButtonsType</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>buttons</em> = BUTTONS_OK, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>modal</em> = false, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>use_separator</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a4" doxytag="Gtk::MessageDialog::MessageDialog"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::MessageDialog::MessageDialog </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1Window.html">Gtk::Window</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>parent</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>message</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group__gtkmmEnums.html#a97">MessageType</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>type</em> = MESSAGE_INFO, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group__gtkmmEnums.html#a98">ButtonsType</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>buttons</em> = BUTTONS_OK, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>modal</em> = false, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>use_separator</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a2" doxytag="Gtk::MessageDialog::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const GtkMessageDialog* Gtk::MessageDialog::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Dialog.html#a2">Gtk::Dialog</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="Gtk::MessageDialog::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GtkMessageDialog* Gtk::MessageDialog::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Dialog.html#a1">Gtk::Dialog</a>.    </td>
  </tr>
</table>
<a name="b0" doxytag="Gtk::MessageDialog::set_message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::MessageDialog::set_message </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>message</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="k0" doxytag="Gtk::MessageDialog::wrap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::MessageDialog* wrap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GtkMessageDialog*&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>object</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>take_copy</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [related]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="messagedialog_8h.html">messagedialog.h</a></ul>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>