# encoding: utf-8
# module wx._glcanvas
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_glcanvas.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._core as __wx__core


# Variables with simple values

USE_GLCANVAS = 1

WX_GL_AUX_BUFFERS = 6

WX_GL_BUFFER_SIZE = 2

WX_GL_COMPAT_PROFILE = 23

WX_GL_CORE_PROFILE = 20

WX_GL_DEBUG = 26

WX_GL_DEPTH_SIZE = 11

WX_GL_DOUBLEBUFFER = 4
WX_GL_ES2 = 25

WX_GL_FORWARD_COMPAT = 24

WX_GL_FRAMEBUFFER_SRGB = 19

WX_GL_LEVEL = 3

WX_GL_LOSE_ON_RESET = 29

WX_GL_MAJOR_VERSION = 21

WX_GL_MINOR_VERSION = 22

WX_GL_MIN_ACCUM_ALPHA = 16
WX_GL_MIN_ACCUM_BLUE = 15
WX_GL_MIN_ACCUM_GREEN = 14
WX_GL_MIN_ACCUM_RED = 13

WX_GL_MIN_ALPHA = 10
WX_GL_MIN_BLUE = 9
WX_GL_MIN_GREEN = 8
WX_GL_MIN_RED = 7

WX_GL_NO_RESET_NOTIFY = 28

WX_GL_RELEASE_FLUSH = 31
WX_GL_RELEASE_NONE = 32

WX_GL_RESET_ISOLATION = 30

WX_GL_RGBA = 1

WX_GL_ROBUST_ACCESS = 27

WX_GL_SAMPLES = 18

WX_GL_SAMPLE_BUFFERS = 17

WX_GL_STENCIL_SIZE = 12

WX_GL_STEREO = 5

# no functions
# classes

class GLAttribsBase(__sip.wrapper):
    """
    GLAttribsBase() -> None
    
    This is the base class for wxGLAttributes and wxGLContextAttrs.
    """
    def AddAttribBits(self, searchVal, combineVal): # real signature unknown; restored from __doc__
        """
        AddAttribBits(searchVal, combineVal) -> None
        
        Combine (bitwise OR) a given value with the existing one, if any.
        """
        pass

    def AddAttribute(self, attribute): # real signature unknown; restored from __doc__
        """
        AddAttribute(attribute) -> None
        
        Adds an integer value to the list of attributes.
        """
        pass

    def GetSize(self): # real signature unknown; restored from __doc__
        """
        GetSize() -> int
        
        Returns the size of the internal list of attributes.
        """
        return 0

    def NeedsARB(self): # real signature unknown; restored from __doc__
        """
        NeedsARB() -> bool
        
        Returns the current value of the ARB-flag.
        """
        return False

    def Reset(self): # real signature unknown; restored from __doc__
        """
        Reset() -> None
        
        Delete contents and sets ARB-flag to false.
        """
        pass

    def SetNeedsARB(self, needsARB=True): # real signature unknown; restored from __doc__
        """
        SetNeedsARB(needsARB=True) -> None
        
        Sets the necessity of using special ARB-functions (e.g.
        """
        pass

    def __init__(self): # real signature unknown; restored from __doc__
        pass

    Size = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetSize() -> int

