16 #define GETTEXT_DOMAIN "wesnoth-lib"
42 if(allow_interaction) {
modeless_dialog(const std::string &window_id)
void show(const bool allow_interaction=false, const unsigned auto_close_time=0)
Shows the window.
virtual const std::string & window_id() const
The ID of the window to build.
virtual ~modeless_dialog()
base class of top level items, the only item which needs to store the final canvases to draw on.
void show_tooltip()
Shows the window as a tooltip.
void show_non_modal()
Shows the window non modal.
const builder_window::window_resolution & get_window_builder(const std::string &type)
Returns an reference to the requested builder.
bool headless()
The game is running headless.