Add properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-26 00:26:35 +00:00
parent 4627af27d4
commit e70b4d2db9
50 changed files with 1799 additions and 249 deletions

View File

@@ -175,6 +175,11 @@ class MediaCtrl(_core.Control):
"""GetDownloadTotal(self) -> wxFileOffset"""
return _media.MediaCtrl_GetDownloadTotal(*args, **kwargs)
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