Returns the size of the internal list of attributes."""

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""



class GLAttributes(GLAttribsBase):
    """
    This class is used for setting display attributes when drawing through
    OpenGL ("Pixel format" in MSW and OSX parlance, "Configs" in X11).
    """
    def AuxBuffers(self, val): # real signature unknown; restored from __doc__
        """
        AuxBuffers(val) -> GLAttributes
        
        Specifies the number of auxiliary buffers.
        """
        return GLAttributes

    def BufferSize(self, val): # real signature unknown; restored from __doc__
        """
        BufferSize(val) -> GLAttributes
        
        Specifies the number of bits for colour buffer.
        """
        return GLAttributes

    def Defaults(self): # real signature unknown; restored from __doc__
        """
        Defaults() -> GLAttributes
        
        wxWidgets defaults: RGBA, Z-depth 16 bits, double buffering, 1 sample
        buffer, 4 samplers.
        """
        return GLAttributes

    def Depth(self, val): # real signature unknown; restored from __doc__
        """
        Depth(val) -> GLAttributes
        
        Specifies number of bits for Z-buffer.
        """
        return GLAttributes

    def DoubleBuffer(self): # real signature unknown; restored from __doc__
        """
        DoubleBuffer() -> GLAttributes
        
        Requests using double buffering.
        """
        return GLAttributes

    def EndList(self): # real signature unknown; restored from __doc__
        """
        EndList() -> None
        
        The set of attributes must end with this one; otherwise, the GPU may
        display nothing at all.
        """
        pass

    def FrameBuffersRGB(self): # real signature unknown; restored from __doc__
        """
        FrameBuffersRGB() -> GLAttributes
        
        Used to request a frame buffer sRGB capable.
        """
        return GLAttributes

    def Level(self, val): # real signature unknown; restored from __doc__
        """
        Level(val) -> GLAttributes
        
        Specifies the framebuffer level.
        """
        return GLAttributes

    def MinAcumRGBA(self, mRed, mGreen, mBlue, mAlpha): # real signature unknown; restored from __doc__
        """
        MinAcumRGBA(mRed, mGreen, mBlue, mAlpha) -> GLAttributes
        
        Specifies the minimal number of bits for each accumulator channel.
        """
        return GLAttributes

    def MinRGBA(self, mRed, mGreen, mBlue, mAlpha): # real signature unknown; restored from __doc__
        """
        MinRGBA(mRed, mGreen, mBlue, mAlpha) -> GLAttributes
        
        Specifies the minimal number of bits for each colour and alpha.
        """
        return GLAttributes

    def PlatformDefaults(self): # real signature unknown; restored from __doc__
        """
        PlatformDefaults() -> GLAttributes
        
        Set some typically needed attributes.
        """
        return GLAttributes

    def RGBA(self): # real signature unknown; restored from __doc__
        """
        RGBA() -> GLAttributes
        
        Use true colour instead of colour index rendering for each pixel.
        """
        return GLAttributes

    def SampleBuffers(self, val): # real signature unknown; restored from __doc__
        """
        SampleBuffers(val) -> GLAttributes
        
        Use multi-sampling support (antialiasing).
        """
        return GLAttributes

    def Samplers(self, val): # real signature unknown; restored from __doc__
        """
        Samplers(val) -> GLAttributes
        
        Specifies the number of samplers per pixel.
        """
        return GLAttributes

    def Stencil(self, val): # real signature unknown; restored from __doc__
        """
        Stencil(val) -> GLAttributes
        
        Specifies number of bits for stencil buffer.
        """
        return GLAttributes

    def Stereo(self): # real signature unknown; restored from __doc__
        """
        Stereo() -> GLAttributes
        
        Use stereoscopic display.
        """
        return GLAttributes

    def __init__(self, *args, **kwargs): # real signature unknown
        pass


class GLCanvas(__wx__core.Window):
    """
    GLCanvas(parent, dispAttrs, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name=GLCanvasName, palette=NullPalette) -> None
    GLCanvas(parent, id=wx.ID_ANY, attribList=None, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, name='GLCanvas', palette=wx.NullPalette)
    
    wxGLCanvas is a class for displaying OpenGL graphics.
    """
    def AcceptsFocus(self): # real signature unknown; restored from __doc__
        """ AcceptsFocus(self) -> bool """
        return False

    def AcceptsFocusFromKeyboard(self): # real signature unknown; restored from __doc__
        """ AcceptsFocusFromKeyboard(self) -> bool """
        return False

    def AcceptsFocusRecursively(self): # real signature unknown; restored from __doc__
        """ AcceptsFocusRecursively(self) -> bool """
        return False

    def AddChild(self, child, WindowBase=None): # real signature unknown; restored from __doc__
        """ AddChild(self, child: Optional[WindowBase]) """
        pass

    def CreateSurface(self): # real signature unknown; restored from __doc__
        """
        CreateSurface() -> bool
        
        Re-creates EGLSurface.
        """
        return False

    def Destroy(self): # real signature unknown; restored from __doc__
        """ Destroy(self) -> bool """
        return False

    def DoEnable(self, enable): # real signature unknown; restored from __doc__
        """ DoEnable(self, enable: bool) """
        pass

    def DoFreeze(self): # real signature unknown; restored from __doc__
        """ DoFreeze(self) """
        pass

    def DoGetBestClientSize(self): # real signature unknown; restored from __doc__
        """ DoGetBestClientSize(self) -> Size """
        pass

    def DoGetBestSize(self): # real signature unknown; restored from __doc__
        """ DoGetBestSize(self) -> Size """
        pass

    def DoGetClientSize(self): # real signature unknown; restored from __doc__
        """ DoGetClientSize(self) -> (Optional[int], Optional[int]) """
        pass

    def DoGetPosition(self): # real signature unknown; restored from __doc__
        """ DoGetPosition(self) -> (Optional[int], Optional[int]) """
        pass

    def DoGetSize(self): # real signature unknown; restored from __doc__
        """ DoGetSize(self) -> (Optional[int], Optional[int]) """
        pass

    def DoMoveWindow(self, x, y, width, height): # real signature unknown; restored from __doc__
        """ DoMoveWindow(self, x: int, y: int, width: int, height: int) """
        pass

    def DoSetClientSize(self, width, height): # real signature unknown; restored from __doc__
        """ DoSetClientSize(self, width: int, height: int) """
        pass

    def DoSetSize(self, x, y, width, height, sizeFlags): # real signature unknown; restored from __doc__
        """ DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int) """
        pass

    def DoSetSizeHints(self, minW, minH, maxW, maxH, incW, incH): # real signature unknown; restored from __doc__
        """ DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int) """
        pass

    def DoSetWindowVariant(self, variant): # real signature unknown; restored from __doc__
        """ DoSetWindowVariant(self, variant: WindowVariant) """
        pass

    def DoThaw(self): # real signature unknown; restored from __doc__
        """ DoThaw(self) """
        pass

    def EnableVisibleFocus(self, enabled): # real signature unknown; restored from __doc__
        """ EnableVisibleFocus(self, enabled: bool) """
        pass

    def GetClassDefaultAttributes(self, variant=None): # real signature unknown; restored from __doc__
        """ GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes """
        pass

    def GetClientAreaOrigin(self): # real signature unknown; restored from __doc__
        """ GetClientAreaOrigin(self) -> Point """
        pass

    def GetDefaultBorder(self): # real signature unknown; restored from __doc__
        """ GetDefaultBorder(self) -> Border """
        pass

    def GetDefaultBorderForControl(self): # real signature unknown; restored from __doc__
        """ GetDefaultBorderForControl(self) -> Border """
        pass

    def GetMainWindowOfCompositeControl(self): # real signature unknown; restored from __doc__
        """ GetMainWindowOfCompositeControl(self) -> Optional[Window] """
        pass

    def GetValidator(self): # real signature unknown; restored from __doc__
        """ GetValidator(self) -> Optional[Validator] """
        pass

    def HasTransparentBackground(self): # real signature unknown; restored from __doc__
        """ HasTransparentBackground(self) -> bool """
        return False

    def InformFirstDirection(self, direction, size, availableOtherDir): # real signature unknown; restored from __doc__
        """ InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool """
        return False

    def InheritAttributes(self): # real signature unknown; restored from __doc__
        """ InheritAttributes(self) """
        pass

    def InitDialog(self): # real signature unknown; restored from __doc__
        """ InitDialog(self) """
        pass

    def IsDisplaySupported(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        IsDisplaySupported(dispAttrs) -> bool
        IsDisplaySupported(attribList) -> bool
        
        Determines if a canvas having the specified attributes is available.
        """
        return False

    def IsExtensionSupported(self, extension): # real signature unknown; restored from __doc__
        """
        IsExtensionSupported(extension) -> bool
        
        Returns true if the extension with given name is supported.
        """
        return False

    def OnInternalIdle(self): # real signature unknown; restored from __doc__
        """ OnInternalIdle(self) """
        pass

    def ProcessEvent(self, event): # real signature unknown; restored from __doc__
        """ ProcessEvent(self, event: Event) -> bool """
        return False

    def RemoveChild(self, child, WindowBase=None): # real signature unknown; restored from __doc__
        """ RemoveChild(self, child: Optional[WindowBase]) """
        pass

    def SendDestroyEvent(self, *args, **kwargs): # real signature unknown
        pass

    def SetCanFocus(self, canFocus): # real signature unknown; restored from __doc__
        """ SetCanFocus(self, canFocus: bool) """
        pass

    def SetColour(self, colour): # real signature unknown; restored from __doc__
        """
        SetColour(colour) -> bool
        
        Sets the current colour for this window (using glcolor3f()), using the
        wxWidgets colour database to find a named colour.
        """
        return False

    def SetCurrent(self, context): # real signature unknown; restored from __doc__
        """
        SetCurrent(context) -> bool
        
        Makes the OpenGL state that is represented by the OpenGL rendering
        context context current, i.e.
        """
        return False

    def SetValidator(self, validator): # real signature unknown; restored from __doc__
        """ SetValidator(self, validator: Validator) """
        pass

    def ShouldInheritColours(self): # real signature unknown; restored from __doc__
        """ ShouldInheritColours(self) -> bool """
        return False

    def SwapBuffers(self): # real signature unknown; restored from __doc__
        """
        SwapBuffers() -> bool
        
        Swaps the double-buffer of this window, making the back-buffer the
        front-buffer and vice versa, so that the output of the previous OpenGL
        commands is displayed on the window.
        """
        return False

    def TransferDataFromWindow(self): # real signature unknown; restored from __doc__
        """ TransferDataFromWindow(self) -> bool """
        return False

    def TransferDataToWindow(self): # real signature unknown; restored from __doc__
        """ TransferDataToWindow(self) -> bool """
        return False

    def TryAfter(self, event): # real signature unknown; restored from __doc__
        """ TryAfter(self, event: Event) -> bool """
        return False

    def TryBefore(self, event): # real signature unknown; restored from __doc__
        """ TryBefore(self, event: Event) -> bool """
        return False

    def Validate(self): # real signature unknown; restored from __doc__
        """ Validate(self) -> bool """
        return False

    def __init__(self, parent, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass


class GLContext(__wx__core.Object):
    """
    GLContext(win, other=None, ctxAttrs=None) -> None
    
    An instance of a wxGLContext represents the state of an OpenGL state
    machine and the connection between OpenGL and the system.
    """
    def IsOK(self): # real signature unknown; restored from __doc__
        """
        IsOK() -> bool
        
        Checks if the underlying OpenGL rendering context was correctly
        created by the system with the requested attributes.
        """
        return False

    def SetCurrent(self, win): # real signature unknown; restored from __doc__
        """
        SetCurrent(win) -> bool
        
        Makes the OpenGL state that is represented by this rendering context
        current with the wxGLCanvas win.
        """
        return False

    def __init__(self, win, other=None, ctxAttrs=None): # real signature unknown; restored from __doc__
        pass


class GLContextAttrs(GLAttribsBase):
    """ This class is used for setting context attributes. """
    def CompatibilityProfile(self): # real signature unknown; restored from __doc__
        """
        CompatibilityProfile() -> GLContextAttrs
        
        Request a type of context with all OpenGL features from version 1.0 to
        the newest available by the GPU driver.
        """
        return GLContextAttrs

    def CoreProfile(self): # real signature unknown; restored from __doc__
        """
        CoreProfile() -> GLContextAttrs
        
        Request an OpenGL core profile for the context.
        """
        return GLContextAttrs

    def DebugCtx(self): # real signature unknown; restored from __doc__
        """
        DebugCtx() -> GLContextAttrs
        
        Request debugging functionality.
        """
        return GLContextAttrs

    def EndList(self): # real signature unknown; restored from __doc__
        """
        EndList() -> None
        
        The set of attributes must end with this one; otherwise, the GPU may
        display nothing at all.
        """
        pass

    def ES2(self): # real signature unknown; restored from __doc__
        """
        ES2() -> GLContextAttrs
        
        Request an ES or ES2 ("Embedded Subsystem") context.
        """
        return GLContextAttrs

    def ForwardCompatible(self): # real signature unknown; restored from __doc__
        """
        ForwardCompatible() -> GLContextAttrs
        
        Request a forward-compatible context.
        """
        return GLContextAttrs

    def LoseOnReset(self): # real signature unknown; restored from __doc__
        """
        LoseOnReset() -> GLContextAttrs
        
        With robustness enabled, if graphics reset happens, all context state
        is lost.
        """
        return GLContextAttrs

    def MajorVersion(self, val): # real signature unknown; restored from __doc__
        """
        MajorVersion(val) -> GLContextAttrs
        
        Request specific OpenGL core major version number (>= 3).
        """
        return GLContextAttrs

    def MinorVersion(self, val): # real signature unknown; restored from __doc__
        """
        MinorVersion(val) -> GLContextAttrs
        
        Request specific OpenGL core minor version number.
        """
        return GLContextAttrs

    def NoResetNotify(self): # real signature unknown; restored from __doc__
        """
        NoResetNotify() -> GLContextAttrs
        
        With robustness enabled, never deliver notification of reset events.
        """
        return GLContextAttrs

    def OGLVersion(self, vmayor, vminor): # real signature unknown; restored from __doc__
        """
        OGLVersion(vmayor, vminor) -> GLContextAttrs
        
        An easy way of requesting an OpenGL version.
        """
        return GLContextAttrs

    def PlatformDefaults(self): # real signature unknown; restored from __doc__
        """
        PlatformDefaults() -> GLContextAttrs
        
        Set platform specific defaults.
        """
        return GLContextAttrs

    def ReleaseFlush(self, val=1): # real signature unknown; restored from __doc__
        """
        ReleaseFlush(val=1) -> GLContextAttrs
        
        Request OpenGL to avoid or not flushing pending commands when the
        context is made no longer current (released).
        """
        return GLContextAttrs

    def ResetIsolation(self): # real signature unknown; restored from __doc__
        """
        ResetIsolation() -> GLContextAttrs
        
        Request OpenGL to protect other applications or shared contexts from
        reset side-effects.
        """
        return GLContextAttrs

    def Robust(self): # real signature unknown; restored from __doc__
        """
        Robust() -> GLContextAttrs
        
        Request robustness, or how OpenGL handles out-of-bounds buffer object
        accesses and graphics reset notification behaviours.
        """
        return GLContextAttrs

    def __init__(self, *args, **kwargs): # real signature unknown
        pass


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x0000015B61BEE150>'

__spec__ = None # (!) real value is "ModuleSpec(name='wx._glcanvas', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x0000015B61BEE150>, origin='D:\\\\project\\\\A_Board\\\\.venv\\\\Lib\\\\site-packages\\\\wx\\\\_glcanvas.cp313-win_amd64.pyd')"

