X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5550b75519a3be98ea57306f9ebb256f8c52a63..03cf4aa61da039f4331bfc788cc07850a50a0df5:/docs/latex/wx/mediaevt.tex diff --git a/docs/latex/wx/mediaevt.tex b/docs/latex/wx/mediaevt.tex index 94d4937697..546b5602c3 100644 --- a/docs/latex/wx/mediaevt.tex +++ b/docs/latex/wx/mediaevt.tex @@ -11,23 +11,48 @@ \section{\class{wxMediaEvent}}\label{wxmediaevent} -PRELIMINARY. Do not rely on in user code. - Event \helpref{wxMediaCtrl}{wxmediactrl} uses. \wxheading{Derived from} -\helpref{wxNotifyEvent}{wxnotifyevent} +\helpref{wxNotifyEvent}{wxnotifyevent}\\ +\helpref{wxCommandEvent}{wxcommandevent}\\ +\helpref{wxEvent}{wxevent}\\ +\helpref{wxObject}{wxobject} \wxheading{Include files} +\wxheading{Library} + +\helpref{wxMedia}{librarieslist} + \wxheading{Event table macros} \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_MEDIA\_FINISHED(func)}}{Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}.} +\twocolitem{{\bf EVT\_MEDIA\_LOADED(id, func)}}{ +Sent when a media has loaded enough data that it can start playing.} +\twocolitem{{\bf EVT\_MEDIA\_STOP(id, func)}}{ +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(id, func)}}{ +Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}. +} +\twocolitem{{\bf EVT\_MEDIA\_STATECHANGED(id, func)}}{ +Send when a media has switched its state (from any media state). +} +\twocolitem{{\bf EVT\_MEDIA\_PLAY(id, func)}}{ +Send when a media has switched to the wxMEDIASTATE\_PLAYING state. +} +\twocolitem{{\bf EVT\_MEDIA\_PAUSE(id, func)}}{ +Send when a media has switched to the wxMEDIASTATE\_PAUSED state. +} \end{twocollist} \latexignore{\rtfignore{\wxheading{Members}}} +