8 #ifndef Guit_Dialog_hpp
9 #define Guit_Dialog_hpp
10 #include <gwindow.hpp>
40 GDialog(GString
const& css_and_title =
"");
46 static int alert(GString
const& message, GString
const& info =
"");
52 static int confirm(GString
const& message, GString
const& info =
"",
53 GString
const& buttons =
"");
92 virtual void setButtons(GString
const& buttons);
100 GType& type()
const override {
return Type();}
106 virtual void setResult(
int result,
bool hide);
112 GDialog& Dialog(GString
const& css_and_title =
"");
157 static GType& Type();
158 GType& type()
const override {
return Type();}
167 GInfoDialog& InfoDialog(GString
const& title=
"", GString
const& message =
"");
191 static GType& Type();
192 GType& type()
const override {
return Type();}
196 GQuitDialog& QuitDialog(GString
const& title=
"", GString
const& message=
"");