X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f460c29d593da752aa2bac1c178d2c58ee563ff3..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/src/msw/media.py?ds=inline diff --git a/wxPython/src/msw/media.py b/wxPython/src/msw/media.py index b89f15ec2d..414ca24e56 100644 --- a/wxPython/src/msw/media.py +++ b/wxPython/src/msw/media.py @@ -72,8 +72,7 @@ class MediaEvent(_core.NotifyEvent): def __init__(self, *args, **kwargs): """__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):