]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/mediaevt.tex
sorting support for generic version (patch 1765087 from Bo)
[wxWidgets.git] / docs / latex / wx / mediaevt.tex
CommitLineData
c5550b75
RN
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: mediaevt.tex
3%% Purpose: wxMediaEvent docs
4%% Author: Ryan Norton <wxprojects@comcast.net>
5%% Modified by:
6%% Created: 11/7/2004
7%% RCS-ID: $Id$
8%% Copyright: (c) Ryan Norton
9%% License: wxWindows license
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12\section{\class{wxMediaEvent}}\label{wxmediaevent}
13
c5550b75
RN
14Event \helpref{wxMediaCtrl}{wxmediactrl} uses.
15
16\wxheading{Derived from}
17
18\helpref{wxNotifyEvent}{wxnotifyevent}
19
20\wxheading{Include files}
21
22<wx/mediactrl.h>
23
a7af285d
VZ
24\wxheading{Library}
25
26\helpref{wxMedia}{librarieslist}
27
c5550b75
RN
28\wxheading{Event table macros}
29
30\twocolwidtha{7cm}
31\begin{twocollist}\itemsep=0pt
bdee9d10 32\twocolitem{{\bf EVT\_MEDIA\_LOADED(id, func)}}{
557002cf 33Sent when a media has loaded enough data that it can start playing.}
bdee9d10 34\twocolitem{{\bf EVT\_MEDIA\_STOP(id, func)}}{
557002cf
VZ
35Send when a media has switched to the wxMEDIASTATE\_STOPPED state.
36You may be able to Veto this event to prevent it from stopping,
37causing 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
39media, for example, catch the EVT\_MEDIA\_FINISHED and play there instead). }
bdee9d10 40\twocolitem{{\bf EVT\_MEDIA\_FINISHED(id, func)}}{
557002cf
VZ
41Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}.
42}
bdee9d10 43\twocolitem{{\bf EVT\_MEDIA\_STATECHANGED(id, func)}}{
557002cf
VZ
44Send when a media has switched its state (from any media state).
45}
bdee9d10 46\twocolitem{{\bf EVT\_MEDIA\_PLAY(id, func)}}{
557002cf
VZ
47Send when a media has switched to the wxMEDIASTATE\_PLAYING state.
48}
bdee9d10 49\twocolitem{{\bf EVT\_MEDIA\_PAUSE(id, func)}}{
557002cf
VZ
50Send when a media has switched to the wxMEDIASTATE\_PAUSED state.
51}
c5550b75
RN
52\end{twocollist}
53
54\latexignore{\rtfignore{\wxheading{Members}}}
b67a86d5 55