This class stores meta-information about classes.
Instances of this class are not generally defined directly by an application, but indirectly through use of macros such as DECLARE_DYNAMIC_CLASS
and IMPLEMENT_DYNAMIC_CLASS
.
See also
|
Constructs a wx.ClassInfo object. |
Creates an object of the appropriate kind. |
|
Finds the wx.ClassInfo object for a class with the given name. |
|
Returns the name of the first base class ( |
|
Returns the name of the second base class ( |
|
Returns the string form of the class name. |
|
Returns the size of the class. |
|
Returns |
|
Returns |
See |
|
See |
wx.
ClassInfo
(object)¶This class stores meta-information about classes.
CreateObject
(self)¶Creates an object of the appropriate kind.
None
if the class has not been declared dynamically creatable (typically, this happens for abstract classes).
FindClass
(className)¶Finds the wx.ClassInfo object for a class with the given name.
className (string) –
GetBaseClassName1
(self)¶Returns the name of the first base class (None
if none).
wx.Char
GetBaseClassName2
(self)¶Returns the name of the second base class (None
if none).
wx.Char
GetClassName
(self)¶Returns the string form of the class name.
wx.Char
GetSize
(self)¶Returns the size of the class.
int
IsDynamic
(self)¶Returns True
if this class info can create objects of the associated class.
bool
IsKindOf
(self, info)¶Returns True
if this class is a kind of (inherits from) the given class.
info (wx.ClassInfo) –
bool
BaseClassName1
¶BaseClassName2
¶ClassName
¶See GetClassName