25 struct builder_toggle_button;
41 virtual void set_active(
const bool active)
override;
47 virtual unsigned get_state()
const override;
125 static const std::string&
type();
167 virtual std::unique_ptr<widget>
build()
const override;
A config object defines a single node in a WML file, with access to child nodes.
Small abstract helper class.
bool fire_event(const ui_event event, const std::vector< std::pair< widget *, ui_event >> &event_chain, widget *dispatcher, widget *w, F &&... params)
Helper function for fire_event.
ui_event
The event sent to the dispatcher.
std::map< std::string, t_string > widget_item
retval
Default window/dialog return values.
Contains the implementation details for lexical_cast and shouldn't be used directly.