]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/mediaevt.tex
Added wxRect::Intersect() documentation (patch 1868322 from Laurent Humbertclaude).
[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
7376079d
VZ
18\helpref{wxNotifyEvent}{wxnotifyevent}\\
19\helpref{wxCommandEvent}{wxcommandevent}\\
20\helpref{wxEvent}{wxevent}\\
21\helpref{wxObject}{wxobject}
c5550b75
RN
22
23\wxheading{Include files}
24
25<wx/mediactrl.h>
26
a7af285d
VZ
27\wxheading{Library}
28
29\helpref{wxMedia}{librarieslist}
30
c5550b75
RN
31\wxheading{Event table macros}
32
33\twocolwidtha{7cm}
34\begin{twocollist}\itemsep=0pt
bdee9d10 35\twocolitem{{\bf EVT\_MEDIA\_LOADED(id, func)}}{
557002cf 36Sent when a media has loaded enough data that it can start playing.}
bdee9d10 37\twocolitem{{\bf EVT\_MEDIA\_STOP(id, func)}}{
557002cf
VZ
38Send when a media has switched to the wxMEDIASTATE\_STOPPED state.
39You may be able to Veto this event to prevent it from stopping,
40causing it to continue playing - even if it has reached that end of the media
41(note that this may not have the desired effect - if you want to loop the
42media, for example, catch the EVT\_MEDIA\_FINISHED and play there instead). }
bdee9d10 43\twocolitem{{\bf EVT\_MEDIA\_FINISHED(id, func)}}{
557002cf
VZ
44Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}.
45}
bdee9d10 46\twocolitem{{\bf EVT\_MEDIA\_STATECHANGED(id, func)}}{
557002cf
VZ
47Send when a media has switched its state (from any media state).
48}
bdee9d10 49\twocolitem{{\bf EVT\_MEDIA\_PLAY(id, func)}}{
557002cf
VZ
50Send when a media has switched to the wxMEDIASTATE\_PLAYING state.
51}
bdee9d10 52\twocolitem{{\bf EVT\_MEDIA\_PAUSE(id, func)}}{
557002cf
VZ
53Send when a media has switched to the wxMEDIASTATE\_PAUSED state.
54}
c5550b75
RN
55\end{twocollist}
56
57\latexignore{\rtfignore{\wxheading{Members}}}
b67a86d5 58