[][src]Trait reaper_medium::MediumToggleAction

pub trait MediumToggleAction {
    fn call(command_id: CommandId) -> ToggleActionResult;
}

Consumers need to implement this trait in order to let REAPER know if a toggleable action is currently on or off.

Required methods

fn call(command_id: CommandId) -> ToggleActionResult

The actual callback function called by REAPER to check if an action registered by an extension has an on or off state.

Loading content...

Implementors

Loading content...