State (Get method)
Gets the button state.
bool State() const
Return Value
Button state.
State (Set method)
Sets the button state.
bool State( const bool flag // flag )
Parameters
flag
[in] New button state.
true - successful, otherwise - false.