Class Index | Cross Index | Namespace Index |
Create popup windows.
Contained in: Gnome
Derived from:
Gtk::Window
Derived by:
Gnome::About
Gnome::MessageBox
Gnome::PropertyBox
#include <gtk--/dialog.h>
public function member index: |
||
Dialog | (const Gtk::string& title, const Gtk::SArray& buttons); | |
Dialog | (); | |
void | append_button | (const Gtk::string& name, const Gtk::string& pixmap); |
void | append_button | (const Gtk::string& name); |
void | cause_close | (); |
void | close_hides | (gboolean just_hide=true); |
void | connect | (gint number, const Callback& s); |
void | editable_enters | (Gtk::Editable& e); |
Gtk::Button* | get_button | (gint number) const; |
static GtkType | get_type | (); |
Gtk::VBox* | get_vbox | () const; |
const GnomeDialog* | gtkobj | () const; |
GnomeDialog* | gtkobj | (); |
static bool | isA | (Gtk::Object* checkcast); |
gint | run | (); |
gint | run_and_close | (); |
void | set_accelerator | (gint button, const guchar accelerator_key, guint8 accelerator_mods); |
void | set_close | (gboolean click_closes); |
void | set_default | (gint button); |
void | set_parent | (Gtk::Window& parent); |
void | set_sensitive | (gint button, gboolean setting); |
virtual | ~Dialog | (); |
protected function member index: |
||
explicit | Dialog | (GnomeDialog* castitem); |
virtual void | clicked_impl | (gint p0); |
virtual gboolean | close_impl | (); |
void | initialize_class | (); |
private function member index: |
||
Dialog | (const Dialog&); | |
Dialog& | operator = | (const Dialog&); |
e.g. GNOME_STOCK_BUTTON_OK: See gnome-stock.h
For Gnome-- this is set in the constructor. It is very unlikely that you would want to set this to false, because it could free the memory used by member variables, or leave your pointers pointing to freed memory.
This is short for dialog.get_button(number)->clicked.connect(s)
returns button number or -1 for none.