-# This file was created automatically by SWIG.
+# This file was created automatically by SWIG 1.3.27.
# Don't modify this file, modify the SWIG interface instead.
"""
"""Stop(self) -> bool"""
return _media.MediaCtrl_Stop(*args, **kwargs)
- def Load(*args, **kwargs):
- """Load(self, String fileName) -> bool"""
- return _media.MediaCtrl_Load(*args, **kwargs)
-
- def LoadFromURI(*args, **kwargs):
- """LoadFromURI(self, String location) -> bool"""
- return _media.MediaCtrl_LoadFromURI(*args, **kwargs)
-
- def Loop(*args, **kwargs):
- """Loop(self, bool bLoop=True)"""
- return _media.MediaCtrl_Loop(*args, **kwargs)
-
- def IsLooped(*args, **kwargs):
- """IsLooped(self) -> bool"""
- return _media.MediaCtrl_IsLooped(*args, **kwargs)
-
def GetState(*args, **kwargs):
"""GetState(self) -> int"""
return _media.MediaCtrl_GetState(*args, **kwargs)
"""Length(self) -> wxFileOffset"""
return _media.MediaCtrl_Length(*args, **kwargs)
+ def GetVolume(*args, **kwargs):
+ """GetVolume(self) -> double"""
+ return _media.MediaCtrl_GetVolume(*args, **kwargs)
+
+ def SetVolume(*args, **kwargs):
+ """SetVolume(self, double dVolume) -> bool"""
+ return _media.MediaCtrl_SetVolume(*args, **kwargs)
+
+ def ShowPlayerControls(*args, **kwargs):
+ """ShowPlayerControls(self, wxMediaCtrlPlayerControls flags=wxMEDIACTRLPLAYERCONTROLS_DEFAULT) -> bool"""
+ return _media.MediaCtrl_ShowPlayerControls(*args, **kwargs)
+
+ def Load(*args, **kwargs):
+ """Load(self, String fileName) -> bool"""
+ return _media.MediaCtrl_Load(*args, **kwargs)
+
+ def LoadURI(*args, **kwargs):
+ """LoadURI(self, String fileName) -> bool"""
+ return _media.MediaCtrl_LoadURI(*args, **kwargs)
+
+ def LoadURIWithProxy(*args, **kwargs):
+ """LoadURIWithProxy(self, String fileName, String proxy) -> bool"""
+ return _media.MediaCtrl_LoadURIWithProxy(*args, **kwargs)
+
+ LoadFromURI = LoadURI
class MediaCtrlPtr(MediaCtrl):
def __init__(self, this):
wxEVT_MEDIA_FINISHED = _media.wxEVT_MEDIA_FINISHED
wxEVT_MEDIA_STOP = _media.wxEVT_MEDIA_STOP
+wxEVT_MEDIA_LOADED = _media.wxEVT_MEDIA_LOADED
EVT_MEDIA_FINISHED = wx.PyEventBinder( wxEVT_MEDIA_FINISHED, 1)
EVT_MEDIA_STOP = wx.PyEventBinder( wxEVT_MEDIA_STOP, 1)
+EVT_MEDIA_LOADED = wx.PyEventBinder( wxEVT_MEDIA_LOADED, 1)
+