Class Index | Cross Index | Namespace Index |
Create popup windows.
Contained in: Gtk
Derived from:
Window
Derived by:
Gtk::InputDialog
#include <gtk--/dialog.h>
public function member index: |
||
Dialog | (); | |
HBox* | get_action_area | () const; |
VBox* | get_vbox | () const; |
GtkDialog* | gtkobj | (); |
const GtkDialog* | gtkobj | () const; |
static bool | isA | (Object* object); |
virtual | ~Dialog | (); |
Gtk-- treats a dialog as a window split horizontally. The top section is a Gtk::VBox, and is where widgets such as a Gtk::Label or a Gtk::Entry 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 Gtk::HSeparator.
A 'modal' dialog (that is, one which freezes the rest of the application from
user input), can be created by calling Gtk::Window::set_modal on the dialog.