# encoding: utf-8
# module wx._media
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_media.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import wx._core as __wx__core


# Variables with simple values

MC_NO_AUTORESIZE = 1

MEDIACTRLPLAYERCONTROLS_DEFAULT = 3
MEDIACTRLPLAYERCONTROLS_NONE = 0
MEDIACTRLPLAYERCONTROLS_STEP = 1
MEDIACTRLPLAYERCONTROLS_VOLUME = 2

MEDIASTATE_PAUSED = 1
MEDIASTATE_PLAYING = 2
MEDIASTATE_STOPPED = 0

USE_MEDIACTRL = 1

wxEVT_MEDIA_FINISHED = 10329
wxEVT_MEDIA_LOADED = 10330
wxEVT_MEDIA_PAUSE = 10328
wxEVT_MEDIA_PLAY = 10327
wxEVT_MEDIA_STATECHANGED = 10326
wxEVT_MEDIA_STOP = 10331

# no functions
# classes

class MediaCtrl(__wx__core.Control):
    """
    MediaCtrl() -> None
    MediaCtrl(parent, id=-1, fileName='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, szBackend='', validator=wx.DefaultValidator, name="mediaCtrl") -> None
    
    wxMediaCtrl is a class for displaying various types of media, such as
    videos, audio files, natively through native codecs.
    """
    def Create(self, parent, id=-1, fileName='', pos=None, size=None, style=0, szBackend='', validator=None, name="mediaCtrl"): # real signature unknown; restored from __doc__
        """
        Create(parent, id=-1, fileName='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, szBackend='', validator=wx.DefaultValidator, name="mediaCtrl") -> bool
        
        Creates this control.
        """
        return False

    def DoEnable(self, *args, **kwargs): # real signature unknown
        pass

    def DoFreeze(self, *args, **kwargs): # real signature unknown
        pass

    def DoGetBestClientSize(self, *args, **kwargs): # real signature unknown
        pass

    def DoGetBestSize(self, *args, **kwargs): # real signature unknown
        pass

    def DoGetClientSize(self, *args, **kwargs): # real signature unknown
        pass

    def DoGetPosition(self, *args, **kwargs): # real signature unknown
        pass

    def DoGetSize(self, *args, **kwargs): # real signature unknown
        pass

    def DoMoveWindow(self, *args, **kwargs): # real signature unknown
        pass

    def DoSetClientSize(self, *args, **kwargs): # real signature unknown
        pass

    def DoSetSize(self, *args, **kwargs): # real signature unknown
        pass

    def DoSetSizeHints(self, *args, **kwargs): # real signature unknown
        pass

    def DoSetWindowVariant(self, *args, **kwargs): # real signature unknown
        pass

    def DoThaw(self, *args, **kwargs): # real signature unknown
        pass

    def GetBestSize(self): # real signature unknown; restored from __doc__
        """
        GetBestSize() -> wx.Size
        
        Obtains the best size relative to the original/natural size of the
        video, if there is any.
        """
        pass

    def GetDefaultBorder(self, *args, **kwargs): # real signature unknown
        pass

    def GetDefaultBorderForControl(self, *args, **kwargs): # real signature unknown
        pass

    def GetPlaybackRate(self): # real signature unknown; restored from __doc__
        """
        GetPlaybackRate() -> float
        
        Obtains the playback rate, or speed of the media.
        """
        return 0.0

    def GetState(self): # real signature unknown; restored from __doc__
        """
        GetState() -> MediaState
        
        Obtains the state the playback of the media is in.
        """
        return MediaState

    def GetVolume(self): # real signature unknown; restored from __doc__
        """
        GetVolume() -> float
        
        Gets the volume of the media from a 0.0 to 1.0 range.
        """
        return 0.0

    def HasTransparentBackground(self, *args, **kwargs): # real signature unknown
        pass

    def Length(self): # real signature unknown; restored from __doc__
        """
        Length() -> FileOffset
        
        Obtains the length - the total amount of time the media has in
        milliseconds.
        """
        pass

    def Load(self, fileName): # real signature unknown; restored from __doc__
        """
        Load(fileName) -> bool
        
        Loads the file that fileName refers to.
        """
        return False

    def LoadURI(self, uri): # real signature unknown; restored from __doc__
        """
        LoadURI(uri) -> bool
        
        Loads the location that uri refers to.
        """
        return False

    def LoadURIWithProxy(self, uri, proxy): # real signature unknown; restored from __doc__
        """
        LoadURIWithProxy(uri, proxy) -> bool
        
        Loads the location that uri refers to with the proxy proxy.
        """
        return False

    def Pause(self): # real signature unknown; restored from __doc__
        """
        Pause() -> bool
        
        Pauses playback of the media.
        """
        return False

    def Play(self): # real signature unknown; restored from __doc__
        """
        Play() -> bool
        
        Resumes playback of the media.
        """
        return False

    def ProcessEvent(self, *args, **kwargs): # real signature unknown
        pass

    def Seek(self, where, mode=None): # real signature unknown; restored from __doc__
        """
        Seek(where, mode=wx.FromStart) -> FileOffset
        
        Seeks to a position within the media.
        """
        pass

    def SendDestroyEvent(self, *args, **kwargs): # real signature unknown
        pass

    def SetPlaybackRate(self, dRate): # real signature unknown; restored from __doc__
        """
        SetPlaybackRate(dRate) -> bool
        
        Sets the playback rate, or speed of the media, to that referred by
        dRate.
        """
        return False

    def SetVolume(self, dVolume): # real signature unknown; restored from __doc__
        """
        SetVolume(dVolume) -> bool
        
        Sets the volume of the media from a 0.0 to 1.0 range to that referred
        by dVolume.
        """
        return False

    def ShowPlayerControls(self, flags=None): # real signature unknown; restored from __doc__
        """
        ShowPlayerControls(flags=MEDIACTRLPLAYERCONTROLS_DEFAULT) -> bool
        
        A special feature to wxMediaCtrl.
        """
        return False

    def Stop(self): # real signature unknown; restored from __doc__
        """
        Stop() -> bool
        
        Stops the media.
        """
        return False

    def Tell(self): # real signature unknown; restored from __doc__
        """
        Tell() -> FileOffset
        
        Obtains the current position in time within the media in milliseconds.
        """
        pass

    def TryAfter(self, *args, **kwargs): # real signature unknown
        pass

    def TryBefore(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, parent=None, id=-1, fileName='', pos=None, size=None, style=0, szBackend='', validator=None, name="mediaCtrl"): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    BestSize = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetBestSize() -> wx.Size

