Loading...
Searching...
No Matches
score::EnableActionIfDocument Struct Referencefinal
The EnableActionIfDocument struct. More...
Inheritance diagram for score::EnableActionIfDocument:
Detailed Description
The EnableActionIfDocument struct.
Enables its actions if there is an active document.
Public Member Functions | |
| void | action (ActionManager &mgr, MaybeDocument doc) override |
| action This function will be called whenever a particular event happen. | |
Public Member Functions inherited from score::DocumentActionCondition | |
| ActionCondition (StringKey< ActionCondition > k) | |
Public Member Functions inherited from score::ActionCondition | |
| ActionCondition (StringKey< ActionCondition > k) | |
| void | setEnabled (score::ActionManager &mgr, bool b) |
| setEnabled Sets the state of all the matching actions | |
| template<typename Action_T > | |
| void | add () |
| add Register an action for this condition. | |
| StringKey< ActionCondition > | key () const |
Static Public Member Functions | |
| static StringKey< ActionCondition > | static_key () |
Member Function Documentation
◆ action()
|
overridevirtual |
action This function will be called whenever a particular event happen.
The default implementation does nothing.
Reimplemented from score::ActionCondition.
The documentation for this struct was generated from the following files:
- Action.hpp
- Action.cpp
Public Member Functions inherited from