Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > by-pkgid > e4e5aca55b6d7244e6bae95bf4fde3ca > files > 256

lib64edelib-devel-2.0-1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>edelib: MessageBox Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">edelib
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceedelib.html">edelib</a>      </li>
      <li class="navelem"><a class="el" href="classedelib_1_1MessageBox.html">MessageBox</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#related">Related Functions</a>  </div>
  <div class="headertitle">
<div class="title">MessageBox Class Reference<div class="ingroups"><a class="el" href="group__widgets.html">FLTK widgets and functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="edelib::MessageBox" -->
<p>Standard dialog.  
 <a href="classedelib_1_1MessageBox.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="MessageBox_8h_source.html">edelib/MessageBox.h</a>&gt;</code></p>

<p><a href="classedelib_1_1MessageBox-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a3e21c235f97567abf3ce0843d8e65b5c">MessageBox</a> (<a class="el" href="group__widgets.html#gad249d76933bdf54c35f4eaf51a5b7965">MessageBoxType</a> t=<a class="el" href="namespaceedelib.html#gad249d76933bdf54c35f4eaf51a5b7965a2aa7d91559ffaceb6e59ffaf26e08f78">MSGBOX_PLAIN</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#aaae35496958ed2c5dfc4b8e354bf8dd8">~MessageBox</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a0851b989c5db3c8576cbe8c37c8feeef">set_text</a> (const char *t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a67a4ad4ca32337c35cd2323e2f1c3360">set_icon</a> (const char *path)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a1029739cf95a48a99ffaba98123c7db1">set_theme_icon</a> (const char *name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a36ad58e66cd9035202a1ef9353f3ac27">set_xpm_icon</a> (const char *const *arr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#aef2085a797bde35249e505782342a74d">set_icon_from_type</a> (<a class="el" href="group__widgets.html#ga82b3ccfe63090a7818d1028e04b44bd0">MessageBoxIconType</a> type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#ad08c3547e336a317d5c336ea231d6f1a">get_input</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#ace35e91294f535bc58065fca34aebf8a">set_input</a> (const char *txt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#aa156bd371ce47aa0420bc09d2b9bc5eb">focus_button</a> (int b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a1862ac892fea40440831ae51c33fbda1">add_button</a> (Fl_Button *b, <a class="el" href="group__widgets.html#ga84e7e6149287232dc1051f95cb9fd753">MessageBoxButtonType</a> bt=<a class="el" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753ade4786b15aaaf0e3e0d437c8c9f0a93f">MSGBOX_BUTTON_PLAIN</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a672a7c81937d8024fc7f9de68105920c">add_button</a> (const char *l, <a class="el" href="group__widgets.html#ga84e7e6149287232dc1051f95cb9fd753">MessageBoxButtonType</a> bt=<a class="el" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753ade4786b15aaaf0e3e0d437c8c9f0a93f">MSGBOX_BUTTON_PLAIN</a>, Fl_Callback cb=0, void *param=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a3ad55b9af8e984c3d587faad5c1d21ec">clear</a> (<a class="el" href="group__widgets.html#gad249d76933bdf54c35f4eaf51a5b7965">MessageBoxType</a> t=<a class="el" href="namespaceedelib.html#gad249d76933bdf54c35f4eaf51a5b7965a2aa7d91559ffaceb6e59ffaf26e08f78">MSGBOX_PLAIN</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a721c0a30e34bfc28dd201719a902373d">run_plain</a> (bool center=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a90ba498396f9ac52b5ebabc24ef36c6c">run</a> (bool center=true)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a8e3b28cd7bd2af3e8d8809ce73789d17">set_themed_icons</a> (const char *msg, const char *<a class="el" href="classedelib_1_1MessageBox.html#a92c64fa0a9f04a2c17933409c3a52a3c">alert</a>=0, const char *<a class="el" href="classedelib_1_1MessageBox.html#a589a4a6efee30a5de449252597a70e59">ask</a>=0, const char *<a class="el" href="classedelib_1_1MessageBox.html#a87feceeeae9506aecda5bb1c2555acf5">input</a>=0, const char *<a class="el" href="classedelib_1_1MessageBox.html#af26b56f7d691c86fc86a1b3596e86342">password</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a4651dc8ec61defd250365eceae0ec58e">clear_themed_icons</a> (void)</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a2c3ab5d1b434160380235fa3d06e885d">themed_dialog_icons</a> (const char *msg, const char *<a class="el" href="classedelib_1_1MessageBox.html#a92c64fa0a9f04a2c17933409c3a52a3c">alert</a>=0, const char *<a class="el" href="classedelib_1_1MessageBox.html#a589a4a6efee30a5de449252597a70e59">ask</a>=0, const char *<a class="el" href="classedelib_1_1MessageBox.html#a87feceeeae9506aecda5bb1c2555acf5">input</a>=0, const char *<a class="el" href="classedelib_1_1MessageBox.html#af26b56f7d691c86fc86a1b3596e86342">password</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#ad6b3584dd4b277406c1582f25edb7058">message</a> (const char *fmt,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a92c64fa0a9f04a2c17933409c3a52a3c">alert</a> (const char *fmt,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a589a4a6efee30a5de449252597a70e59">ask</a> (const char *fmt,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#a87feceeeae9506aecda5bb1c2555acf5">input</a> (const char *fmt, const char *deflt=0,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classedelib_1_1MessageBox.html#af26b56f7d691c86fc86a1b3596e86342">password</a> (const char *fmt, const char *deflt=0,...)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Standard dialog. </p>
<p><a class="el" href="classedelib_1_1MessageBox.html" title="Standard dialog.">MessageBox</a> is class for quickly building ordianary dialogs with applied layout. This means following: it will resize to fit larger text input or it will resize added buttons (to fit their labels), applying that to whole window too.</p>
<p>This class is not meant to be used to construct complicated dialogs nor to construct dialogs with different elements or layout.</p>
<p>So how to be used? <a class="el" href="classedelib_1_1MessageBox.html" title="Standard dialog.">MessageBox</a> is by default MSGBOX_PLAIN, which means that is ordianary dialog without any input. And here is the code: </p>
<div class="fragment"><pre class="fragment">    <a class="code" href="classedelib_1_1MessageBox.html#a3e21c235f97567abf3ce0843d8e65b5c">MessageBox</a> mb;
    <span class="comment">// add some message</span>
    mb.set_text(<span class="stringliteral">&quot;This is sample text&quot;</span>);
    <span class="comment">// add button</span>
    mb.add_button(<span class="stringliteral">&quot;&amp;Close&quot;</span>);
    <span class="comment">// show dialog</span>
    mb.run_plain();
</pre></div><p>This sample will run dialog with provided text and one 'Close' button. By default, this button will not have any callback attached to it, so adding is done like: </p>
<div class="fragment"><pre class="fragment">    ...
    mb.add_button(<span class="stringliteral">&quot;&amp;Close&quot;</span>, <a class="code" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753ade4786b15aaaf0e3e0d437c8c9f0a93f" title="Ordinary button (Fl_Button)">MSGBOX_BUTTON_PLAIN</a>, some_callback_func);
    ...
</pre></div><p> Now, clicking on 'Close' button, it will call <em>some_callback_func</em>. Passing data to callback function is done via fltk style, like: </p>
<div class="fragment"><pre class="fragment">    ...
    <span class="comment">// send &#39;some_param&#39; to callback</span>
    mb.add_button(<span class="stringliteral">&quot;&amp;Close&quot;</span>, <a class="code" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753ade4786b15aaaf0e3e0d437c8c9f0a93f" title="Ordinary button (Fl_Button)">MSGBOX_BUTTON_PLAIN</a>, some_callback_func, some_param);
    ...
</pre></div><p><a class="el" href="classedelib_1_1MessageBox.html#a1862ac892fea40440831ae51c33fbda1">add_button()</a> can accept previously declared Fl_Button with already set callback or properties so you can add it like: </p>
<div class="fragment"><pre class="fragment">    ...
    Fl_Button* b = <span class="keyword">new</span> Fl_Button(...);
    b-&gt;callback(...);
    mb.add_button(b);
</pre></div><p>If you want to add Fl_Return_Button (button with 'enter' as shortcut), using <em>MSGBOX_BUTTON_RETURN</em> parameter will do the job, like: </p>
<div class="fragment"><pre class="fragment">    ...
    mb.add_button(<span class="stringliteral">&quot;&amp;Close&quot;</span>, <a class="code" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753a575e6fd718ac56b39b468b47dadc05e8" title="Button with &#39;enter&#39; shortcut (Fl_Return_Button)">MSGBOX_BUTTON_RETURN</a>, ...);
    <span class="comment">// or already pre-allocated</span>
    Fl_Return_Button* b = <span class="keyword">new</span> Fl_Return_Button(...);
    mb.add_button(b, <a class="code" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753a575e6fd718ac56b39b468b47dadc05e8" title="Button with &#39;enter&#39; shortcut (Fl_Return_Button)">MSGBOX_BUTTON_RETURN</a>);
</pre></div><dl class="note"><dt><b>Note:</b></dt><dd>If you added pre-allocated Fl_Button or Fl_Return_Button, <b>make sure</b> it is not deleted somewhere in the code since <a class="el" href="classedelib_1_1MessageBox.html" title="Standard dialog.">MessageBox</a> will do that. What this means ? This means that added Fl_Button or Fl_Return_Button <b>must not</b> be inside begin()/end() functions, nor added to some group via add() or data will be deleted twice, crashing program probably.</dd></dl>
<p>Adding more buttons is done via calling <a class="el" href="classedelib_1_1MessageBox.html#a1862ac892fea40440831ae51c33fbda1">add_button()</a> multiple times. You can add max 4 buttons to dialog. This is dialog with 'Yes' and 'No' buttons: </p>
<div class="fragment"><pre class="fragment">    <a class="code" href="classedelib_1_1MessageBox.html#a3e21c235f97567abf3ce0843d8e65b5c">MessageBox</a> mb;
    mb.set_text(<span class="stringliteral">&quot;Would you like to quit&quot;</span>);
    mb.add_button(<span class="stringliteral">&quot;&amp;No&quot;</span>, ...);
    mb.add_button(<span class="stringliteral">&quot;&amp;Yes&quot;</span>, ...);
    mb.run_plain();
</pre></div><p> When multiple buttons are added, they should be added in reverse order, which means that first added button will be at right edge of dialog and any further added will be placed toward left edge.</p>
<p>If you want dialog with input field (max. 1 input field is allowed), this is how: </p>
<div class="fragment"><pre class="fragment">    <a class="code" href="classedelib_1_1MessageBox.html#a3e21c235f97567abf3ce0843d8e65b5c">MessageBox</a> mb(<a class="code" href="namespaceedelib.html#gad249d76933bdf54c35f4eaf51a5b7965af0b65caef4dd91b0d6765e768c93ec86" title="Dialog with input field.">MSGBOX_INPUT</a>);
    mb.set_text(<span class="stringliteral">&quot;Please input something&quot;</span>);
    mb.add_button(<span class="stringliteral">&quot;&amp;Close me&quot;</span>, ...);
    mb.run_plain();

    <span class="comment">// when dialog is closed, getting input is like</span>
    printf(<span class="stringliteral">&quot;You entered %s\n&quot;</span>, mb.get_input());
</pre></div><p><a class="el" href="classedelib_1_1MessageBox.html#ad08c3547e336a317d5c336ea231d6f1a">get_input()</a> will return NULL if nothing was entered or if MSGBOX_PLAIN was set.</p>
<p>Here is full sample of dialog requesting some password, where typed data is hidden with asterisks: </p>
<div class="fragment"><pre class="fragment">    <span class="keywordtype">void</span> close_cb(Fl_Widget*, <span class="keywordtype">void</span>* b) {
      <a class="code" href="classedelib_1_1MessageBox.html#a3e21c235f97567abf3ce0843d8e65b5c">MessageBox</a>* mb = (<a class="code" href="classedelib_1_1MessageBox.html#a3e21c235f97567abf3ce0843d8e65b5c">MessageBox</a>*)b;
      b-&gt;hide();
    }

    <span class="comment">// somewhere in the code</span>
    <a class="code" href="classedelib_1_1MessageBox.html#a3e21c235f97567abf3ce0843d8e65b5c">MessageBox</a> mb(<a class="code" href="namespaceedelib.html#gad249d76933bdf54c35f4eaf51a5b7965afafe030a2272af70010818670fb13ddb" title="Dialog with secret input field.">MSGBOX_INPUT_SECRET</a>);
    mb.set_text(<span class="stringliteral">&quot;Please enter password&quot;</span>);
    mb.add_button(<span class="stringliteral">&quot;&amp;Close&quot;</span>, <a class="code" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753ade4786b15aaaf0e3e0d437c8c9f0a93f" title="Ordinary button (Fl_Button)">MSGBOX_BUTTON_PLAIN</a>, close_cb, &amp;mb);
    mb.run_plain();

    <span class="keyword">const</span> <span class="keywordtype">char</span>* ret = mb.get_input();
    <span class="keywordflow">if</span>(ret)
       printf(<span class="stringliteral">&quot;You entered %s\n&quot;</span>, ret);
    <span class="keywordflow">else</span>
       printf(<span class="stringliteral">&quot;Nothing was entered&quot;</span>);
</pre></div><p>Setting callbacks each time just to get some status can be cumbersome, so there is a <a class="el" href="classedelib_1_1MessageBox.html#a90ba498396f9ac52b5ebabc24ef36c6c">run()</a> function which is a shortcut for <a class="el" href="classedelib_1_1MessageBox.html#a721c0a30e34bfc28dd201719a902373d">run_plain()</a> with callbacks attached to each button. This function will close dialog and return number of pressed button (starting from most right and 0); in case dialog was closed without pressing on any button (like calling hide() or closing it via window manager) it will return -1. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3e21c235f97567abf3ce0843d8e65b5c"></a><!-- doxytag: member="edelib::MessageBox::MessageBox" ref="a3e21c235f97567abf3ce0843d8e65b5c" args="(MessageBoxType t=MSGBOX_PLAIN)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classedelib_1_1MessageBox.html">MessageBox</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__widgets.html#gad249d76933bdf54c35f4eaf51a5b7965">MessageBoxType</a>&#160;</td>
          <td class="paramname"><em>t</em> = <code><a class="el" href="namespaceedelib.html#gad249d76933bdf54c35f4eaf51a5b7965a2aa7d91559ffaceb6e59ffaf26e08f78">MSGBOX_PLAIN</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor which initialize internal data </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">t</td><td>is MessageBoxType type </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaae35496958ed2c5dfc4b8e354bf8dd8"></a><!-- doxytag: member="edelib::MessageBox::~MessageBox" ref="aaae35496958ed2c5dfc4b8e354bf8dd8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classedelib_1_1MessageBox.html">MessageBox</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clears internal data </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1862ac892fea40440831ae51c33fbda1"></a><!-- doxytag: member="edelib::MessageBox::add_button" ref="a1862ac892fea40440831ae51c33fbda1" args="(Fl_Button *b, MessageBoxButtonType bt=MSGBOX_BUTTON_PLAIN)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a1862ac892fea40440831ae51c33fbda1">add_button</a> </td>
          <td>(</td>
          <td class="paramtype">Fl_Button *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__widgets.html#ga84e7e6149287232dc1051f95cb9fd753">MessageBoxButtonType</a>&#160;</td>
          <td class="paramname"><em>bt</em> = <code><a class="el" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753ade4786b15aaaf0e3e0d437c8c9f0a93f">MSGBOX_BUTTON_PLAIN</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add button to dialog. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>is already allocated button </td></tr>
    <tr><td class="paramname">bt</td><td>is button type </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a672a7c81937d8024fc7f9de68105920c"></a><!-- doxytag: member="edelib::MessageBox::add_button" ref="a672a7c81937d8024fc7f9de68105920c" args="(const char *l, MessageBoxButtonType bt=MSGBOX_BUTTON_PLAIN, Fl_Callback cb=0, void *param=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a1862ac892fea40440831ae51c33fbda1">add_button</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__widgets.html#ga84e7e6149287232dc1051f95cb9fd753">MessageBoxButtonType</a>&#160;</td>
          <td class="paramname"><em>bt</em> = <code><a class="el" href="namespaceedelib.html#ga84e7e6149287232dc1051f95cb9fd753ade4786b15aaaf0e3e0d437c8c9f0a93f">MSGBOX_BUTTON_PLAIN</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Fl_Callback&#160;</td>
          <td class="paramname"><em>cb</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>param</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add button to dialog. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">l</td><td>is button label </td></tr>
    <tr><td class="paramname">bt</td><td>is button type </td></tr>
    <tr><td class="paramname">cb</td><td>is callback for button </td></tr>
    <tr><td class="paramname">param</td><td>is data sent to callback </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3ad55b9af8e984c3d587faad5c1d21ec"></a><!-- doxytag: member="edelib::MessageBox::clear" ref="a3ad55b9af8e984c3d587faad5c1d21ec" args="(MessageBoxType t=MSGBOX_PLAIN)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a3ad55b9af8e984c3d587faad5c1d21ec">clear</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__widgets.html#gad249d76933bdf54c35f4eaf51a5b7965">MessageBoxType</a>&#160;</td>
          <td class="paramname"><em>t</em> = <code><a class="el" href="namespaceedelib.html#gad249d76933bdf54c35f4eaf51a5b7965a2aa7d91559ffaceb6e59ffaf26e08f78">MSGBOX_PLAIN</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clears dialog and prepare internal data for next one. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">t</td><td>is parameter telling how to prepare internal data for next dialog </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4651dc8ec61defd250365eceae0ec58e"></a><!-- doxytag: member="edelib::MessageBox::clear_themed_icons" ref="a4651dc8ec61defd250365eceae0ec58e" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classedelib_1_1MessageBox.html#a4651dc8ec61defd250365eceae0ec58e">clear_themed_icons</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clear icon names used by <a class="el" href="classedelib_1_1IconTheme.html" title="Finds named icon according to the given theme.">IconTheme</a>. </p>

</div>
</div>
<a class="anchor" id="aa156bd371ce47aa0420bc09d2b9bc5eb"></a><!-- doxytag: member="edelib::MessageBox::focus_button" ref="aa156bd371ce47aa0420bc09d2b9bc5eb" args="(int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#aa156bd371ce47aa0420bc09d2b9bc5eb">focus_button</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Focus a button. If number is greater than added buttons, it will to nothing. </p>

</div>
</div>
<a class="anchor" id="ad08c3547e336a317d5c336ea231d6f1a"></a><!-- doxytag: member="edelib::MessageBox::get_input" ref="ad08c3547e336a317d5c336ea231d6f1a" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="classedelib_1_1MessageBox.html#ad08c3547e336a317d5c336ea231d6f1a">get_input</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns value from input field. Returned pointer points to internal storage and that storage is available during <a class="el" href="classedelib_1_1MessageBox.html" title="Standard dialog.">MessageBox</a> instance life or untill <a class="el" href="classedelib_1_1MessageBox.html#a3ad55b9af8e984c3d587faad5c1d21ec">clear()</a> is called.</p>
<p>Returned pointer value can be NULL when nothing was entered or <a class="el" href="classedelib_1_1MessageBox.html" title="Standard dialog.">MessageBox</a> is type of MSGBOX_PLAIN. </p>

</div>
</div>
<a class="anchor" id="a90ba498396f9ac52b5ebabc24ef36c6c"></a><!-- doxytag: member="edelib::MessageBox::run" ref="a90ba498396f9ac52b5ebabc24ef36c6c" args="(bool center=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classedelib_1_1MessageBox.html#a90ba498396f9ac52b5ebabc24ef36c6c">run</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>center</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Runs dialog until pressed some of it's buttons or was called hide() on dialog. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>-1 if nothing was pressed (but window was closed) or number of pressed button, starting from 0. Also, buttons are counted from right (most right, if pressed will be 0, second will be 1 and so). </dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>if set, dialog will be centered at the screen </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a721c0a30e34bfc28dd201719a902373d"></a><!-- doxytag: member="edelib::MessageBox::run_plain" ref="a721c0a30e34bfc28dd201719a902373d" args="(bool center=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a721c0a30e34bfc28dd201719a902373d">run_plain</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>center</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Runs dialog until called hide() or dialog was closed in normal way (clicking X in titlebar). </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>if set, dialog will be centered at the screen </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a67a4ad4ca32337c35cd2323e2f1c3360"></a><!-- doxytag: member="edelib::MessageBox::set_icon" ref="a67a4ad4ca32337c35cd2323e2f1c3360" args="(const char *path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classedelib_1_1MessageBox.html#a67a4ad4ca32337c35cd2323e2f1c3360">set_icon</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set icon giving absolute path </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if icon was able to set </dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>is full path to icon </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aef2085a797bde35249e505782342a74d"></a><!-- doxytag: member="edelib::MessageBox::set_icon_from_type" ref="aef2085a797bde35249e505782342a74d" args="(MessageBoxIconType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#aef2085a797bde35249e505782342a74d">set_icon_from_type</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__widgets.html#ga82b3ccfe63090a7818d1028e04b44bd0">MessageBoxIconType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set icon using one of MessageBoxIconType values. By default it will use icons from current icon theme and if not found, it will fallback to internal ones. </p>

</div>
</div>
<a class="anchor" id="ace35e91294f535bc58065fca34aebf8a"></a><!-- doxytag: member="edelib::MessageBox::set_input" ref="ace35e91294f535bc58065fca34aebf8a" args="(const char *txt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#ace35e91294f535bc58065fca34aebf8a">set_input</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>txt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set default value to input field. Does nothing if dialog is MSGBOX_PLAIN type. </p>

</div>
</div>
<a class="anchor" id="a0851b989c5db3c8576cbe8c37c8feeef"></a><!-- doxytag: member="edelib::MessageBox::set_text" ref="a0851b989c5db3c8576cbe8c37c8feeef" args="(const char *t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a0851b989c5db3c8576cbe8c37c8feeef">set_text</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set message text </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">t</td><td>is message text </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1029739cf95a48a99ffaba98123c7db1"></a><!-- doxytag: member="edelib::MessageBox::set_theme_icon" ref="a1029739cf95a48a99ffaba98123c7db1" args="(const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classedelib_1_1MessageBox.html#a1029739cf95a48a99ffaba98123c7db1">set_theme_icon</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set icon using loaded theme. Given icon name should not have an extension, nor should have path in it's name. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if icon was found </dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>is icon name (without path and extension) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8e3b28cd7bd2af3e8d8809ce73789d17"></a><!-- doxytag: member="edelib::MessageBox::set_themed_icons" ref="a8e3b28cd7bd2af3e8d8809ce73789d17" args="(const char *msg, const char *alert=0, const char *ask=0, const char *input=0, const char *password=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classedelib_1_1MessageBox.html#a8e3b28cd7bd2af3e8d8809ce73789d17">set_themed_icons</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>alert</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>ask</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>input</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>password</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set icon names used by <a class="el" href="classedelib_1_1IconTheme.html" title="Finds named icon according to the given theme.">IconTheme</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">msg</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#ad6b3584dd4b277406c1582f25edb7058">message()</a> </td></tr>
    <tr><td class="paramname">alert</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#a92c64fa0a9f04a2c17933409c3a52a3c">alert()</a> </td></tr>
    <tr><td class="paramname">ask</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#a589a4a6efee30a5de449252597a70e59">ask()</a> </td></tr>
    <tr><td class="paramname">input</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#a87feceeeae9506aecda5bb1c2555acf5">input()</a> </td></tr>
    <tr><td class="paramname">password</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#af26b56f7d691c86fc86a1b3596e86342">password()</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a36ad58e66cd9035202a1ef9353f3ac27"></a><!-- doxytag: member="edelib::MessageBox::set_xpm_icon" ref="a36ad58e66cd9035202a1ef9353f3ac27" args="(const char *const *arr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a36ad58e66cd9035202a1ef9353f3ac27">set_xpm_icon</a> </td>
          <td>(</td>
          <td class="paramtype">const char *const *&#160;</td>
          <td class="paramname"><em>arr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set XPM icon. Parameter should be pointer to XPM array. </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a92c64fa0a9f04a2c17933409c3a52a3c"></a><!-- doxytag: member="edelib::MessageBox::alert" ref="a92c64fa0a9f04a2c17933409c3a52a3c" args="(const char *fmt,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a92c64fa0a9f04a2c17933409c3a52a3c">alert</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display dialog with alert message; in printf form. </p>

</div>
</div>
<a class="anchor" id="a589a4a6efee30a5de449252597a70e59"></a><!-- doxytag: member="edelib::MessageBox::ask" ref="a589a4a6efee30a5de449252597a70e59" args="(const char *fmt,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classedelib_1_1MessageBox.html#a589a4a6efee30a5de449252597a70e59">ask</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display question dialog. Return 1 if user clicked 'Yes' or 0 if user clicked 'No' or closed dialog. </p>

</div>
</div>
<a class="anchor" id="a87feceeeae9506aecda5bb1c2555acf5"></a><!-- doxytag: member="edelib::MessageBox::input" ref="a87feceeeae9506aecda5bb1c2555acf5" args="(const char *fmt, const char *deflt=0,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * <a class="el" href="classedelib_1_1MessageBox.html#a87feceeeae9506aecda5bb1c2555acf5">input</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>deflt</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display dialog with input field with 'OK' and 'Cancel' buttons. If 'OK' is pressed (but input field is not empty), it will return pointer to that data. Pointer is pointing to static memory and must not be freed.</p>
<p>If 'Cancel' was pressed (or dialog closed without pressing any buttons) it will return NULL. </p>

</div>
</div>
<a class="anchor" id="ad6b3584dd4b277406c1582f25edb7058"></a><!-- doxytag: member="edelib::MessageBox::message" ref="ad6b3584dd4b277406c1582f25edb7058" args="(const char *fmt,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#ad6b3584dd4b277406c1582f25edb7058">message</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Display message dialog in printf form. </p>

</div>
</div>
<a class="anchor" id="af26b56f7d691c86fc86a1b3596e86342"></a><!-- doxytag: member="edelib::MessageBox::password" ref="af26b56f7d691c86fc86a1b3596e86342" args="(const char *fmt, const char *deflt=0,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * <a class="el" href="classedelib_1_1MessageBox.html#af26b56f7d691c86fc86a1b3596e86342">password</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>deflt</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Same as <a class="el" href="classedelib_1_1MessageBox.html#a87feceeeae9506aecda5bb1c2555acf5">input()</a>, but typed characters are hidden with asterisks. </p>

</div>
</div>
<a class="anchor" id="a2c3ab5d1b434160380235fa3d06e885d"></a><!-- doxytag: member="edelib::MessageBox::themed_dialog_icons" ref="a2c3ab5d1b434160380235fa3d06e885d" args="(const char *msg, const char *alert=0, const char *ask=0, const char *input=0, const char *password=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classedelib_1_1MessageBox.html#a2c3ab5d1b434160380235fa3d06e885d">themed_dialog_icons</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>alert</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>ask</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>input</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>password</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set icon names used by <a class="el" href="classedelib_1_1IconTheme.html" title="Finds named icon according to the given theme.">IconTheme</a>.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">msg</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#ad6b3584dd4b277406c1582f25edb7058">message()</a> </td></tr>
    <tr><td class="paramname">alert</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#a92c64fa0a9f04a2c17933409c3a52a3c">alert()</a> </td></tr>
    <tr><td class="paramname">ask</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#a589a4a6efee30a5de449252597a70e59">ask()</a> </td></tr>
    <tr><td class="paramname">input</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#a87feceeeae9506aecda5bb1c2555acf5">input()</a> </td></tr>
    <tr><td class="paramname">password</td><td>is icon for <a class="el" href="classedelib_1_1MessageBox.html#af26b56f7d691c86fc86a1b3596e86342">password()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd>with <a class="el" href="classedelib_1_1MessageBox.html#a8e3b28cd7bd2af3e8d8809ce73789d17">MessageBox::set_themed_icons()</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>edelib/<a class="el" href="MessageBox_8h_source.html">MessageBox.h</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 5 2012 17:49:03 for edelib by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>