3 #ifndef _GTKMM_DIALOG_H
4 #define _GTKMM_DIALOG_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 {
class Dialog_Class; }
76 #ifndef DOXYGEN_SHOULD_SKIP_THIS
84 static GType value_type() G_GNUC_CONST;
128 #ifndef DOXYGEN_SHOULD_SKIP_THIS
129 typedef Dialog CppObjectType;
137 #ifndef DOXYGEN_SHOULD_SKIP_THIS
141 static CppClassType dialog_class_;
148 explicit Dialog(
const Glib::ConstructParams& construct_params);
154 #ifndef DOXYGEN_SHOULD_SKIP_THIS
155 static GType get_type() G_GNUC_CONST;
158 static GType get_base_type() G_GNUC_CONST;
184 explicit Dialog(
const Glib::ustring& title,
bool modal =
false,
bool use_separator =
false);
185 Dialog(
const Glib::ustring& title,
Gtk::Window& parent,
bool modal =
false,
bool use_separator =
false);
void set_response_sensitive(int response_id, bool setting=true)
void add_action_widget(Widget &child, int response_id)
Gtk::Dialog * wrap(GtkDialog *object, bool take_copy=false)
Dialog(const Glib::ustring &title, bool modal=false, bool use_separator=false)
int get_response_for_widget(const Gtk::Widget &widget) const
const VBox * get_vbox() const
Dialog(const Glib::ustring &title, Gtk::Window &parent, bool modal=false, bool use_separator=false)
const GtkDialog * gobj() const
Provides access to the underlying C GtkObject.
void response(int response_id)
Glib::SignalProxy1< void, int > signal_response()
const Widget * get_widget_for_response(int response_id) const
Glib::PropertyProxy_ReadOnly< bool > property_has_separator() const
const ButtonBox * get_action_area() const
void set_default_response(int response_id)
bool get_has_separator() const
virtual void on_response(int response_id)
This is a default handler for the signal signal_response().
GtkDialog * gobj()
Provides access to the underlying C GtkObject.
void set_alternative_button_order_from_array(const Glib::ArrayHandle< int > &new_order)
Button * add_button(const Gtk::StockID &stock_id, int response_id)
void set_has_separator(bool setting=true)
Button * add_button(const Glib::ustring &button_text, int response_id)
static bool alternative_button_order(const Glib::RefPtr< const Gdk::Screen > &screen)
void construct_(bool modal, bool use_separator)
Glib::PropertyProxy< bool > property_has_separator()
ButtonBox * get_action_area()
Widget * get_widget_for_response(int response_id)