# encoding: utf-8
# module wx._xrc
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_xrc.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

XRC_NO_RELOADING = 4
XRC_NO_SUBCLASSING = 2

XRC_USE_ENVVARS = 8
XRC_USE_LOCALE = 1

# no functions
# classes

class Animation(__sip.wrapper):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""



class AnimationCtrl(__sip.wrapper):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""



class XmlResource(__wx__core.Object):
    """
    XmlResource(filemask, flags=XRC_USE_LOCALE, domain='') -> None
    XmlResource(flags=XRC_USE_LOCALE, domain='') -> None
    
    This is the main class for interacting with the XML-based resource
    system.
    """
    def AddHandler(self, handler): # real signature unknown; restored from __doc__
        """
        AddHandler(handler) -> None
        
        Initializes only a specific handler (or custom handler).
        """
        pass

    def AddSubclassFactory(self, factory): # real signature unknown; restored from __doc__
        """
        AddSubclassFactory(factory) -> None
        
        Registers subclasses factory for use in XRC.
        """
        pass

    def AttachUnknownControl(self, name, control, parent=None): # real signature unknown; restored from __doc__
        """
        AttachUnknownControl(name, control, parent=None) -> bool
        
        Attaches an unknown control to the given panel/window/dialog.
        """
        return False

    def ClearHandlers(self): # real signature unknown; restored from __doc__
        """
        ClearHandlers() -> None
        
        Removes all handlers and deletes them (this means that any handlers
        added using AddHandler() must be allocated on the heap).
        """
        pass

    def CompareVersion(self, major, minor, release, revision): # real signature unknown; restored from __doc__
        """
        CompareVersion(major, minor, release, revision) -> int
        
        Compares the XRC version to the argument.
        """
        return 0

    def FindXRCIDById(self, numId): # real signature unknown; restored from __doc__
        """
        FindXRCIDById(numId) -> str
        
        Returns a string ID corresponding to the given numeric ID.
        """
        return ""

    def Get(self): # real signature unknown; restored from __doc__
        """
        Get() -> XmlResource
        
        Gets the global resources object or creates one if none exists.
        """
        return XmlResource

    def GetDomain(self): # real signature unknown; restored from __doc__
        """
        GetDomain() -> str
        
        Returns the domain (message catalog) that will be used to load
        translatable strings in the XRC.
        """
        return ""

    def GetFlags(self): # real signature unknown; restored from __doc__
        """
        GetFlags() -> int
        
        Returns flags, which may be a bitlist of wxXmlResourceFlags
        enumeration values.
        """
        return 0

    def GetResourceNode(self, name): # real signature unknown; restored from __doc__
        """
        GetResourceNode(name) -> XmlNode
        
        Returns the wxXmlNode containing the definition of the object with the
        given name or NULL.
        """
        pass

    def GetVersion(self): # real signature unknown; restored from __doc__
        """
        GetVersion() -> int
        
        Returns version information (a.b.c.d = d + 256*c + 2562*b + 2563*a).
        """
        return 0

    def GetXRCID(self, str_id, value_if_not_found=None): # real signature unknown; restored from __doc__
        """
        GetXRCID(str_id, value_if_not_found=ID_NONE) -> int
        
        Returns a numeric ID that is equivalent to the string ID used in an
        XML resource.
        """
        return 0

    def InitAllHandlers(self): # real signature unknown; restored from __doc__
        """
        InitAllHandlers() -> None
        
        Initializes handlers for all supported controls/windows.
        """
        pass

    def InsertHandler(self, handler): # real signature unknown; restored from __doc__
        """
        InsertHandler(handler) -> None
        
        Add a new handler at the beginning of the handler list.
        """
        pass

    def Load(self, filemask): # real signature unknown; restored from __doc__
        """
        Load(filemask) -> bool
        
        Loads resources from XML files that match given filemask.
        """
        return False

    def LoadAllFiles(self, dirname): # real signature unknown; restored from __doc__
        """
        LoadAllFiles(dirname) -> bool
        
        Loads all .xrc files from directory dirname.
        """
        return False

    def LoadBitmap(self, name): # real signature unknown; restored from __doc__
        """
        LoadBitmap(name) -> Bitmap
        
        Loads a bitmap resource from a file.
        """
        pass

    def LoadDialog(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        LoadDialog(parent, name) -> Dialog
        LoadDialog(dlg, parent, name) -> bool
        
        Loads a dialog.
        """
        return False

    def LoadDocument(self, doc, name=""): # real signature unknown; restored from __doc__
        """
        LoadDocument(doc, name="") -> bool
        
        Load resources from the XML document containing them.
        """
        return False

    def LoadFile(self, file): # real signature unknown; restored from __doc__
        """
        LoadFile(file) -> bool
        
        Simpler form of Load() for loading a single XRC file.
        """
        return False

    def LoadFrame(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        LoadFrame(parent, name) -> Frame
        LoadFrame(frame, parent, name) -> bool
        
        Loads a frame from the resource.
        """
        return False

    def LoadFromBuffer(self, data): # real signature unknown; restored from __doc__
        """
        LoadFromBuffer(data) -> bool
        
        Load the resource from a bytes string or other data buffer compatible
        object.
        """
        return False

    def LoadIcon(self, name): # real signature unknown; restored from __doc__
        """
        LoadIcon(name) -> Icon
        
        Loads an icon resource from a file.
        """
        pass

    def LoadMenu(self, name): # real signature unknown; restored from __doc__
        """
        LoadMenu(name) -> Menu
        
        Loads menu from resource.
        """
        pass

    def LoadMenuBar(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        LoadMenuBar(parent, name) -> MenuBar
        LoadMenuBar(name) -> MenuBar
        
        Loads a menubar from resource.
        """
        pass

    def LoadObject(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        LoadObject(parent, name, classname) -> Object
        LoadObject(instance, parent, name, classname) -> bool
        
        Load an object from the resource specifying both the resource name and
        the class name.
        """
        return False

    def LoadObjectRecursively(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        LoadObjectRecursively(parent, name, classname) -> Object
        LoadObjectRecursively(instance, parent, name, classname) -> bool
        
        Load an object from anywhere in the resource tree.
        """
        return False

    def LoadPanel(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        LoadPanel(parent, name) -> Panel
        LoadPanel(panel, parent, name) -> bool
        
        Loads a panel.
        """
        return False

    def LoadToolBar(self, parent, name): # real signature unknown; restored from __doc__
        """
        LoadToolBar(parent, name) -> ToolBar
        
        Loads a toolbar.
        """
        pass

    def Set(self, res): # real signature unknown; restored from __doc__
        """
        Set(res) -> XmlResource
        
        Sets the global resources object and returns a pointer to the previous one (may be NULL).
        """
        return XmlResource

    def SetDomain(self, domain): # real signature unknown; restored from __doc__
        """
        SetDomain(domain) -> None
        
        Sets the domain (message catalog) that will be used to load
        translatable strings in the XRC.
        """
        pass

    def SetFlags(self, flags): # real signature unknown; restored from __doc__
        """
        SetFlags(flags) -> None
        
        Sets flags (bitlist of wxXmlResourceFlags enumeration values).
        """
        pass

    def Unload(self, filename): # real signature unknown; restored from __doc__
        """
        Unload(filename) -> bool
        
        This function unloads a resource previously loaded by Load().
        """
        return False

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Domain = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetDomain() -> str

Returns the domain (message catalog) that will be used to load
translatable strings in the XRC."""

    Flags = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFlags() -> int

Returns flags, which may be a bitlist of wxXmlResourceFlags
enumeration values."""

    Version = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetVersion() -> int

Returns version information (a.b.c.d = d + 256*c + 2562*b + 2563*a)."""



class XmlResourceFlags(int):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __dict__ = None # (!) real value is "mappingproxy({'__module__': 'wx._xrc', '__dict__': <attribute '__dict__' of 'XmlResourceFlags' objects>, '__doc__': None})"


class XmlResourceHandler(__wx__core.Object):
    """
    XmlResourceHandler() -> None
    
    wxSizerXmlHandler is a class for resource handlers capable of creating
    a wxSizer object from an XML node.
    """
    def AddStyle(self, name, value): # real signature unknown; restored from __doc__
        """
        AddStyle(name, value) -> None
        
        Add a style flag (e.g.
        """
        pass

    def AddWindowStyles(self): # real signature unknown; restored from __doc__
        """
        AddWindowStyles() -> None
        
        Add styles common to all wxWindow-derived classes.
        """
        pass

    def CanHandle(self, node): # real signature unknown; restored from __doc__
        """
        CanHandle(node) -> bool
        
        Returns true if it understands this node and can create a resource
        from it, false otherwise.
        """
        return False

    def CreateChildren(self, parent, this_hnd_only=False): # real signature unknown; restored from __doc__
        """
        CreateChildren(parent, this_hnd_only=False) -> None
        
        Creates children.
        """
        pass

    def CreateChildrenPrivately(self, parent, rootnode=None): # real signature unknown; restored from __doc__
        """
        CreateChildrenPrivately(parent, rootnode=None) -> None
        
        Helper function.
        """
        pass

    def CreateResFromNode(self, node, parent, instance=None): # real signature unknown; restored from __doc__
        """
        CreateResFromNode(node, parent, instance=None) -> Object
        
        Creates a resource from a node.
        """
        pass

    def CreateResource(self, node, parent, instance): # real signature unknown; restored from __doc__
        """
        CreateResource(node, parent, instance) -> Object
        
        Creates an object (menu, dialog, control, ...) from an XML node.
        """
        pass

    def DoCreateResource(self): # real signature unknown; restored from __doc__
        """
        DoCreateResource() -> Object
        
        Called from CreateResource after variables were filled.
        """
        pass

    def GetAnimation(self, param="animation", ctrl=None): # real signature unknown; restored from __doc__
        """
        GetAnimation(param="animation", ctrl=None) -> Animation
        
        Creates an animation (see wxAnimation) from the filename specified in
        param.
        """
        return Animation

    def GetBitmap(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetBitmap(param="bitmap", defaultArtClient=ART_OTHER, size=DefaultSize) -> Bitmap
        GetBitmap(node, defaultArtClient=ART_OTHER, size=DefaultSize) -> Bitmap
        
        Gets a bitmap.
        """
        pass

    def GetBitmapBundle(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetBitmapBundle(param="bitmap", defaultArtClient=ART_OTHER, size=DefaultSize) -> BitmapBundle
        GetBitmapBundle(node, defaultArtClient=ART_OTHER, size=DefaultSize) -> BitmapBundle
        
        Gets a bitmap bundle.
        """
        pass

    def GetBool(self, param, defaultv=False): # real signature unknown; restored from __doc__
        """
        GetBool(param, defaultv=False) -> bool
        
        Gets a bool flag (1, t, yes, on, true are true, everything else is
        false).
        """
        return False

    def GetClass(self): # real signature unknown; restored from __doc__
        """
        GetClass() -> str
        
        After CreateResource has been called this will return the class name
        of the XML resource node being processed.
        """
        return ""

    def GetColour(self, param, defaultColour=None): # real signature unknown; restored from __doc__
        """
        GetColour(param, defaultColour=NullColour) -> Colour
        
        Gets colour in HTML syntax (#RRGGBB).
        """
        pass

    def GetCurFileSystem(self): # real signature unknown; restored from __doc__
        """
        GetCurFileSystem() -> FileSystem
        
        Returns the current file system.
        """
        pass

    def GetDimension(self, param, defaultv=0, windowToUse=0): # real signature unknown; restored from __doc__
        """
        GetDimension(param, defaultv=0, windowToUse=0) -> int
        
        Gets a dimension (may be in dialog units).
        """
        return 0

    def GetDirection(self, param, dirDefault=None): # real signature unknown; restored from __doc__
        """
        GetDirection(param, dirDefault=LEFT) -> Direction
        
        Gets a direction.
        """
        pass

    def GetFloat(self, param, defaultv=0): # real signature unknown; restored from __doc__
        """
        GetFloat(param, defaultv=0) -> float
        
        Gets a float value from the parameter.
        """
        return 0.0

    def GetFont(self, param="font"): # real signature unknown; restored from __doc__
        """
        GetFont(param="font") -> Font
        
        Gets a font.
        """
        pass

    def GetIcon(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetIcon(param="icon", defaultArtClient=ART_OTHER, size=DefaultSize) -> Icon
        GetIcon(node, defaultArtClient=ART_OTHER, size=DefaultSize) -> Icon
        
        Returns an icon.
        """
        pass

    def GetIconBundle(self, param, defaultArtClient=None): # real signature unknown; restored from __doc__
        """
        GetIconBundle(param, defaultArtClient=ART_OTHER) -> IconBundle
        
        Returns an icon bundle.
        """
        pass

    def GetID(self): # real signature unknown; restored from __doc__
        """
        GetID() -> int
        
        Returns the XRCID.
        """
        return 0

    def GetImageList(self, param="imagelist"): # real signature unknown; restored from __doc__
        """
        GetImageList(param="imagelist") -> ImageList
        
        Creates an image list from the param markup data.
        """
        pass

    def GetInstance(self): # real signature unknown; restored from __doc__
        """
        GetInstance() -> Object
        
        After CreateResource has been called this will return the instance
        that the XML resource content should be created upon, if it has
        already been created.
        """
        pass

    def GetLong(self, param, defaultv=0): # real signature unknown; restored from __doc__
        """
        GetLong(param, defaultv=0) -> int
        
        Gets the integer value from the parameter.
        """
        return 0

    def GetName(self): # real signature unknown; restored from __doc__
        """
        GetName() -> str
        
        Returns the resource name.
        """
        return ""

    def GetNode(self): # real signature unknown; restored from __doc__
        """
        GetNode() -> XmlNode
        
        After CreateResource has been called this will return the XML node
        being processed.
        """
        pass

    def GetNodeChildren(self, node): # real signature unknown; restored from __doc__
        """
        GetNodeChildren(node) -> XmlNode
        
        Gets the first child of the given node or NULL.
        """
        pass

    def GetNodeContent(self, node): # real signature unknown; restored from __doc__
        """
        GetNodeContent(node) -> str
        
        Gets node content from wxXML_ENTITY_NODE.
        """
        return ""

    def GetNodeNext(self, node): # real signature unknown; restored from __doc__
        """
        GetNodeNext(node) -> XmlNode
        
        Gets the next sibling node related to the given node, possibly NULL.
        """
        pass

    def GetNodeParent(self, node): # real signature unknown; restored from __doc__
        """
        GetNodeParent(node) -> XmlNode
        
        Gets the parent of the node given.
        """
        pass

    def GetParamNode(self, param): # real signature unknown; restored from __doc__
        """
        GetParamNode(param) -> XmlNode
        
        Finds the node or returns NULL.
        """
        pass

    def GetParamValue(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetParamValue(param) -> str
        GetParamValue(node) -> str
        
        Finds the parameter value or returns the empty string.
        """
        return ""

    def GetParent(self): # real signature unknown; restored from __doc__
        """
        GetParent() -> Object
        
        After CreateResource has been called this will return the current
        item's parent, if any.
        """
        pass

    def GetParentAsWindow(self): # real signature unknown; restored from __doc__
        """
        GetParentAsWindow() -> Window
        
        After CreateResource has been called this will return the item's
        parent as a wxWindow.
        """
        pass

    def GetPosition(self, param="pos"): # real signature unknown; restored from __doc__
        """
        GetPosition(param="pos") -> Point
        
        Gets the position (may be in dialog units).
        """
        pass

    def GetResource(self): # real signature unknown; restored from __doc__
        """
        GetResource() -> XmlResource
        
        After CreateResource has been called this will return the current
        wxXmlResource object.
        """
        return XmlResource

    def GetSize(self, param="size", windowToUse=0): # real signature unknown; restored from __doc__
        """
        GetSize(param="size", windowToUse=0) -> Size
        
        Gets the size (may be in dialog units).
        """
        pass

    def GetStyle(self, param="style", defaults=0): # real signature unknown; restored from __doc__
        """
        GetStyle(param="style", defaults=0) -> int
        
        Gets style flags from text in form "flag | flag2| flag3 |..." Only
        understands flags added with AddStyle().
        """
        return 0

    def GetText(self, param, translate=True): # real signature unknown; restored from __doc__
        """
        GetText(param, translate=True) -> str
        
        Gets text from param and does some conversions:
        """
        return ""

    def HasParam(self, param): # real signature unknown; restored from __doc__
        """
        HasParam(param) -> bool
        
        Check to see if a parameter exists.
        """
        return False

    def IsObjectNode(self, node): # real signature unknown; restored from __doc__
        """
        IsObjectNode(node) -> bool
        
        Checks if the given node is an object node.
        """
        return False

    def IsOfClass(self, node, classname): # real signature unknown; restored from __doc__
        """
        IsOfClass(node, classname) -> bool
        
        Convenience function.
        """
        return False

    def ReportError(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        ReportError(context, message) -> None
        ReportError(message) -> None
        
        Reports error in XRC resources to the user.
        """
        pass

    def ReportParamError(self, param, message): # real signature unknown; restored from __doc__
        """
        ReportParamError(param, message) -> None
        
        Like ReportError(wxXmlNode*, const wxString&), but uses the node of
        parameter param of the currently processed object as the context.
        """
        pass

    def SetParentResource(self, res): # real signature unknown; restored from __doc__
        """
        SetParentResource(res) -> None
        
        Sets the parent resource.
        """
        pass

    def SetupWindow(self, wnd): # real signature unknown; restored from __doc__
        """
        SetupWindow(wnd) -> None
        
        Sets common window options.
        """
        pass

    def __init__(self): # real signature unknown; restored from __doc__
        pass

    Animation = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetAnimation(param="animation", ctrl=None) -> Animation

Creates an animation (see wxAnimation) from the filename specified in
param."""

    Bitmap = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetBitmap(param="bitmap", defaultArtClient=ART_OTHER, size=DefaultSize) -> Bitmap
GetBitmap(node, defaultArtClient=ART_OTHER, size=DefaultSize) -> Bitmap

Gets a bitmap.
"""

    BitmapBundle = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetBitmapBundle(param="bitmap", defaultArtClient=ART_OTHER, size=DefaultSize) -> BitmapBundle
GetBitmapBundle(node, defaultArtClient=ART_OTHER, size=DefaultSize) -> BitmapBundle

Gets a bitmap bundle.
"""

    Class = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetClass() -> str

After CreateResource has been called this will return the class name
of the XML resource node being processed."""

    CurFileSystem = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetCurFileSystem() -> FileSystem

Returns the current file system."""

    Font = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFont(param="font") -> Font

Gets a font."""

    Icon = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetIcon(param="icon", defaultArtClient=ART_OTHER, size=DefaultSize) -> Icon
GetIcon(node, defaultArtClient=ART_OTHER, size=DefaultSize) -> Icon

Returns an icon.
"""

    ID = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetID() -> int

Returns the XRCID."""

    ImageList = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetImageList(param="imagelist") -> ImageList

Creates an image list from the param markup data."""

    Instance = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetInstance() -> Object

After CreateResource has been called this will return the instance
that the XML resource content should be created upon, if it has
already been created."""

    Name = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetName() -> str

Returns the resource name."""

    Node = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetNode() -> XmlNode

After CreateResource has been called this will return the XML node
being processed."""

    Parent = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetParent() -> Object

After CreateResource has been called this will return the current
item's parent, if any."""

    ParentAsWindow = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetParentAsWindow() -> Window

After CreateResource has been called this will return the item's
parent as a wxWindow."""

    Position = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetPosition(param="pos") -> Point

Gets the position (may be in dialog units)."""

    Resource = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetResource() -> XmlResource

After CreateResource has been called this will return the current
wxXmlResource object."""

    Size = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetSize(param="size", windowToUse=0) -> Size

Gets the size (may be in dialog units)."""

    Style = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetStyle(param="style", defaults=0) -> int

Gets style flags from text in form "flag | flag2| flag3 |..." Only
understands flags added with AddStyle()."""



class XmlSubclassFactory(__sip.wrapper):
    """ XmlSubclassFactory() -> None """
    def Create(self, className): # real signature unknown; restored from __doc__
        """ Create(className) -> Object """
        pass

    def __init__(self): # real signature unknown; restored from __doc__
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""



# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x0000022F2FEEE150>'

__spec__ = None # (!) real value is "ModuleSpec(name='wx._xrc', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x0000022F2FEEE150>, origin='D:\\\\project\\\\A_Board\\\\.venv\\\\Lib\\\\site-packages\\\\wx\\\\_xrc.cp313-win_amd64.pyd')"

