2004-11-11 00:37:05 -05:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%% Name: mediaevt.tex
|
|
|
|
%% Purpose: wxMediaEvent docs
|
|
|
|
%% Author: Ryan Norton <wxprojects@comcast.net>
|
|
|
|
%% Modified by:
|
|
|
|
%% Created: 11/7/2004
|
|
|
|
%% RCS-ID: $Id$
|
|
|
|
%% Copyright: (c) Ryan Norton
|
|
|
|
%% License: wxWindows license
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
|
|
\section{\class{wxMediaEvent}}\label{wxmediaevent}
|
|
|
|
|
|
|
|
Event \helpref{wxMediaCtrl}{wxmediactrl} uses.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxNotifyEvent}{wxnotifyevent}
|
|
|
|
|
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/mediactrl.h>
|
|
|
|
|
|
|
|
\wxheading{Event table macros}
|
|
|
|
|
|
|
|
\twocolwidtha{7cm}
|
|
|
|
\begin{twocollist}\itemsep=0pt
|
2007-02-19 13:30:26 -05:00
|
|
|
\twocolitem{{\bf EVT\_MEDIA\_LOADED(id, func)}}{
|
2006-02-10 14:37:40 -05:00
|
|
|
Sent when a media has loaded enough data that it can start playing.}
|
2007-02-19 13:30:26 -05:00
|
|
|
\twocolitem{{\bf EVT\_MEDIA\_STOP(id, func)}}{
|
2006-02-10 14:37:40 -05:00
|
|
|
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). }
|
2007-02-19 13:30:26 -05:00
|
|
|
\twocolitem{{\bf EVT\_MEDIA\_FINISHED(id, func)}}{
|
2006-02-10 14:37:40 -05:00
|
|
|
Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}.
|
|
|
|
}
|
2007-02-19 13:30:26 -05:00
|
|
|
\twocolitem{{\bf EVT\_MEDIA\_STATECHANGED(id, func)}}{
|
2006-02-10 14:37:40 -05:00
|
|
|
Send when a media has switched its state (from any media state).
|
|
|
|
}
|
2007-02-19 13:30:26 -05:00
|
|
|
\twocolitem{{\bf EVT\_MEDIA\_PLAY(id, func)}}{
|
2006-02-10 14:37:40 -05:00
|
|
|
Send when a media has switched to the wxMEDIASTATE\_PLAYING state.
|
|
|
|
}
|
2007-02-19 13:30:26 -05:00
|
|
|
\twocolitem{{\bf EVT\_MEDIA\_PAUSE(id, func)}}{
|
2006-02-10 14:37:40 -05:00
|
|
|
Send when a media has switched to the wxMEDIASTATE\_PAUSED state.
|
|
|
|
}
|
2004-11-11 00:37:05 -05:00
|
|
|
\end{twocollist}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
2006-10-10 13:46:49 -04:00
|
|
|
|