X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f4a67aca8b8c037b1984a9c8e8cf5b4d308471b..1f65137f8de90aba96242d5e44b00dfd0efa4b67:/docs/latex/wx/mediaevt.tex diff --git a/docs/latex/wx/mediaevt.tex b/docs/latex/wx/mediaevt.tex index 903c675658..0e0712c7e4 100644 --- a/docs/latex/wx/mediaevt.tex +++ b/docs/latex/wx/mediaevt.tex @@ -25,9 +25,27 @@ Event \helpref{wxMediaCtrl}{wxmediactrl} uses. \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt +\twocolitem{{\bf EVT\_MEDIA\_LOADED(func)}}{ +Sent when a media has loaded enough data that it can start playing.} \twocolitem{{\bf EVT\_MEDIA\_STOP(func)}}{ -Triggerred right before the media stops. You can Veto this event to prevent it from stopping, causing it to continue playing - even if it has reached that end of the media. } -\twocolitem{{\bf EVT\_MEDIA\_FINISHED(func)}}{Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}. Note that if you connect to this event and don't skip it, it will override the looping behaviour of the media control.} +Send when a media has switched to the wxMEDIASTATE\_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 the +media, for example, catch the EVT\_MEDIA\_FINISHED and play there instead). } +\twocolitem{{\bf EVT\_MEDIA\_FINISHED(func)}}{ +Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}. +} +\twocolitem{{\bf EVT\_MEDIA\_STATECHANGED(func)}}{ +Send when a media has switched its state (from any media state). +} +\twocolitem{{\bf EVT\_MEDIA\_PLAY(func)}}{ +Send when a media has switched to the wxMEDIASTATE\_PLAYING state. +} +\twocolitem{{\bf EVT\_MEDIA\_PAUSE(func)}}{ +Send when a media has switched to the wxMEDIASTATE\_PAUSED state. +} \end{twocollist} \latexignore{\rtfignore{\wxheading{Members}}} +