Obtains the best size relative to the original/natural size of the
video, if there is any."""

    PlaybackRate = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetPlaybackRate() -> float

Obtains the playback rate, or speed of the media."""

    State = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetState() -> MediaState

Obtains the state the playback of the media is in."""

    Volume = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetVolume() -> float

Gets the volume of the media from a 0.0 to 1.0 range."""



class MediaCtrlPlayerControls(int):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __dict__ = None # (!) real value is "mappingproxy({'__module__': 'wx._media', '__dict__': <attribute '__dict__' of 'MediaCtrlPlayerControls' objects>, '__doc__': None})"


class MediaEvent(__wx__core.NotifyEvent):
    """
    MediaEvent(commandType=wx.wxEVT_NULL, winid=0) -> None
    
    Event wxMediaCtrl uses.
    """
    def Clone(self): # real signature unknown; restored from __doc__
        """ Clone(self) -> Optional[Event] """
        pass

    def __init__(self, commandType=None, winid=0): # real signature unknown; restored from __doc__
        pass


class MediaState(int):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __dict__ = None # (!) real value is "mappingproxy({'__module__': 'wx._media', '__dict__': <attribute '__dict__' of 'MediaState' objects>, '__doc__': None})"


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x000001A00CF9E150>'

__spec__ = None # (!) real value is "ModuleSpec(name='wx._media', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x000001A00CF9E150>, origin='D:\\\\project\\\\A_Board\\\\.venv\\\\Lib\\\\site-packages\\\\wx\\\\_media.cp313-win_amd64.pyd')"

