]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/mediaevt.tex
Use the new event handler macros
[wxWidgets.git] / docs / latex / wx / mediaevt.tex
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
14 Event \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
24 \wxheading{Event table macros}
25
26 \twocolwidtha{7cm}
27 \begin{twocollist}\itemsep=0pt
28 \twocolitem{{\bf EVT\_MEDIA\_STOP(func)}}{
29 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. }
30 \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.}
31 \end{twocollist}
32
33 \latexignore{\rtfignore{\wxheading{Members}}}