15 #define GETTEXT_DOMAIN "wesnoth-lib"
57 const
bool allow_remove)
58 : allow_remove_(allow_remove)
61 register_text(
"host_name",
false, host_name,
true);
71 find_widget<tbutton>(&window,
"remove_addons",
false)
75 find_widget<tbutton>(&window,
"show_help",
false),
85 = find_widget<ttext_box>(&window,
"host_name",
false);
void show_help(CVideo &video, const std::string &show_topic, int xloc, int yloc)
Open the help browser, show topic with id show_topic.
REGISTER_DIALOG(label_settings)
void connect_signal_mouse_left_click(tdispatcher &dispatcher, const tsignal_function &signal)
Connects a signal handler for a left mouse button click.
Class for a single line text area.
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
void help_button_callback(twindow &window)
Dialog is closed with ok button.
bool allow_remove_
Enable the addon remove button?
void save_to_history()
Saves the text in the widget to the history.
void post_show(twindow &window)
Inherited from tdialog.
void pre_show(twindow &window)
Inherited from tdialog.