wxRuby Documentation Home

# Wx::MediaEvent

Event MediaCtrl uses.

## Derived from

NotifyEvent

## Event table macros

evt_media_loaded(id) { | event | … } | Sent when a media has loaded enough data that it can start playing.
evt_media_stop(id) { | event | … } | Send when a media has switched to the MEDIASTATE_STOPPED state.You may be able to Veto this event to prevent it from stopping,causing it to continue playing – even if it has reached that end of the media(note that this may not have the desired effect – if you want to loop themedia, for example, catch the EVT_MEDIA_FINISHED and play there instead).
evt_media_finished(id) { | event | … } | Sent when a media has finished playing in a MediaCtrl.
evt_media_statechanged(id) { | event | … } | Send when a media has switched its state (from any media state).
evt_media_play(id) { | event | … } | Send when a media has switched to the MEDIASTATE_PLAYING state.
evt_media_pause(id) { | event | … } | Send when a media has switched to the MEDIASTATE_PAUSED state.

## Methods

[This page automatically generated from the Textile source at 2023-06-09 00:45:27 +0000]