MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / OnQueryTextFinished

Method OnQueryTextFinished

src/window_gui.h:786–786  ·  view source on GitHub ↗

* The query window opened from this window has closed. * @param str the new value of the string, \c std::nullopt if the window * was cancelled or an empty string when the default * button was pressed, i.e. \c str->empty(). */

Source from the content-addressed store, hash-verified

784 * button was pressed, i.e. \c str->empty().
785 */
786 virtual void OnQueryTextFinished([[maybe_unused]] std::optional<std::string> str) {}
787
788 /**
789 * Some data on this window has become invalid.

Callers 2

OnOkMethod · 0.45
CloseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected