def on_slider_song_progress_released(_slider, audio_engine: IAudioEngine): audio_engine.resume()
def on_button_play_pause_toggled(_button, audio_engine: IAudioEngine, is_toggled: bool): if is_toggled: audio_engine.pause() else: audio_engine.resume()