Document wxEVT_MEDIA_XXX event types.
Closes #15768. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
947a8734ac
commit
5c1f95bc71
@ -48,6 +48,7 @@ enum wxMediaCtrlPlayerControls
|
|||||||
@beginEventTable{wxMediaEvent}
|
@beginEventTable{wxMediaEvent}
|
||||||
@event{EVT_MEDIA_LOADED(id\, func)}
|
@event{EVT_MEDIA_LOADED(id\, func)}
|
||||||
Sent when a media has loaded enough data that it can start playing.
|
Sent when a media has loaded enough data that it can start playing.
|
||||||
|
Processes a @c wxEVT_MEDIA_LOADED event type.
|
||||||
@event{EVT_MEDIA_STOP(id\, func)}
|
@event{EVT_MEDIA_STOP(id\, func)}
|
||||||
Sent when a media has switched to the @c wxMEDIASTATE_STOPPED state.
|
Sent when a media has switched to the @c wxMEDIASTATE_STOPPED state.
|
||||||
You may be able to Veto this event to prevent it from stopping,
|
You may be able to Veto this event to prevent it from stopping,
|
||||||
@ -55,14 +56,19 @@ enum wxMediaCtrlPlayerControls
|
|||||||
the media (note that this may not have the desired effect - if you
|
the media (note that this may not have the desired effect - if you
|
||||||
want to loop the media, for example, catch the @c EVT_MEDIA_FINISHED
|
want to loop the media, for example, catch the @c EVT_MEDIA_FINISHED
|
||||||
and play there instead).
|
and play there instead).
|
||||||
|
Processes a @c wxEVT_MEDIA_STOP event type.
|
||||||
@event{EVT_MEDIA_FINISHED(id\, func)}
|
@event{EVT_MEDIA_FINISHED(id\, func)}
|
||||||
Sent when a media has finished playing in a wxMediaCtrl.
|
Sent when a media has finished playing in a wxMediaCtrl.
|
||||||
|
Processes a @c wxEVT_MEDIA_FINISHED event type.
|
||||||
@event{EVT_MEDIA_STATECHANGED(id\, func)}
|
@event{EVT_MEDIA_STATECHANGED(id\, func)}
|
||||||
Sent when a media has switched its state (from any media state).
|
Sent when a media has switched its state (from any media state).
|
||||||
|
Processes a @c wxEVT_MEDIA_STATECHANGED event type.
|
||||||
@event{EVT_MEDIA_PLAY(id\, func)}
|
@event{EVT_MEDIA_PLAY(id\, func)}
|
||||||
Sent when a media has switched to the @c wxMEDIASTATE_PLAYING state.
|
Sent when a media has switched to the @c wxMEDIASTATE_PLAYING state.
|
||||||
|
Processes a @c wxEVT_MEDIA_PLAY event type.
|
||||||
@event{EVT_MEDIA_PAUSE(id\, func)}
|
@event{EVT_MEDIA_PAUSE(id\, func)}
|
||||||
Sent when a media has switched to the @c wxMEDIASTATE_PAUSED state.
|
Sent when a media has switched to the @c wxMEDIASTATE_PAUSED state.
|
||||||
|
Processes a @c wxEVT_MEDIA_PAUSE event type.
|
||||||
@endEventTable
|
@endEventTable
|
||||||
|
|
||||||
@library{wxmedia}
|
@library{wxmedia}
|
||||||
@ -442,3 +448,9 @@ public:
|
|||||||
wxFileOffset Tell();
|
wxFileOffset Tell();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wxEventType wxEVT_MEDIA_LOADED;
|
||||||
|
wxEventType wxEVT_MEDIA_STOP;
|
||||||
|
wxEventType wxEVT_MEDIA_FINISHED;
|
||||||
|
wxEventType wxEVT_MEDIA_STATECHANGED;
|
||||||
|
wxEventType wxEVT_MEDIA_PLAY;
|
||||||
|
wxEventType wxEVT_MEDIA_PAUSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user