X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/554f62e979b12368202776c00f3ede73a822e67a..13b955a7556502bf9a66986b8ff62c1cd260e138:/wxPython/src/msw/media.py diff --git a/wxPython/src/msw/media.py b/wxPython/src/msw/media.py index 16cadc477c..414ca24e56 100644 --- a/wxPython/src/msw/media.py +++ b/wxPython/src/msw/media.py @@ -70,10 +70,9 @@ class MediaEvent(_core.NotifyEvent): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args, **kwargs): - """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> MediaEvent""" + """__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> MediaEvent""" _media.MediaEvent_swiginit(self,_media.new_MediaEvent(*args, **kwargs)) -MediaEvent_swigregister = _media.MediaEvent_swigregister -MediaEvent_swigregister(MediaEvent) +_media.MediaEvent_swigregister(MediaEvent) cvar = _media.cvar MEDIABACKEND_DIRECTSHOW = cvar.MEDIABACKEND_DIRECTSHOW MEDIABACKEND_MCI = cvar.MEDIABACKEND_MCI @@ -176,8 +175,12 @@ class MediaCtrl(_core.Control): """GetDownloadTotal(self) -> wxFileOffset""" return _media.MediaCtrl_GetDownloadTotal(*args, **kwargs) -MediaCtrl_swigregister = _media.MediaCtrl_swigregister -MediaCtrl_swigregister(MediaCtrl) + DownloadProgress = property(GetDownloadProgress,doc="See `GetDownloadProgress`") + DownloadTotal = property(GetDownloadTotal,doc="See `GetDownloadTotal`") + PlaybackRate = property(GetPlaybackRate,SetPlaybackRate,doc="See `GetPlaybackRate` and `SetPlaybackRate`") + State = property(GetState,doc="See `GetState`") + Volume = property(GetVolume,SetVolume,doc="See `GetVolume` and `SetVolume`") +_media.MediaCtrl_swigregister(MediaCtrl) MediaCtrlNameStr = cvar.MediaCtrlNameStr def PreMediaCtrl(*args, **kwargs):