32 #include "scene/gui/label.h" 33 #include "scene/gui/button.h" 34 #include "scene/gui/texture_button.h" 35 #include "scene/gui/panel.h" 36 #include "scene/gui/popup.h" 37 #include "box_container.h" 54 virtual void _post_popup();
56 virtual void _close_pressed() {}
57 virtual bool has_point(
const Point2& p_point)
const;
58 void _notification(
int p_what);
59 static void _bind_methods();
64 void set_title(
const String& p_title);
77 void _notification(
int p_what);
99 void _custom_action(
const String& p_action);
101 void _close_pressed();
102 void _builtin_text_entered(
const String& p_text);
104 static bool swap_ok_cancel;
111 virtual void _post_popup();
112 void _notification(
int p_what);
113 static void _bind_methods();
114 virtual void ok_pressed() {}
115 virtual void cancel_pressed() {}
116 virtual void custom_action(
const String&) {}
119 Label *get_label() {
return label; }
120 static void set_swap_ok_cancel(
bool p_swap);
123 void register_text_enter(
Node *p_line_edit);
125 Button *get_ok() {
return ok; }
126 Button* add_button(
const String& p_text,
bool p_right=
false,
const String& p_action=
"");
130 void set_hide_on_ok(
bool p_hide);
131 bool get_hide_on_ok()
const;
133 void set_text(
String p_text);
136 void set_child_rect(
Control *p_child);
149 static void _bind_methods();
Definition: texture_button.h:34
Definition: box_container.h:69
Definition: dialogs.h:144
Definition: line_edit.h:36