.. index:: pair: struct; EE::UI::UICommand::State .. _doxid-struct_e_e_1_1_u_i_1_1_u_i_command_1_1_state: struct EE::UI::UICommand::State =============================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block struct State { // fields std::function :target:`execute`; :ref:`ObservableValue` :target:`enabled` { true }; std::unique_ptr :target:`enabledSourceConnection`; bool :target:`executing` { false }; // construction :target:`State`(std::function execute); // methods bool :target:`tryExecute`(); };