<html> <head><title>Gtk-- Reference: Gtk::Dialog</title></head> <body bgcolor="#F0F0F0" text="#000000" link="#0000FF" vlink="#000077" alink="#FF0000"> <table align=center border=0 cellspacing=10> <tr> <td><a href="class_index.html">Class Index</a></td> <td><a href="cross_index.html">Cross Index</a></td> <td><a href="name_index.html">Namespace Index</a></td> </table> <h1 align=center>Class Gtk::Dialog</h1><p> <b> Create popup windows.</b><br> Contained in: <a href="Gtk.html">Gtk</a><br> Derived from: <a href="Gtk%3A%3AWindow.html">Gtk::Window</a> <br> Derived by: <a href="Gtk::InputDialog.html">Gtk::InputDialog</a> <p> #include <gtk--/dialog.h> <p> <hr noshade> <table border=0> <tr><td colspan=3><h3>public function member index:</h3></td> <tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3ADialog.html#1393"><tt><font color=blue><b>Dialog</b></font></tt></a></td><td><tt>()</tt>;</td> <tr valign=top><td align=right><tt><a href="Gtk%3A%3AHBox.html"><tt><font color=navy><b>HBox</b></font></tt></a>*</tt> </td><td align=right><a href="Gtk%3A%3ADialog.html#1395"><tt><font color=blue><b>get_action_area</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td> <tr valign=top><td align=right><tt><a href="Gtk%3A%3AVBox.html"><tt><font color=navy><b>VBox</b></font></tt></a>*</tt> </td><td align=right><a href="Gtk%3A%3ADialog.html#1394"><tt><font color=blue><b>get_vbox</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td> <tr valign=top><td align=right><tt><tt><font color=navy>GtkDialog</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ADialog.html#1389"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>()</tt>;</td> <tr valign=top><td align=right><tt><tt>const</tt> <tt><font color=navy>GtkDialog</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ADialog.html#1390"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td> <tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ADialog.html#1391"><tt><font color=blue><b>isA</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3ADialog.html#1392"><tt><font color=blue><b>~Dialog</b></font></tt></a></td><td><tt>()</tt>;</td> <tr><td> </td></table> <hr noshade> <h2>Description:</h2> Dialog boxes are a convenient way to prompt the user for a small amount of input, eg. to display a message, ask a question, or anything else that does not require extensive effort on the user's part. <P> Gtk-- treats a dialog as a window split horizontally. The top section is a <tt><font color=navy><b>Gtk::VBox</b></font></tt>, and is where widgets such as a <tt><font color=navy><b>Gtk::Label</b></font></tt> or a <tt><font color=navy><b>Gtk::Entry</b></font></tt> should be packed. The second area is known as the action_area. This is generally used for packing buttons into the dialog which may perform functions such as cancel, ok, or apply. The two areas are separated by a <tt><font color=navy><b>Gtk::HSeparator</b></font></tt>. <P> A 'modal' dialog (that is, one which freezes the rest of the application from user input), can be created by calling <a href="Gtk%3A%3AWindow.html#3504"><tt><font color=blue><b>set_modal</b></font></tt></a> on the dialog.<br> <p> <hr noshade> <h2>Function Member Descriptions:</h2> <a name="1389"><font size=+1><b>Gtk::Dialog::gtkobj</b></font></a> - Returns the underlaying gtk+ object.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkDialog</font></tt>*</tt> <a href="Gtk%3A%3ADialog.html#1389"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br> <a name="1391"><font size=+1><b>Gtk::Dialog::isA</b></font></a> - Returns true if object is this type.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> <a href="Gtk%3A%3ADialog.html#1391"><tt><font color=blue><b>isA</b></font></tt></a><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;<br><br> <hr noshade> </html>