X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54f9ee450905e98296e6afd1376b3d1e06a1e00f..d32b901bac42e4f8833720fd6eee60de7d870e0d:/wxPython/contrib/xrc/gtk/xrc.py diff --git a/wxPython/contrib/xrc/gtk/xrc.py b/wxPython/contrib/xrc/gtk/xrc.py index 94510f8828..e5bdb94fb8 100644 --- a/wxPython/contrib/xrc/gtk/xrc.py +++ b/wxPython/contrib/xrc/gtk/xrc.py @@ -1,11 +1,16 @@ # 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__ +__docfilter__ = wx.__DocFilter(globals()) #--------------------------------------------------------------------------- WX_XMLRES_CURRENT_VERSION_MAJOR = _xrc.WX_XMLRES_CURRENT_VERSION_MAJOR @@ -14,6 +19,7 @@ WX_XMLRES_CURRENT_VERSION_RELEASE = _xrc.WX_XMLRES_CURRENT_VERSION_RELEASE 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 +XRC_NO_RELOADING = _xrc.XRC_NO_RELOADING 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,) @@ -56,7 +62,7 @@ class XmlResource(_core.Object): 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) @@ -121,7 +127,7 @@ class XmlResource(_core.Object): 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) @@ -134,12 +140,12 @@ class XmlResource(_core.Object): 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)