# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
+"""
+The `XmlResource` class allows program resources defining menus, layout of
+controls on a panel, etc. to be loaded from an XML file.
+"""
+
import _xrc
-import core
-wx = core
-__docfilter__ = wx.__docfilter__
+import _core
+wx = _core
+__docfilter__ = wx.__DocFilter(globals())
#---------------------------------------------------------------------------
WX_XMLRES_CURRENT_VERSION_MAJOR = _xrc.WX_XMLRES_CURRENT_VERSION_MAJOR
WX_XMLRES_CURRENT_VERSION_REVISION = _xrc.WX_XMLRES_CURRENT_VERSION_REVISION
XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
-class XmlResource(core.Object):
+class XmlResource(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
def AddSubclassFactory(*args, **kwargs):
- """XmlResource.AddSubclassFactory(XmlSubclassFactory factory)"""
+ """AddSubclassFactory(XmlSubclassFactory factory)"""
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
AddSubclassFactory = staticmethod(AddSubclassFactory)
return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
def GetXRCID(*args, **kwargs):
- """XmlResource.GetXRCID(String str_id) -> int"""
+ """GetXRCID(String str_id) -> int"""
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
GetXRCID = staticmethod(GetXRCID)
return _xrc.XmlResource_CompareVersion(*args, **kwargs)
def Get(*args, **kwargs):
- """XmlResource.Get() -> XmlResource"""
+ """Get() -> XmlResource"""
return _xrc.XmlResource_Get(*args, **kwargs)
Get = staticmethod(Get)
def Set(*args, **kwargs):
- """XmlResource.Set(XmlResource res) -> XmlResource"""
+ """Set(XmlResource res) -> XmlResource"""
return _xrc.XmlResource_Set(*args, **kwargs)
Set = staticmethod(Set)
val.thisown = 1
return val
-class XmlDocument(core.Object):
+class XmlDocument(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
-class XmlResourceHandler(core.Object):
+class XmlResourceHandler(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):