1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxMediaEvent docs
4 %% Author: Ryan Norton <wxprojects@comcast.net>
8 %% Copyright: (c) Ryan Norton
9 %% License: wxWindows license
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12 \section{\class{wxMediaEvent
}}\label{wxmediaevent
}
14 Event
\helpref{wxMediaCtrl
}{wxmediactrl
} uses.
16 \wxheading{Derived from
}
18 \helpref{wxNotifyEvent
}{wxnotifyevent
}
20 \wxheading{Include files
}
26 \helpref{wxMedia
}{librarieslist
}
28 \wxheading{Event table macros
}
31 \begin{twocollist
}\itemsep=
0pt
32 \twocolitem{{\bf EVT
\_MEDIA\_LOADED(id, func)
}}{
33 Sent when a media has loaded enough data that it can start playing.
}
34 \twocolitem{{\bf EVT
\_MEDIA\_STOP(id, func)
}}{
35 Send when a media has switched to the wxMEDIASTATE
\_STOPPED state.
36 You may be able to Veto this event to prevent it from stopping,
37 causing it to continue playing - even if it has reached that end of the media
38 (note that this may not have the desired effect - if you want to loop the
39 media, for example, catch the EVT
\_MEDIA\_FINISHED and play there instead).
}
40 \twocolitem{{\bf EVT
\_MEDIA\_FINISHED(id, func)
}}{
41 Sent when a media has finished playing in a
\helpref{wxMediaCtrl
}{wxmediactrl
}.
43 \twocolitem{{\bf EVT
\_MEDIA\_STATECHANGED(id, func)
}}{
44 Send when a media has switched its state (from any media state).
46 \twocolitem{{\bf EVT
\_MEDIA\_PLAY(id, func)
}}{
47 Send when a media has switched to the wxMEDIASTATE
\_PLAYING state.
49 \twocolitem{{\bf EVT
\_MEDIA\_PAUSE(id, func)
}}{
50 Send when a media has switched to the wxMEDIASTATE
\_PAUSED state.
54 \latexignore{\rtfignore{\wxheading{Members
}}}