-<?xml version='1.0'?>
+<?xml version="1.0"?>
<wxPython-metadata>
-<module name="core">
- <pythoncode>
+ <module name="_core">
+ <pythoncode>
#// Give a reference to the dictionary of this module to the C++ extension
#// code.
-_core._wxPySetDictionary(vars())
+_core_._wxPySetDictionary(vars())
#// A little trick to make 'wx' be a reference to this module so wx.Names can
#// be used here.
import sys as _sys
wx = _sys.modules[__name__]
+
+</pythoncode>
+ <pythoncode>
+#----------------------------------------------------------------------------
+
+def _deprecated(callable, msg=None):
+ """
+ Create a wrapper function that will raise a DeprecationWarning
+ before calling the callable.
+ """
+ if msg is None:
+ msg = "%s is deprecated" % callable
+ def deprecatedWrapper(*args, **kwargs):
+ import warnings
+ warnings.warn(msg, DeprecationWarning, stacklevel=2)
+ return callable(*args, **kwargs)
+ deprecatedWrapper.__doc__ = msg
+ return deprecatedWrapper
+
+
+#----------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Object" oldname="wxObject" module="core">
- <docstring>The base class for most wx objects, although in wxPython not
+ <class name="Object" oldname="wxObject" module="_core">
+ <docstring>The base class for most wx objects, although in wxPython not
much functionality is needed nor exposed.</docstring>
- <method name="GetClassName" type="wxString" overloaded="no">
- <autodoc>GetClassName() -> String</autodoc>
- <docstring>Returns the class name of the C++ object using wxRTTI.</docstring>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
- </method>
- </class>
- <pythoncode>
+ <method name="GetClassName" type="String" overloaded="no">
+ <autodoc>GetClassName(self) -> String</autodoc>
+ <docstring>Returns the class name of the C++ class using wxRTTI.</docstring>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Size" oldname="wxSize" module="core">
- <docstring>wx.Size is a useful data structure used to represent the size of something.
-It simply contians integer width and height proprtites. In most places in
-wxPython where a wx.Size is expected a (width,height) tuple can be used
-instead.</docstring>
- <constructor name="Size" overloaded="no">
- <autodoc>__init__(int w=0, int h=0) -> Size</autodoc>
- <docstring>Creates a size object.</docstring>
- <paramlist>
- <param name="w" type="int" default="0"/>
- <param name="h" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxSize" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <property name="width" type="int" readonly="no"/>
- <property name="height" type="int" readonly="no"/>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(Size sz) -> bool</autodoc>
- <docstring>Test for equality of wx.Size objects.</docstring>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(Size sz) -> bool</autodoc>
- <docstring>Test for inequality.</docstring>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="__add__" type="wxSize" overloaded="no">
- <autodoc>__add__(Size sz) -> Size</autodoc>
- <docstring>Add sz's proprties to this and return the result.</docstring>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxSize" overloaded="no">
- <autodoc>__sub__(Size sz) -> Size</autodoc>
- <docstring>Subtract sz's properties from this and return the result.</docstring>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="IncTo" type="void" overloaded="no">
- <autodoc>IncTo(Size sz)</autodoc>
- <docstring>Increments this object so that both of its dimensions are not less
+ <class name="Size" oldname="wxSize" module="_core">
+ <docstring>wx.Size is a useful data structure used to represent the size of
+something. It simply contians integer width and height proprtites.
+In most places in wxPython where a wx.Size is expected a
+(width,height) tuple can be used instead.</docstring>
+ <constructor name="Size" overloaded="no">
+ <autodoc>__init__(self, int w=0, int h=0) -> Size</autodoc>
+ <docstring>Creates a size object.</docstring>
+ <paramlist>
+ <param name="w" type="int" default="0"/>
+ <param name="h" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxSize" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <property name="width" type="int" readonly="no"/>
+ <property name="height" type="int" readonly="no"/>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Size sz) -> bool</autodoc>
+ <docstring>Test for equality of wx.Size objects.</docstring>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Size sz) -> bool</autodoc>
+ <docstring>Test for inequality.</docstring>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="__add__" type="Size" overloaded="no">
+ <autodoc>__add__(self, Size sz) -> Size</autodoc>
+ <docstring>Add sz's proprties to this and return the result.</docstring>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="Size" overloaded="no">
+ <autodoc>__sub__(self, Size sz) -> Size</autodoc>
+ <docstring>Subtract sz's properties from this and return the result.</docstring>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="IncTo" type="" overloaded="no">
+ <autodoc>IncTo(self, Size sz)</autodoc>
+ <docstring>Increments this object so that both of its dimensions are not less
than the corresponding dimensions of the size.</docstring>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="DecTo" type="void" overloaded="no">
- <autodoc>DecTo(Size sz)</autodoc>
- <docstring>Decrements this object so that both of its dimensions are not greater
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="DecTo" type="" overloaded="no">
+ <autodoc>DecTo(self, Size sz)</autodoc>
+ <docstring>Decrements this object so that both of its dimensions are not greater
than the corresponding dimensions of the size.</docstring>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(int w, int h)</autodoc>
- <docstring>Set both width and height.</docstring>
- <paramlist>
- <param name="w" type="int" default=""/>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(int w)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetHeight" type="void" overloaded="no">
- <autodoc>SetHeight(int h)</autodoc>
- <paramlist>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="GetHeight" type="int" overloaded="no">
- <autodoc>GetHeight() -> int</autodoc>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> (width,height)</autodoc>
- <docstring>Returns the width and height properties as a tuple.</docstring>
- </method>
- </class>
- <pythoncode>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, int w, int h)</autodoc>
+ <docstring>Set both width and height.</docstring>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, int w)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHeight" type="" overloaded="no">
+ <autodoc>SetHeight(self, int h)</autodoc>
+ <paramlist>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ </method>
+ <method name="IsFullySpecified" type="bool" overloaded="no">
+ <autodoc>IsFullySpecified(self) -> bool</autodoc>
+ <docstring>Returns True if both components of the size are non-default values.</docstring>
+ </method>
+ <method name="SetDefaults" type="" overloaded="no">
+ <autodoc>SetDefaults(self, Size size)</autodoc>
+ <docstring>Combine this size with the other one replacing the default components
+of this object (i.e. equal to -1) with those of the other.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get() -> (width,height)</autodoc>
+ <docstring>Returns the width and height properties as a tuple.</docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="RealPoint" oldname="wxRealPoint" module="core">
- <docstring>A data structure for representing a point or position with floating point x
-and y properties. In wxPython most places that expect a wx.RealPoint can also
-accept a (x,y) tuple.</docstring>
- <constructor name="RealPoint" overloaded="no">
- <autodoc>__init__(double x=0.0, double y=0.0) -> RealPoint</autodoc>
- <docstring>Create a wx.RealPoint object</docstring>
- <paramlist>
- <param name="x" type="double" default="0.0"/>
- <param name="y" type="double" default="0.0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxRealPoint" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <property name="x" type="double" readonly="no"/>
- <property name="y" type="double" readonly="no"/>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(RealPoint pt) -> bool</autodoc>
- <docstring>Test for equality of wx.RealPoint objects.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxRealPoint" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(RealPoint pt) -> bool</autodoc>
- <docstring>Test for inequality of wx.RealPoint objects.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxRealPoint" default=""/>
- </paramlist>
- </method>
- <method name="__add__" type="wxRealPoint" overloaded="no">
- <autodoc>__add__(RealPoint pt) -> RealPoint</autodoc>
- <docstring>Add pt's proprties to this and return the result.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxRealPoint" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxRealPoint" overloaded="no">
- <autodoc>__sub__(RealPoint pt) -> RealPoint</autodoc>
- <docstring>Subtract pt's proprties from this and return the result</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxRealPoint" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(double x, double y)</autodoc>
- <docstring>Set both the x and y properties</docstring>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> (x,y)</autodoc>
- <docstring>Return the x and y properties as a tuple. </docstring>
- </method>
- </class>
- <pythoncode>
+ <class name="RealPoint" oldname="wxRealPoint" module="_core">
+ <docstring>A data structure for representing a point or position with floating
+point x and y properties. In wxPython most places that expect a
+wx.RealPoint can also accept a (x,y) tuple.</docstring>
+ <constructor name="RealPoint" overloaded="no">
+ <autodoc>__init__(self, double x=0.0, double y=0.0) -> RealPoint</autodoc>
+ <docstring>Create a wx.RealPoint object</docstring>
+ <paramlist>
+ <param name="x" type="double" default="0.0"/>
+ <param name="y" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxRealPoint" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <property name="x" type="double" readonly="no"/>
+ <property name="y" type="double" readonly="no"/>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, RealPoint pt) -> bool</autodoc>
+ <docstring>Test for equality of wx.RealPoint objects.</docstring>
+ <paramlist>
+ <param name="pt" type="RealPoint" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, RealPoint pt) -> bool</autodoc>
+ <docstring>Test for inequality of wx.RealPoint objects.</docstring>
+ <paramlist>
+ <param name="pt" type="RealPoint" default=""/>
+ </paramlist>
+ </method>
+ <method name="__add__" type="RealPoint" overloaded="no">
+ <autodoc>__add__(self, RealPoint pt) -> RealPoint</autodoc>
+ <docstring>Add pt's proprties to this and return the result.</docstring>
+ <paramlist>
+ <param name="pt" type="RealPoint" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="RealPoint" overloaded="no">
+ <autodoc>__sub__(self, RealPoint pt) -> RealPoint</autodoc>
+ <docstring>Subtract pt's proprties from this and return the result</docstring>
+ <paramlist>
+ <param name="pt" type="RealPoint" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, double x, double y)</autodoc>
+ <docstring>Set both the x and y properties</docstring>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get() -> (x,y)</autodoc>
+ <docstring>Return the x and y properties as a tuple. </docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Point" oldname="wxPoint" module="core">
- <docstring>A data structure for representing a point or position with integer x and y
-properties. Most places in wxPython that expect a wx.Point can also accept a
-(x,y) tuple.</docstring>
- <constructor name="Point" overloaded="no">
- <autodoc>__init__(int x=0, int y=0) -> Point</autodoc>
- <docstring>Create a wx.Point object</docstring>
- <paramlist>
- <param name="x" type="int" default="0"/>
- <param name="y" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPoint" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <property name="x" type="int" readonly="no"/>
- <property name="y" type="int" readonly="no"/>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(Point pt) -> bool</autodoc>
- <docstring>Test for equality of wx.Point objects.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(Point pt) -> bool</autodoc>
- <docstring>Test for inequality of wx.Point objects.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="__add__" type="wxPoint" overloaded="no">
- <autodoc>__add__(Point pt) -> Point</autodoc>
- <docstring>Add pt's proprties to this and return the result.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxPoint" overloaded="no">
- <autodoc>__sub__(Point pt) -> Point</autodoc>
- <docstring>Subtract pt's proprties from this and return the result</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="__iadd__" type="wxPoint" overloaded="no">
- <autodoc>__iadd__(Point pt) -> Point</autodoc>
- <docstring>Add pt to this object.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="__isub__" type="wxPoint" overloaded="no">
- <autodoc>__isub__(Point pt) -> Point</autodoc>
- <docstring>Subtract pt from this object.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(long x, long y)</autodoc>
- <docstring>Set both the x and y properties</docstring>
- <paramlist>
- <param name="x" type="long" default=""/>
- <param name="y" type="long" default=""/>
- </paramlist>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> (x,y)</autodoc>
- <docstring>Return the x and y properties as a tuple. </docstring>
- </method>
- </class>
- <pythoncode>
+ <class name="Point" oldname="wxPoint" module="_core">
+ <docstring>A data structure for representing a point or position with integer x
+and y properties. Most places in wxPython that expect a wx.Point can
+also accept a (x,y) tuple.</docstring>
+ <constructor name="Point" overloaded="no">
+ <autodoc>__init__(self, int x=0, int y=0) -> Point</autodoc>
+ <docstring>Create a wx.Point object</docstring>
+ <paramlist>
+ <param name="x" type="int" default="0"/>
+ <param name="y" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPoint" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <property name="x" type="int" readonly="no"/>
+ <property name="y" type="int" readonly="no"/>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Point pt) -> bool</autodoc>
+ <docstring>Test for equality of wx.Point objects.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Point pt) -> bool</autodoc>
+ <docstring>Test for inequality of wx.Point objects.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="__add__" type="Point" overloaded="no">
+ <autodoc>__add__(self, Point pt) -> Point</autodoc>
+ <docstring>Add pt's proprties to this and return the result.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="Point" overloaded="no">
+ <autodoc>__sub__(self, Point pt) -> Point</autodoc>
+ <docstring>Subtract pt's proprties from this and return the result</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="__iadd__" type="Point" overloaded="no">
+ <autodoc>__iadd__(self, Point pt) -> Point</autodoc>
+ <docstring>Add pt to this object.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="__isub__" type="Point" overloaded="no">
+ <autodoc>__isub__(self, Point pt) -> Point</autodoc>
+ <docstring>Subtract pt from this object.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, long x, long y)</autodoc>
+ <docstring>Set both the x and y properties</docstring>
+ <paramlist>
+ <param name="x" type="long" default=""/>
+ <param name="y" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get() -> (x,y)</autodoc>
+ <docstring>Return the x and y properties as a tuple. </docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Rect" oldname="wxRect" module="core">
- <docstring>A class for representing and manipulating rectangles. It has x, y, width and
-height properties. In wxPython most palces that expect a wx.Rect can also
-accept a (x,y,width,height) tuple.</docstring>
- <constructor name="Rect" overloaded="no">
- <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -> Rect</autodoc>
- <docstring>Create a new Rect object.</docstring>
- <paramlist>
- <param name="x" type="int" default="0"/>
- <param name="y" type="int" default="0"/>
- <param name="width" type="int" default="0"/>
- <param name="height" type="int" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="RectPP" overloaded="no">
- <autodoc>RectPP(Point topLeft, Point bottomRight) -> Rect</autodoc>
- <docstring>Create a new Rect object from Points representing two corners.</docstring>
- <paramlist>
- <param name="topLeft" type="r.q(const).wxPoint" default=""/>
- <param name="bottomRight" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </constructor>
- <constructor name="RectPS" overloaded="no">
- <autodoc>RectPS(Point pos, Size size) -> Rect</autodoc>
- <docstring>Create a new Rect from a position and size.</docstring>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxRect" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetX" type="int" overloaded="no">
- <autodoc>GetX() -> int</autodoc>
- </method>
- <method name="SetX" type="void" overloaded="no">
- <autodoc>SetX(int x)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetY" type="int" overloaded="no">
- <autodoc>GetY() -> int</autodoc>
- </method>
- <method name="SetY" type="void" overloaded="no">
- <autodoc>SetY(int y)</autodoc>
- <paramlist>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(int w)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetHeight" type="int" overloaded="no">
- <autodoc>GetHeight() -> int</autodoc>
- </method>
- <method name="SetHeight" type="void" overloaded="no">
- <autodoc>SetHeight(int h)</autodoc>
- <paramlist>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(Point p)</autodoc>
- <paramlist>
- <param name="p" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(Size s)</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="GetTopLeft" type="wxPoint" overloaded="no">
- <autodoc>GetTopLeft() -> Point</autodoc>
- </method>
- <method name="SetTopLeft" type="void" overloaded="no">
- <autodoc>SetTopLeft(Point p)</autodoc>
- <paramlist>
- <param name="p" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetBottomRight" type="wxPoint" overloaded="no">
- <autodoc>GetBottomRight() -> Point</autodoc>
- </method>
- <method name="SetBottomRight" type="void" overloaded="no">
- <autodoc>SetBottomRight(Point p)</autodoc>
- <paramlist>
- <param name="p" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetLeft" type="int" overloaded="no">
- <autodoc>GetLeft() -> int</autodoc>
- </method>
- <method name="GetTop" type="int" overloaded="no">
- <autodoc>GetTop() -> int</autodoc>
- </method>
- <method name="GetBottom" type="int" overloaded="no">
- <autodoc>GetBottom() -> int</autodoc>
- </method>
- <method name="GetRight" type="int" overloaded="no">
- <autodoc>GetRight() -> int</autodoc>
- </method>
- <method name="SetLeft" type="void" overloaded="no">
- <autodoc>SetLeft(int left)</autodoc>
- <paramlist>
- <param name="left" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRight" type="void" overloaded="no">
- <autodoc>SetRight(int right)</autodoc>
- <paramlist>
- <param name="right" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetTop" type="void" overloaded="no">
- <autodoc>SetTop(int top)</autodoc>
- <paramlist>
- <param name="top" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetBottom" type="void" overloaded="no">
- <autodoc>SetBottom(int bottom)</autodoc>
- <paramlist>
- <param name="bottom" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Inflate" type="wxRect" overloaded="no">
- <autodoc>Inflate(int dx, int dy) -> Rect</autodoc>
- <docstring>Increase the rectangle size by dx in x direction and dy in y direction. Both
-(or one of) parameters may be negative to decrease the rectangle size.</docstring>
- <paramlist>
- <param name="dx" type="int" default=""/>
- <param name="dy" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Deflate" type="wxRect" overloaded="no">
- <autodoc>Deflate(int dx, int dy) -> Rect</autodoc>
- <docstring>Decrease the rectangle size by dx in x direction and dy in y direction. Both
-(or one of) parameters may be negative to increase the rectngle size. This
-method is the opposite of Inflate.</docstring>
- <paramlist>
- <param name="dx" type="int" default=""/>
- <param name="dy" type="int" default=""/>
- </paramlist>
- </method>
- <method name="OffsetXY" type="void" overloaded="no">
- <autodoc>OffsetXY(int dx, int dy)</autodoc>
- <docstring>Moves the rectangle by the specified offset. If dx is positive, the rectangle
-is moved to the right, if dy is positive, it is moved to the bottom, otherwise
-it is moved to the left or top respectively.</docstring>
- <paramlist>
- <param name="dx" type="int" default=""/>
- <param name="dy" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Offset" type="void" overloaded="no">
- <autodoc>Offset(Point pt)</autodoc>
- <docstring>Same as OffsetXY but uses dx,dy from Point</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="Intersect" type="wxRect" overloaded="no">
- <autodoc>Intersect(Rect rect) -> Rect</autodoc>
- <docstring>Return the intersectsion of this rectangle and rect.</docstring>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="__add__" type="wxRect" overloaded="no">
- <autodoc>__add__(Rect rect) -> Rect</autodoc>
- <docstring>Add the properties of rect to this rectangle and return the result.</docstring>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="__iadd__" type="wxRect" overloaded="no">
- <autodoc>__iadd__(Rect rect) -> Rect</autodoc>
- <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(Rect rect) -> bool</autodoc>
- <docstring>Test for equality.</docstring>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(Rect rect) -> bool</autodoc>
- <docstring>Test for inequality.</docstring>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="InsideXY" type="bool" overloaded="no">
- <autodoc>InsideXY(int x, int y) -> bool</autodoc>
- <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Inside" type="bool" overloaded="no">
- <autodoc>Inside(Point pt) -> bool</autodoc>
- <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="Intersects" type="bool" overloaded="no">
- <autodoc>Intersects(Rect rect) -> bool</autodoc>
- <docstring>Returns True if the rectangles have a non empty intersection.</docstring>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <property name="x" type="int" readonly="no"/>
- <property name="y" type="int" readonly="no"/>
- <property name="width" type="int" readonly="no"/>
- <property name="height" type="int" readonly="no"/>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(int x=0, int y=0, int width=0, int height=0)</autodoc>
- <docstring>Set all rectangle properties.</docstring>
- <paramlist>
- <param name="x" type="int" default="0"/>
- <param name="y" type="int" default="0"/>
- <param name="width" type="int" default="0"/>
- <param name="height" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> (x,y,width,height)</autodoc>
- <docstring>Return the rectangle properties as a tuple.</docstring>
- </method>
- </class>
- <method name="IntersectRect" oldname="wxIntersectRect" type="PyObject" overloaded="no">
- <autodoc>IntersectRect(Rect r1, Rect r2) -> Rect</autodoc>
- <docstring>Calculate and return the intersection of r1 and r2.</docstring>
- <paramlist>
- <param name="r1" type="p.wxRect" default=""/>
- <param name="r2" type="p.wxRect" default=""/>
- </paramlist>
- </method>
- <pythoncode>
+ <class name="Rect" oldname="wxRect" module="_core">
+ <docstring>A class for representing and manipulating rectangles. It has x, y,
+width and height properties. In wxPython most palces that expect a
+wx.Rect can also accept a (x,y,width,height) tuple.</docstring>
+ <constructor name="Rect" overloaded="no">
+ <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -> Rect</autodoc>
+ <docstring>Create a new Rect object.</docstring>
+ <paramlist>
+ <param name="x" type="int" default="0"/>
+ <param name="y" type="int" default="0"/>
+ <param name="width" type="int" default="0"/>
+ <param name="height" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="RectPP" overloaded="no">
+ <autodoc>RectPP(Point topLeft, Point bottomRight) -> Rect</autodoc>
+ <docstring>Create a new Rect object from Points representing two corners.</docstring>
+ <paramlist>
+ <param name="topLeft" type="Point" default=""/>
+ <param name="bottomRight" type="Point" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="RectPS" overloaded="no">
+ <autodoc>RectPS(Point pos, Size size) -> Rect</autodoc>
+ <docstring>Create a new Rect from a position and size.</docstring>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxRect" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetX" type="int" overloaded="no">
+ <autodoc>GetX(self) -> int</autodoc>
+ </method>
+ <method name="SetX" type="" overloaded="no">
+ <autodoc>SetX(self, int x)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetY" type="int" overloaded="no">
+ <autodoc>GetY(self) -> int</autodoc>
+ </method>
+ <method name="SetY" type="" overloaded="no">
+ <autodoc>SetY(self, int y)</autodoc>
+ <paramlist>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, int w)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ </method>
+ <method name="SetHeight" type="" overloaded="no">
+ <autodoc>SetHeight(self, int h)</autodoc>
+ <paramlist>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, Point p)</autodoc>
+ <paramlist>
+ <param name="p" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, Size s)</autodoc>
+ <paramlist>
+ <param name="s" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTopLeft" type="Point" overloaded="no">
+ <autodoc>GetTopLeft(self) -> Point</autodoc>
+ </method>
+ <method name="SetTopLeft" type="" overloaded="no">
+ <autodoc>SetTopLeft(self, Point p)</autodoc>
+ <paramlist>
+ <param name="p" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBottomRight" type="Point" overloaded="no">
+ <autodoc>GetBottomRight(self) -> Point</autodoc>
+ </method>
+ <method name="SetBottomRight" type="" overloaded="no">
+ <autodoc>SetBottomRight(self, Point p)</autodoc>
+ <paramlist>
+ <param name="p" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLeft" type="int" overloaded="no">
+ <autodoc>GetLeft(self) -> int</autodoc>
+ </method>
+ <method name="GetTop" type="int" overloaded="no">
+ <autodoc>GetTop(self) -> int</autodoc>
+ </method>
+ <method name="GetBottom" type="int" overloaded="no">
+ <autodoc>GetBottom(self) -> int</autodoc>
+ </method>
+ <method name="GetRight" type="int" overloaded="no">
+ <autodoc>GetRight(self) -> int</autodoc>
+ </method>
+ <method name="SetLeft" type="" overloaded="no">
+ <autodoc>SetLeft(self, int left)</autodoc>
+ <paramlist>
+ <param name="left" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRight" type="" overloaded="no">
+ <autodoc>SetRight(self, int right)</autodoc>
+ <paramlist>
+ <param name="right" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTop" type="" overloaded="no">
+ <autodoc>SetTop(self, int top)</autodoc>
+ <paramlist>
+ <param name="top" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBottom" type="" overloaded="no">
+ <autodoc>SetBottom(self, int bottom)</autodoc>
+ <paramlist>
+ <param name="bottom" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Inflate" type="Rect" overloaded="no">
+ <autodoc>Inflate(self, int dx, int dy) -> Rect</autodoc>
+ <docstring>Increase the rectangle size by dx in x direction and dy in y
+direction. Both or one of) parameters may be negative to decrease the
+rectangle size.</docstring>
+ <paramlist>
+ <param name="dx" type="int" default=""/>
+ <param name="dy" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Deflate" type="Rect" overloaded="no">
+ <autodoc>Deflate(self, int dx, int dy) -> Rect</autodoc>
+ <docstring>Decrease the rectangle size by dx in x direction and dy in y
+direction. Both or one of) parameters may be negative to increase the
+rectngle size. This method is the opposite of Inflate.</docstring>
+ <paramlist>
+ <param name="dx" type="int" default=""/>
+ <param name="dy" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="OffsetXY" type="" overloaded="no">
+ <autodoc>OffsetXY(self, int dx, int dy)</autodoc>
+ <docstring>Moves the rectangle by the specified offset. If dx is positive, the
+rectangle is moved to the right, if dy is positive, it is moved to the
+bottom, otherwise it is moved to the left or top respectively.</docstring>
+ <paramlist>
+ <param name="dx" type="int" default=""/>
+ <param name="dy" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Offset" type="" overloaded="no">
+ <autodoc>Offset(self, Point pt)</autodoc>
+ <docstring>Same as OffsetXY but uses dx,dy from Point</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="Intersect" type="Rect" overloaded="no">
+ <autodoc>Intersect(self, Rect rect) -> Rect</autodoc>
+ <docstring>Return the intersectsion of this rectangle and rect.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="__add__" type="Rect" overloaded="no">
+ <autodoc>__add__(self, Rect rect) -> Rect</autodoc>
+ <docstring>Add the properties of rect to this rectangle and return the result.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="__iadd__" type="Rect" overloaded="no">
+ <autodoc>__iadd__(self, Rect rect) -> Rect</autodoc>
+ <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Rect rect) -> bool</autodoc>
+ <docstring>Test for equality.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Rect rect) -> bool</autodoc>
+ <docstring>Test for inequality.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsideXY" type="bool" overloaded="no">
+ <autodoc>InsideXY(self, int x, int y) -> bool</autodoc>
+ <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Inside" type="bool" overloaded="no">
+ <autodoc>Inside(self, Point pt) -> bool</autodoc>
+ <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="Intersects" type="bool" overloaded="no">
+ <autodoc>Intersects(self, Rect rect) -> bool</autodoc>
+ <docstring>Returns True if the rectangles have a non empty intersection.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <property name="x" type="int" readonly="no"/>
+ <property name="y" type="int" readonly="no"/>
+ <property name="width" type="int" readonly="no"/>
+ <property name="height" type="int" readonly="no"/>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, int x=0, int y=0, int width=0, int height=0)</autodoc>
+ <docstring>Set all rectangle properties.</docstring>
+ <paramlist>
+ <param name="x" type="int" default="0"/>
+ <param name="y" type="int" default="0"/>
+ <param name="width" type="int" default="0"/>
+ <param name="height" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get() -> (x,y,width,height)</autodoc>
+ <docstring>Return the rectangle properties as a tuple.</docstring>
+ </method>
+ </class>
+ <method name="IntersectRect" oldname="wxIntersectRect" type="PyObject" overloaded="no">
+ <autodoc>IntersectRect(Rect r1, Rect r2) -> Rect</autodoc>
+ <docstring>Calculate and return the intersection of r1 and r2.</docstring>
+ <paramlist>
+ <param name="r1" type="Rect" default=""/>
+ <param name="r2" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Point2D" oldname="wxPoint2D" module="core">
- <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system with floating point values.</docstring>
- <constructor name="Point2D" overloaded="no">
- <autodoc>__init__(double x=0.0, double y=0.0) -> Point2D</autodoc>
- <docstring>Create a w.Point2D object.</docstring>
- <paramlist>
- <param name="x" type="double" default="0.0"/>
- <param name="y" type="double" default="0.0"/>
- </paramlist>
- </constructor>
- <constructor name="Point2DCopy" overloaded="no">
- <autodoc>Point2DCopy(Point2D pt) -> Point2D</autodoc>
- <docstring>Create a w.Point2D object.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </constructor>
- <constructor name="Point2DFromPoint" overloaded="no">
- <autodoc>Point2DFromPoint(Point pt) -> Point2D</autodoc>
- <docstring>Create a w.Point2D object.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </constructor>
- <method name="GetFloor" type="void" overloaded="no">
- <autodoc>GetFloor() -> (x,y)</autodoc>
- <docstring>Convert to integer</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetRounded" type="void" overloaded="no">
- <autodoc>GetRounded() -> (x,y)</autodoc>
- <docstring>Convert to integer</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetVectorLength" type="double" overloaded="no">
- <autodoc>GetVectorLength() -> double</autodoc>
- </method>
- <method name="GetVectorAngle" type="double" overloaded="no">
- <autodoc>GetVectorAngle() -> double</autodoc>
- </method>
- <method name="SetVectorLength" type="void" overloaded="no">
- <autodoc>SetVectorLength(double length)</autodoc>
- <paramlist>
- <param name="length" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetVectorAngle" type="void" overloaded="no">
- <autodoc>SetVectorAngle(double degrees)</autodoc>
- <paramlist>
- <param name="degrees" type="double" default=""/>
- </paramlist>
- </method>
- <method name="GetDistance" type="double" overloaded="no">
- <autodoc>GetDistance(Point2D pt) -> double</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="GetDistanceSquare" type="double" overloaded="no">
- <autodoc>GetDistanceSquare(Point2D pt) -> double</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="GetDotProduct" type="double" overloaded="no">
- <autodoc>GetDotProduct(Point2D vec) -> double</autodoc>
- <paramlist>
- <param name="vec" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="GetCrossProduct" type="double" overloaded="no">
- <autodoc>GetCrossProduct(Point2D vec) -> double</autodoc>
- <paramlist>
- <param name="vec" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="__neg__" type="wxPoint2D" overloaded="no">
- <autodoc>__neg__() -> Point2D</autodoc>
- <docstring>the reflection of this point</docstring>
- </method>
- <method name="__iadd__" type="wxPoint2D" overloaded="no">
- <autodoc>__iadd__(Point2D pt) -> Point2D</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="__isub__" type="wxPoint2D" overloaded="no">
- <autodoc>__isub__(Point2D pt) -> Point2D</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="__imul__" type="wxPoint2D" overloaded="no">
- <autodoc>__imul__(Point2D pt) -> Point2D</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="__idiv__" type="wxPoint2D" overloaded="no">
- <autodoc>__idiv__(Point2D pt) -> Point2D</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(Point2D pt) -> bool</autodoc>
- <docstring>Test for equality</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(Point2D pt) -> bool</autodoc>
- <docstring>Test for inequality</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint2D" default=""/>
- </paramlist>
- </method>
- <property name="x" type="double" readonly="no"/>
- <property name="y" type="double" readonly="no"/>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(double x=0, double y=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default="0"/>
- <param name="y" type="double" default="0"/>
- </paramlist>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> (x,y)</autodoc>
- <docstring>Return x and y properties as a tuple.</docstring>
- </method>
- </class>
- <pythoncode>
+ <class name="Point2D" oldname="wxPoint2D" module="_core">
+ <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system
+with floating point values.</docstring>
+ <constructor name="Point2D" overloaded="no">
+ <autodoc>__init__(self, double x=0.0, double y=0.0) -> Point2D</autodoc>
+ <docstring>Create a w.Point2D object.</docstring>
+ <paramlist>
+ <param name="x" type="double" default="0.0"/>
+ <param name="y" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="Point2DCopy" overloaded="no">
+ <autodoc>Point2DCopy(Point2D pt) -> Point2D</autodoc>
+ <docstring>Create a w.Point2D object.</docstring>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="Point2DFromPoint" overloaded="no">
+ <autodoc>Point2DFromPoint(Point pt) -> Point2D</autodoc>
+ <docstring>Create a w.Point2D object.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="GetFloor" type="" overloaded="no">
+ <autodoc>GetFloor() -> (x,y)</autodoc>
+ <docstring>Convert to integer</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRounded" type="" overloaded="no">
+ <autodoc>GetRounded() -> (x,y)</autodoc>
+ <docstring>Convert to integer</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetVectorLength" type="double" overloaded="no">
+ <autodoc>GetVectorLength(self) -> double</autodoc>
+ </method>
+ <method name="GetVectorAngle" type="double" overloaded="no">
+ <autodoc>GetVectorAngle(self) -> double</autodoc>
+ </method>
+ <method name="SetVectorLength" type="" overloaded="no">
+ <autodoc>SetVectorLength(self, double length)</autodoc>
+ <paramlist>
+ <param name="length" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetVectorAngle" type="" overloaded="no">
+ <autodoc>SetVectorAngle(self, double degrees)</autodoc>
+ <paramlist>
+ <param name="degrees" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDistance" type="double" overloaded="no">
+ <autodoc>GetDistance(self, Point2D pt) -> double</autodoc>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDistanceSquare" type="double" overloaded="no">
+ <autodoc>GetDistanceSquare(self, Point2D pt) -> double</autodoc>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDotProduct" type="double" overloaded="no">
+ <autodoc>GetDotProduct(self, Point2D vec) -> double</autodoc>
+ <paramlist>
+ <param name="vec" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCrossProduct" type="double" overloaded="no">
+ <autodoc>GetCrossProduct(self, Point2D vec) -> double</autodoc>
+ <paramlist>
+ <param name="vec" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="__neg__" type="Point2D" overloaded="no">
+ <autodoc>__neg__(self) -> Point2D</autodoc>
+ <docstring>the reflection of this point</docstring>
+ </method>
+ <method name="__iadd__" type="Point2D" overloaded="no">
+ <autodoc>__iadd__(self, Point2D pt) -> Point2D</autodoc>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="__isub__" type="Point2D" overloaded="no">
+ <autodoc>__isub__(self, Point2D pt) -> Point2D</autodoc>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="__imul__" type="Point2D" overloaded="no">
+ <autodoc>__imul__(self, Point2D pt) -> Point2D</autodoc>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="__idiv__" type="Point2D" overloaded="no">
+ <autodoc>__idiv__(self, Point2D pt) -> Point2D</autodoc>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Point2D pt) -> bool</autodoc>
+ <docstring>Test for equality</docstring>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Point2D pt) -> bool</autodoc>
+ <docstring>Test for inequality</docstring>
+ <paramlist>
+ <param name="pt" type="Point2D" default=""/>
+ </paramlist>
+ </method>
+ <property name="x" type="double" readonly="no"/>
+ <property name="y" type="double" readonly="no"/>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, double x=0, double y=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default="0"/>
+ <param name="y" type="double" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get() -> (x,y)</autodoc>
+ <docstring>Return x and y properties as a tuple.</docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="InputStream" oldname="wxPyInputStream" module="core">
- <constructor name="wxPyInputStream" overloaded="no">
- <autodoc>__init__(PyObject p) -> InputStream</autodoc>
- <paramlist>
- <param name="p" type="p.PyObject" default=""/>
- </paramlist>
- </constructor>
- <method name="close" type="void" overloaded="no">
- <autodoc>close()</autodoc>
- </method>
- <method name="flush" type="void" overloaded="no">
- <autodoc>flush()</autodoc>
- </method>
- <method name="eof" type="bool" overloaded="no">
- <autodoc>eof() -> bool</autodoc>
- </method>
- <method name="read" type="PyObject" overloaded="no">
- <autodoc>read(int size=-1) -> PyObject</autodoc>
- <paramlist>
- <param name="size" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="readline" type="PyObject" overloaded="no">
- <autodoc>readline(int size=-1) -> PyObject</autodoc>
- <paramlist>
- <param name="size" type="int" default="-1"/>
+ <class name="InputStream" oldname="wxPyInputStream" module="_core">
+ <constructor name="wxPyInputStream" overloaded="no">
+ <autodoc>__init__(self, PyObject p) -> InputStream</autodoc>
+ <paramlist>
+ <param name="p" type="PyObject" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="close" type="" overloaded="no">
+ <autodoc>close(self)</autodoc>
+ </method>
+ <method name="flush" type="" overloaded="no">
+ <autodoc>flush(self)</autodoc>
+ </method>
+ <method name="eof" type="bool" overloaded="no">
+ <autodoc>eof(self) -> bool</autodoc>
+ </method>
+ <method name="read" type="PyObject" overloaded="no">
+ <autodoc>read(self, int size=-1) -> PyObject</autodoc>
+ <paramlist>
+ <param name="size" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="readline" type="PyObject" overloaded="no">
+ <autodoc>readline(self, int size=-1) -> PyObject</autodoc>
+ <paramlist>
+ <param name="size" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="readlines" type="PyObject" overloaded="no">
+ <autodoc>readlines(self, int sizehint=-1) -> PyObject</autodoc>
+ <paramlist>
+ <param name="sizehint" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="seek" type="" overloaded="no">
+ <autodoc>seek(self, int offset, int whence=0)</autodoc>
+ <paramlist>
+ <param name="offset" type="int" default=""/>
+ <param name="whence" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="tell" type="int" overloaded="no">
+ <autodoc>tell(self) -> int</autodoc>
+ </method>
+ <method name="Peek" type="char" overloaded="no">
+ <autodoc>Peek(self) -> char</autodoc>
+ </method>
+ <method name="GetC" type="char" overloaded="no">
+ <autodoc>GetC(self) -> char</autodoc>
+ </method>
+ <method name="LastRead" type="size_t" overloaded="no">
+ <autodoc>LastRead(self) -> size_t</autodoc>
+ </method>
+ <method name="CanRead" type="bool" overloaded="no">
+ <autodoc>CanRead(self) -> bool</autodoc>
+ </method>
+ <method name="Eof" type="bool" overloaded="no">
+ <autodoc>Eof(self) -> bool</autodoc>
+ </method>
+ <method name="Ungetch" type="bool" overloaded="no">
+ <autodoc>Ungetch(self, char c) -> bool</autodoc>
+ <paramlist>
+ <param name="c" type="char" default=""/>
+ </paramlist>
+ </method>
+ <method name="SeekI" type="long" overloaded="no">
+ <autodoc>SeekI(self, long pos, int mode=FromStart) -> long</autodoc>
+ <paramlist>
+ <param name="pos" type="long" default=""/>
+ <param name="mode" type="wxSeekMode" default="wxFromStart"/>
+ </paramlist>
+ </method>
+ <method name="TellI" type="long" overloaded="no">
+ <autodoc>TellI(self) -> long</autodoc>
+ </method>
+ </class>
+ <class name="OutputStream" oldname="wxOutputStream" module="_core">
+ <method name="write" type="" overloaded="no">
+ <autodoc>write(self, PyObject obj)</autodoc>
+ <paramlist>
+ <param name="obj" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="FSFile" oldname="wxFSFile" module="_core">
+ <baseclass name="Object"/>
+ <constructor name="FSFile" overloaded="no">
+ <autodoc>__init__(self, InputStream stream, String loc, String mimetype, String anchor,
+ DateTime modif) -> FSFile</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ <param name="loc" type="String" default=""/>
+ <param name="mimetype" type="String" default=""/>
+ <param name="anchor" type="String" default=""/>
+ <param name="modif" type="wxDateTime" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxFSFile" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetStream" type="wxInputStream" overloaded="no">
+ <autodoc>GetStream(self) -> InputStream</autodoc>
+ </method>
+ <method name="GetMimeType" type="String" overloaded="no">
+ <autodoc>GetMimeType(self) -> String</autodoc>
+ </method>
+ <method name="GetLocation" type="String" overloaded="no">
+ <autodoc>GetLocation(self) -> String</autodoc>
+ </method>
+ <method name="GetAnchor" type="String" overloaded="no">
+ <autodoc>GetAnchor(self) -> String</autodoc>
+ </method>
+ <method name="GetModificationTime" type="wxDateTime" overloaded="no">
+ <autodoc>GetModificationTime(self) -> DateTime</autodoc>
+ </method>
+ </class>
+ <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="_core"/>
+ <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="_core">
+ <baseclass name="CPPFileSystemHandler"/>
+ <constructor name="wxPyFileSystemHandler" overloaded="no">
+ <autodoc>__init__(self) -> FileSystemHandler</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanOpen" type="bool" overloaded="no">
+ <autodoc>CanOpen(self, String location) -> bool</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="OpenFile" type="FSFile" overloaded="no">
+ <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc>
+ <paramlist>
+ <param name="fs" type="wxFileSystem" default=""/>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindFirst" type="String" overloaded="no">
+ <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc>
+ <paramlist>
+ <param name="spec" type="String" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="FindNext" type="String" overloaded="no">
+ <autodoc>FindNext(self) -> String</autodoc>
+ </method>
+ <method name="GetProtocol" type="String" overloaded="no">
+ <autodoc>GetProtocol(self, String location) -> String</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLeftLocation" type="String" overloaded="no">
+ <autodoc>GetLeftLocation(self, String location) -> String</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAnchor" type="String" overloaded="no">
+ <autodoc>GetAnchor(self, String location) -> String</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRightLocation" type="String" overloaded="no">
+ <autodoc>GetRightLocation(self, String location) -> String</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMimeTypeFromExt" type="String" overloaded="no">
+ <autodoc>GetMimeTypeFromExt(self, String location) -> String</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FileSystem" oldname="wxFileSystem" module="_core">
+ <baseclass name="Object"/>
+ <constructor name="FileSystem" overloaded="no">
+ <autodoc>__init__(self) -> FileSystem</autodoc>
+ </constructor>
+ <destructor name="~wxFileSystem" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="ChangePathTo" type="" overloaded="no">
+ <autodoc>ChangePathTo(self, String location, bool is_dir=False)</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ <param name="is_dir" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetPath" type="String" overloaded="no">
+ <autodoc>GetPath(self) -> String</autodoc>
+ </method>
+ <method name="OpenFile" type="FSFile" overloaded="no">
+ <autodoc>OpenFile(self, String location) -> FSFile</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindFirst" type="String" overloaded="no">
+ <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc>
+ <paramlist>
+ <param name="spec" type="String" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="FindNext" type="String" overloaded="no">
+ <autodoc>FindNext(self) -> String</autodoc>
+ </method>
+ <staticmethod name="AddHandler" type="" overloaded="no">
+ <autodoc>AddHandler(CPPFileSystemHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="CPPFileSystemHandler" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="CleanUpHandlers" type="" overloaded="no">
+ <autodoc>CleanUpHandlers()</autodoc>
+ </staticmethod>
+ <staticmethod name="FileNameToURL" type="String" overloaded="no">
+ <autodoc>FileNameToURL(String filename) -> String</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <method name="FileSystem_URLToFileName" oldname="wxFileSystem_URLToFileName" type="String" overloaded="no">
+ <autodoc>FileSystem_URLToFileName(String url) -> String</autodoc>
+ <paramlist>
+ <param name="url" type="String" default=""/>
+ </paramlist>
+ </method>
+ <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="_core">
+ <baseclass name="CPPFileSystemHandler"/>
+ <constructor name="InternetFSHandler" overloaded="no">
+ <autodoc>__init__(self) -> InternetFSHandler</autodoc>
+ </constructor>
+ <method name="CanOpen" type="bool" overloaded="no">
+ <autodoc>CanOpen(self, String location) -> bool</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="OpenFile" type="FSFile" overloaded="no">
+ <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc>
+ <paramlist>
+ <param name="fs" type="FileSystem" default=""/>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="ZipFSHandler" oldname="wxZipFSHandler" module="_core">
+ <baseclass name="CPPFileSystemHandler"/>
+ <constructor name="ZipFSHandler" overloaded="no">
+ <autodoc>__init__(self) -> ZipFSHandler</autodoc>
+ </constructor>
+ <method name="CanOpen" type="bool" overloaded="no">
+ <autodoc>CanOpen(self, String location) -> bool</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="OpenFile" type="FSFile" overloaded="no">
+ <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc>
+ <paramlist>
+ <param name="fs" type="FileSystem" default=""/>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindFirst" type="String" overloaded="no">
+ <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc>
+ <paramlist>
+ <param name="spec" type="String" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="FindNext" type="String" overloaded="no">
+ <autodoc>FindNext(self) -> String</autodoc>
+ </method>
+ </class>
+ <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="" overloaded="no">
+ <autodoc>__wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type)</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="image" type="wxImage" default=""/>
+ <param name="type" type="long" default=""/>
</paramlist>
</method>
- <method name="readlines" type="PyObject" overloaded="no">
- <autodoc>readlines(int sizehint=-1) -> PyObject</autodoc>
+ <method name="__wxMemoryFSHandler_AddFile_wxBitmap" oldname="__wxMemoryFSHandler_AddFile_wxBitmap" type="" overloaded="no">
+ <autodoc>__wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type)</autodoc>
<paramlist>
- <param name="sizehint" type="int" default="-1"/>
+ <param name="filename" type="String" default=""/>
+ <param name="bitmap" type="wxBitmap" default=""/>
+ <param name="type" type="long" default=""/>
</paramlist>
</method>
- <method name="seek" type="void" overloaded="no">
- <autodoc>seek(int offset, int whence=0)</autodoc>
+ <method name="__wxMemoryFSHandler_AddFile_Data" oldname="__wxMemoryFSHandler_AddFile_Data" type="" overloaded="no">
+ <autodoc>__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)</autodoc>
<paramlist>
- <param name="offset" type="int" default=""/>
- <param name="whence" type="int" default="0"/>
+ <param name="filename" type="String" default=""/>
+ <param name="data" type="PyObject" default=""/>
</paramlist>
</method>
- <method name="tell" type="int" overloaded="no">
- <autodoc>tell() -> int</autodoc>
- </method>
- <method name="Peek" type="char" overloaded="no">
- <autodoc>Peek() -> char</autodoc>
- </method>
- <method name="GetC" type="char" overloaded="no">
- <autodoc>GetC() -> char</autodoc>
- </method>
- <method name="LastRead" type="size_t" overloaded="no">
- <autodoc>LastRead() -> size_t</autodoc>
- </method>
- <method name="CanRead" type="bool" overloaded="no">
- <autodoc>CanRead() -> bool</autodoc>
- </method>
- <method name="Eof" type="bool" overloaded="no">
- <autodoc>Eof() -> bool</autodoc>
- </method>
- <method name="Ungetch" type="bool" overloaded="no">
- <autodoc>Ungetch(char c) -> bool</autodoc>
- <paramlist>
- <param name="c" type="char" default=""/>
- </paramlist>
- </method>
- <method name="SeekI" type="long" overloaded="no">
- <autodoc>SeekI(long pos, int mode=FromStart) -> long</autodoc>
- <paramlist>
- <param name="pos" type="long" default=""/>
- <param name="mode" type="wxSeekMode" default="wxFromStart"/>
- </paramlist>
- </method>
- <method name="TellI" type="long" overloaded="no">
- <autodoc>TellI() -> long</autodoc>
- </method>
- </class>
- <class name="OutputStream" oldname="wxOutputStream" module="core">
- <method name="write" type="void" overloaded="no">
- <autodoc>write(PyObject obj)</autodoc>
- <paramlist>
- <param name="obj" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="FSFile" oldname="wxFSFile" module="core">
- <baseclass name="wxObject"/>
- <constructor name="FSFile" overloaded="no">
- <autodoc>__init__(InputStream stream, String loc, String mimetype, String anchor,
- DateTime modif) -> FSFile</autodoc>
- <paramlist>
- <param name="stream" type="p.wxInputStream" default=""/>
- <param name="loc" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default=""/>
- <param name="anchor" type="r.q(const).wxString" default=""/>
- <param name="modif" type="wxDateTime" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxFSFile" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetStream" type="wxInputStream" overloaded="no">
- <autodoc>GetStream() -> InputStream</autodoc>
- </method>
- <method name="GetMimeType" type="q(const).wxString" overloaded="no">
- <autodoc>GetMimeType() -> String</autodoc>
- </method>
- <method name="GetLocation" type="q(const).wxString" overloaded="no">
- <autodoc>GetLocation() -> String</autodoc>
- </method>
- <method name="GetAnchor" type="q(const).wxString" overloaded="no">
- <autodoc>GetAnchor() -> String</autodoc>
- </method>
- <method name="GetModificationTime" type="wxDateTime" overloaded="no">
- <autodoc>GetModificationTime() -> DateTime</autodoc>
- </method>
- </class>
- <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="core"/>
- <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="core">
- <baseclass name="wxFileSystemHandler"/>
- <constructor name="wxPyFileSystemHandler" overloaded="no">
- <autodoc>__init__() -> FileSystemHandler</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="CanOpen" type="bool" overloaded="no">
- <autodoc>CanOpen(String location) -> bool</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="OpenFile" type="wxFSFile" overloaded="no">
- <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc>
- <paramlist>
- <param name="fs" type="r.wxFileSystem" default=""/>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindFirst" type="wxString" overloaded="no">
- <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc>
- <paramlist>
- <param name="spec" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="FindNext" type="wxString" overloaded="no">
- <autodoc>FindNext() -> String</autodoc>
- </method>
- <method name="GetProtocol" type="wxString" overloaded="no">
- <autodoc>GetProtocol(String location) -> String</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetLeftLocation" type="wxString" overloaded="no">
- <autodoc>GetLeftLocation(String location) -> String</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetAnchor" type="wxString" overloaded="no">
- <autodoc>GetAnchor(String location) -> String</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetRightLocation" type="wxString" overloaded="no">
- <autodoc>GetRightLocation(String location) -> String</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetMimeTypeFromExt" type="wxString" overloaded="no">
- <autodoc>GetMimeTypeFromExt(String location) -> String</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="FileSystem" oldname="wxFileSystem" module="core">
- <baseclass name="wxObject"/>
- <constructor name="FileSystem" overloaded="no">
- <autodoc>__init__() -> FileSystem</autodoc>
- </constructor>
- <destructor name="~wxFileSystem" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="ChangePathTo" type="void" overloaded="no">
- <autodoc>ChangePathTo(String location, bool is_dir=False)</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- <param name="is_dir" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="GetPath" type="wxString" overloaded="no">
- <autodoc>GetPath() -> String</autodoc>
- </method>
- <method name="OpenFile" type="wxFSFile" overloaded="no">
- <autodoc>OpenFile(String location) -> FSFile</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindFirst" type="wxString" overloaded="no">
- <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc>
- <paramlist>
- <param name="spec" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="FindNext" type="wxString" overloaded="no">
- <autodoc>FindNext() -> String</autodoc>
- </method>
- <staticmethod name="AddHandler" type="void" overloaded="no">
- <autodoc>FileSystem.AddHandler(CPPFileSystemHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxFileSystemHandler" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="CleanUpHandlers" type="void" overloaded="no">
- <autodoc>FileSystem.CleanUpHandlers()</autodoc>
- </staticmethod>
- <staticmethod name="FileNameToURL" type="wxString" overloaded="no">
- <autodoc>FileSystem.FileNameToURL(String filename) -> String</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <method name="FileSystem_URLToFileName" oldname="wxFileSystem_URLToFileName" type="wxString" overloaded="no">
- <autodoc>FileSystem_URLToFileName(String url) -> String</autodoc>
- <paramlist>
- <param name="url" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="core">
- <baseclass name="wxFileSystemHandler"/>
- <constructor name="InternetFSHandler" overloaded="no">
- <autodoc>__init__() -> InternetFSHandler</autodoc>
- </constructor>
- <method name="CanOpen" type="bool" overloaded="no">
- <autodoc>CanOpen(String location) -> bool</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="OpenFile" type="wxFSFile" overloaded="no">
- <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc>
- <paramlist>
- <param name="fs" type="r.wxFileSystem" default=""/>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="ZipFSHandler" oldname="wxZipFSHandler" module="core">
- <baseclass name="wxFileSystemHandler"/>
- <constructor name="ZipFSHandler" overloaded="no">
- <autodoc>__init__() -> ZipFSHandler</autodoc>
- </constructor>
- <method name="CanOpen" type="bool" overloaded="no">
- <autodoc>CanOpen(String location) -> bool</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="OpenFile" type="wxFSFile" overloaded="no">
- <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc>
- <paramlist>
- <param name="fs" type="r.wxFileSystem" default=""/>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindFirst" type="wxString" overloaded="no">
- <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc>
- <paramlist>
- <param name="spec" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="FindNext" type="wxString" overloaded="no">
- <autodoc>FindNext() -> String</autodoc>
- </method>
- </class>
- <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="void" overloaded="no">
- <autodoc>__wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type)</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="image" type="r.wxImage" default=""/>
- <param name="type" type="long" default=""/>
- </paramlist>
- </method>
- <method name="__wxMemoryFSHandler_AddFile_wxBitmap" oldname="__wxMemoryFSHandler_AddFile_wxBitmap" type="void" overloaded="no">
- <autodoc>__wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type)</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="type" type="long" default=""/>
- </paramlist>
- </method>
- <method name="__wxMemoryFSHandler_AddFile_Data" oldname="__wxMemoryFSHandler_AddFile_Data" type="void" overloaded="no">
- <autodoc>__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="data" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <pythoncode>
+ <pythoncode>
def MemoryFSHandler_AddFile(filename, a, b=''):
if isinstance(a, wx.Image):
__wxMemoryFSHandler_AddFile_wxImage(filename, a, b)
__wxMemoryFSHandler_AddFile_Data(filename, a)
else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
</pythoncode>
- <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="core">
- <baseclass name="wxFileSystemHandler"/>
- <constructor name="MemoryFSHandler" overloaded="no">
- <autodoc>__init__() -> MemoryFSHandler</autodoc>
- </constructor>
- <staticmethod name="RemoveFile" type="void" overloaded="no">
- <autodoc>MemoryFSHandler.RemoveFile(String filename)</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <method name="CanOpen" type="bool" overloaded="no">
- <autodoc>CanOpen(String location) -> bool</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="OpenFile" type="wxFSFile" overloaded="no">
- <autodoc>OpenFile(FileSystem fs, String location) -> FSFile</autodoc>
- <paramlist>
- <param name="fs" type="r.wxFileSystem" default=""/>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindFirst" type="wxString" overloaded="no">
- <autodoc>FindFirst(String spec, int flags=0) -> String</autodoc>
- <paramlist>
- <param name="spec" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="FindNext" type="wxString" overloaded="no">
- <autodoc>FindNext() -> String</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="_core">
+ <baseclass name="CPPFileSystemHandler"/>
+ <constructor name="MemoryFSHandler" overloaded="no">
+ <autodoc>__init__(self) -> MemoryFSHandler</autodoc>
+ </constructor>
+ <staticmethod name="RemoveFile" type="" overloaded="no">
+ <autodoc>RemoveFile(String filename)</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="CanOpen" type="bool" overloaded="no">
+ <autodoc>CanOpen(self, String location) -> bool</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="OpenFile" type="FSFile" overloaded="no">
+ <autodoc>OpenFile(self, FileSystem fs, String location) -> FSFile</autodoc>
+ <paramlist>
+ <param name="fs" type="FileSystem" default=""/>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindFirst" type="String" overloaded="no">
+ <autodoc>FindFirst(self, String spec, int flags=0) -> String</autodoc>
+ <paramlist>
+ <param name="spec" type="String" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="FindNext" type="String" overloaded="no">
+ <autodoc>FindNext(self) -> String</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ImageHandler" oldname="wxImageHandler" module="core">
- <baseclass name="wxObject"/>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="GetExtension" type="wxString" overloaded="no">
- <autodoc>GetExtension() -> String</autodoc>
- </method>
- <method name="GetType" type="long" overloaded="no">
- <autodoc>GetType() -> long</autodoc>
- </method>
- <method name="GetMimeType" type="wxString" overloaded="no">
- <autodoc>GetMimeType() -> String</autodoc>
- </method>
- <method name="CanRead" type="bool" overloaded="no">
- <autodoc>CanRead(String name) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetName" type="void" overloaded="no">
- <autodoc>SetName(String name)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetExtension" type="void" overloaded="no">
- <autodoc>SetExtension(String extension)</autodoc>
- <paramlist>
- <param name="extension" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetType" type="void" overloaded="no">
- <autodoc>SetType(long type)</autodoc>
- <paramlist>
- <param name="type" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetMimeType" type="void" overloaded="no">
- <autodoc>SetMimeType(String mimetype)</autodoc>
- <paramlist>
- <param name="mimetype" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="ImageHistogram" oldname="wxImageHistogram" module="core">
- <constructor name="ImageHistogram" overloaded="no">
- <autodoc>__init__() -> ImageHistogram</autodoc>
- </constructor>
- <staticmethod name="MakeKey" type="unsigned long" overloaded="no">
- <autodoc>ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long</autodoc>
- <docstring>Get the key in the histogram for the given RGB values</docstring>
- <paramlist>
- <param name="r" type="unsigned char" default=""/>
- <param name="g" type="unsigned char" default=""/>
- <param name="b" type="unsigned char" default=""/>
- </paramlist>
- </staticmethod>
- <method name="FindFirstUnusedColour" type="bool" overloaded="no">
- <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc>
- <docstring>Find first colour that is not used in the image and has higher RGB values than
-startR, startG, startB. Returns a tuple consisting of a success flag and rgb
-values.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.unsigned char" default=""/>
- <param name="OUTPUT" type="p.unsigned char" default=""/>
- <param name="OUTPUT" type="p.unsigned char" default=""/>
- <param name="startR" type="unsigned char" default="1"/>
- <param name="startG" type="unsigned char" default="0"/>
- <param name="startB" type="unsigned char" default="0"/>
- </paramlist>
- </method>
- </class>
- <class name="Image" oldname="wxImage" module="core">
- <baseclass name="wxObject"/>
- <constructor name="Image" overloaded="no">
- <autodoc>__init__(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <constructor name="ImageFromMime" overloaded="no">
- <autodoc>ImageFromMime(String name, String mimetype, int index=-1) -> Image</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default=""/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <constructor name="ImageFromStream" overloaded="no">
- <autodoc>ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc>
- <paramlist>
- <param name="stream" type="r.wxInputStream" default=""/>
- <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <constructor name="ImageFromStreamMime" overloaded="no">
- <autodoc>ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -> Image</autodoc>
- <paramlist>
- <param name="stream" type="r.wxInputStream" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default=""/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <constructor name="EmptyImage" overloaded="no">
- <autodoc>EmptyImage(int width=0, int height=0, bool clear=True) -> Image</autodoc>
- <paramlist>
- <param name="width" type="int" default="0"/>
- <param name="height" type="int" default="0"/>
- <param name="clear" type="bool" default="True"/>
- </paramlist>
- </constructor>
- <constructor name="ImageFromBitmap" overloaded="no">
- <autodoc>ImageFromBitmap(Bitmap bitmap) -> Image</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </constructor>
- <constructor name="ImageFromData" overloaded="no">
- <autodoc>ImageFromData(int width, int height, unsigned char data) -> Image</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="data" type="p.unsigned char" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxImage" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Create" type="void" overloaded="no">
- <autodoc>Create(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
- </method>
- <method name="Scale" type="wxImage" overloaded="no">
- <autodoc>Scale(int width, int height) -> Image</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ShrinkBy" type="wxImage" overloaded="no">
- <autodoc>ShrinkBy(int xFactor, int yFactor) -> Image</autodoc>
- <paramlist>
- <param name="xFactor" type="int" default=""/>
- <param name="yFactor" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Rescale" type="wxImage" overloaded="no">
- <autodoc>Rescale(int width, int height) -> Image</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRGB" type="void" overloaded="no">
- <autodoc>SetRGB(int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="r" type="unsigned char" default=""/>
- <param name="g" type="unsigned char" default=""/>
- <param name="b" type="unsigned char" default=""/>
- </paramlist>
- </method>
- <method name="GetRed" type="unsigned char" overloaded="no">
- <autodoc>GetRed(int x, int y) -> unsigned char</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetGreen" type="unsigned char" overloaded="no">
- <autodoc>GetGreen(int x, int y) -> unsigned char</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBlue" type="unsigned char" overloaded="no">
- <autodoc>GetBlue(int x, int y) -> unsigned char</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAlpha" type="void" overloaded="no">
- <autodoc>SetAlpha(int x, int y, unsigned char alpha)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="alpha" type="unsigned char" default=""/>
- </paramlist>
- </method>
- <method name="GetAlpha" type="unsigned char" overloaded="no">
- <autodoc>GetAlpha(int x, int y) -> unsigned char</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="HasAlpha" type="bool" overloaded="no">
- <autodoc>HasAlpha() -> bool</autodoc>
- </method>
- <method name="FindFirstUnusedColour" type="bool" overloaded="no">
- <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc>
- <docstring>Find first colour that is not used in the image and has higher RGB values than
-startR, startG, startB. Returns a tuple consisting of a success flag and rgb
-values.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.byte" default=""/>
- <param name="OUTPUT" type="p.byte" default=""/>
- <param name="OUTPUT" type="p.byte" default=""/>
- <param name="startR" type="byte" default="0"/>
- <param name="startG" type="byte" default="0"/>
- <param name="startB" type="byte" default="0"/>
- </paramlist>
- </method>
- <method name="SetMaskFromImage" type="bool" overloaded="no">
- <autodoc>SetMaskFromImage(Image mask, byte mr, byte mg, byte mb) -> bool</autodoc>
- <paramlist>
- <param name="mask" type="r.q(const).wxImage" default=""/>
- <param name="mr" type="byte" default=""/>
- <param name="mg" type="byte" default=""/>
- <param name="mb" type="byte" default=""/>
- </paramlist>
- </method>
- <staticmethod name="CanRead" type="bool" overloaded="no">
- <autodoc>Image.CanRead(String name) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetImageCount" type="int" overloaded="no">
- <autodoc>Image.GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
- </paramlist>
- </staticmethod>
- <method name="LoadFile" type="bool" overloaded="no">
- <autodoc>LoadFile(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="LoadMimeFile" type="bool" overloaded="no">
- <autodoc>LoadMimeFile(String name, String mimetype, int index=-1) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default=""/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="SaveFile" type="bool" overloaded="no">
- <autodoc>SaveFile(String name, int type) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="type" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SaveMimeFile" type="bool" overloaded="no">
- <autodoc>SaveMimeFile(String name, String mimetype) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <staticmethod name="CanReadStream" type="bool" overloaded="no">
- <autodoc>Image.CanReadStream(InputStream stream) -> bool</autodoc>
- <paramlist>
- <param name="stream" type="r.wxInputStream" default=""/>
- </paramlist>
- </staticmethod>
- <method name="LoadStream" type="bool" overloaded="no">
- <autodoc>LoadStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc>
- <paramlist>
- <param name="stream" type="r.wxInputStream" default=""/>
- <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="LoadMimeStream" type="bool" overloaded="no">
- <autodoc>LoadMimeStream(InputStream stream, String mimetype, int index=-1) -> bool</autodoc>
- <paramlist>
- <param name="stream" type="r.wxInputStream" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default=""/>
- <param name="index" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="GetHeight" type="int" overloaded="no">
- <autodoc>GetHeight() -> int</autodoc>
- </method>
- <method name="GetSubImage" type="wxImage" overloaded="no">
- <autodoc>GetSubImage(Rect rect) -> Image</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="Copy" type="wxImage" overloaded="no">
- <autodoc>Copy() -> Image</autodoc>
- </method>
- <method name="Paste" type="void" overloaded="no">
- <autodoc>Paste(Image image, int x, int y)</autodoc>
- <paramlist>
- <param name="image" type="r.q(const).wxImage" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetData" type="PyObject" overloaded="no">
- <autodoc>GetData() -> PyObject</autodoc>
- </method>
- <method name="SetData" type="void" overloaded="no">
- <autodoc>SetData(PyObject data)</autodoc>
- <paramlist>
- <param name="data" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetDataBuffer" type="PyObject" overloaded="no">
- <autodoc>GetDataBuffer() -> PyObject</autodoc>
- </method>
- <method name="SetDataBuffer" type="void" overloaded="no">
- <autodoc>SetDataBuffer(PyObject data)</autodoc>
- <paramlist>
- <param name="data" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetAlphaData" type="PyObject" overloaded="no">
- <autodoc>GetAlphaData() -> PyObject</autodoc>
- </method>
- <method name="SetAlphaData" type="void" overloaded="no">
- <autodoc>SetAlphaData(PyObject data)</autodoc>
- <paramlist>
- <param name="data" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetAlphaBuffer" type="PyObject" overloaded="no">
- <autodoc>GetAlphaBuffer() -> PyObject</autodoc>
- </method>
- <method name="SetAlphaBuffer" type="void" overloaded="no">
- <autodoc>SetAlphaBuffer(PyObject data)</autodoc>
- <paramlist>
- <param name="data" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetMaskColour" type="void" overloaded="no">
- <autodoc>SetMaskColour(unsigned char r, unsigned char g, unsigned char b)</autodoc>
- <paramlist>
- <param name="r" type="unsigned char" default=""/>
- <param name="g" type="unsigned char" default=""/>
- <param name="b" type="unsigned char" default=""/>
- </paramlist>
- </method>
- <method name="GetMaskRed" type="unsigned char" overloaded="no">
- <autodoc>GetMaskRed() -> unsigned char</autodoc>
- </method>
- <method name="GetMaskGreen" type="unsigned char" overloaded="no">
- <autodoc>GetMaskGreen() -> unsigned char</autodoc>
- </method>
- <method name="GetMaskBlue" type="unsigned char" overloaded="no">
- <autodoc>GetMaskBlue() -> unsigned char</autodoc>
- </method>
- <method name="SetMask" type="void" overloaded="no">
- <autodoc>SetMask(bool mask=True)</autodoc>
- <paramlist>
- <param name="mask" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="HasMask" type="bool" overloaded="no">
- <autodoc>HasMask() -> bool</autodoc>
- </method>
- <method name="Rotate" type="wxImage" overloaded="no">
- <autodoc>Rotate(double angle, Point centre_of_rotation, bool interpolating=True,
+ <class name="ImageHandler" oldname="wxImageHandler" module="_core">
+ <baseclass name="Object"/>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="GetExtension" type="String" overloaded="no">
+ <autodoc>GetExtension(self) -> String</autodoc>
+ </method>
+ <method name="GetType" type="long" overloaded="no">
+ <autodoc>GetType(self) -> long</autodoc>
+ </method>
+ <method name="GetMimeType" type="String" overloaded="no">
+ <autodoc>GetMimeType(self) -> String</autodoc>
+ </method>
+ <method name="CanRead" type="bool" overloaded="no">
+ <autodoc>CanRead(self, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetName" type="" overloaded="no">
+ <autodoc>SetName(self, String name)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetExtension" type="" overloaded="no">
+ <autodoc>SetExtension(self, String extension)</autodoc>
+ <paramlist>
+ <param name="extension" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetType" type="" overloaded="no">
+ <autodoc>SetType(self, long type)</autodoc>
+ <paramlist>
+ <param name="type" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMimeType" type="" overloaded="no">
+ <autodoc>SetMimeType(self, String mimetype)</autodoc>
+ <paramlist>
+ <param name="mimetype" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="ImageHistogram" oldname="wxImageHistogram" module="_core">
+ <constructor name="ImageHistogram" overloaded="no">
+ <autodoc>__init__(self) -> ImageHistogram</autodoc>
+ </constructor>
+ <staticmethod name="MakeKey" type="unsigned long" overloaded="no">
+ <autodoc>MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long</autodoc>
+ <docstring>Get the key in the histogram for the given RGB values</docstring>
+ <paramlist>
+ <param name="r" type="unsigned char" default=""/>
+ <param name="g" type="unsigned char" default=""/>
+ <param name="b" type="unsigned char" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="FindFirstUnusedColour" type="bool" overloaded="no">
+ <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc>
+ <docstring>Find first colour that is not used in the image and has higher RGB
+values than startR, startG, startB. Returns a tuple consisting of a
+success flag and rgb values.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="unsigned char" default=""/>
+ <param name="OUTPUT" type="unsigned char" default=""/>
+ <param name="OUTPUT" type="unsigned char" default=""/>
+ <param name="startR" type="unsigned char" default="1"/>
+ <param name="startG" type="unsigned char" default="0"/>
+ <param name="startB" type="unsigned char" default="0"/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="Image" oldname="wxImage" module="_core">
+ <baseclass name="Object"/>
+ <constructor name="Image" overloaded="no">
+ <autodoc>__init__(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <constructor name="ImageFromMime" overloaded="no">
+ <autodoc>ImageFromMime(String name, String mimetype, int index=-1) -> Image</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="mimetype" type="String" default=""/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <constructor name="ImageFromStream" overloaded="no">
+ <autodoc>ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <constructor name="ImageFromStreamMime" overloaded="no">
+ <autodoc>ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -> Image</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ <param name="mimetype" type="String" default=""/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <constructor name="EmptyImage" overloaded="no">
+ <autodoc>EmptyImage(int width=0, int height=0, bool clear=True) -> Image</autodoc>
+ <paramlist>
+ <param name="width" type="int" default="0"/>
+ <param name="height" type="int" default="0"/>
+ <param name="clear" type="bool" default="True"/>
+ </paramlist>
+ </constructor>
+ <constructor name="ImageFromBitmap" overloaded="no">
+ <autodoc>ImageFromBitmap(Bitmap bitmap) -> Image</autodoc>
+ <paramlist>
+ <param name="bitmap" type="wxBitmap" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="ImageFromData" overloaded="no">
+ <autodoc>ImageFromData(int width, int height, unsigned char data) -> Image</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="data" type="unsigned char" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxImage" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Create" type="" overloaded="no">
+ <autodoc>Create(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+ </method>
+ <method name="Scale" type="Image" overloaded="no">
+ <autodoc>Scale(self, int width, int height) -> Image</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShrinkBy" type="Image" overloaded="no">
+ <autodoc>ShrinkBy(self, int xFactor, int yFactor) -> Image</autodoc>
+ <paramlist>
+ <param name="xFactor" type="int" default=""/>
+ <param name="yFactor" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Rescale" type="Image" overloaded="no">
+ <autodoc>Rescale(self, int width, int height) -> Image</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRGB" type="" overloaded="no">
+ <autodoc>SetRGB(self, int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="r" type="unsigned char" default=""/>
+ <param name="g" type="unsigned char" default=""/>
+ <param name="b" type="unsigned char" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRed" type="unsigned char" overloaded="no">
+ <autodoc>GetRed(self, int x, int y) -> unsigned char</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetGreen" type="unsigned char" overloaded="no">
+ <autodoc>GetGreen(self, int x, int y) -> unsigned char</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBlue" type="unsigned char" overloaded="no">
+ <autodoc>GetBlue(self, int x, int y) -> unsigned char</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAlpha" type="" overloaded="no">
+ <autodoc>SetAlpha(self, int x, int y, unsigned char alpha)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="alpha" type="unsigned char" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlpha" type="unsigned char" overloaded="no">
+ <autodoc>GetAlpha(self, int x, int y) -> unsigned char</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasAlpha" type="bool" overloaded="no">
+ <autodoc>HasAlpha(self) -> bool</autodoc>
+ </method>
+ <method name="FindFirstUnusedColour" type="bool" overloaded="no">
+ <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b)</autodoc>
+ <docstring>Find first colour that is not used in the image and has higher RGB
+values than startR, startG, startB. Returns a tuple consisting of a
+success flag and rgb values.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="byte" default=""/>
+ <param name="OUTPUT" type="byte" default=""/>
+ <param name="OUTPUT" type="byte" default=""/>
+ <param name="startR" type="byte" default="0"/>
+ <param name="startG" type="byte" default="0"/>
+ <param name="startB" type="byte" default="0"/>
+ </paramlist>
+ </method>
+ <method name="ConvertAlphaToMask" type="bool" overloaded="no">
+ <autodoc>ConvertAlphaToMask(self, byte threshold=128) -> bool</autodoc>
+ <docstring>If the image has alpha channel, this method converts it to mask. All pixels
+with alpha value less than ``threshold`` are replaced with mask colour and the
+alpha channel is removed. Mask colour is chosen automatically using
+`FindFirstUnusedColour`.
+
+If the image image doesn't have alpha channel, ConvertAlphaToMask does
+nothing.</docstring>
+ <paramlist>
+ <param name="threshold" type="byte" default="128"/>
+ </paramlist>
+ </method>
+ <method name="SetMaskFromImage" type="bool" overloaded="no">
+ <autodoc>SetMaskFromImage(self, Image mask, byte mr, byte mg, byte mb) -> bool</autodoc>
+ <paramlist>
+ <param name="mask" type="Image" default=""/>
+ <param name="mr" type="byte" default=""/>
+ <param name="mg" type="byte" default=""/>
+ <param name="mb" type="byte" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="CanRead" type="bool" overloaded="no">
+ <autodoc>CanRead(String name) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetImageCount" type="int" overloaded="no">
+ <autodoc>GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
+ </paramlist>
+ </staticmethod>
+ <method name="LoadFile" type="bool" overloaded="no">
+ <autodoc>LoadFile(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="LoadMimeFile" type="bool" overloaded="no">
+ <autodoc>LoadMimeFile(self, String name, String mimetype, int index=-1) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="mimetype" type="String" default=""/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SaveFile" type="bool" overloaded="no">
+ <autodoc>SaveFile(self, String name, int type) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SaveMimeFile" type="bool" overloaded="no">
+ <autodoc>SaveMimeFile(self, String name, String mimetype) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="mimetype" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="CanReadStream" type="bool" overloaded="no">
+ <autodoc>CanReadStream(InputStream stream) -> bool</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="LoadStream" type="bool" overloaded="no">
+ <autodoc>LoadStream(self, InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="LoadMimeStream" type="bool" overloaded="no">
+ <autodoc>LoadMimeStream(self, InputStream stream, String mimetype, int index=-1) -> bool</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ <param name="mimetype" type="String" default=""/>
+ <param name="index" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ </method>
+ <method name="GetSubImage" type="Image" overloaded="no">
+ <autodoc>GetSubImage(self, Rect rect) -> Image</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="Copy" type="Image" overloaded="no">
+ <autodoc>Copy(self) -> Image</autodoc>
+ </method>
+ <method name="Paste" type="" overloaded="no">
+ <autodoc>Paste(self, Image image, int x, int y)</autodoc>
+ <paramlist>
+ <param name="image" type="Image" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetData" type="PyObject" overloaded="no">
+ <autodoc>GetData(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetData" type="" overloaded="no">
+ <autodoc>SetData(self, PyObject data)</autodoc>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDataBuffer" type="PyObject" overloaded="no">
+ <autodoc>GetDataBuffer(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetDataBuffer" type="" overloaded="no">
+ <autodoc>SetDataBuffer(self, PyObject data)</autodoc>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlphaData" type="PyObject" overloaded="no">
+ <autodoc>GetAlphaData(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetAlphaData" type="" overloaded="no">
+ <autodoc>SetAlphaData(self, PyObject data)</autodoc>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlphaBuffer" type="PyObject" overloaded="no">
+ <autodoc>GetAlphaBuffer(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetAlphaBuffer" type="" overloaded="no">
+ <autodoc>SetAlphaBuffer(self, PyObject data)</autodoc>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMaskColour" type="" overloaded="no">
+ <autodoc>SetMaskColour(self, unsigned char r, unsigned char g, unsigned char b)</autodoc>
+ <paramlist>
+ <param name="r" type="unsigned char" default=""/>
+ <param name="g" type="unsigned char" default=""/>
+ <param name="b" type="unsigned char" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMaskRed" type="unsigned char" overloaded="no">
+ <autodoc>GetMaskRed(self) -> unsigned char</autodoc>
+ </method>
+ <method name="GetMaskGreen" type="unsigned char" overloaded="no">
+ <autodoc>GetMaskGreen(self) -> unsigned char</autodoc>
+ </method>
+ <method name="GetMaskBlue" type="unsigned char" overloaded="no">
+ <autodoc>GetMaskBlue(self) -> unsigned char</autodoc>
+ </method>
+ <method name="SetMask" type="" overloaded="no">
+ <autodoc>SetMask(self, bool mask=True)</autodoc>
+ <paramlist>
+ <param name="mask" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="HasMask" type="bool" overloaded="no">
+ <autodoc>HasMask(self) -> bool</autodoc>
+ </method>
+ <method name="Rotate" type="Image" overloaded="no">
+ <autodoc>Rotate(self, double angle, Point centre_of_rotation, bool interpolating=True,
Point offset_after_rotation=None) -> Image</autodoc>
- <paramlist>
- <param name="angle" type="double" default=""/>
- <param name="centre_of_rotation" type="r.q(const).wxPoint" default=""/>
- <param name="interpolating" type="bool" default="True"/>
- <param name="offset_after_rotation" type="p.wxPoint" default="NULL"/>
- </paramlist>
- </method>
- <method name="Rotate90" type="wxImage" overloaded="no">
- <autodoc>Rotate90(bool clockwise=True) -> Image</autodoc>
- <paramlist>
- <param name="clockwise" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Mirror" type="wxImage" overloaded="no">
- <autodoc>Mirror(bool horizontally=True) -> Image</autodoc>
- <paramlist>
- <param name="horizontally" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Replace" type="void" overloaded="no">
- <autodoc>Replace(unsigned char r1, unsigned char g1, unsigned char b1,
+ <paramlist>
+ <param name="angle" type="double" default=""/>
+ <param name="centre_of_rotation" type="Point" default=""/>
+ <param name="interpolating" type="bool" default="True"/>
+ <param name="offset_after_rotation" type="Point" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Rotate90" type="Image" overloaded="no">
+ <autodoc>Rotate90(self, bool clockwise=True) -> Image</autodoc>
+ <paramlist>
+ <param name="clockwise" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Mirror" type="Image" overloaded="no">
+ <autodoc>Mirror(self, bool horizontally=True) -> Image</autodoc>
+ <paramlist>
+ <param name="horizontally" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Replace" type="" overloaded="no">
+ <autodoc>Replace(self, unsigned char r1, unsigned char g1, unsigned char b1,
unsigned char r2, unsigned char g2, unsigned char b2)</autodoc>
- <paramlist>
- <param name="r1" type="unsigned char" default=""/>
- <param name="g1" type="unsigned char" default=""/>
- <param name="b1" type="unsigned char" default=""/>
- <param name="r2" type="unsigned char" default=""/>
- <param name="g2" type="unsigned char" default=""/>
- <param name="b2" type="unsigned char" default=""/>
- </paramlist>
- </method>
- <method name="ConvertToMono" type="wxImage" overloaded="no">
- <autodoc>ConvertToMono(unsigned char r, unsigned char g, unsigned char b) -> Image</autodoc>
- <paramlist>
- <param name="r" type="unsigned char" default=""/>
- <param name="g" type="unsigned char" default=""/>
- <param name="b" type="unsigned char" default=""/>
- </paramlist>
- </method>
- <method name="SetOption" type="void" overloaded="no">
- <autodoc>SetOption(String name, String value)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetOptionInt" type="void" overloaded="no">
- <autodoc>SetOptionInt(String name, int value)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="value" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetOption" type="wxString" overloaded="no">
- <autodoc>GetOption(String name) -> String</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetOptionInt" type="int" overloaded="no">
- <autodoc>GetOptionInt(String name) -> int</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="HasOption" type="bool" overloaded="no">
- <autodoc>HasOption(String name) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="CountColours" type="unsigned long" overloaded="no">
- <autodoc>CountColours(unsigned long stopafter=(unsigned long) -1) -> unsigned long</autodoc>
- <paramlist>
- <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/>
- </paramlist>
- </method>
- <method name="ComputeHistogram" type="unsigned long" overloaded="no">
- <autodoc>ComputeHistogram(ImageHistogram h) -> unsigned long</autodoc>
- <paramlist>
- <param name="h" type="r.wxImageHistogram" default=""/>
- </paramlist>
- </method>
- <staticmethod name="AddHandler" type="void" overloaded="no">
- <autodoc>Image.AddHandler(ImageHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxImageHandler" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="InsertHandler" type="void" overloaded="no">
- <autodoc>Image.InsertHandler(ImageHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxImageHandler" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="RemoveHandler" type="bool" overloaded="no">
- <autodoc>Image.RemoveHandler(String name) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetImageExtWildcard" type="wxString" overloaded="no">
- <autodoc>Image.GetImageExtWildcard() -> String</autodoc>
- </staticmethod>
- <method name="ConvertToBitmap" type="wxBitmap" overloaded="no">
- <autodoc>ConvertToBitmap() -> Bitmap</autodoc>
- </method>
- <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no">
- <autodoc>ConvertToMonoBitmap(unsigned char red, unsigned char green, unsigned char blue) -> Bitmap</autodoc>
- <paramlist>
- <param name="red" type="unsigned char" default=""/>
- <param name="green" type="unsigned char" default=""/>
- <param name="blue" type="unsigned char" default=""/>
- </paramlist>
- </method>
- </class>
- <method name="InitAllImageHandlers" oldname="wxInitAllImageHandlers" type="void" overloaded="no">
- <autodoc>InitAllImageHandlers()</autodoc>
- </method>
- <class name="BMPHandler" oldname="wxBMPHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="BMPHandler" overloaded="no">
- <autodoc>__init__() -> BMPHandler</autodoc>
- </constructor>
- </class>
- <class name="ICOHandler" oldname="wxICOHandler" module="core">
- <baseclass name="wxBMPHandler"/>
- <constructor name="ICOHandler" overloaded="no">
- <autodoc>__init__() -> ICOHandler</autodoc>
- </constructor>
- </class>
- <class name="CURHandler" oldname="wxCURHandler" module="core">
- <baseclass name="wxICOHandler"/>
- <constructor name="CURHandler" overloaded="no">
- <autodoc>__init__() -> CURHandler</autodoc>
- </constructor>
- </class>
- <class name="ANIHandler" oldname="wxANIHandler" module="core">
- <baseclass name="wxCURHandler"/>
- <constructor name="ANIHandler" overloaded="no">
- <autodoc>__init__() -> ANIHandler</autodoc>
- </constructor>
- </class>
- <class name="PNGHandler" oldname="wxPNGHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="PNGHandler" overloaded="no">
- <autodoc>__init__() -> PNGHandler</autodoc>
- </constructor>
- </class>
- <class name="GIFHandler" oldname="wxGIFHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="GIFHandler" overloaded="no">
- <autodoc>__init__() -> GIFHandler</autodoc>
- </constructor>
- </class>
- <class name="PCXHandler" oldname="wxPCXHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="PCXHandler" overloaded="no">
- <autodoc>__init__() -> PCXHandler</autodoc>
- </constructor>
- </class>
- <class name="JPEGHandler" oldname="wxJPEGHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="JPEGHandler" overloaded="no">
- <autodoc>__init__() -> JPEGHandler</autodoc>
- </constructor>
- </class>
- <class name="PNMHandler" oldname="wxPNMHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="PNMHandler" overloaded="no">
- <autodoc>__init__() -> PNMHandler</autodoc>
- </constructor>
- </class>
- <class name="XPMHandler" oldname="wxXPMHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="XPMHandler" overloaded="no">
- <autodoc>__init__() -> XPMHandler</autodoc>
- </constructor>
- </class>
- <class name="TIFFHandler" oldname="wxTIFFHandler" module="core">
- <baseclass name="wxImageHandler"/>
- <constructor name="TIFFHandler" overloaded="no">
- <autodoc>__init__() -> TIFFHandler</autodoc>
- </constructor>
- </class>
- <pythoncode>
+ <paramlist>
+ <param name="r1" type="unsigned char" default=""/>
+ <param name="g1" type="unsigned char" default=""/>
+ <param name="b1" type="unsigned char" default=""/>
+ <param name="r2" type="unsigned char" default=""/>
+ <param name="g2" type="unsigned char" default=""/>
+ <param name="b2" type="unsigned char" default=""/>
+ </paramlist>
+ </method>
+ <method name="ConvertToMono" type="Image" overloaded="no">
+ <autodoc>ConvertToMono(self, unsigned char r, unsigned char g, unsigned char b) -> Image</autodoc>
+ <paramlist>
+ <param name="r" type="unsigned char" default=""/>
+ <param name="g" type="unsigned char" default=""/>
+ <param name="b" type="unsigned char" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOption" type="" overloaded="no">
+ <autodoc>SetOption(self, String name, String value)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOptionInt" type="" overloaded="no">
+ <autodoc>SetOptionInt(self, String name, int value)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="value" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOption" type="String" overloaded="no">
+ <autodoc>GetOption(self, String name) -> String</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOptionInt" type="int" overloaded="no">
+ <autodoc>GetOptionInt(self, String name) -> int</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasOption" type="bool" overloaded="no">
+ <autodoc>HasOption(self, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="CountColours" type="unsigned long" overloaded="no">
+ <autodoc>CountColours(self, unsigned long stopafter=(unsigned long) -1) -> unsigned long</autodoc>
+ <paramlist>
+ <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/>
+ </paramlist>
+ </method>
+ <method name="ComputeHistogram" type="unsigned long" overloaded="no">
+ <autodoc>ComputeHistogram(self, ImageHistogram h) -> unsigned long</autodoc>
+ <paramlist>
+ <param name="h" type="ImageHistogram" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="AddHandler" type="" overloaded="no">
+ <autodoc>AddHandler(ImageHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="ImageHandler" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="InsertHandler" type="" overloaded="no">
+ <autodoc>InsertHandler(ImageHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="ImageHandler" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="RemoveHandler" type="bool" overloaded="no">
+ <autodoc>RemoveHandler(String name) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetImageExtWildcard" type="String" overloaded="no">
+ <autodoc>GetImageExtWildcard() -> String</autodoc>
+ </staticmethod>
+ <method name="ConvertToBitmap" type="wxBitmap" overloaded="no">
+ <autodoc>ConvertToBitmap(self) -> Bitmap</autodoc>
+ </method>
+ <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no">
+ <autodoc>ConvertToMonoBitmap(self, unsigned char red, unsigned char green, unsigned char blue) -> Bitmap</autodoc>
+ <paramlist>
+ <param name="red" type="unsigned char" default=""/>
+ <param name="green" type="unsigned char" default=""/>
+ <param name="blue" type="unsigned char" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+ def InitAllImageHandlers():
+ """
+ The former functionality of InitAllImageHanders is now done internal to
+ the _core_ extension module and so this function has become a simple NOP.
+ """
+ pass
+</pythoncode>
+ <class name="BMPHandler" oldname="wxBMPHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="BMPHandler" overloaded="no">
+ <autodoc>__init__(self) -> BMPHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="ICOHandler" oldname="wxICOHandler" module="_core">
+ <baseclass name="BMPHandler"/>
+ <constructor name="ICOHandler" overloaded="no">
+ <autodoc>__init__(self) -> ICOHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="CURHandler" oldname="wxCURHandler" module="_core">
+ <baseclass name="ICOHandler"/>
+ <constructor name="CURHandler" overloaded="no">
+ <autodoc>__init__(self) -> CURHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="ANIHandler" oldname="wxANIHandler" module="_core">
+ <baseclass name="CURHandler"/>
+ <constructor name="ANIHandler" overloaded="no">
+ <autodoc>__init__(self) -> ANIHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="PNGHandler" oldname="wxPNGHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="PNGHandler" overloaded="no">
+ <autodoc>__init__(self) -> PNGHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="GIFHandler" oldname="wxGIFHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="GIFHandler" overloaded="no">
+ <autodoc>__init__(self) -> GIFHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="PCXHandler" oldname="wxPCXHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="PCXHandler" overloaded="no">
+ <autodoc>__init__(self) -> PCXHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="JPEGHandler" oldname="wxJPEGHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="JPEGHandler" overloaded="no">
+ <autodoc>__init__(self) -> JPEGHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="PNMHandler" oldname="wxPNMHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="PNMHandler" overloaded="no">
+ <autodoc>__init__(self) -> PNMHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="XPMHandler" oldname="wxXPMHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="XPMHandler" overloaded="no">
+ <autodoc>__init__(self) -> XPMHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="TIFFHandler" oldname="wxTIFFHandler" module="_core">
+ <baseclass name="ImageHandler"/>
+ <constructor name="TIFFHandler" overloaded="no">
+ <autodoc>__init__(self) -> TIFFHandler</autodoc>
+ </constructor>
+ </class>
+ <class name="Quantize" oldname="wxQuantize" module="_core">
+ <docstring>Performs quantization, or colour reduction, on a wxImage.</docstring>
+ <staticmethod name="Quantize" type="bool" overloaded="no">
+ <autodoc>Quantize(Image src, Image dest, int desiredNoColours=236, int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE) -> bool</autodoc>
+ <docstring>Reduce the colours in the source image and put the result into the
+destination image, setting the palette in the destination if
+needed. Both images may be the same, to overwrite the source image.
+:todo: Create a version that returns the wx.Palette used.</docstring>
+ <paramlist>
+ <param name="src" type="Image" default=""/>
+ <param name="dest" type="Image" default=""/>
+ <param name="desiredNoColours" type="int" default="236"/>
+ <param name="flags" type="int" default="wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="EvtHandler" oldname="wxEvtHandler" module="core">
- <baseclass name="wxObject"/>
- <constructor name="EvtHandler" overloaded="no">
- <autodoc>__init__() -> EvtHandler</autodoc>
- </constructor>
- <method name="GetNextHandler" type="wxEvtHandler" overloaded="no">
- <autodoc>GetNextHandler() -> EvtHandler</autodoc>
- </method>
- <method name="GetPreviousHandler" type="wxEvtHandler" overloaded="no">
- <autodoc>GetPreviousHandler() -> EvtHandler</autodoc>
- </method>
- <method name="SetNextHandler" type="void" overloaded="no">
- <autodoc>SetNextHandler(EvtHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxEvtHandler" default=""/>
- </paramlist>
- </method>
- <method name="SetPreviousHandler" type="void" overloaded="no">
- <autodoc>SetPreviousHandler(EvtHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxEvtHandler" default=""/>
- </paramlist>
- </method>
- <method name="GetEvtHandlerEnabled" type="bool" overloaded="no">
- <autodoc>GetEvtHandlerEnabled() -> bool</autodoc>
- </method>
- <method name="SetEvtHandlerEnabled" type="void" overloaded="no">
- <autodoc>SetEvtHandlerEnabled(bool enabled)</autodoc>
- <paramlist>
- <param name="enabled" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="ProcessEvent" type="bool" overloaded="no">
- <autodoc>ProcessEvent(Event event) -> bool</autodoc>
- <paramlist>
- <param name="event" type="r.wxEvent" default=""/>
- </paramlist>
- </method>
- <method name="AddPendingEvent" type="void" overloaded="no">
- <autodoc>AddPendingEvent(Event event)</autodoc>
- <paramlist>
- <param name="event" type="r.wxEvent" default=""/>
- </paramlist>
- </method>
- <method name="ProcessPendingEvents" type="void" overloaded="no">
- <autodoc>ProcessPendingEvents()</autodoc>
- </method>
- <method name="Connect" type="void" overloaded="no">
- <autodoc>Connect(int id, int lastId, int eventType, PyObject func)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="lastId" type="int" default=""/>
- <param name="eventType" type="int" default=""/>
- <param name="func" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Disconnect" type="bool" overloaded="no">
- <autodoc>Disconnect(int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="lastId" type="int" default="-1"/>
- <param name="eventType" type="wxEventType" default="wxEVT_NULL"/>
- </paramlist>
- </method>
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="EvtHandler" oldname="wxEvtHandler" module="_core">
+ <baseclass name="Object"/>
+ <constructor name="EvtHandler" overloaded="no">
+ <autodoc>__init__(self) -> EvtHandler</autodoc>
+ </constructor>
+ <method name="GetNextHandler" type="EvtHandler" overloaded="no">
+ <autodoc>GetNextHandler(self) -> EvtHandler</autodoc>
+ </method>
+ <method name="GetPreviousHandler" type="EvtHandler" overloaded="no">
+ <autodoc>GetPreviousHandler(self) -> EvtHandler</autodoc>
+ </method>
+ <method name="SetNextHandler" type="" overloaded="no">
+ <autodoc>SetNextHandler(self, EvtHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="EvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPreviousHandler" type="" overloaded="no">
+ <autodoc>SetPreviousHandler(self, EvtHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="EvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEvtHandlerEnabled" type="bool" overloaded="no">
+ <autodoc>GetEvtHandlerEnabled(self) -> bool</autodoc>
+ </method>
+ <method name="SetEvtHandlerEnabled" type="" overloaded="no">
+ <autodoc>SetEvtHandlerEnabled(self, bool enabled)</autodoc>
+ <paramlist>
+ <param name="enabled" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="ProcessEvent" type="bool" overloaded="no">
+ <autodoc>ProcessEvent(self, Event event) -> bool</autodoc>
+ <paramlist>
+ <param name="event" type="wxEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddPendingEvent" type="" overloaded="no">
+ <autodoc>AddPendingEvent(self, Event event)</autodoc>
+ <paramlist>
+ <param name="event" type="wxEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="ProcessPendingEvents" type="" overloaded="no">
+ <autodoc>ProcessPendingEvents(self)</autodoc>
+ </method>
+ <method name="Connect" type="" overloaded="no">
+ <autodoc>Connect(self, int id, int lastId, int eventType, PyObject func)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="lastId" type="int" default=""/>
+ <param name="eventType" type="int" default=""/>
+ <param name="func" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Disconnect" type="bool" overloaded="no">
+ <autodoc>Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="lastId" type="int" default="-1"/>
+ <param name="eventType" type="wxEventType" default="wxEVT_NULL"/>
+ </paramlist>
+ </method>
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
for et in self.evtType:
target.Connect(id1, id2, et, function)
+
+ def Unbind(self, target, id1, id2):
+ """Remove an event binding."""
+ success = 0
+ for et in self.evtType:
+ success += target.Disconnect(id1, id2, et)
+ return success != 0
+
def __call__(self, *args):
"""
#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <method name="NewEventType" oldname="wxNewEventType" type="wxEventType" overloaded="no">
- <autodoc>NewEventType() -> wxEventType</autodoc>
- </method>
- <pythoncode>
+ <method name="NewEventType" oldname="wxNewEventType" type="wxEventType" overloaded="no">
+ <autodoc>NewEventType() -> wxEventType</autodoc>
+ </method>
+ <pythoncode>
#
# Create some event binders
EVT_SIZE = wx.PyEventBinder( wxEVT_SIZE )
EVT_COMMAND_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE, 1)
EVT_COMMAND_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL, 1)
-EVT_SPIN_UP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP, 1)
-EVT_SPIN_DOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN, 1)
-EVT_SPIN = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1)
-
EVT_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED, 1)
EVT_CHECKBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED, 1)
EVT_CHOICE = wx.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED, 1)
</pythoncode>
- <pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Event" oldname="wxEvent" module="core">
- <baseclass name="wxObject"/>
- <destructor name="~wxEvent" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetEventType" type="void" overloaded="no">
- <autodoc>SetEventType(wxEventType typ)</autodoc>
- <paramlist>
- <param name="typ" type="wxEventType" default=""/>
- </paramlist>
- </method>
- <method name="GetEventType" type="wxEventType" overloaded="no">
- <autodoc>GetEventType() -> wxEventType</autodoc>
- </method>
- <method name="GetEventObject" type="wxObject" overloaded="no">
- <autodoc>GetEventObject() -> Object</autodoc>
- </method>
- <method name="SetEventObject" type="void" overloaded="no">
- <autodoc>SetEventObject(Object obj)</autodoc>
- <paramlist>
- <param name="obj" type="p.wxObject" default=""/>
- </paramlist>
- </method>
- <method name="GetTimestamp" type="long" overloaded="no">
- <autodoc>GetTimestamp() -> long</autodoc>
- </method>
- <method name="SetTimestamp" type="void" overloaded="no">
- <autodoc>SetTimestamp(long ts=0)</autodoc>
- <paramlist>
- <param name="ts" type="long" default="0"/>
- </paramlist>
- </method>
- <method name="GetId" type="int" overloaded="no">
- <autodoc>GetId() -> int</autodoc>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(int Id)</autodoc>
- <paramlist>
- <param name="Id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsCommandEvent" type="bool" overloaded="no">
- <autodoc>IsCommandEvent() -> bool</autodoc>
- </method>
- <method name="Skip" type="void" overloaded="no">
- <autodoc>Skip(bool skip=True)</autodoc>
- <paramlist>
- <param name="skip" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetSkipped" type="bool" overloaded="no">
- <autodoc>GetSkipped() -> bool</autodoc>
- </method>
- <method name="ShouldPropagate" type="bool" overloaded="no">
- <autodoc>ShouldPropagate() -> bool</autodoc>
- </method>
- <method name="StopPropagation" type="int" overloaded="no">
- <autodoc>StopPropagation() -> int</autodoc>
- </method>
- <method name="ResumePropagation" type="void" overloaded="no">
- <autodoc>ResumePropagation(int propagationLevel)</autodoc>
- <paramlist>
- <param name="propagationLevel" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Clone" type="wxEvent" overloaded="no">
- <autodoc>Clone() -> Event</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="Event" oldname="wxEvent" module="_core">
+ <baseclass name="Object"/>
+ <destructor name="~wxEvent" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetEventType" type="" overloaded="no">
+ <autodoc>SetEventType(self, wxEventType typ)</autodoc>
+ <paramlist>
+ <param name="typ" type="wxEventType" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEventType" type="wxEventType" overloaded="no">
+ <autodoc>GetEventType(self) -> wxEventType</autodoc>
+ </method>
+ <method name="GetEventObject" type="Object" overloaded="no">
+ <autodoc>GetEventObject(self) -> Object</autodoc>
+ </method>
+ <method name="SetEventObject" type="" overloaded="no">
+ <autodoc>SetEventObject(self, Object obj)</autodoc>
+ <paramlist>
+ <param name="obj" type="Object" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTimestamp" type="long" overloaded="no">
+ <autodoc>GetTimestamp(self) -> long</autodoc>
+ </method>
+ <method name="SetTimestamp" type="" overloaded="no">
+ <autodoc>SetTimestamp(self, long ts=0)</autodoc>
+ <paramlist>
+ <param name="ts" type="long" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetId" type="int" overloaded="no">
+ <autodoc>GetId(self) -> int</autodoc>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, int Id)</autodoc>
+ <paramlist>
+ <param name="Id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsCommandEvent" type="bool" overloaded="no">
+ <autodoc>IsCommandEvent(self) -> bool</autodoc>
+ </method>
+ <method name="Skip" type="" overloaded="no">
+ <autodoc>Skip(self, bool skip=True)</autodoc>
+ <paramlist>
+ <param name="skip" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetSkipped" type="bool" overloaded="no">
+ <autodoc>GetSkipped(self) -> bool</autodoc>
+ </method>
+ <method name="ShouldPropagate" type="bool" overloaded="no">
+ <autodoc>ShouldPropagate(self) -> bool</autodoc>
+ </method>
+ <method name="StopPropagation" type="int" overloaded="no">
+ <autodoc>StopPropagation(self) -> int</autodoc>
+ </method>
+ <method name="ResumePropagation" type="" overloaded="no">
+ <autodoc>ResumePropagation(self, int propagationLevel)</autodoc>
+ <paramlist>
+ <param name="propagationLevel" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clone" type="Event" overloaded="no">
+ <autodoc>Clone(self) -> Event</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="core">
- <constructor name="PropagationDisabler" overloaded="no">
- <autodoc>__init__(Event event) -> PropagationDisabler</autodoc>
- <paramlist>
- <param name="event" type="r.wxEvent" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxPropagationDisabler" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <class name="PropagateOnce" oldname="wxPropagateOnce" module="core">
- <constructor name="PropagateOnce" overloaded="no">
- <autodoc>__init__(Event event) -> PropagateOnce</autodoc>
- <paramlist>
- <param name="event" type="r.wxEvent" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxPropagateOnce" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <pythoncode>
+ <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="_core">
+ <constructor name="PropagationDisabler" overloaded="no">
+ <autodoc>__init__(self, Event event) -> PropagationDisabler</autodoc>
+ <paramlist>
+ <param name="event" type="Event" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPropagationDisabler" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <class name="PropagateOnce" oldname="wxPropagateOnce" module="_core">
+ <constructor name="PropagateOnce" overloaded="no">
+ <autodoc>__init__(self, Event event) -> PropagateOnce</autodoc>
+ <paramlist>
+ <param name="event" type="Event" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPropagateOnce" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="CommandEvent" oldname="wxCommandEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="CommandEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetSelection" type="int" overloaded="no">
- <autodoc>GetSelection() -> int</autodoc>
- </method>
- <method name="SetString" type="void" overloaded="no">
- <autodoc>SetString(String s)</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetString" type="wxString" overloaded="no">
- <autodoc>GetString() -> String</autodoc>
- </method>
- <method name="IsChecked" type="bool" overloaded="no">
- <autodoc>IsChecked() -> bool</autodoc>
- </method>
- <method name="IsSelection" type="bool" overloaded="no">
- <autodoc>IsSelection() -> bool</autodoc>
- </method>
- <method name="SetExtraLong" type="void" overloaded="no">
- <autodoc>SetExtraLong(long extraLong)</autodoc>
- <paramlist>
- <param name="extraLong" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetExtraLong" type="long" overloaded="no">
- <autodoc>GetExtraLong() -> long</autodoc>
- </method>
- <method name="SetInt" type="void" overloaded="no">
- <autodoc>SetInt(int i)</autodoc>
- <paramlist>
- <param name="i" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetInt" type="long" overloaded="no">
- <autodoc>GetInt() -> long</autodoc>
- </method>
- <method name="Clone" type="wxEvent" overloaded="no">
- <autodoc>Clone() -> Event</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="CommandEvent" oldname="wxCommandEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="CommandEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetSelection" type="int" overloaded="no">
+ <autodoc>GetSelection(self) -> int</autodoc>
+ </method>
+ <method name="SetString" type="" overloaded="no">
+ <autodoc>SetString(self, String s)</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetString" type="String" overloaded="no">
+ <autodoc>GetString(self) -> String</autodoc>
+ </method>
+ <method name="IsChecked" type="bool" overloaded="no">
+ <autodoc>IsChecked(self) -> bool</autodoc>
+ </method>
+ <method name="IsSelection" type="bool" overloaded="no">
+ <autodoc>IsSelection(self) -> bool</autodoc>
+ </method>
+ <method name="SetExtraLong" type="" overloaded="no">
+ <autodoc>SetExtraLong(self, long extraLong)</autodoc>
+ <paramlist>
+ <param name="extraLong" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetExtraLong" type="long" overloaded="no">
+ <autodoc>GetExtraLong(self) -> long</autodoc>
+ </method>
+ <method name="SetInt" type="" overloaded="no">
+ <autodoc>SetInt(self, int i)</autodoc>
+ <paramlist>
+ <param name="i" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetInt" type="long" overloaded="no">
+ <autodoc>GetInt(self) -> long</autodoc>
+ </method>
+ <method name="Clone" type="Event" overloaded="no">
+ <autodoc>Clone(self) -> Event</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="NotifyEvent" oldname="wxNotifyEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="NotifyEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="Veto" type="void" overloaded="no">
- <autodoc>Veto()</autodoc>
- </method>
- <method name="Allow" type="void" overloaded="no">
- <autodoc>Allow()</autodoc>
- </method>
- <method name="IsAllowed" type="bool" overloaded="no">
- <autodoc>IsAllowed() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="NotifyEvent" oldname="wxNotifyEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="NotifyEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="Veto" type="" overloaded="no">
+ <autodoc>Veto(self)</autodoc>
+ </method>
+ <method name="Allow" type="" overloaded="no">
+ <autodoc>Allow(self)</autodoc>
+ </method>
+ <method name="IsAllowed" type="bool" overloaded="no">
+ <autodoc>IsAllowed(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ScrollEvent" oldname="wxScrollEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="ScrollEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0,
+ <class name="ScrollEvent" oldname="wxScrollEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="ScrollEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0,
int orient=0) -> ScrollEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- <param name="pos" type="int" default="0"/>
- <param name="orient" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetOrientation" type="int" overloaded="no">
- <autodoc>GetOrientation() -> int</autodoc>
- </method>
- <method name="GetPosition" type="int" overloaded="no">
- <autodoc>GetPosition() -> int</autodoc>
- </method>
- <method name="SetOrientation" type="void" overloaded="no">
- <autodoc>SetOrientation(int orient)</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ <param name="pos" type="int" default="0"/>
+ <param name="orient" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetOrientation" type="int" overloaded="no">
+ <autodoc>GetOrientation(self) -> int</autodoc>
+ </method>
+ <method name="GetPosition" type="int" overloaded="no">
+ <autodoc>GetPosition(self) -> int</autodoc>
+ </method>
+ <method name="SetOrientation" type="" overloaded="no">
+ <autodoc>SetOrientation(self, int orient)</autodoc>
+ <paramlist>
+ <param name="orient" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="ScrollWinEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="pos" type="int" default="0"/>
- <param name="orient" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetOrientation" type="int" overloaded="no">
- <autodoc>GetOrientation() -> int</autodoc>
- </method>
- <method name="GetPosition" type="int" overloaded="no">
- <autodoc>GetPosition() -> int</autodoc>
- </method>
- <method name="SetOrientation" type="void" overloaded="no">
- <autodoc>SetOrientation(int orient)</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="ScrollWinEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="pos" type="int" default="0"/>
+ <param name="orient" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetOrientation" type="int" overloaded="no">
+ <autodoc>GetOrientation(self) -> int</autodoc>
+ </method>
+ <method name="GetPosition" type="int" overloaded="no">
+ <autodoc>GetPosition(self) -> int</autodoc>
+ </method>
+ <method name="SetOrientation" type="" overloaded="no">
+ <autodoc>SetOrientation(self, int orient)</autodoc>
+ <paramlist>
+ <param name="orient" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MouseEvent" oldname="wxMouseEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="MouseEvent" overloaded="no">
- <autodoc>__init__(wxEventType mouseType=wxEVT_NULL) -> MouseEvent</autodoc>
- <paramlist>
- <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/>
- </paramlist>
- </constructor>
- <method name="IsButton" type="bool" overloaded="no">
- <autodoc>IsButton() -> bool</autodoc>
- </method>
- <method name="ButtonDown" type="bool" overloaded="no">
- <autodoc>ButtonDown(int but=MOUSE_BTN_ANY) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
- </paramlist>
- </method>
- <method name="ButtonDClick" type="bool" overloaded="no">
- <autodoc>ButtonDClick(int but=MOUSE_BTN_ANY) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
- </paramlist>
- </method>
- <method name="ButtonUp" type="bool" overloaded="no">
- <autodoc>ButtonUp(int but=MOUSE_BTN_ANY) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
- </paramlist>
- </method>
- <method name="Button" type="bool" overloaded="no">
- <autodoc>Button(int but) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ButtonIsDown" type="bool" overloaded="no">
- <autodoc>ButtonIsDown(int but) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetButton" type="int" overloaded="no">
- <autodoc>GetButton() -> int</autodoc>
- </method>
- <method name="ControlDown" type="bool" overloaded="no">
- <autodoc>ControlDown() -> bool</autodoc>
- </method>
- <method name="MetaDown" type="bool" overloaded="no">
- <autodoc>MetaDown() -> bool</autodoc>
- </method>
- <method name="AltDown" type="bool" overloaded="no">
- <autodoc>AltDown() -> bool</autodoc>
- </method>
- <method name="ShiftDown" type="bool" overloaded="no">
- <autodoc>ShiftDown() -> bool</autodoc>
- </method>
- <method name="LeftDown" type="bool" overloaded="no">
- <autodoc>LeftDown() -> bool</autodoc>
- </method>
- <method name="MiddleDown" type="bool" overloaded="no">
- <autodoc>MiddleDown() -> bool</autodoc>
- </method>
- <method name="RightDown" type="bool" overloaded="no">
- <autodoc>RightDown() -> bool</autodoc>
- </method>
- <method name="LeftUp" type="bool" overloaded="no">
- <autodoc>LeftUp() -> bool</autodoc>
- </method>
- <method name="MiddleUp" type="bool" overloaded="no">
- <autodoc>MiddleUp() -> bool</autodoc>
- </method>
- <method name="RightUp" type="bool" overloaded="no">
- <autodoc>RightUp() -> bool</autodoc>
- </method>
- <method name="LeftDClick" type="bool" overloaded="no">
- <autodoc>LeftDClick() -> bool</autodoc>
- </method>
- <method name="MiddleDClick" type="bool" overloaded="no">
- <autodoc>MiddleDClick() -> bool</autodoc>
- </method>
- <method name="RightDClick" type="bool" overloaded="no">
- <autodoc>RightDClick() -> bool</autodoc>
- </method>
- <method name="LeftIsDown" type="bool" overloaded="no">
- <autodoc>LeftIsDown() -> bool</autodoc>
- </method>
- <method name="MiddleIsDown" type="bool" overloaded="no">
- <autodoc>MiddleIsDown() -> bool</autodoc>
- </method>
- <method name="RightIsDown" type="bool" overloaded="no">
- <autodoc>RightIsDown() -> bool</autodoc>
- </method>
- <method name="Dragging" type="bool" overloaded="no">
- <autodoc>Dragging() -> bool</autodoc>
- </method>
- <method name="Moving" type="bool" overloaded="no">
- <autodoc>Moving() -> bool</autodoc>
- </method>
- <method name="Entering" type="bool" overloaded="no">
- <autodoc>Entering() -> bool</autodoc>
- </method>
- <method name="Leaving" type="bool" overloaded="no">
- <autodoc>Leaving() -> bool</autodoc>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring>
- </method>
- <method name="GetPositionTuple" type="void" overloaded="no">
- <autodoc>GetPositionTuple() -> (x,y)</autodoc>
- <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.long" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- </paramlist>
- </method>
- <method name="GetLogicalPosition" type="wxPoint" overloaded="no">
- <autodoc>GetLogicalPosition(DC dc) -> Point</autodoc>
- <paramlist>
- <param name="dc" type="r.q(const).wxDC" default=""/>
- </paramlist>
- </method>
- <method name="GetX" type="int" overloaded="no">
- <autodoc>GetX() -> int</autodoc>
- </method>
- <method name="GetY" type="int" overloaded="no">
- <autodoc>GetY() -> int</autodoc>
- </method>
- <method name="GetWheelRotation" type="int" overloaded="no">
- <autodoc>GetWheelRotation() -> int</autodoc>
- </method>
- <method name="GetWheelDelta" type="int" overloaded="no">
- <autodoc>GetWheelDelta() -> int</autodoc>
- </method>
- <method name="GetLinesPerAction" type="int" overloaded="no">
- <autodoc>GetLinesPerAction() -> int</autodoc>
- </method>
- <method name="IsPageScroll" type="bool" overloaded="no">
- <autodoc>IsPageScroll() -> bool</autodoc>
- </method>
- <property name="m_x" type="int" readonly="no"/>
- <property name="m_y" type="int" readonly="no"/>
- <property name="m_leftDown" type="bool" readonly="no"/>
- <property name="m_middleDown" type="bool" readonly="no"/>
- <property name="m_rightDown" type="bool" readonly="no"/>
- <property name="m_controlDown" type="bool" readonly="no"/>
- <property name="m_shiftDown" type="bool" readonly="no"/>
- <property name="m_altDown" type="bool" readonly="no"/>
- <property name="m_metaDown" type="bool" readonly="no"/>
- <property name="m_wheelRotation" type="int" readonly="no"/>
- <property name="m_wheelDelta" type="int" readonly="no"/>
- <property name="m_linesPerAction" type="int" readonly="no"/>
- </class>
- <pythoncode>
+ <class name="MouseEvent" oldname="wxMouseEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="MouseEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType mouseType=wxEVT_NULL) -> MouseEvent</autodoc>
+ <paramlist>
+ <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="IsButton" type="bool" overloaded="no">
+ <autodoc>IsButton(self) -> bool</autodoc>
+ </method>
+ <method name="ButtonDown" type="bool" overloaded="no">
+ <autodoc>ButtonDown(self, int but=MOUSE_BTN_ANY) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
+ </paramlist>
+ </method>
+ <method name="ButtonDClick" type="bool" overloaded="no">
+ <autodoc>ButtonDClick(self, int but=MOUSE_BTN_ANY) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
+ </paramlist>
+ </method>
+ <method name="ButtonUp" type="bool" overloaded="no">
+ <autodoc>ButtonUp(self, int but=MOUSE_BTN_ANY) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
+ </paramlist>
+ </method>
+ <method name="Button" type="bool" overloaded="no">
+ <autodoc>Button(self, int but) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ButtonIsDown" type="bool" overloaded="no">
+ <autodoc>ButtonIsDown(self, int but) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetButton" type="int" overloaded="no">
+ <autodoc>GetButton(self) -> int</autodoc>
+ </method>
+ <method name="ControlDown" type="bool" overloaded="no">
+ <autodoc>ControlDown(self) -> bool</autodoc>
+ </method>
+ <method name="MetaDown" type="bool" overloaded="no">
+ <autodoc>MetaDown(self) -> bool</autodoc>
+ </method>
+ <method name="AltDown" type="bool" overloaded="no">
+ <autodoc>AltDown(self) -> bool</autodoc>
+ </method>
+ <method name="ShiftDown" type="bool" overloaded="no">
+ <autodoc>ShiftDown(self) -> bool</autodoc>
+ </method>
+ <method name="CmdDown" type="bool" overloaded="no">
+ <autodoc>CmdDown(self) -> bool</autodoc>
+ <docstring>"Cmd" is a pseudo key which is the same as Control for PC and Unix
+platforms but the special "Apple" (a.k.a as "Command") key on
+Macs: it makes often sense to use it instead of, say, `ControlDown`
+because Cmd key is used for the same thing under Mac as Ctrl
+elsewhere. The Ctrl still exists, it's just not used for this
+purpose. So for non-Mac platforms this is the same as `ControlDown`
+and Macs this is the same as `MetaDown`.</docstring>
+ </method>
+ <method name="LeftDown" type="bool" overloaded="no">
+ <autodoc>LeftDown(self) -> bool</autodoc>
+ </method>
+ <method name="MiddleDown" type="bool" overloaded="no">
+ <autodoc>MiddleDown(self) -> bool</autodoc>
+ </method>
+ <method name="RightDown" type="bool" overloaded="no">
+ <autodoc>RightDown(self) -> bool</autodoc>
+ </method>
+ <method name="LeftUp" type="bool" overloaded="no">
+ <autodoc>LeftUp(self) -> bool</autodoc>
+ </method>
+ <method name="MiddleUp" type="bool" overloaded="no">
+ <autodoc>MiddleUp(self) -> bool</autodoc>
+ </method>
+ <method name="RightUp" type="bool" overloaded="no">
+ <autodoc>RightUp(self) -> bool</autodoc>
+ </method>
+ <method name="LeftDClick" type="bool" overloaded="no">
+ <autodoc>LeftDClick(self) -> bool</autodoc>
+ </method>
+ <method name="MiddleDClick" type="bool" overloaded="no">
+ <autodoc>MiddleDClick(self) -> bool</autodoc>
+ </method>
+ <method name="RightDClick" type="bool" overloaded="no">
+ <autodoc>RightDClick(self) -> bool</autodoc>
+ </method>
+ <method name="LeftIsDown" type="bool" overloaded="no">
+ <autodoc>LeftIsDown(self) -> bool</autodoc>
+ </method>
+ <method name="MiddleIsDown" type="bool" overloaded="no">
+ <autodoc>MiddleIsDown(self) -> bool</autodoc>
+ </method>
+ <method name="RightIsDown" type="bool" overloaded="no">
+ <autodoc>RightIsDown(self) -> bool</autodoc>
+ </method>
+ <method name="Dragging" type="bool" overloaded="no">
+ <autodoc>Dragging(self) -> bool</autodoc>
+ </method>
+ <method name="Moving" type="bool" overloaded="no">
+ <autodoc>Moving(self) -> bool</autodoc>
+ </method>
+ <method name="Entering" type="bool" overloaded="no">
+ <autodoc>Entering(self) -> bool</autodoc>
+ </method>
+ <method name="Leaving" type="bool" overloaded="no">
+ <autodoc>Leaving(self) -> bool</autodoc>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ <docstring>Returns the position of the mouse in window coordinates when the event
+happened.</docstring>
+ </method>
+ <method name="GetPositionTuple" type="" overloaded="no">
+ <autodoc>GetPositionTuple() -> (x,y)</autodoc>
+ <docstring>Returns the position of the mouse in window coordinates when the event
+happened.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="long" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLogicalPosition" type="Point" overloaded="no">
+ <autodoc>GetLogicalPosition(self, DC dc) -> Point</autodoc>
+ <paramlist>
+ <param name="dc" type="wxDC" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetX" type="int" overloaded="no">
+ <autodoc>GetX(self) -> int</autodoc>
+ </method>
+ <method name="GetY" type="int" overloaded="no">
+ <autodoc>GetY(self) -> int</autodoc>
+ </method>
+ <method name="GetWheelRotation" type="int" overloaded="no">
+ <autodoc>GetWheelRotation(self) -> int</autodoc>
+ </method>
+ <method name="GetWheelDelta" type="int" overloaded="no">
+ <autodoc>GetWheelDelta(self) -> int</autodoc>
+ </method>
+ <method name="GetLinesPerAction" type="int" overloaded="no">
+ <autodoc>GetLinesPerAction(self) -> int</autodoc>
+ </method>
+ <method name="IsPageScroll" type="bool" overloaded="no">
+ <autodoc>IsPageScroll(self) -> bool</autodoc>
+ </method>
+ <property name="m_x" type="int" readonly="no"/>
+ <property name="m_y" type="int" readonly="no"/>
+ <property name="m_leftDown" type="bool" readonly="no"/>
+ <property name="m_middleDown" type="bool" readonly="no"/>
+ <property name="m_rightDown" type="bool" readonly="no"/>
+ <property name="m_controlDown" type="bool" readonly="no"/>
+ <property name="m_shiftDown" type="bool" readonly="no"/>
+ <property name="m_altDown" type="bool" readonly="no"/>
+ <property name="m_metaDown" type="bool" readonly="no"/>
+ <property name="m_wheelRotation" type="int" readonly="no"/>
+ <property name="m_wheelDelta" type="int" readonly="no"/>
+ <property name="m_linesPerAction" type="int" readonly="no"/>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="SetCursorEvent" overloaded="no">
- <autodoc>__init__(int x=0, int y=0) -> SetCursorEvent</autodoc>
- <paramlist>
- <param name="x" type="int" default="0"/>
- <param name="y" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetX" type="int" overloaded="no">
- <autodoc>GetX() -> int</autodoc>
- </method>
- <method name="GetY" type="int" overloaded="no">
- <autodoc>GetY() -> int</autodoc>
- </method>
- <method name="SetCursor" type="void" overloaded="no">
- <autodoc>SetCursor(Cursor cursor)</autodoc>
- <paramlist>
- <param name="cursor" type="r.q(const).wxCursor" default=""/>
- </paramlist>
- </method>
- <method name="GetCursor" type="q(const).wxCursor" overloaded="no">
- <autodoc>GetCursor() -> Cursor</autodoc>
- </method>
- <method name="HasCursor" type="bool" overloaded="no">
- <autodoc>HasCursor() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="SetCursorEvent" overloaded="no">
+ <autodoc>__init__(self, int x=0, int y=0) -> SetCursorEvent</autodoc>
+ <paramlist>
+ <param name="x" type="int" default="0"/>
+ <param name="y" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetX" type="int" overloaded="no">
+ <autodoc>GetX(self) -> int</autodoc>
+ </method>
+ <method name="GetY" type="int" overloaded="no">
+ <autodoc>GetY(self) -> int</autodoc>
+ </method>
+ <method name="SetCursor" type="" overloaded="no">
+ <autodoc>SetCursor(self, Cursor cursor)</autodoc>
+ <paramlist>
+ <param name="cursor" type="wxCursor" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCursor" type="wxCursor" overloaded="no">
+ <autodoc>GetCursor(self) -> Cursor</autodoc>
+ </method>
+ <method name="HasCursor" type="bool" overloaded="no">
+ <autodoc>HasCursor(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="KeyEvent" oldname="wxKeyEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="KeyEvent" overloaded="no">
- <autodoc>__init__(wxEventType keyType=wxEVT_NULL) -> KeyEvent</autodoc>
- <paramlist>
- <param name="keyType" type="wxEventType" default="wxEVT_NULL"/>
- </paramlist>
- </constructor>
- <method name="ControlDown" type="bool" overloaded="no">
- <autodoc>ControlDown() -> bool</autodoc>
- </method>
- <method name="MetaDown" type="bool" overloaded="no">
- <autodoc>MetaDown() -> bool</autodoc>
- </method>
- <method name="AltDown" type="bool" overloaded="no">
- <autodoc>AltDown() -> bool</autodoc>
- </method>
- <method name="ShiftDown" type="bool" overloaded="no">
- <autodoc>ShiftDown() -> bool</autodoc>
- </method>
- <method name="HasModifiers" type="bool" overloaded="no">
- <autodoc>HasModifiers() -> bool</autodoc>
- </method>
- <method name="GetKeyCode" type="int" overloaded="no">
- <autodoc>GetKeyCode() -> int</autodoc>
- </method>
- <method name="GetUniChar" type="int" overloaded="no">
- <autodoc>GetUniChar() -> int</autodoc>
- </method>
- <method name="GetRawKeyCode" type="unsigned int" overloaded="no">
- <autodoc>GetRawKeyCode() -> unsigned int</autodoc>
- </method>
- <method name="GetRawKeyFlags" type="unsigned int" overloaded="no">
- <autodoc>GetRawKeyFlags() -> unsigned int</autodoc>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- <docstring>Find the position of the event.</docstring>
- </method>
- <method name="GetPositionTuple" type="void" overloaded="no">
- <autodoc>GetPositionTuple() -> (x,y)</autodoc>
- <docstring>Find the position of the event.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.long" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- </paramlist>
- </method>
- <method name="GetX" type="int" overloaded="no">
- <autodoc>GetX() -> int</autodoc>
- </method>
- <method name="GetY" type="int" overloaded="no">
- <autodoc>GetY() -> int</autodoc>
- </method>
- <property name="m_x" type="int" readonly="no"/>
- <property name="m_y" type="int" readonly="no"/>
- <property name="m_keyCode" type="long" readonly="no"/>
- <property name="m_controlDown" type="bool" readonly="no"/>
- <property name="m_shiftDown" type="bool" readonly="no"/>
- <property name="m_altDown" type="bool" readonly="no"/>
- <property name="m_metaDown" type="bool" readonly="no"/>
- <property name="m_scanCode" type="bool" readonly="no"/>
- <property name="m_rawCode" type="unsigned int" readonly="no"/>
- <property name="m_rawFlags" type="unsigned int" readonly="no"/>
- </class>
- <pythoncode>
+ <class name="KeyEvent" oldname="wxKeyEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="KeyEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType keyType=wxEVT_NULL) -> KeyEvent</autodoc>
+ <paramlist>
+ <param name="keyType" type="wxEventType" default="wxEVT_NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="ControlDown" type="bool" overloaded="no">
+ <autodoc>ControlDown(self) -> bool</autodoc>
+ </method>
+ <method name="MetaDown" type="bool" overloaded="no">
+ <autodoc>MetaDown(self) -> bool</autodoc>
+ </method>
+ <method name="AltDown" type="bool" overloaded="no">
+ <autodoc>AltDown(self) -> bool</autodoc>
+ </method>
+ <method name="ShiftDown" type="bool" overloaded="no">
+ <autodoc>ShiftDown(self) -> bool</autodoc>
+ </method>
+ <method name="CmdDown" type="bool" overloaded="no">
+ <autodoc>CmdDown(self) -> bool</autodoc>
+ <docstring>"Cmd" is a pseudo key which is the same as Control for PC and Unix
+platforms but the special "Apple" (a.k.a as "Command") key on
+Macs: it makes often sense to use it instead of, say, `ControlDown`
+because Cmd key is used for the same thing under Mac as Ctrl
+elsewhere. The Ctrl still exists, it's just not used for this
+purpose. So for non-Mac platforms this is the same as `ControlDown`
+and Macs this is the same as `MetaDown`.</docstring>
+ </method>
+ <method name="HasModifiers" type="bool" overloaded="no">
+ <autodoc>HasModifiers(self) -> bool</autodoc>
+ </method>
+ <method name="GetKeyCode" type="int" overloaded="no">
+ <autodoc>GetKeyCode(self) -> int</autodoc>
+ </method>
+ <method name="GetUnicodeKey" type="int" overloaded="no">
+ <autodoc>GetUnicodeKey(self) -> int</autodoc>
+ </method>
+ <method name="GetRawKeyCode" type="unsigned int" overloaded="no">
+ <autodoc>GetRawKeyCode(self) -> unsigned int</autodoc>
+ </method>
+ <method name="GetRawKeyFlags" type="unsigned int" overloaded="no">
+ <autodoc>GetRawKeyFlags(self) -> unsigned int</autodoc>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ <docstring>Find the position of the event.</docstring>
+ </method>
+ <method name="GetPositionTuple" type="" overloaded="no">
+ <autodoc>GetPositionTuple() -> (x,y)</autodoc>
+ <docstring>Find the position of the event.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="long" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetX" type="int" overloaded="no">
+ <autodoc>GetX(self) -> int</autodoc>
+ </method>
+ <method name="GetY" type="int" overloaded="no">
+ <autodoc>GetY(self) -> int</autodoc>
+ </method>
+ <property name="m_x" type="int" readonly="no"/>
+ <property name="m_y" type="int" readonly="no"/>
+ <property name="m_keyCode" type="long" readonly="no"/>
+ <property name="m_controlDown" type="bool" readonly="no"/>
+ <property name="m_shiftDown" type="bool" readonly="no"/>
+ <property name="m_altDown" type="bool" readonly="no"/>
+ <property name="m_metaDown" type="bool" readonly="no"/>
+ <property name="m_scanCode" type="bool" readonly="no"/>
+ <property name="m_rawCode" type="unsigned int" readonly="no"/>
+ <property name="m_rawFlags" type="unsigned int" readonly="no"/>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="SizeEvent" oldname="wxSizeEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="SizeEvent" overloaded="no">
- <autodoc>__init__(Size sz=DefaultSize, int winid=0) -> SizeEvent</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- </method>
- <method name="GetRect" type="wxRect" overloaded="no">
- <autodoc>GetRect() -> Rect</autodoc>
- </method>
- <method name="SetRect" type="void" overloaded="no">
- <autodoc>SetRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="wxRect" default=""/>
- </paramlist>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="wxSize" default=""/>
- </paramlist>
- </method>
- <property name="m_size" type="wxSize" readonly="no"/>
- <property name="m_rect" type="wxRect" readonly="no"/>
- </class>
- <pythoncode>
+ <class name="SizeEvent" oldname="wxSizeEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="SizeEvent" overloaded="no">
+ <autodoc>__init__(self, Size sz=DefaultSize, int winid=0) -> SizeEvent</autodoc>
+ <paramlist>
+ <param name="sz" type="Size" default="wxDefaultSize"/>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ </method>
+ <method name="GetRect" type="Rect" overloaded="no">
+ <autodoc>GetRect(self) -> Rect</autodoc>
+ </method>
+ <method name="SetRect" type="" overloaded="no">
+ <autodoc>SetRect(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <property name="m_size" type="Size" readonly="no"/>
+ <property name="m_rect" type="Rect" readonly="no"/>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MoveEvent" oldname="wxMoveEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="MoveEvent" overloaded="no">
- <autodoc>__init__(Point pos=DefaultPosition, int winid=0) -> MoveEvent</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="GetRect" type="wxRect" overloaded="no">
- <autodoc>GetRect() -> Rect</autodoc>
- </method>
- <method name="SetRect" type="void" overloaded="no">
- <autodoc>SetRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="wxRect" default=""/>
- </paramlist>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(Point pos)</autodoc>
- <paramlist>
- <param name="pos" type="wxPoint" default=""/>
- </paramlist>
- </method>
- <property name="m_pos" type="wxPoint" readonly="no"/>
- <property name="m_rect" type="wxRect" readonly="no"/>
- </class>
- <pythoncode>
+ <class name="MoveEvent" oldname="wxMoveEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="MoveEvent" overloaded="no">
+ <autodoc>__init__(self, Point pos=DefaultPosition, int winid=0) -> MoveEvent</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="GetRect" type="Rect" overloaded="no">
+ <autodoc>GetRect(self) -> Rect</autodoc>
+ </method>
+ <method name="SetRect" type="" overloaded="no">
+ <autodoc>SetRect(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, Point pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <property name="m_pos" type="Point" readonly="no"/>
+ <property name="m_rect" type="Rect" readonly="no"/>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PaintEvent" oldname="wxPaintEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="PaintEvent" overloaded="no">
- <autodoc>__init__(int Id=0) -> PaintEvent</autodoc>
- <paramlist>
- <param name="Id" type="int" default="0"/>
- </paramlist>
- </constructor>
- </class>
- <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="NcPaintEvent" overloaded="no">
- <autodoc>__init__(int winid=0) -> NcPaintEvent</autodoc>
- <paramlist>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="PaintEvent" oldname="wxPaintEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="PaintEvent" overloaded="no">
+ <autodoc>__init__(self, int Id=0) -> PaintEvent</autodoc>
+ <paramlist>
+ <param name="Id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="NcPaintEvent" overloaded="no">
+ <autodoc>__init__(self, int winid=0) -> NcPaintEvent</autodoc>
+ <paramlist>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="EraseEvent" oldname="wxEraseEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="EraseEvent" overloaded="no">
- <autodoc>__init__(int Id=0, DC dc=(wxDC *) NULL) -> EraseEvent</autodoc>
- <paramlist>
- <param name="Id" type="int" default="0"/>
- <param name="dc" type="p.wxDC" default="(wxDC *) NULL"/>
- </paramlist>
- </constructor>
- <method name="GetDC" type="wxDC" overloaded="no">
- <autodoc>GetDC() -> DC</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="EraseEvent" oldname="wxEraseEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="EraseEvent" overloaded="no">
+ <autodoc>__init__(self, int Id=0, DC dc=(wxDC *) NULL) -> EraseEvent</autodoc>
+ <paramlist>
+ <param name="Id" type="int" default="0"/>
+ <param name="dc" type="wxDC" default="(wxDC *) NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetDC" type="wxDC" overloaded="no">
+ <autodoc>GetDC(self) -> DC</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="FocusEvent" oldname="wxFocusEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="FocusEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- <method name="SetWindow" type="void" overloaded="no">
- <autodoc>SetWindow(Window win)</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="FocusEvent" oldname="wxFocusEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="FocusEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetWindow" type="wxWindow" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ <method name="SetWindow" type="" overloaded="no">
+ <autodoc>SetWindow(self, Window win)</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="ChildFocusEvent" overloaded="no">
- <autodoc>__init__(Window win=None) -> ChildFocusEvent</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="ChildFocusEvent" overloaded="no">
+ <autodoc>__init__(self, Window win=None) -> ChildFocusEvent</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetWindow" type="wxWindow" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ActivateEvent" oldname="wxActivateEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="ActivateEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="active" type="bool" default="True"/>
- <param name="Id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetActive" type="bool" overloaded="no">
- <autodoc>GetActive() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="ActivateEvent" oldname="wxActivateEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="ActivateEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="active" type="bool" default="True"/>
+ <param name="Id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetActive" type="bool" overloaded="no">
+ <autodoc>GetActive(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="InitDialogEvent" overloaded="no">
- <autodoc>__init__(int Id=0) -> InitDialogEvent</autodoc>
- <paramlist>
- <param name="Id" type="int" default="0"/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="InitDialogEvent" overloaded="no">
+ <autodoc>__init__(self, int Id=0) -> InitDialogEvent</autodoc>
+ <paramlist>
+ <param name="Id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MenuEvent" oldname="wxMenuEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="MenuEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- <param name="menu" type="p.wxMenu" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetMenuId" type="int" overloaded="no">
- <autodoc>GetMenuId() -> int</autodoc>
- </method>
- <method name="IsPopup" type="bool" overloaded="no">
- <autodoc>IsPopup() -> bool</autodoc>
- </method>
- <method name="GetMenu" type="wxMenu" overloaded="no">
- <autodoc>GetMenu() -> Menu</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="MenuEvent" oldname="wxMenuEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="MenuEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ <param name="menu" type="wxMenu" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetMenuId" type="int" overloaded="no">
+ <autodoc>GetMenuId(self) -> int</autodoc>
+ </method>
+ <method name="IsPopup" type="bool" overloaded="no">
+ <autodoc>IsPopup(self) -> bool</autodoc>
+ </method>
+ <method name="GetMenu" type="wxMenu" overloaded="no">
+ <autodoc>GetMenu(self) -> Menu</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="CloseEvent" oldname="wxCloseEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="CloseEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="SetLoggingOff" type="void" overloaded="no">
- <autodoc>SetLoggingOff(bool logOff)</autodoc>
- <paramlist>
- <param name="logOff" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetLoggingOff" type="bool" overloaded="no">
- <autodoc>GetLoggingOff() -> bool</autodoc>
- </method>
- <method name="Veto" type="void" overloaded="no">
- <autodoc>Veto(bool veto=True)</autodoc>
- <paramlist>
- <param name="veto" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetCanVeto" type="void" overloaded="no">
- <autodoc>SetCanVeto(bool canVeto)</autodoc>
- <paramlist>
- <param name="canVeto" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="CanVeto" type="bool" overloaded="no">
- <autodoc>CanVeto() -> bool</autodoc>
- </method>
- <method name="GetVeto" type="bool" overloaded="no">
- <autodoc>GetVeto() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="CloseEvent" oldname="wxCloseEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="CloseEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="SetLoggingOff" type="" overloaded="no">
+ <autodoc>SetLoggingOff(self, bool logOff)</autodoc>
+ <paramlist>
+ <param name="logOff" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLoggingOff" type="bool" overloaded="no">
+ <autodoc>GetLoggingOff(self) -> bool</autodoc>
+ </method>
+ <method name="Veto" type="" overloaded="no">
+ <autodoc>Veto(self, bool veto=True)</autodoc>
+ <paramlist>
+ <param name="veto" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetCanVeto" type="" overloaded="no">
+ <autodoc>SetCanVeto(self, bool canVeto)</autodoc>
+ <paramlist>
+ <param name="canVeto" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanVeto" type="bool" overloaded="no">
+ <autodoc>CanVeto(self) -> bool</autodoc>
+ </method>
+ <method name="GetVeto" type="bool" overloaded="no">
+ <autodoc>GetVeto(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ShowEvent" oldname="wxShowEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="ShowEvent" overloaded="no">
- <autodoc>__init__(int winid=0, bool show=False) -> ShowEvent</autodoc>
- <paramlist>
- <param name="winid" type="int" default="0"/>
- <param name="show" type="bool" default="False"/>
- </paramlist>
- </constructor>
- <method name="SetShow" type="void" overloaded="no">
- <autodoc>SetShow(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetShow" type="bool" overloaded="no">
- <autodoc>GetShow() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="ShowEvent" oldname="wxShowEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="ShowEvent" overloaded="no">
+ <autodoc>__init__(self, int winid=0, bool show=False) -> ShowEvent</autodoc>
+ <paramlist>
+ <param name="winid" type="int" default="0"/>
+ <param name="show" type="bool" default="False"/>
+ </paramlist>
+ </constructor>
+ <method name="SetShow" type="" overloaded="no">
+ <autodoc>SetShow(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetShow" type="bool" overloaded="no">
+ <autodoc>GetShow(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="IconizeEvent" oldname="wxIconizeEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="IconizeEvent" overloaded="no">
- <autodoc>__init__(int id=0, bool iconized=True) -> IconizeEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default="0"/>
- <param name="iconized" type="bool" default="True"/>
- </paramlist>
- </constructor>
- <method name="Iconized" type="bool" overloaded="no">
- <autodoc>Iconized() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="IconizeEvent" oldname="wxIconizeEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="IconizeEvent" overloaded="no">
+ <autodoc>__init__(self, int id=0, bool iconized=True) -> IconizeEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ <param name="iconized" type="bool" default="True"/>
+ </paramlist>
+ </constructor>
+ <method name="Iconized" type="bool" overloaded="no">
+ <autodoc>Iconized(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="MaximizeEvent" overloaded="no">
- <autodoc>__init__(int id=0) -> MaximizeEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="MaximizeEvent" overloaded="no">
+ <autodoc>__init__(self, int id=0) -> MaximizeEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="core">
- <baseclass name="wxEvent"/>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="GetNumberOfFiles" type="int" overloaded="no">
- <autodoc>GetNumberOfFiles() -> int</autodoc>
- </method>
- <method name="GetFiles" type="PyObject" overloaded="no">
- <autodoc>GetFiles() -> PyObject</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="_core">
+ <baseclass name="Event"/>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="GetNumberOfFiles" type="int" overloaded="no">
+ <autodoc>GetNumberOfFiles(self) -> int</autodoc>
+ </method>
+ <method name="GetFiles" type="PyObject" overloaded="no">
+ <autodoc>GetFiles(self) -> PyObject</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="UpdateUIEvent" overloaded="no">
- <autodoc>__init__(int commandId=0) -> UpdateUIEvent</autodoc>
- <paramlist>
- <param name="commandId" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetChecked" type="bool" overloaded="no">
- <autodoc>GetChecked() -> bool</autodoc>
- </method>
- <method name="GetEnabled" type="bool" overloaded="no">
- <autodoc>GetEnabled() -> bool</autodoc>
- </method>
- <method name="GetText" type="wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <method name="GetSetText" type="bool" overloaded="no">
- <autodoc>GetSetText() -> bool</autodoc>
- </method>
- <method name="GetSetChecked" type="bool" overloaded="no">
- <autodoc>GetSetChecked() -> bool</autodoc>
- </method>
- <method name="GetSetEnabled" type="bool" overloaded="no">
- <autodoc>GetSetEnabled() -> bool</autodoc>
- </method>
- <method name="Check" type="void" overloaded="no">
- <autodoc>Check(bool check)</autodoc>
- <paramlist>
- <param name="check" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Enable" type="void" overloaded="no">
- <autodoc>Enable(bool enable)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <staticmethod name="SetUpdateInterval" type="void" overloaded="no">
- <autodoc>UpdateUIEvent.SetUpdateInterval(long updateInterval)</autodoc>
- <paramlist>
- <param name="updateInterval" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetUpdateInterval" type="long" overloaded="no">
- <autodoc>UpdateUIEvent.GetUpdateInterval() -> long</autodoc>
- </staticmethod>
- <staticmethod name="CanUpdate" type="bool" overloaded="no">
- <autodoc>UpdateUIEvent.CanUpdate(Window win) -> bool</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="ResetUpdateTime" type="void" overloaded="no">
- <autodoc>UpdateUIEvent.ResetUpdateTime()</autodoc>
- </staticmethod>
- <staticmethod name="SetMode" type="void" overloaded="no">
- <autodoc>UpdateUIEvent.SetMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="wxUpdateUIMode" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetMode" type="wxUpdateUIMode" overloaded="no">
- <autodoc>UpdateUIEvent.GetMode() -> int</autodoc>
- </staticmethod>
- </class>
- <pythoncode>
+ <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="UpdateUIEvent" overloaded="no">
+ <autodoc>__init__(self, int commandId=0) -> UpdateUIEvent</autodoc>
+ <paramlist>
+ <param name="commandId" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetChecked" type="bool" overloaded="no">
+ <autodoc>GetChecked(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnabled" type="bool" overloaded="no">
+ <autodoc>GetEnabled(self) -> bool</autodoc>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <method name="GetSetText" type="bool" overloaded="no">
+ <autodoc>GetSetText(self) -> bool</autodoc>
+ </method>
+ <method name="GetSetChecked" type="bool" overloaded="no">
+ <autodoc>GetSetChecked(self) -> bool</autodoc>
+ </method>
+ <method name="GetSetEnabled" type="bool" overloaded="no">
+ <autodoc>GetSetEnabled(self) -> bool</autodoc>
+ </method>
+ <method name="Check" type="" overloaded="no">
+ <autodoc>Check(self, bool check)</autodoc>
+ <paramlist>
+ <param name="check" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Enable" type="" overloaded="no">
+ <autodoc>Enable(self, bool enable)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="SetUpdateInterval" type="" overloaded="no">
+ <autodoc>SetUpdateInterval(long updateInterval)</autodoc>
+ <paramlist>
+ <param name="updateInterval" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetUpdateInterval" type="long" overloaded="no">
+ <autodoc>GetUpdateInterval() -> long</autodoc>
+ </staticmethod>
+ <staticmethod name="CanUpdate" type="bool" overloaded="no">
+ <autodoc>CanUpdate(Window win) -> bool</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="ResetUpdateTime" type="" overloaded="no">
+ <autodoc>ResetUpdateTime()</autodoc>
+ </staticmethod>
+ <staticmethod name="SetMode" type="" overloaded="no">
+ <autodoc>SetMode(int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="wxUpdateUIMode" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetMode" type="wxUpdateUIMode" overloaded="no">
+ <autodoc>GetMode() -> int</autodoc>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="SysColourChangedEvent" overloaded="no">
- <autodoc>__init__() -> SysColourChangedEvent</autodoc>
- </constructor>
- </class>
- <pythoncode>
+ <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="SysColourChangedEvent" overloaded="no">
+ <autodoc>__init__(self) -> SysColourChangedEvent</autodoc>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="MouseCaptureChangedEvent" overloaded="no">
- <autodoc>__init__(int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent</autodoc>
- <paramlist>
- <param name="winid" type="int" default="0"/>
- <param name="gainedCapture" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetCapturedWindow" type="wxWindow" overloaded="no">
- <autodoc>GetCapturedWindow() -> Window</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="MouseCaptureChangedEvent" overloaded="no">
+ <autodoc>__init__(self, int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent</autodoc>
+ <paramlist>
+ <param name="winid" type="int" default="0"/>
+ <param name="gainedCapture" type="wxWindow" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetCapturedWindow" type="wxWindow" overloaded="no">
+ <autodoc>GetCapturedWindow(self) -> Window</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="DisplayChangedEvent" overloaded="no">
- <autodoc>__init__() -> DisplayChangedEvent</autodoc>
- </constructor>
- </class>
- <pythoncode>
+ <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="DisplayChangedEvent" overloaded="no">
+ <autodoc>__init__(self) -> DisplayChangedEvent</autodoc>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="PaletteChangedEvent" overloaded="no">
- <autodoc>__init__(int id=0) -> PaletteChangedEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="SetChangedWindow" type="void" overloaded="no">
- <autodoc>SetChangedWindow(Window win)</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetChangedWindow" type="wxWindow" overloaded="no">
- <autodoc>GetChangedWindow() -> Window</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="PaletteChangedEvent" overloaded="no">
+ <autodoc>__init__(self, int id=0) -> PaletteChangedEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="SetChangedWindow" type="" overloaded="no">
+ <autodoc>SetChangedWindow(self, Window win)</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetChangedWindow" type="wxWindow" overloaded="no">
+ <autodoc>GetChangedWindow(self) -> Window</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="QueryNewPaletteEvent" overloaded="no">
- <autodoc>__init__(int winid=0) -> QueryNewPaletteEvent</autodoc>
- <paramlist>
- <param name="winid" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="SetPaletteRealized" type="void" overloaded="no">
- <autodoc>SetPaletteRealized(bool realized)</autodoc>
- <paramlist>
- <param name="realized" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetPaletteRealized" type="bool" overloaded="no">
- <autodoc>GetPaletteRealized() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="QueryNewPaletteEvent" overloaded="no">
+ <autodoc>__init__(self, int winid=0) -> QueryNewPaletteEvent</autodoc>
+ <paramlist>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="SetPaletteRealized" type="" overloaded="no">
+ <autodoc>SetPaletteRealized(self, bool realized)</autodoc>
+ <paramlist>
+ <param name="realized" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPaletteRealized" type="bool" overloaded="no">
+ <autodoc>GetPaletteRealized(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="NavigationKeyEvent" overloaded="no">
- <autodoc>__init__() -> NavigationKeyEvent</autodoc>
- </constructor>
- <method name="GetDirection" type="bool" overloaded="no">
- <autodoc>GetDirection() -> bool</autodoc>
- </method>
- <method name="SetDirection" type="void" overloaded="no">
- <autodoc>SetDirection(bool bForward)</autodoc>
- <paramlist>
- <param name="bForward" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsWindowChange" type="bool" overloaded="no">
- <autodoc>IsWindowChange() -> bool</autodoc>
- </method>
- <method name="SetWindowChange" type="void" overloaded="no">
- <autodoc>SetWindowChange(bool bIs)</autodoc>
- <paramlist>
- <param name="bIs" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetCurrentFocus" type="wxWindow" overloaded="no">
- <autodoc>GetCurrentFocus() -> Window</autodoc>
- </method>
- <method name="SetCurrentFocus" type="void" overloaded="no">
- <autodoc>SetCurrentFocus(Window win)</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="NavigationKeyEvent" overloaded="no">
+ <autodoc>__init__(self) -> NavigationKeyEvent</autodoc>
+ </constructor>
+ <method name="GetDirection" type="bool" overloaded="no">
+ <autodoc>GetDirection(self) -> bool</autodoc>
+ </method>
+ <method name="SetDirection" type="" overloaded="no">
+ <autodoc>SetDirection(self, bool forward)</autodoc>
+ <paramlist>
+ <param name="forward" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsWindowChange" type="bool" overloaded="no">
+ <autodoc>IsWindowChange(self) -> bool</autodoc>
+ </method>
+ <method name="SetWindowChange" type="" overloaded="no">
+ <autodoc>SetWindowChange(self, bool ischange)</autodoc>
+ <paramlist>
+ <param name="ischange" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFlags" type="" overloaded="no">
+ <autodoc>SetFlags(self, long flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCurrentFocus" type="wxWindow" overloaded="no">
+ <autodoc>GetCurrentFocus(self) -> Window</autodoc>
+ </method>
+ <method name="SetCurrentFocus" type="" overloaded="no">
+ <autodoc>SetCurrentFocus(self, Window win)</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="WindowCreateEvent" overloaded="no">
- <autodoc>__init__(Window win=None) -> WindowCreateEvent</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- </class>
- <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="WindowDestroyEvent" overloaded="no">
- <autodoc>__init__(Window win=None) -> WindowDestroyEvent</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="WindowCreateEvent" overloaded="no">
+ <autodoc>__init__(self, Window win=None) -> WindowCreateEvent</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetWindow" type="wxWindow" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ </class>
+ <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="WindowDestroyEvent" overloaded="no">
+ <autodoc>__init__(self, Window win=None) -> WindowDestroyEvent</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetWindow" type="wxWindow" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="ContextMenuEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- <param name="pt" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </constructor>
- <method name="GetPosition" type="q(const).wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(Point pos)</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="ContextMenuEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ <param name="pt" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, Point pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="IdleEvent" oldname="wxIdleEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="IdleEvent" overloaded="no">
- <autodoc>__init__() -> IdleEvent</autodoc>
- </constructor>
- <method name="RequestMore" type="void" overloaded="no">
- <autodoc>RequestMore(bool needMore=True)</autodoc>
- <paramlist>
- <param name="needMore" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="MoreRequested" type="bool" overloaded="no">
- <autodoc>MoreRequested() -> bool</autodoc>
- </method>
- <staticmethod name="SetMode" type="void" overloaded="no">
- <autodoc>IdleEvent.SetMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="wxIdleMode" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetMode" type="wxIdleMode" overloaded="no">
- <autodoc>IdleEvent.GetMode() -> int</autodoc>
- </staticmethod>
- <staticmethod name="CanSend" type="bool" overloaded="no">
- <autodoc>IdleEvent.CanSend(Window win) -> bool</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <pythoncode>
+ <class name="IdleEvent" oldname="wxIdleEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="IdleEvent" overloaded="no">
+ <autodoc>__init__(self) -> IdleEvent</autodoc>
+ </constructor>
+ <method name="RequestMore" type="" overloaded="no">
+ <autodoc>RequestMore(self, bool needMore=True)</autodoc>
+ <paramlist>
+ <param name="needMore" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="MoreRequested" type="bool" overloaded="no">
+ <autodoc>MoreRequested(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="SetMode" type="" overloaded="no">
+ <autodoc>SetMode(int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="wxIdleMode" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetMode" type="wxIdleMode" overloaded="no">
+ <autodoc>GetMode() -> int</autodoc>
+ </staticmethod>
+ <staticmethod name="CanSend" type="bool" overloaded="no">
+ <autodoc>CanSend(Window win) -> bool</autodoc>
+ <paramlist>
+ <param name="win" type="wxWindow" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PyEvent" oldname="wxPyEvent" module="core">
- <baseclass name="wxEvent"/>
- <constructor name="PyEvent" overloaded="no">
- <autodoc>__init__(int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent</autodoc>
- <paramlist>
- <param name="winid" type="int" default="0"/>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPyEvent" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetSelf" type="void" overloaded="no">
- <autodoc>SetSelf(PyObject self)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetSelf" type="PyObject" overloaded="no">
- <autodoc>GetSelf() -> PyObject</autodoc>
- </method>
- </class>
- <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="core">
- <baseclass name="wxCommandEvent"/>
- <constructor name="PyCommandEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPyCommandEvent" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetSelf" type="void" overloaded="no">
- <autodoc>SetSelf(PyObject self)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetSelf" type="PyObject" overloaded="no">
- <autodoc>GetSelf() -> PyObject</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="PyEvent" oldname="wxPyEvent" module="_core">
+ <baseclass name="Event"/>
+ <constructor name="PyEvent" overloaded="no">
+ <autodoc>__init__(self, int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent</autodoc>
+ <paramlist>
+ <param name="winid" type="int" default="0"/>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPyEvent" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetSelf" type="" overloaded="no">
+ <autodoc>SetSelf(self, PyObject self)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelf" type="PyObject" overloaded="no">
+ <autodoc>GetSelf(self) -> PyObject</autodoc>
+ </method>
+ </class>
+ <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="_core">
+ <baseclass name="CommandEvent"/>
+ <constructor name="PyCommandEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPyCommandEvent" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetSelf" type="" overloaded="no">
+ <autodoc>SetSelf(self, PyObject self)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelf" type="PyObject" overloaded="no">
+ <autodoc>GetSelf(self) -> PyObject</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PyApp" oldname="wxPyApp" module="core">
- <baseclass name="wxEvtHandler"/>
- <constructor name="PyApp" overloaded="no">
- <autodoc>__init__() -> PyApp</autodoc>
- </constructor>
- <destructor name="~wxPyApp" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetAppName" type="wxString" overloaded="no">
- <autodoc>GetAppName() -> String</autodoc>
- <docstring>Get the application name.</docstring>
- </method>
- <method name="SetAppName" type="void" overloaded="no">
- <autodoc>SetAppName(String name)</autodoc>
- <docstring>Set the application name. This value may be used automatically
-by wx.Config and such.</docstring>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetClassName" type="wxString" overloaded="no">
- <autodoc>GetClassName() -> String</autodoc>
- <docstring>Get the application's class name.</docstring>
- </method>
- <method name="SetClassName" type="void" overloaded="no">
- <autodoc>SetClassName(String name)</autodoc>
- <docstring>Set the application's class name. This value may be used for X-resources if
-applicable for the platform</docstring>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetVendorName" type="q(const).wxString" overloaded="no">
- <autodoc>GetVendorName() -> String</autodoc>
- <docstring>Get the application's vendor name.</docstring>
- </method>
- <method name="SetVendorName" type="void" overloaded="no">
- <autodoc>SetVendorName(String name)</autodoc>
- <docstring>Set the application's vendor name. This value may be used automatically
-by wx.Config and such.</docstring>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTraits" type="wxAppTraits" overloaded="no">
- <autodoc>GetTraits() -> wxAppTraits</autodoc>
- <docstring>Create the app traits object to which we delegate for everything which either
-should be configurable by the user (then he can change the default behaviour
-simply by overriding CreateTraits() and returning his own traits object) or
-which is GUI/console dependent as then wx.AppTraits allows us to abstract the
-differences behind the common facade</docstring>
- </method>
- <method name="ProcessPendingEvents" type="void" overloaded="no">
- <autodoc>ProcessPendingEvents()</autodoc>
- <docstring>Process all events in the Pending Events list -- it is necessary to call this
-function to process posted events. This happens during each event loop
-iteration.</docstring>
- </method>
- <method name="Yield" type="bool" overloaded="no">
- <autodoc>Yield(bool onlyIfNeeded=False) -> bool</autodoc>
- <docstring>Process all currently pending events right now, instead of waiting until
-return to the event loop. It is an error to call Yield() recursively unless
-the value of onlyIfNeeded is True.
-
-WARNING: This function is dangerous as it can lead to unexpected
- reentrancies (i.e. when called from an event handler it
- may result in calling the same event handler again), use
- with _extreme_ care or, better, don't use at all!
+ <class name="PyApp" oldname="wxPyApp" module="_core">
+ <docstring>The ``wx.PyApp`` class is an *implementation detail*, please use the
+`wx.App` class (or some other derived class) instead.</docstring>
+ <baseclass name="EvtHandler"/>
+ <constructor name="PyApp" overloaded="no">
+ <autodoc>__init__(self) -> PyApp</autodoc>
+ <docstring>Create a new application object, starting the bootstrap process.</docstring>
+ </constructor>
+ <destructor name="~wxPyApp" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAppName" type="String" overloaded="no">
+ <autodoc>GetAppName(self) -> String</autodoc>
+ <docstring>Get the application name.</docstring>
+ </method>
+ <method name="SetAppName" type="" overloaded="no">
+ <autodoc>SetAppName(self, String name)</autodoc>
+ <docstring>Set the application name. This value may be used automatically by
+`wx.Config` and such.</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetClassName" type="String" overloaded="no">
+ <autodoc>GetClassName(self) -> String</autodoc>
+ <docstring>Get the application's class name.</docstring>
+ </method>
+ <method name="SetClassName" type="" overloaded="no">
+ <autodoc>SetClassName(self, String name)</autodoc>
+ <docstring>Set the application's class name. This value may be used for
+X-resources if applicable for the platform</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetVendorName" type="String" overloaded="no">
+ <autodoc>GetVendorName(self) -> String</autodoc>
+ <docstring>Get the application's vendor name.</docstring>
+ </method>
+ <method name="SetVendorName" type="" overloaded="no">
+ <autodoc>SetVendorName(self, String name)</autodoc>
+ <docstring>Set the application's vendor name. This value may be used
+automatically by `wx.Config` and such.</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTraits" type="wxAppTraits" overloaded="no">
+ <autodoc>GetTraits(self) -> wxAppTraits</autodoc>
+ <docstring>Return (and create if necessary) the app traits object to which we
+delegate for everything which either should be configurable by the
+user (then he can change the default behaviour simply by overriding
+CreateTraits() and returning his own traits object) or which is
+GUI/console dependent as then wx.AppTraits allows us to abstract the
+differences behind the common facade.
+
+:todo: Add support for overriding CreateAppTraits in wxPython.</docstring>
+ </method>
+ <method name="ProcessPendingEvents" type="" overloaded="no">
+ <autodoc>ProcessPendingEvents(self)</autodoc>
+ <docstring>Process all events in the Pending Events list -- it is necessary to
+call this function to process posted events. This normally happens
+during each event loop iteration.</docstring>
+ </method>
+ <method name="Yield" type="bool" overloaded="no">
+ <autodoc>Yield(self, bool onlyIfNeeded=False) -> bool</autodoc>
+ <docstring>Process all currently pending events right now, instead of waiting
+until return to the event loop. It is an error to call ``Yield``
+recursively unless the value of ``onlyIfNeeded`` is True.
+
+:warning: This function is dangerous as it can lead to unexpected
+ reentrancies (i.e. when called from an event handler it may
+ result in calling the same event handler again), use with
+ extreme care or, better, don't use at all!
+
+:see: `wx.Yield`, `wx.YieldIfNeeded`, `wx.SafeYield`
</docstring>
- <paramlist>
- <param name="onlyIfNeeded" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="WakeUpIdle" type="void" overloaded="no">
- <autodoc>WakeUpIdle()</autodoc>
- <docstring>Make sure that idle events are sent again</docstring>
- </method>
- <method name="MainLoop" type="int" overloaded="no">
- <autodoc>MainLoop() -> int</autodoc>
- <docstring>Execute the main GUI loop, the function returns when the loop ends.</docstring>
- </method>
- <method name="Exit" type="void" overloaded="no">
- <autodoc>Exit()</autodoc>
- <docstring>Exit the main loop thus terminating the application.</docstring>
- </method>
- <method name="ExitMainLoop" type="void" overloaded="no">
- <autodoc>ExitMainLoop()</autodoc>
- <docstring>Exit the main GUI loop during the next iteration (i.e. it does not
-stop the program immediately!)</docstring>
- </method>
- <method name="Pending" type="bool" overloaded="no">
- <autodoc>Pending() -> bool</autodoc>
- <docstring>Returns True if there are unprocessed events in the event queue.</docstring>
- </method>
- <method name="Dispatch" type="bool" overloaded="no">
- <autodoc>Dispatch() -> bool</autodoc>
- <docstring>Process the first event in the event queue (blocks until an event
+ <paramlist>
+ <param name="onlyIfNeeded" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="WakeUpIdle" type="" overloaded="no">
+ <autodoc>WakeUpIdle(self)</autodoc>
+ <docstring>Make sure that idle events are sent again.
+:see: `wx.WakeUpIdle`</docstring>
+ </method>
+ <method name="MainLoop" type="int" overloaded="no">
+ <autodoc>MainLoop(self) -> int</autodoc>
+ <docstring>Execute the main GUI loop, the function doesn't normally return until
+all top level windows have been closed and destroyed.</docstring>
+ </method>
+ <method name="Exit" type="" overloaded="no">
+ <autodoc>Exit(self)</autodoc>
+ <docstring>Exit the main loop thus terminating the application.
+:see: `wx.Exit`</docstring>
+ </method>
+ <method name="ExitMainLoop" type="" overloaded="no">
+ <autodoc>ExitMainLoop(self)</autodoc>
+ <docstring>Exit the main GUI loop during the next iteration of the main
+loop, (i.e. it does not stop the program immediately!)</docstring>
+ </method>
+ <method name="Pending" type="bool" overloaded="no">
+ <autodoc>Pending(self) -> bool</autodoc>
+ <docstring>Returns True if there are unprocessed events in the event queue.</docstring>
+ </method>
+ <method name="Dispatch" type="bool" overloaded="no">
+ <autodoc>Dispatch(self) -> bool</autodoc>
+ <docstring>Process the first event in the event queue (blocks until an event
appears if there are none currently)</docstring>
- </method>
- <method name="ProcessIdle" type="bool" overloaded="no">
- <autodoc>ProcessIdle() -> bool</autodoc>
- <docstring>Called from the MainLoop when the application becomes idle and sends an
-IdleEvent to all interested parties. Returns True is more idle events are
-needed, False if not.</docstring>
- </method>
- <method name="SendIdleEvents" type="bool" overloaded="no">
- <autodoc>SendIdleEvents(Window win, IdleEvent event) -> bool</autodoc>
- <docstring>Send idle event to window and all subwindows. Returns True if more idle time
-is requested.</docstring>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- <param name="event" type="r.wxIdleEvent" default=""/>
- </paramlist>
- </method>
- <method name="IsActive" type="bool" overloaded="no">
- <autodoc>IsActive() -> bool</autodoc>
- <docstring>Return True if our app has focus.</docstring>
- </method>
- <method name="SetTopWindow" type="void" overloaded="no">
- <autodoc>SetTopWindow(Window win)</autodoc>
- <docstring>Set the "main" top level window</docstring>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetTopWindow" type="wxWindow" overloaded="no">
- <autodoc>GetTopWindow() -> Window</autodoc>
- <docstring>Return the "main" top level window (if it hadn't been set previously with
-SetTopWindow(), will return just some top level window and, if there not any,
-will return None)</docstring>
- </method>
- <method name="SetExitOnFrameDelete" type="void" overloaded="no">
- <autodoc>SetExitOnFrameDelete(bool flag)</autodoc>
- <docstring>Control the exit behaviour: by default, the program will exit the main loop
-(and so, usually, terminate) when the last top-level program window is
-deleted. Beware that if you disable this behaviour (with
-SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly
-from somewhere.
+ </method>
+ <method name="ProcessIdle" type="bool" overloaded="no">
+ <autodoc>ProcessIdle(self) -> bool</autodoc>
+ <docstring>Called from the MainLoop when the application becomes idle (there are
+no pending events) and sends a `wx.IdleEvent` to all interested
+parties. Returns True if more idle events are needed, False if not.</docstring>
+ </method>
+ <method name="SendIdleEvents" type="bool" overloaded="no">
+ <autodoc>SendIdleEvents(self, Window win, IdleEvent event) -> bool</autodoc>
+ <docstring>Send idle event to window and all subwindows. Returns True if more
+idle time is requested.</docstring>
+ <paramlist>
+ <param name="win" type="wxWindow" default=""/>
+ <param name="event" type="IdleEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsActive" type="bool" overloaded="no">
+ <autodoc>IsActive(self) -> bool</autodoc>
+ <docstring>Return True if our app has focus.</docstring>
+ </method>
+ <method name="SetTopWindow" type="" overloaded="no">
+ <autodoc>SetTopWindow(self, Window win)</autodoc>
+ <docstring>Set the *main* top level window</docstring>
+ <paramlist>
+ <param name="win" type="wxWindow" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTopWindow" type="wxWindow" overloaded="no">
+ <autodoc>GetTopWindow(self) -> Window</autodoc>
+ <docstring>Return the *main* top level window (if it hadn't been set previously
+with SetTopWindow(), will return just some top level window and, if
+there not any, will return None)</docstring>
+ </method>
+ <method name="SetExitOnFrameDelete" type="" overloaded="no">
+ <autodoc>SetExitOnFrameDelete(self, bool flag)</autodoc>
+ <docstring>Control the exit behaviour: by default, the program will exit the main
+loop (and so, usually, terminate) when the last top-level program
+window is deleted. Beware that if you disable this behaviour (with
+SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop()
+explicitly from somewhere.</docstring>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetExitOnFrameDelete" type="bool" overloaded="no">
+ <autodoc>GetExitOnFrameDelete(self) -> bool</autodoc>
+ <docstring>Get the current exit behaviour setting.</docstring>
+ </method>
+ <method name="SetUseBestVisual" type="" overloaded="no">
+ <autodoc>SetUseBestVisual(self, bool flag)</autodoc>
+ <docstring>Set whether the app should try to use the best available visual on
+systems where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUseBestVisual" type="bool" overloaded="no">
+ <autodoc>GetUseBestVisual(self) -> bool</autodoc>
+ <docstring>Get current UseBestVisual setting.</docstring>
+ </method>
+ <method name="SetPrintMode" type="" overloaded="no">
+ <autodoc>SetPrintMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintMode" type="int" overloaded="no">
+ <autodoc>GetPrintMode(self) -> int</autodoc>
+ </method>
+ <method name="SetAssertMode" type="" overloaded="no">
+ <autodoc>SetAssertMode(self, int mode)</autodoc>
+ <docstring>Set the OnAssert behaviour for debug and hybrid builds.The following flags may be or'd together:
+
+ ========================= =======================================
+ wx.PYAPP_ASSERT_SUPPRESS Don't do anything
+ wx.PYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible
+ (default)
+ wx.PYAPP_ASSERT_DIALOG Display a message dialog
+ wx.PYAPP_ASSERT_LOG Write the assertion info to the wx.Log
+ ========================= =======================================
+
</docstring>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAssertMode" type="int" overloaded="no">
+ <autodoc>GetAssertMode(self) -> int</autodoc>
+ <docstring>Get the current OnAssert behaviour setting.</docstring>
+ </method>
+ <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no">
+ <autodoc>GetMacSupportPCMenuShortcuts() -> bool</autodoc>
+ </staticmethod>
+ <staticmethod name="GetMacAboutMenuItemId" type="long" overloaded="no">
+ <autodoc>GetMacAboutMenuItemId() -> long</autodoc>
+ </staticmethod>
+ <staticmethod name="GetMacPreferencesMenuItemId" type="long" overloaded="no">
+ <autodoc>GetMacPreferencesMenuItemId() -> long</autodoc>
+ </staticmethod>
+ <staticmethod name="GetMacExitMenuItemId" type="long" overloaded="no">
+ <autodoc>GetMacExitMenuItemId() -> long</autodoc>
+ </staticmethod>
+ <staticmethod name="GetMacHelpMenuTitleName" type="String" overloaded="no">
+ <autodoc>GetMacHelpMenuTitleName() -> String</autodoc>
+ </staticmethod>
+ <staticmethod name="SetMacSupportPCMenuShortcuts" type="" overloaded="no">
+ <autodoc>SetMacSupportPCMenuShortcuts(bool val)</autodoc>
+ <paramlist>
+ <param name="val" type="bool" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="SetMacAboutMenuItemId" type="" overloaded="no">
+ <autodoc>SetMacAboutMenuItemId(long val)</autodoc>
+ <paramlist>
+ <param name="val" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="SetMacPreferencesMenuItemId" type="" overloaded="no">
+ <autodoc>SetMacPreferencesMenuItemId(long val)</autodoc>
+ <paramlist>
+ <param name="val" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="SetMacExitMenuItemId" type="" overloaded="no">
+ <autodoc>SetMacExitMenuItemId(long val)</autodoc>
+ <paramlist>
+ <param name="val" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="SetMacHelpMenuTitleName" type="" overloaded="no">
+ <autodoc>SetMacHelpMenuTitleName(String val)</autodoc>
+ <paramlist>
+ <param name="val" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="_BootstrapApp" type="" overloaded="no">
+ <autodoc>_BootstrapApp(self)</autodoc>
+ <docstring>For internal use only</docstring>
+ </method>
+ <staticmethod name="GetComCtl32Version" type="int" overloaded="no">
+ <autodoc>GetComCtl32Version() -> int</autodoc>
+ <docstring>Returns 400, 470, 471, etc. for comctl32.dll 4.00, 4.70, 4.71 or 0 if
+it wasn't found at all. Raises an exception on non-Windows platforms.</docstring>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <method name="Exit" oldname="wxExit" type="" overloaded="no">
+ <autodoc>Exit()</autodoc>
+ <docstring>Force an exit of the application. Convenience for wx.GetApp().Exit()</docstring>
+ </method>
+ <method name="Yield" oldname="wxYield" type="bool" overloaded="no">
+ <autodoc>Yield() -> bool</autodoc>
+ <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield()</docstring>
+ </method>
+ <method name="YieldIfNeeded" oldname="wxYieldIfNeeded" type="bool" overloaded="no">
+ <autodoc>YieldIfNeeded() -> bool</autodoc>
+ <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)</docstring>
+ </method>
+ <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no">
+ <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool</autodoc>
+ <docstring>This function is similar to `wx.Yield`, except that it disables the
+user input to all program windows before calling `wx.Yield` and
+re-enables it again afterwards. If ``win`` is not None, this window
+will remain enabled, allowing the implementation of some limited user
+interaction.
+
+:Returns: the result of the call to `wx.Yield`.</docstring>
<paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetExitOnFrameDelete" type="bool" overloaded="no">
- <autodoc>GetExitOnFrameDelete() -> bool</autodoc>
- <docstring>Get the current exit behaviour setting.</docstring>
- </method>
- <method name="SetUseBestVisual" type="void" overloaded="no">
- <autodoc>SetUseBestVisual(bool flag)</autodoc>
- <docstring>Set whether the app should try to use the best available visual on systems
-where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetUseBestVisual" type="bool" overloaded="no">
- <autodoc>GetUseBestVisual() -> bool</autodoc>
- <docstring>Get current UseBestVisual setting.</docstring>
- </method>
- <method name="SetPrintMode" type="void" overloaded="no">
- <autodoc>SetPrintMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
+ <param name="win" type="wxWindow" default="NULL"/>
+ <param name="onlyIfNeeded" type="bool" default="False"/>
</paramlist>
</method>
- <method name="GetPrintMode" type="int" overloaded="no">
- <autodoc>GetPrintMode() -> int</autodoc>
+ <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="" overloaded="no">
+ <autodoc>WakeUpIdle()</autodoc>
+ <docstring>Cause the message queue to become empty again, so idle events will be
+sent.</docstring>
</method>
- <method name="SetAssertMode" type="void" overloaded="no">
- <autodoc>SetAssertMode(int mode)</autodoc>
- <docstring>Set the OnAssert behaviour for debug and hybrid builds. The following flags
-may be or'd together:
-
- wx.PYAPP_ASSERT_SUPPRESS Don't do anything
- wx.PYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default)
- wx.PYAPP_ASSERT_DIALOG Display a message dialog
- wx.PYAPP_ASSERT_LOG Write the assertion info to the wx.Log
-</docstring>
+ <method name="PostEvent" oldname="wxPostEvent" type="" overloaded="no">
+ <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc>
+ <docstring>Send an event to a window or other wx.EvtHandler to be processed
+later.</docstring>
<paramlist>
- <param name="mode" type="int" default=""/>
+ <param name="dest" type="EvtHandler" default=""/>
+ <param name="event" type="Event" default=""/>
</paramlist>
</method>
- <method name="GetAssertMode" type="int" overloaded="no">
- <autodoc>GetAssertMode() -> int</autodoc>
- <docstring>Get the current OnAssert behaviour setting.</docstring>
+ <method name="App_CleanUp" oldname="wxApp_CleanUp" type="" overloaded="no">
+ <autodoc>App_CleanUp()</autodoc>
+ <docstring>For internal use only, it is used to cleanup after wxWidgets when
+Python shuts down.</docstring>
</method>
- <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no">
- <autodoc>PyApp.GetMacSupportPCMenuShortcuts() -> bool</autodoc>
- </staticmethod>
- <staticmethod name="GetMacAboutMenuItemId" type="long" overloaded="no">
- <autodoc>PyApp.GetMacAboutMenuItemId() -> long</autodoc>
- </staticmethod>
- <staticmethod name="GetMacPreferencesMenuItemId" type="long" overloaded="no">
- <autodoc>PyApp.GetMacPreferencesMenuItemId() -> long</autodoc>
- </staticmethod>
- <staticmethod name="GetMacExitMenuItemId" type="long" overloaded="no">
- <autodoc>PyApp.GetMacExitMenuItemId() -> long</autodoc>
- </staticmethod>
- <staticmethod name="GetMacHelpMenuTitleName" type="wxString" overloaded="no">
- <autodoc>PyApp.GetMacHelpMenuTitleName() -> String</autodoc>
- </staticmethod>
- <staticmethod name="SetMacSupportPCMenuShortcuts" type="void" overloaded="no">
- <autodoc>PyApp.SetMacSupportPCMenuShortcuts(bool val)</autodoc>
- <paramlist>
- <param name="val" type="bool" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="SetMacAboutMenuItemId" type="void" overloaded="no">
- <autodoc>PyApp.SetMacAboutMenuItemId(long val)</autodoc>
- <paramlist>
- <param name="val" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="SetMacPreferencesMenuItemId" type="void" overloaded="no">
- <autodoc>PyApp.SetMacPreferencesMenuItemId(long val)</autodoc>
- <paramlist>
- <param name="val" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="SetMacExitMenuItemId" type="void" overloaded="no">
- <autodoc>PyApp.SetMacExitMenuItemId(long val)</autodoc>
- <paramlist>
- <param name="val" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="SetMacHelpMenuTitleName" type="void" overloaded="no">
- <autodoc>PyApp.SetMacHelpMenuTitleName(String val)</autodoc>
- <paramlist>
- <param name="val" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <method name="_BootstrapApp" type="void" overloaded="no">
- <autodoc>_BootstrapApp()</autodoc>
- <docstring>For internal use only</docstring>
+ <method name="GetApp" oldname="wxPyGetApp" type="PyApp" overloaded="no">
+ <autodoc>GetApp() -> PyApp</autodoc>
+ <docstring>Return a reference to the current wx.App object.</docstring>
</method>
- <staticmethod name="GetComCtl32Version" type="int" overloaded="no">
- <autodoc>PyApp.GetComCtl32Version() -> int</autodoc>
- <docstring>Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it
-wasn't found at all. Raises an exception on non-Windows platforms.</docstring>
- </staticmethod>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <method name="Exit" oldname="wxExit" type="void" overloaded="no">
- <autodoc>Exit()</autodoc>
- <docstring>Force an exit of the application. Convenience for wx.GetApp().Exit()</docstring>
- </method>
- <method name="Yield" oldname="wxYield" type="bool" overloaded="no">
- <autodoc>Yield() -> bool</autodoc>
- <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield()</docstring>
- </method>
- <method name="YieldIfNeeded" oldname="wxYieldIfNeeded" type="bool" overloaded="no">
- <autodoc>YieldIfNeeded() -> bool</autodoc>
- <docstring>Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)</docstring>
- </method>
- <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no">
- <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool</autodoc>
- <docstring>This function is similar to wx.Yield, except that it disables the user input
-to all program windows before calling wx.Yield and re-enables it again
-afterwards. If win is not None, this window will remain enabled, allowing the
-implementation of some limited user interaction.
-
-Returns the result of the call to wx.Yield.</docstring>
- <paramlist>
- <param name="win" type="p.wxWindow" default="NULL"/>
- <param name="onlyIfNeeded" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="void" overloaded="no">
- <autodoc>WakeUpIdle()</autodoc>
- <docstring>Cause the message queue to become empty again, so idle events will be sent.</docstring>
- </method>
- <method name="PostEvent" oldname="wxPostEvent" type="void" overloaded="no">
- <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc>
- <docstring>Send an event to a window or other wx.EvtHandler to be processed later.</docstring>
- <paramlist>
- <param name="dest" type="p.wxEvtHandler" default=""/>
- <param name="event" type="r.wxEvent" default=""/>
- </paramlist>
- </method>
- <method name="App_CleanUp" oldname="wxApp_CleanUp" type="void" overloaded="no">
- <autodoc>App_CleanUp()</autodoc>
- <docstring>For internal use only, it is used to cleanup after wxWindows when Python shuts down.</docstring>
- </method>
- <method name="GetApp" oldname="wxGetApp" type="wxPyApp" overloaded="no">
- <autodoc>GetApp() -> PyApp</autodoc>
- <docstring>Return a reference to the current wx.App object.</docstring>
- </method>
- <pythoncode>
+ <pythoncode>
#----------------------------------------------------------------------
class PyOnDemandOutputWindow:
def __init__(self, title = "wxPython: stdout/stderr"):
self.frame = None
self.title = title
+ self.pos = wx.DefaultPosition
+ self.size = (450, 300)
self.parent = None
def SetParent(self, parent):
def CreateOutputWindow(self, st):
- self.frame = wx.Frame(self.parent, -1, self.title,
- style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE)
+ self.frame = wx.Frame(self.parent, -1, self.title, self.pos, self.size,
+ style=wx.DEFAULT_FRAME_STYLE)
self.text = wx.TextCtrl(self.frame, -1, "",
- style = wx.TE_MULTILINE | wx.TE_READONLY)
- self.frame.SetSize((450, 300))
+ style=wx.TE_MULTILINE|wx.TE_READONLY)
+ self.text.AppendText(st)
self.frame.Show(True)
EVT_CLOSE(self.frame, self.OnCloseWindow)
+ def OnCloseWindow(self, event):
+ if self.frame is not None:
+ self.frame.Destroy()
+ self.frame = None
+ self.text = None
+
+
# These methods provide the file-like output behaviour.
def write(self, text):
"""
wx.CallAfter(self.frame.Close)
- def OnCloseWindow(self, event):
- if self.frame is not None:
- self.frame.Destroy()
- self.frame = None
- self.text = None
+ def flush(self):
+ pass
+
+
#----------------------------------------------------------------------
class App(wx.PyApp):
"""
- The main application class. Derive from this and implement an OnInit
- method that creates a frame and then calls self.SetTopWindow(frame)
+ The ``wx.App`` class represents the application and is used to:
+
+ * bootstrap the wxPython system and initialize the underlying
+ gui toolkit
+ * set and get application-wide properties
+ * implement the windowing system main message or event loop,
+ and to dispatch events to window instances
+ * etc.
+
+ Every application must have a ``wx.App`` instance, and all
+ creation of UI objects should be delayed until after the
+ ``wx.App`` object has been created in order to ensure that the gui
+ platform and wxWidgets have been fully initialized.
+
+ Normally you would derive from this class and implement an
+ ``OnInit`` method that creates a frame and then calls
+ ``self.SetTopWindow(frame)``.
+
+ :see: `wx.PySimpleApp` for a simpler app class that can be used
+ directly.
"""
+
outputWindowClass = PyOnDemandOutputWindow
- def __init__(self, redirect=_defRedirect, filename=None, useBestVisual=False):
+ def __init__(self, redirect=_defRedirect, filename=None,
+ useBestVisual=False, clearSigInt=True):
+ """
+ Construct a ``wx.App`` object.
+
+ :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be
+ redirected? Defaults to True on Windows and Mac, False
+ otherwise. If `filename` is None then output will be
+ redirected to a window that pops up as needed. (You can
+ control what kind of window is created for the output by
+ resetting the class variable ``outputWindowClass`` to a
+ class of your choosing.)
+
+ :param filename: The name of a file to redirect output to, if
+ redirect is True.
+
+ :param useBestVisual: Should the app try to use the best
+ available visual provided by the system (only relevant on
+ systems that have more than one visual.) This parameter
+ must be used instead of calling `SetUseBestVisual` later
+ on because it must be set before the underlying GUI
+ toolkit is initialized.
+
+ :param clearSigInt: Should SIGINT be cleared? This allows the
+ app to terminate upon a Ctrl-C in the console like other
+ GUI apps will.
+
+ :note: You should override OnInit to do applicaition
+ initialization to ensure that the system, toolkit and
+ wxWidgets are fully initialized.
+ """
wx.PyApp.__init__(self)
if wx.Platform == "__WXMAC__":
not 'python', and only when you are logged in on the main display of
your Mac."""
_sys.exit(1)
+ except SystemExit:
+ raise
except:
pass
# KeyboardInterrupt???) but will later segfault on exit. By
# setting the default handler then the app will exit, as
# expected (depending on platform.)
- try:
- import signal
- signal.signal(signal.SIGINT, signal.SIG_DFL)
- except:
- pass
+ if clearSigInt:
+ try:
+ import signal
+ signal.signal(signal.SIGINT, signal.SIG_DFL)
+ except:
+ pass
# Save and redirect the stdio to a window?
self.stdioWin = None
self.RestoreStdio()
- def RedirectStdio(self, filename):
+ def RedirectStdio(self, filename=None):
"""Redirect sys.stdout and sys.stderr to a file or a popup window."""
if filename:
_sys.stdout = _sys.stderr = open(filename, 'a')
_sys.stdout, _sys.stderr = self.saveStdio
+ def SetOutputWindowAttributes(self, title=None, pos=None, size=None):
+ """
+ Set the title, position and/or size of the output window if
+ the stdio has been redirected. This should be called before
+ any output would cause the output window to be created.
+ """
+ if self.stdioWin:
+ if title is not None:
+ self.stdioWin.title = title
+ if pos is not None:
+ self.stdioWin.pos = pos
+ if size is not None:
+ self.stdioWin.size = size
+
+
-# change from wxPyApp_ to wxApp_
-App_GetMacSupportPCMenuShortcuts = _core.PyApp_GetMacSupportPCMenuShortcuts
-App_GetMacAboutMenuItemId = _core.PyApp_GetMacAboutMenuItemId
-App_GetMacPreferencesMenuItemId = _core.PyApp_GetMacPreferencesMenuItemId
-App_GetMacExitMenuItemId = _core.PyApp_GetMacExitMenuItemId
-App_GetMacHelpMenuTitleName = _core.PyApp_GetMacHelpMenuTitleName
-App_SetMacSupportPCMenuShortcuts = _core.PyApp_SetMacSupportPCMenuShortcuts
-App_SetMacAboutMenuItemId = _core.PyApp_SetMacAboutMenuItemId
-App_SetMacPreferencesMenuItemId = _core.PyApp_SetMacPreferencesMenuItemId
-App_SetMacExitMenuItemId = _core.PyApp_SetMacExitMenuItemId
-App_SetMacHelpMenuTitleName = _core.PyApp_SetMacHelpMenuTitleName
-App_GetComCtl32Version = _core.PyApp_GetComCtl32Version
+
+# change from wx.PyApp_XX to wx.App_XX
+App_GetMacSupportPCMenuShortcuts = _core_.PyApp_GetMacSupportPCMenuShortcuts
+App_GetMacAboutMenuItemId = _core_.PyApp_GetMacAboutMenuItemId
+App_GetMacPreferencesMenuItemId = _core_.PyApp_GetMacPreferencesMenuItemId
+App_GetMacExitMenuItemId = _core_.PyApp_GetMacExitMenuItemId
+App_GetMacHelpMenuTitleName = _core_.PyApp_GetMacHelpMenuTitleName
+App_SetMacSupportPCMenuShortcuts = _core_.PyApp_SetMacSupportPCMenuShortcuts
+App_SetMacAboutMenuItemId = _core_.PyApp_SetMacAboutMenuItemId
+App_SetMacPreferencesMenuItemId = _core_.PyApp_SetMacPreferencesMenuItemId
+App_SetMacExitMenuItemId = _core_.PyApp_SetMacExitMenuItemId
+App_SetMacHelpMenuTitleName = _core_.PyApp_SetMacHelpMenuTitleName
+App_GetComCtl32Version = _core_.PyApp_GetComCtl32Version
#----------------------------------------------------------------------------
"""
A simple application class. You can just create one of these and
then then make your top level windows later, and not have to worry
- about OnInit."""
+ about OnInit. For example::
+
+ app = wx.PySimpleApp()
+ frame = wx.Frame(None, title='Hello World')
+ frame.Show()
+ app.MainLoop()
+
+ :see: `wx.App`
+ """
- def __init__(self, redirect=False, filename=None, useBestVisual=False):
- wx.App.__init__(self, redirect, filename, useBestVisual)
+ def __init__(self, redirect=False, filename=None,
+ useBestVisual=False, clearSigInt=True):
+ """
+ :see: `wx.App.__init__`
+ """
+ wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt)
def OnInit(self):
- wx.InitAllImageHandlers()
return True
+
# Is anybody using this one?
class PyWidgetTester(wx.App):
def __init__(self, size = (250, 100)):
self.SetTopWindow(self.frame)
return True
- def SetWidget(self, widgetClass, *args):
- w = widgetClass(self.frame, *args)
+ def SetWidget(self, widgetClass, *args, **kwargs):
+ w = widgetClass(self.frame, *args, **kwargs)
self.frame.Show(True)
#----------------------------------------------------------------------------
# DO NOT hold any other references to this object. This is how we
-# know when to cleanup system resources that wxWin is holding. When
+# know when to cleanup system resources that wxWidgets is holding. When
# the sys module is unloaded, the refcount on sys.__wxPythonCleanup
-# goes to zero and it calls the wxApp_CleanUp function.
+# goes to zero and it calls the wx.App_CleanUp function.
class __wxPyCleanup:
def __init__(self):
- self.cleanup = _core.App_CleanUp
+ self.cleanup = _core_.App_CleanUp
def __del__(self):
self.cleanup()
_sys.__wxPythonCleanup = __wxPyCleanup()
## # another possible solution, but it gets called too early...
-## if sys.version[0] == '2':
-## import atexit
-## atexit.register(_core.wxApp_CleanUp)
-## else:
-## sys.exitfunc = _core.wxApp_CleanUp
+## import atexit
+## atexit.register(_core_.wxApp_CleanUp)
#----------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="core">
- <constructor name="AcceleratorEntry" overloaded="no">
- <autodoc>__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry</autodoc>
- <paramlist>
- <param name="flags" type="int" default="0"/>
- <param name="keyCode" type="int" default="0"/>
- <param name="cmd" type="int" default="0"/>
- <param name="item" type="p.wxMenuItem" default="NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxAcceleratorEntry" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(int flags, int keyCode, int cmd, MenuItem item=None)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- <param name="keyCode" type="int" default=""/>
- <param name="cmd" type="int" default=""/>
- <param name="item" type="p.wxMenuItem" default="NULL"/>
- </paramlist>
- </method>
- <method name="SetMenuItem" type="void" overloaded="no">
- <autodoc>SetMenuItem(MenuItem item)</autodoc>
- <paramlist>
- <param name="item" type="p.wxMenuItem" default=""/>
- </paramlist>
- </method>
- <method name="GetMenuItem" type="wxMenuItem" overloaded="no">
- <autodoc>GetMenuItem() -> MenuItem</autodoc>
- </method>
- <method name="GetFlags" type="int" overloaded="no">
- <autodoc>GetFlags() -> int</autodoc>
- </method>
- <method name="GetKeyCode" type="int" overloaded="no">
- <autodoc>GetKeyCode() -> int</autodoc>
- </method>
- <method name="GetCommand" type="int" overloaded="no">
- <autodoc>GetCommand() -> int</autodoc>
- </method>
- </class>
- <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="core">
- <baseclass name="wxObject"/>
- <constructor name="AcceleratorTable" overloaded="no">
- <autodoc>__init__(entries) -> AcceleratorTable</autodoc>
- <docstring>Construct an AcceleratorTable from a list of AcceleratorEntry items or
-3-tuples (flags, keyCode, cmdID)</docstring>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="entries" type="p.q(const).wxAcceleratorEntry" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxAcceleratorTable" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- </class>
- <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="wxAcceleratorEntry" overloaded="no">
- <autodoc>GetAccelFromString(String label) -> AcceleratorEntry</autodoc>
- <paramlist>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <pythoncode>
+ <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="_core">
+ <docstring>A class used to define items in an `wx.AcceleratorTable`. wxPython
+programs can choose to use wx.AcceleratorEntry objects, but using a
+list of 3-tuple of integers (flags, keyCode, cmdID) usually works just
+as well. See `__init__` for of the tuple values.
+
+:see: `wx.AcceleratorTable`</docstring>
+ <constructor name="AcceleratorEntry" overloaded="no">
+ <autodoc>__init__(self, int flags=0, int keyCode=0, int cmdID=0) -> AcceleratorEntry</autodoc>
+ <docstring>Construct a wx.AcceleratorEntry.
+ :param flags: A bitmask of wx.ACCEL_ALT, wx.ACCEL_SHIFT,
+ wx.ACCEL_CTRL or wx.ACCEL_NORMAL used to specify
+ which modifier keys are held down.
+ :param keyCode: The keycode to be detected
+ :param cmdID: The menu or control command ID to use for the
+ accellerator event.
+</docstring>
+ <paramlist>
+ <param name="flags" type="int" default="0"/>
+ <param name="keyCode" type="int" default="0"/>
+ <param name="cmdID" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxAcceleratorEntry" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, int flags, int keyCode, int cmd)</autodoc>
+ <docstring>(Re)set the attributes of a wx.AcceleratorEntry.
+:see `__init__`</docstring>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ <param name="keyCode" type="int" default=""/>
+ <param name="cmd" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFlags" type="int" overloaded="no">
+ <autodoc>GetFlags(self) -> int</autodoc>
+ <docstring>Get the AcceleratorEntry's flags.</docstring>
+ </method>
+ <method name="GetKeyCode" type="int" overloaded="no">
+ <autodoc>GetKeyCode(self) -> int</autodoc>
+ <docstring>Get the AcceleratorEntry's keycode.</docstring>
+ </method>
+ <method name="GetCommand" type="int" overloaded="no">
+ <autodoc>GetCommand(self) -> int</autodoc>
+ <docstring>Get the AcceleratorEntry's command ID.</docstring>
+ </method>
+ </class>
+ <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="_core">
+ <docstring>An accelerator table allows the application to specify a table of
+keyboard shortcuts for menus or other commands. On Windows, menu or
+button commands are supported; on GTK, only menu commands are
+supported.
+
+The object ``wx.NullAcceleratorTable`` is defined to be a table with
+no data, and is the initial accelerator table for a window.
+
+An accelerator takes precedence over normal processing and can be a
+convenient way to program some event handling. For example, you can
+use an accelerator table to make a hotkey generate an event no matter
+which window within a frame has the focus.
+
+Foe example::
+
+ aTable = wx.AcceleratorTable([(wx.ACCEL_ALT, ord('X'), exitID),
+ (wx.ACCEL_CTRL, ord('H'), helpID),
+ (wx.ACCEL_CTRL, ord('F'), findID),
+ (wx.ACCEL_NORMAL, wx.WXK_F3, findnextID)
+ ])
+ self.SetAcceleratorTable(aTable)
+
+
+:see: `wx.AcceleratorEntry`, `wx.Window.SetAcceleratorTable`
+</docstring>
+ <baseclass name="Object"/>
+ <constructor name="AcceleratorTable" overloaded="no">
+ <autodoc>__init__(entries) -> AcceleratorTable</autodoc>
+ <docstring>Construct an AcceleratorTable from a list of `wx.AcceleratorEntry`
+items or or of 3-tuples (flags, keyCode, cmdID)
+
+:see: `wx.AcceleratorEntry`</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="entries" type="AcceleratorEntry" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxAcceleratorTable" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ </class>
+ <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="AcceleratorEntry" overloaded="no">
+ <autodoc>GetAccelFromString(String label) -> AcceleratorEntry</autodoc>
+ <paramlist>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Window" oldname="wxWindow" module="core">
- <baseclass name="wxEvtHandler"/>
- <constructor name="Window" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=PanelNameStr) -> Window</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreWindow" overloaded="no">
- <autodoc>PreWindow() -> Window</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=PanelNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </method>
- <method name="Close" type="bool" overloaded="no">
- <autodoc>Close(bool force=False) -> bool</autodoc>
- <paramlist>
- <param name="force" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="Destroy" type="bool" overloaded="no">
- <autodoc>Destroy() -> bool</autodoc>
- <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
- </method>
- <method name="DestroyChildren" type="bool" overloaded="no">
- <autodoc>DestroyChildren() -> bool</autodoc>
- </method>
- <method name="IsBeingDeleted" type="bool" overloaded="no">
- <autodoc>IsBeingDeleted() -> bool</autodoc>
- </method>
- <method name="SetTitle" type="void" overloaded="no">
- <autodoc>SetTitle(String title)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTitle" type="wxString" overloaded="no">
- <autodoc>GetTitle() -> String</autodoc>
- </method>
- <method name="SetLabel" type="void" overloaded="no">
- <autodoc>SetLabel(String label)</autodoc>
- <paramlist>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetLabel" type="wxString" overloaded="no">
- <autodoc>GetLabel() -> String</autodoc>
- </method>
- <method name="SetName" type="void" overloaded="no">
- <autodoc>SetName(String name)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(int winid)</autodoc>
- <paramlist>
- <param name="winid" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetId" type="int" overloaded="no">
- <autodoc>GetId() -> int</autodoc>
- </method>
- <staticmethod name="NewControlId" type="int" overloaded="no">
- <autodoc>Window.NewControlId() -> int</autodoc>
- </staticmethod>
- <staticmethod name="NextControlId" type="int" overloaded="no">
- <autodoc>Window.NextControlId(int winid) -> int</autodoc>
- <paramlist>
- <param name="winid" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="PrevControlId" type="int" overloaded="no">
- <autodoc>Window.PrevControlId(int winid) -> int</autodoc>
- <paramlist>
- <param name="winid" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetDimensions" type="void" overloaded="no">
- <autodoc>SetDimensions(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
- </paramlist>
- </method>
- <method name="SetRect" type="void" overloaded="no">
- <autodoc>SetRect(Rect rect, int sizeFlags=SIZE_AUTO)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
- </paramlist>
- </method>
- <method name="SetSizeWH" type="void" overloaded="no">
- <autodoc>SetSizeWH(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Move" type="void" overloaded="no">
- <autodoc>Move(Point pt, int flags=SIZE_USE_EXISTING)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
- </paramlist>
- </method>
- <method name="MoveXY" type="void" overloaded="no">
- <autodoc>MoveXY(int x, int y, int flags=SIZE_USE_EXISTING)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
- </paramlist>
- </method>
- <method name="Raise" type="void" overloaded="no">
- <autodoc>Raise()</autodoc>
- </method>
- <method name="Lower" type="void" overloaded="no">
- <autodoc>Lower()</autodoc>
- </method>
- <method name="SetClientSize" type="void" overloaded="no">
- <autodoc>SetClientSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetClientSizeWH" type="void" overloaded="no">
- <autodoc>SetClientSizeWH(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetClientRect" type="void" overloaded="no">
- <autodoc>SetClientRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- <docstring>Get the window's position.</docstring>
- </method>
- <method name="GetPositionTuple" type="void" overloaded="no">
- <autodoc>GetPositionTuple() -> (x,y)</autodoc>
- <docstring>Get the window's position.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- <docstring>Get the window size.</docstring>
- </method>
- <method name="GetSizeTuple" type="void" overloaded="no">
- <autodoc>GetSizeTuple() -> (width, height)</autodoc>
- <docstring>Get the window size.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetRect" type="wxRect" overloaded="no">
- <autodoc>GetRect() -> Rect</autodoc>
- </method>
- <method name="GetClientSize" type="wxSize" overloaded="no">
- <autodoc>GetClientSize() -> Size</autodoc>
- <docstring>Get the window's client size.</docstring>
- </method>
- <method name="GetClientSizeTuple" type="void" overloaded="no">
- <autodoc>GetClientSizeTuple() -> (width, height)</autodoc>
- <docstring>Get the window's client size.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetClientAreaOrigin" type="wxPoint" overloaded="no">
- <autodoc>GetClientAreaOrigin() -> Point</autodoc>
- </method>
- <method name="GetClientRect" type="wxRect" overloaded="no">
- <autodoc>GetClientRect() -> Rect</autodoc>
- </method>
- <method name="GetBestSize" type="wxSize" overloaded="no">
- <autodoc>GetBestSize() -> Size</autodoc>
- <docstring>Get the size best suited for the window (in fact, minimal acceptable size
-using which it will still look "nice")</docstring>
- </method>
- <method name="GetBestSizeTuple" type="void" overloaded="no">
- <autodoc>GetBestSizeTuple() -> (width, height)</autodoc>
- <docstring>Get the size best suited for the window (in fact, minimal acceptable size
-using which it will still look "nice")</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetAdjustedBestSize" type="wxSize" overloaded="no">
- <autodoc>GetAdjustedBestSize() -> Size</autodoc>
- </method>
- <method name="Center" type="void" overloaded="no">
- <autodoc>Center(int direction=BOTH)</autodoc>
- <paramlist>
- <param name="direction" type="int" default="wxBOTH"/>
- </paramlist>
- </method>
- <method name="CenterOnScreen" type="void" overloaded="no">
- <autodoc>CenterOnScreen(int dir=BOTH)</autodoc>
- <paramlist>
- <param name="dir" type="int" default="wxBOTH"/>
- </paramlist>
- </method>
- <method name="CenterOnParent" type="void" overloaded="no">
- <autodoc>CenterOnParent(int dir=BOTH)</autodoc>
- <paramlist>
- <param name="dir" type="int" default="wxBOTH"/>
- </paramlist>
- </method>
- <method name="Fit" type="void" overloaded="no">
- <autodoc>Fit()</autodoc>
- </method>
- <method name="FitInside" type="void" overloaded="no">
- <autodoc>FitInside()</autodoc>
- </method>
- <method name="SetSizeHints" type="void" overloaded="no">
- <autodoc>SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1,
+ <class name="VisualAttributes" oldname="wxVisualAttributes" module="_core">
+ <docstring>struct containing all the visual attributes of a control</docstring>
+ <constructor name="VisualAttributes" overloaded="no">
+ <autodoc>__init__(self) -> VisualAttributes</autodoc>
+ <docstring>struct containing all the visual attributes of a control</docstring>
+ </constructor>
+ <destructor name="~wxVisualAttributes" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <property name="font" type="wxFont" readonly="no"/>
+ <property name="colFg" type="wxColour" readonly="no"/>
+ <property name="colBg" type="wxColour" readonly="no"/>
+ </class>
+ <class name="Window" oldname="wxWindow" module="_core">
+ <docstring>wx.Window is the base class for all windows and represents any visible
+object on the screen. All controls, top level windows and so on are
+wx.Windows. Sizers and device contexts are not however, as they don't
+appear on screen themselves.
+
+Styles
+-------
+ ============================= =====================================
+ wx.SIMPLE_BORDER Displays a thin border around the window.
+
+ wx.DOUBLE_BORDER Displays a double border. Windows and Mac only.
+
+ wx.SUNKEN_BORDER Displays a sunken border.
+
+ wx.RAISED_BORDER Displays a raised border.
+
+ wx.STATIC_BORDER Displays a border suitable for a static
+ control. Windows only.
+
+ wx.NO_BORDER Displays no border, overriding the default
+ border style for the window.
+
+ wx.TRANSPARENT_WINDOW The window is transparent, that is, it
+ will not receive paint events. Windows only.
+
+ wx.TAB_TRAVERSAL Use this to enable tab traversal for
+ non-dialog windows.
+
+ wx.WANTS_CHARS Use this to indicate that the window
+ wants to get all char/key events for
+ all keys - even for keys like TAB or
+ ENTER which are usually used for
+ dialog navigation and which wouldn't
+ be generated without this style. If
+ you need to use this style in order to
+ get the arrows or etc., but would
+ still like to have normal keyboard
+ navigation take place, you should
+ create and send a wxNavigationKeyEvent
+ in response to the key events for Tab
+ and Shift-Tab.
+
+ wx.NO_FULL_REPAINT_ON_RESIZE Disables repainting the window
+ completely when its size is changed.
+ You will have to repaint the new
+ window area manually if you use this
+ style. As of version 2.5.1 this
+ style is on by default. Use
+ wx.FULL_REPAINT_ON_RESIZE to
+ deactivate it.
+
+ wx.VSCROLL Use this style to enable a vertical scrollbar.
+
+ wx.HSCROLL Use this style to enable a horizontal scrollbar.
+
+ wx.ALWAYS_SHOW_SB If a window has scrollbars, disable them
+ instead of hiding them when they are
+ not needed (i.e. when the size of the
+ window is big enough to not require
+ the scrollbars to navigate it). This
+ style is currently only implemented
+ for wxMSW and wxUniversal and does
+ nothing on the other platforms.
+
+ wx.CLIP_CHILDREN Use this style to eliminate flicker caused by
+ the background being repainted, then
+ children being painted over
+ them. Windows only.
+
+ wx.FULL_REPAINT_ON_RESIZE Use this style to force a complete
+ redraw of the window whenever it is
+ resized instead of redrawing just the
+ part of the window affected by
+ resizing. Note that this was the
+ behaviour by default before 2.5.1
+ release and that if you experience
+ redraw problems with the code which
+ previously used to work you may want
+ to try this.
+ ============================= =====================================
+
+
+Extra Styles
+------------
+ ============================= =====================================
+ wx.WS_EX_VALIDATE_RECURSIVELY By default,
+ Validate/TransferDataTo/FromWindow()
+ only work on direct children of
+ the window (compatible
+ behaviour). Set this flag to make
+ them recursively descend into all
+ subwindows.
+
+ wx.WS_EX_BLOCK_EVENTS wx.CommandEvents and the objects of the
+ derived classes are forwarded to
+ the parent window and so on
+ recursively by default. Using this
+ flag for the given window allows
+ to block this propagation at this
+ window, i.e. prevent the events
+ from being propagated further
+ upwards. Dialogs have this flag on
+ by default.
+
+ wx.WS_EX_TRANSIENT Don't use this window as an implicit parent for
+ the other windows: this must be
+ used with transient windows as
+ otherwise there is the risk of
+ creating a dialog/frame with this
+ window as a parent which would
+ lead to a crash if the parent is
+ destroyed before the child.
+
+ wx.WS_EX_PROCESS_IDLE This window should always process idle
+ events, even if the mode set by
+ wx.IdleEvent.SetMode is
+ wx.IDLE_PROCESS_SPECIFIED.
+
+ wx.WS_EX_PROCESS_UI_UPDATES This window should always process UI
+ update events, even if the mode
+ set by wxUpdateUIEvent::SetMode is
+ wxUPDATE_UI_PROCESS_SPECIFIED.
+ ============================= =====================================
+
+</docstring>
+ <baseclass name="EvtHandler"/>
+ <constructor name="Window" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=PanelNameStr) -> Window</autodoc>
+ <docstring>Construct and show a generic Window.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreWindow" overloaded="no">
+ <autodoc>PreWindow() -> Window</autodoc>
+ <docstring>Precreate a Window for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool</autodoc>
+ <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </method>
+ <method name="Close" type="bool" overloaded="no">
+ <autodoc>Close(self, bool force=False) -> bool</autodoc>
+ <docstring>This function simply generates a EVT_CLOSE event whose handler usually
+tries to close the window. It doesn't close the window itself,
+however. If force is False (the default) then the window's close
+handler will be allowed to veto the destruction of the window.
+Usually Close is only used with the top level windows (wx.Frame and
+wx.Dialog classes) as the others are not supposed to have any special
+EVT_CLOSE logic.
+
+The close handler should check whether the window is being deleted
+forcibly, using wx.CloseEvent.GetForce, in which case it should
+destroy the window using wx.Window.Destroy.
+
+Note that calling Close does not guarantee that the window will be
+destroyed; but it provides a way to simulate a manual close of a
+window, which may or may not be implemented by destroying the
+window. The default EVT_CLOSE handler for wx.Dialog does not
+necessarily delete the dialog, since it will simply simulate an
+wxID_CANCEL event which is handled by the appropriate button event
+handler and may do anything at all.
+
+To guarantee that the window will be destroyed, call wx.Window.Destroy
+instead.</docstring>
+ <paramlist>
+ <param name="force" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="Destroy" type="bool" overloaded="no">
+ <autodoc>Destroy(self) -> bool</autodoc>
+ <docstring>Destroys the window safely. Frames and dialogs are not destroyed
+immediately when this function is called -- they are added to a list
+of windows to be deleted on idle time, when all the window's events
+have been processed. This prevents problems with events being sent to
+non-existent windows.
+
+Returns True if the window has either been successfully deleted, or it
+has been added to the list of windows pending real deletion.</docstring>
+ </method>
+ <method name="DestroyChildren" type="bool" overloaded="no">
+ <autodoc>DestroyChildren(self) -> bool</autodoc>
+ <docstring>Destroys all children of a window. Called automatically by the
+destructor.</docstring>
+ </method>
+ <method name="IsBeingDeleted" type="bool" overloaded="no">
+ <autodoc>IsBeingDeleted(self) -> bool</autodoc>
+ <docstring>Is the window in the process of being deleted?</docstring>
+ </method>
+ <method name="SetTitle" type="" overloaded="no">
+ <autodoc>SetTitle(self, String title)</autodoc>
+ <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTitle" type="String" overloaded="no">
+ <autodoc>GetTitle(self) -> String</autodoc>
+ <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
+ </method>
+ <method name="SetLabel" type="" overloaded="no">
+ <autodoc>SetLabel(self, String label)</autodoc>
+ <docstring>Set the text which the window shows in its label if applicable.</docstring>
+ <paramlist>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self) -> String</autodoc>
+ <docstring>Generic way of getting a label from any window, for identification
+purposes. The interpretation of this function differs from class to
+class. For frames and dialogs, the value returned is the title. For
+buttons or static text controls, it is the button text. This function
+can be useful for meta-programs such as testing tools or special-needs
+access programs)which need to identify windows by name.</docstring>
+ </method>
+ <method name="SetName" type="" overloaded="no">
+ <autodoc>SetName(self, String name)</autodoc>
+ <docstring>Sets the window's name. The window name is used for ressource setting
+in X, it is not the same as the window title/label</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ <docstring>Returns the windows name. This name is not guaranteed to be unique;
+it is up to the programmer to supply an appropriate name in the window
+constructor or via wx.Window.SetName.</docstring>
+ </method>
+ <method name="SetWindowVariant" type="" overloaded="no">
+ <autodoc>SetWindowVariant(self, int variant)</autodoc>
+ <docstring>Sets the variant of the window/font size to use for this window, if
+the platform supports variants, for example, wxMac.
+Variant values are:
+
+ ======================== =======================================
+ wx.WINDOW_VARIANT_NORMAL Normal size
+ wx.WINDOW_VARIANT_SMALL Smaller size (about 25 % smaller than normal)
+ wx.WINDOW_VARIANT_MINI Mini size (about 33 % smaller than normal)
+ wx.WINDOW_VARIANT_LARGE Large size (about 25 % larger than normal)
+ ======================== =======================================
+</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWindowVariant" type="wxWindowVariant" overloaded="no">
+ <autodoc>GetWindowVariant(self) -> int</autodoc>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, int winid)</autodoc>
+ <docstring>Sets the identifier of the window. Each window has an integer
+identifier. If the application has not provided one, an identifier
+will be generated. Normally, the identifier should be provided on
+creation and should not be modified subsequently.</docstring>
+ <paramlist>
+ <param name="winid" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetId" type="int" overloaded="no">
+ <autodoc>GetId(self) -> int</autodoc>
+ <docstring>Returns the identifier of the window. Each window has an integer
+identifier. If the application has not provided one (or the default Id
+-1 is used) then an unique identifier with a negative value will be
+generated.</docstring>
+ </method>
+ <staticmethod name="NewControlId" type="int" overloaded="no">
+ <autodoc>NewControlId() -> int</autodoc>
+ <docstring>Generate a control id for the controls which were not given one.</docstring>
+ </staticmethod>
+ <staticmethod name="NextControlId" type="int" overloaded="no">
+ <autodoc>NextControlId(int winid) -> int</autodoc>
+ <docstring>Get the id of the control following the one with the given
+autogenerated) id</docstring>
+ <paramlist>
+ <param name="winid" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="PrevControlId" type="int" overloaded="no">
+ <autodoc>PrevControlId(int winid) -> int</autodoc>
+ <docstring>Get the id of the control preceding the one with the given
+autogenerated) id</docstring>
+ <paramlist>
+ <param name="winid" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, Size size)</autodoc>
+ <docstring>Sets the size of the window in pixels.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDimensions" type="" overloaded="no">
+ <autodoc>SetDimensions(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+ <docstring>Sets the position and size of the window in pixels. The sizeFlags
+parameter indicates the interpretation of the other params if they are
+-1. wx.SIZE_AUTO*: a -1 indicates that a class-specific default
+shoudl be used. wx.SIZE_USE_EXISTING: existing dimensions should be
+used if -1 values are supplied. wxSIZE_ALLOW_MINUS_ONE: allow
+dimensions of -1 and less to be interpreted as real dimensions, not
+default values.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+ </paramlist>
+ </method>
+ <method name="SetRect" type="" overloaded="no">
+ <autodoc>SetRect(self, Rect rect, int sizeFlags=SIZE_AUTO)</autodoc>
+ <docstring>Sets the position and size of the window in pixels using a wx.Rect.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+ </paramlist>
+ </method>
+ <method name="SetSizeWH" type="" overloaded="no">
+ <autodoc>SetSizeWH(self, int width, int height)</autodoc>
+ <docstring>Sets the size of the window in pixels.</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Move" type="" overloaded="no">
+ <autodoc>Move(self, Point pt, int flags=SIZE_USE_EXISTING)</autodoc>
+ <docstring>Moves the window to the given position.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
+ </paramlist>
+ </method>
+ <method name="MoveXY" type="" overloaded="no">
+ <autodoc>MoveXY(self, int x, int y, int flags=SIZE_USE_EXISTING)</autodoc>
+ <docstring>Moves the window to the given position.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
+ </paramlist>
+ </method>
+ <method name="SetBestFittingSize" type="" overloaded="no">
+ <autodoc>SetBestFittingSize(self, Size size=DefaultSize)</autodoc>
+ <docstring>A 'Smart' SetSize that will fill in default size components with the
+window's *best size* values. Also set's the minsize for use with sizers.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ </paramlist>
+ </method>
+ <method name="Raise" type="" overloaded="no">
+ <autodoc>Raise(self)</autodoc>
+ <docstring>Raises the window to the top of the window hierarchy if it is a
+managed window (dialog or frame).</docstring>
+ </method>
+ <method name="Lower" type="" overloaded="no">
+ <autodoc>Lower(self)</autodoc>
+ <docstring>Lowers the window to the bottom of the window hierarchy if it is a
+managed window (dialog or frame).</docstring>
+ </method>
+ <method name="SetClientSize" type="" overloaded="no">
+ <autodoc>SetClientSize(self, Size size)</autodoc>
+ <docstring>This sets the size of the window client area in pixels. Using this
+function to size a window tends to be more device-independent than
+wx.Window.SetSize, since the application need not worry about what
+dimensions the border or title bar have when trying to fit the window
+around panel items, for example.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClientSizeWH" type="" overloaded="no">
+ <autodoc>SetClientSizeWH(self, int width, int height)</autodoc>
+ <docstring>This sets the size of the window client area in pixels. Using this
+function to size a window tends to be more device-independent than
+wx.Window.SetSize, since the application need not worry about what
+dimensions the border or title bar have when trying to fit the window
+around panel items, for example.</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClientRect" type="" overloaded="no">
+ <autodoc>SetClientRect(self, Rect rect)</autodoc>
+ <docstring>This sets the size of the window client area in pixels. Using this
+function to size a window tends to be more device-independent than
+wx.Window.SetSize, since the application need not worry about what
+dimensions the border or title bar have when trying to fit the window
+around panel items, for example.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ <docstring>Get the window's position.</docstring>
+ </method>
+ <method name="GetPositionTuple" type="" overloaded="no">
+ <autodoc>GetPositionTuple() -> (x,y)</autodoc>
+ <docstring>Get the window's position.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ <docstring>Get the window size.</docstring>
+ </method>
+ <method name="GetSizeTuple" type="" overloaded="no">
+ <autodoc>GetSizeTuple() -> (width, height)</autodoc>
+ <docstring>Get the window size.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRect" type="Rect" overloaded="no">
+ <autodoc>GetRect(self) -> Rect</autodoc>
+ <docstring>Returns the size and position of the window as a wx.Rect object.</docstring>
+ </method>
+ <method name="GetClientSize" type="Size" overloaded="no">
+ <autodoc>GetClientSize(self) -> Size</autodoc>
+ <docstring>This gets the size of the window's 'client area' in pixels. The client
+area is the area which may be drawn on by the programmer, excluding
+title bar, border, scrollbars, etc.</docstring>
+ </method>
+ <method name="GetClientSizeTuple" type="" overloaded="no">
+ <autodoc>GetClientSizeTuple() -> (width, height)</autodoc>
+ <docstring>This gets the size of the window's 'client area' in pixels. The client
+area is the area which may be drawn on by the programmer, excluding
+title bar, border, scrollbars, etc.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetClientAreaOrigin" type="Point" overloaded="no">
+ <autodoc>GetClientAreaOrigin(self) -> Point</autodoc>
+ <docstring>Get the origin of the client area of the window relative to the
+window's top left corner (the client area may be shifted because of
+the borders, scrollbars, other decorations...)</docstring>
+ </method>
+ <method name="GetClientRect" type="Rect" overloaded="no">
+ <autodoc>GetClientRect(self) -> Rect</autodoc>
+ <docstring>Get the client area position and size as a `wx.Rect` object.</docstring>
+ </method>
+ <method name="GetBestSize" type="Size" overloaded="no">
+ <autodoc>GetBestSize(self) -> Size</autodoc>
+ <docstring>This function returns the best acceptable minimal size for the
+window, if applicable. For example, for a static text control, it will
+be the minimal size such that the control label is not truncated. For
+windows containing subwindows (suzh aswx.Panel), the size returned by
+this function will be the same as the size the window would have had
+after calling Fit.</docstring>
+ </method>
+ <method name="GetBestSizeTuple" type="" overloaded="no">
+ <autodoc>GetBestSizeTuple() -> (width, height)</autodoc>
+ <docstring>This function returns the best acceptable minimal size for the
+window, if applicable. For example, for a static text control, it will
+be the minimal size such that the control label is not truncated. For
+windows containing subwindows (suzh aswx.Panel), the size returned by
+this function will be the same as the size the window would have had
+after calling Fit.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="InvalidateBestSize" type="" overloaded="no">
+ <autodoc>InvalidateBestSize(self)</autodoc>
+ <docstring>Reset the cached best size value so it will be recalculated the next
+time it is needed.</docstring>
+ </method>
+ <method name="GetBestFittingSize" type="Size" overloaded="no">
+ <autodoc>GetBestFittingSize(self) -> Size</autodoc>
+ <docstring>This function will merge the window's best size into the window's
+minimum size, giving priority to the min size components, and returns
+the results.
+</docstring>
+ </method>
+ <method name="GetAdjustedBestSize" type="Size" overloaded="no">
+ <autodoc>GetAdjustedBestSize(self) -> Size</autodoc>
+ <docstring>This method is similar to GetBestSize, except in one
+thing. GetBestSize should return the minimum untruncated size of the
+window, while this method will return the largest of BestSize and any
+user specified minimum size. ie. it is the minimum size the window
+should currently be drawn at, not the minimal size it can possibly
+tolerate.</docstring>
+ </method>
+ <method name="Center" type="" overloaded="no">
+ <autodoc>Center(self, int direction=BOTH)</autodoc>
+ <docstring>Centers the window. The parameter specifies the direction for
+cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may
+also include wx.CENTER_ON_SCREEN flag if you want to center the window
+on the entire screen and not on its parent window. If it is a
+top-level window and has no parent then it will always be centered
+relative to the screen.</docstring>
+ <paramlist>
+ <param name="direction" type="int" default="wxBOTH"/>
+ </paramlist>
+ </method>
+ <method name="CenterOnScreen" type="" overloaded="no">
+ <autodoc>CenterOnScreen(self, int dir=BOTH)</autodoc>
+ <docstring>Center on screen (only works for top level windows)</docstring>
+ <paramlist>
+ <param name="dir" type="int" default="wxBOTH"/>
+ </paramlist>
+ </method>
+ <method name="CenterOnParent" type="" overloaded="no">
+ <autodoc>CenterOnParent(self, int dir=BOTH)</autodoc>
+ <docstring>Center with respect to the the parent window</docstring>
+ <paramlist>
+ <param name="dir" type="int" default="wxBOTH"/>
+ </paramlist>
+ </method>
+ <method name="Fit" type="" overloaded="no">
+ <autodoc>Fit(self)</autodoc>
+ <docstring>Sizes the window so that it fits around its subwindows. This function
+won't do anything if there are no subwindows and will only really work
+correctly if sizers are used for the subwindows layout. Also, if the
+window has exactly one subwindow it is better (faster and the result
+is more precise as Fit adds some margin to account for fuzziness of
+its calculations) to call window.SetClientSize(child.GetSize())
+instead of calling Fit.</docstring>
+ </method>
+ <method name="FitInside" type="" overloaded="no">
+ <autodoc>FitInside(self)</autodoc>
+ <docstring>Similar to Fit, but sizes the interior (virtual) size of a
+window. Mainly useful with scrolled windows to reset scrollbars after
+sizing changes that do not trigger a size event, and/or scrolled
+windows without an interior sizer. This function similarly won't do
+anything if there are no subwindows.</docstring>
+ </method>
+ <method name="SetSizeHints" type="" overloaded="no">
+ <autodoc>SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1,
int incH=-1)</autodoc>
+ <docstring>Allows specification of minimum and maximum window sizes, and window
+size increments. If a pair of values is not set (or set to -1), the
+default values will be used. If this function is called, the user
+will not be able to size the window outside the given bounds (if it is
+a top-level window.) Sizers will also inspect the minimum window size
+and will use that value if set when calculating layout.
+
+The resizing increments are only significant under Motif or Xt.
+
+:see: `GetMinSize`, `GetMaxSize`, `SetMinSize`, `SetMaxSize`
+</docstring>
+ <paramlist>
+ <param name="minW" type="int" default=""/>
+ <param name="minH" type="int" default=""/>
+ <param name="maxW" type="int" default="-1"/>
+ <param name="maxH" type="int" default="-1"/>
+ <param name="incW" type="int" default="-1"/>
+ <param name="incH" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetSizeHintsSz" type="" overloaded="no">
+ <autodoc>SetSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)</autodoc>
+ <docstring>Allows specification of minimum and maximum window sizes, and window
+size increments. If a pair of values is not set (or set to -1), the
+default values will be used. If this function is called, the user
+will not be able to size the window outside the given bounds (if it is
+a top-level window.) Sizers will also inspect the minimum window size
+and will use that value if set when calculating layout.
+
+The resizing increments are only significant under Motif or Xt.
+
+:see: `GetMinSize`, `GetMaxSize`, `SetMinSize`, `SetMaxSize`
+</docstring>
+ <paramlist>
+ <param name="minSize" type="Size" default=""/>
+ <param name="maxSize" type="Size" default="wxDefaultSize"/>
+ <param name="incSize" type="Size" default="wxDefaultSize"/>
+ </paramlist>
+ </method>
+ <method name="SetVirtualSizeHints" type="" overloaded="no">
+ <autodoc>SetVirtualSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1)</autodoc>
+ <docstring>Allows specification of minimum and maximum virtual window sizes. If a
+pair of values is not set (or set to -1), the default values will be
+used. If this function is called, the user will not be able to size
+the virtual area of the window outside the given bounds.</docstring>
+ <paramlist>
+ <param name="minW" type="int" default=""/>
+ <param name="minH" type="int" default=""/>
+ <param name="maxW" type="int" default="-1"/>
+ <param name="maxH" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetVirtualSizeHintsSz" type="" overloaded="no">
+ <autodoc>SetVirtualSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize)</autodoc>
+ <docstring>Allows specification of minimum and maximum virtual window sizes. If a
+pair of values is not set (or set to -1), the default values will be
+used. If this function is called, the user will not be able to size
+the virtual area of the window outside the given bounds.</docstring>
+ <paramlist>
+ <param name="minSize" type="Size" default=""/>
+ <param name="maxSize" type="Size" default="wxDefaultSize"/>
+ </paramlist>
+ </method>
+ <method name="GetMaxSize" type="Size" overloaded="no">
+ <autodoc>GetMaxSize(self) -> Size</autodoc>
+ </method>
+ <method name="GetMinSize" type="Size" overloaded="no">
+ <autodoc>GetMinSize(self) -> Size</autodoc>
+ </method>
+ <method name="SetMinSize" type="" overloaded="no">
+ <autodoc>SetMinSize(self, Size minSize)</autodoc>
+ <docstring>A more convenient method than `SetSizeHints` for setting just the
+min size.</docstring>
+ <paramlist>
+ <param name="minSize" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMaxSize" type="" overloaded="no">
+ <autodoc>SetMaxSize(self, Size maxSize)</autodoc>
+ <docstring>A more convenient method than `SetSizeHints` for setting just the
+max size.</docstring>
+ <paramlist>
+ <param name="maxSize" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMinWidth" type="int" overloaded="no">
+ <autodoc>GetMinWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetMinHeight" type="int" overloaded="no">
+ <autodoc>GetMinHeight(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxWidth" type="int" overloaded="no">
+ <autodoc>GetMaxWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxHeight" type="int" overloaded="no">
+ <autodoc>GetMaxHeight(self) -> int</autodoc>
+ </method>
+ <method name="SetVirtualSize" type="" overloaded="no">
+ <autodoc>SetVirtualSize(self, Size size)</autodoc>
+ <docstring>Set the the virtual size of a window in pixels. For most windows this
+is just the client area of the window, but for some like scrolled
+windows it is more or less independent of the screen window size.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetVirtualSizeWH" type="" overloaded="no">
+ <autodoc>SetVirtualSizeWH(self, int w, int h)</autodoc>
+ <docstring>Set the the virtual size of a window in pixels. For most windows this
+is just the client area of the window, but for some like scrolled
+windows it is more or less independent of the screen window size.</docstring>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetVirtualSize" type="Size" overloaded="no">
+ <autodoc>GetVirtualSize(self) -> Size</autodoc>
+ <docstring>Get the the virtual size of the window in pixels. For most windows
+this is just the client area of the window, but for some like scrolled
+windows it is more or less independent of the screen window size.</docstring>
+ </method>
+ <method name="GetVirtualSizeTuple" type="" overloaded="no">
+ <autodoc>GetVirtualSizeTuple() -> (width, height)</autodoc>
+ <docstring>Get the the virtual size of the window in pixels. For most windows
+this is just the client area of the window, but for some like scrolled
+windows it is more or less independent of the screen window size.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBestVirtualSize" type="Size" overloaded="no">
+ <autodoc>GetBestVirtualSize(self) -> Size</autodoc>
+ <docstring>Return the largest of ClientSize and BestSize (as determined by a
+sizer, interior children, or other means)</docstring>
+ </method>
+ <method name="Show" type="bool" overloaded="no">
+ <autodoc>Show(self, bool show=True) -> bool</autodoc>
+ <docstring>Shows or hides the window. You may need to call Raise for a top level
+window if you want to bring it to top, although this is not needed if
+Show is called immediately after the frame creation. Returns True if
+the window has been shown or hidden or False if nothing was done
+because it already was in the requested state.</docstring>
+ <paramlist>
+ <param name="show" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Hide" type="bool" overloaded="no">
+ <autodoc>Hide(self) -> bool</autodoc>
+ <docstring>Equivalent to calling Show(False).</docstring>
+ </method>
+ <method name="Enable" type="bool" overloaded="no">
+ <autodoc>Enable(self, bool enable=True) -> bool</autodoc>
+ <docstring>Enable or disable the window for user input. Note that when a parent
+window is disabled, all of its children are disabled as well and they
+are reenabled again when the parent is. Returns true if the window
+has been enabled or disabled, false if nothing was done, i.e. if the
+window had already been in the specified state.</docstring>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Disable" type="bool" overloaded="no">
+ <autodoc>Disable(self) -> bool</autodoc>
+ <docstring>Disables the window, same as Enable(false).</docstring>
+ </method>
+ <method name="IsShown" type="bool" overloaded="no">
+ <autodoc>IsShown(self) -> bool</autodoc>
+ <docstring>Returns true if the window is shown, false if it has been hidden.</docstring>
+ </method>
+ <method name="IsEnabled" type="bool" overloaded="no">
+ <autodoc>IsEnabled(self) -> bool</autodoc>
+ <docstring>Returns true if the window is enabled for input, false otherwise.</docstring>
+ </method>
+ <method name="SetWindowStyleFlag" type="" overloaded="no">
+ <autodoc>SetWindowStyleFlag(self, long style)</autodoc>
+ <docstring>Sets the style of the window. Please note that some styles cannot be
+changed after the window creation and that Refresh() might need to be
+called after changing the others for the change to take place
+immediately.</docstring>
+ <paramlist>
+ <param name="style" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWindowStyleFlag" type="long" overloaded="no">
+ <autodoc>GetWindowStyleFlag(self) -> long</autodoc>
+ <docstring>Gets the window style that was passed to the constructor or Create
+method.</docstring>
+ </method>
+ <method name="HasFlag" type="bool" overloaded="no">
+ <autodoc>HasFlag(self, int flag) -> bool</autodoc>
+ <docstring>Test if the given style is set for this window.</docstring>
+ <paramlist>
+ <param name="flag" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsRetained" type="bool" overloaded="no">
+ <autodoc>IsRetained(self) -> bool</autodoc>
+ <docstring>Returns true if the window is retained, false otherwise. Retained
+windows are only available on X platforms.</docstring>
+ </method>
+ <method name="SetExtraStyle" type="" overloaded="no">
+ <autodoc>SetExtraStyle(self, long exStyle)</autodoc>
+ <docstring>Sets the extra style bits for the window. Extra styles are the less
+often used style bits which can't be set with the constructor or with
+SetWindowStyleFlag()</docstring>
+ <paramlist>
+ <param name="exStyle" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetExtraStyle" type="long" overloaded="no">
+ <autodoc>GetExtraStyle(self) -> long</autodoc>
+ <docstring>Returns the extra style bits for the window.</docstring>
+ </method>
+ <method name="MakeModal" type="" overloaded="no">
+ <autodoc>MakeModal(self, bool modal=True)</autodoc>
+ <docstring>Disables all other windows in the application so that the user can
+only interact with this window. Passing False will reverse this
+effect.</docstring>
+ <paramlist>
+ <param name="modal" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetThemeEnabled" type="" overloaded="no">
+ <autodoc>SetThemeEnabled(self, bool enableTheme)</autodoc>
+ <docstring>This function tells a window if it should use the system's "theme"
+ code to draw the windows' background instead if its own background
+ drawing code. This will only have an effect on platforms that support
+ the notion of themes in user defined windows. One such platform is
+ GTK+ where windows can have (very colourful) backgrounds defined by a
+ user's selected theme.
+
+Dialogs, notebook pages and the status bar have this flag set to true
+by default so that the default look and feel is simulated best.</docstring>
+ <paramlist>
+ <param name="enableTheme" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetThemeEnabled" type="bool" overloaded="no">
+ <autodoc>GetThemeEnabled(self) -> bool</autodoc>
+ <docstring>Return the themeEnabled flag.</docstring>
+ </method>
+ <method name="SetFocus" type="" overloaded="no">
+ <autodoc>SetFocus(self)</autodoc>
+ <docstring>Set's the focus to this window, allowing it to receive keyboard input.</docstring>
+ </method>
+ <method name="SetFocusFromKbd" type="" overloaded="no">
+ <autodoc>SetFocusFromKbd(self)</autodoc>
+ <docstring>Set focus to this window as the result of a keyboard action. Normally
+only called internally.</docstring>
+ </method>
+ <staticmethod name="FindFocus" type="Window" overloaded="no">
+ <autodoc>FindFocus() -> Window</autodoc>
+ <docstring>Returns the window or control that currently has the keyboard focus,
+or None.</docstring>
+ </staticmethod>
+ <method name="AcceptsFocus" type="bool" overloaded="no">
+ <autodoc>AcceptsFocus(self) -> bool</autodoc>
+ <docstring>Can this window have focus?</docstring>
+ </method>
+ <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no">
+ <autodoc>AcceptsFocusFromKeyboard(self) -> bool</autodoc>
+ <docstring>Can this window be given focus by keyboard navigation? if not, the
+only way to give it focus (provided it accepts it at all) is to click
+it.</docstring>
+ </method>
+ <method name="GetDefaultItem" type="Window" overloaded="no">
+ <autodoc>GetDefaultItem(self) -> Window</autodoc>
+ <docstring>Get the default child of this parent, i.e. the one which is activated
+by pressing <Enter> such as the OK button on a wx.Dialog.</docstring>
+ </method>
+ <method name="SetDefaultItem" type="Window" overloaded="no">
+ <autodoc>SetDefaultItem(self, Window child) -> Window</autodoc>
+ <docstring>Set this child as default, return the old default.</docstring>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTmpDefaultItem" type="" overloaded="no">
+ <autodoc>SetTmpDefaultItem(self, Window win)</autodoc>
+ <docstring>Set this child as temporary default</docstring>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="Navigate" type="bool" overloaded="no">
+ <autodoc>Navigate(self, int flags=NavigationKeyEvent.IsForward) -> bool</autodoc>
+ <docstring>Does keyboard navigation from this window to another, by sending a
+`wx.NavigationKeyEvent`.
+
+ :param flags: A combination of the ``IsForward`` or ``IsBackward``
+ and the ``WinChange`` values in the `wx.NavigationKeyEvent`
+ class, which determine if the navigation should be in forward
+ or reverse order, and if it should be able to cross parent
+ window boundaries, such as between notebook pages or MDI child
+ frames. Typically the status of the Shift key (for forward or
+ backward) or the Control key (for WinChange) would be used to
+ determine how to set the flags.
+
+One situation in which you may wish to call this method is from a text
+control custom keypress handler to do the default navigation behaviour
+for the tab key, since the standard default behaviour for a multiline
+text control with the wx.TE_PROCESS_TAB style is to insert a tab and
+not navigate to the next control.</docstring>
+ <paramlist>
+ <param name="flags" type="int" default="wxNavigationKeyEvent::IsForward"/>
+ </paramlist>
+ </method>
+ <method name="MoveAfterInTabOrder" type="" overloaded="no">
+ <autodoc>MoveAfterInTabOrder(self, Window win)</autodoc>
+ <docstring>Moves this window in the tab navigation order after the specified
+sibling window. This means that when the user presses the TAB key on
+that other window, the focus switches to this window.
+
+The default tab order is the same as creation order. This function
+and `MoveBeforeInTabOrder` allow to change it after creating all the
+windows.
+</docstring>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveBeforeInTabOrder" type="" overloaded="no">
+ <autodoc>MoveBeforeInTabOrder(self, Window win)</autodoc>
+ <docstring>Same as `MoveAfterInTabOrder` except that it inserts this window just
+before win instead of putting it right after it.</docstring>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetChildren" type="PyObject" overloaded="no">
+ <autodoc>GetChildren(self) -> PyObject</autodoc>
+ <docstring>Returns a list of the window's children. NOTE: Currently this is a
+copy of the child window list maintained by the window, so the return
+value of this function is only valid as long as the window's children
+do not change.</docstring>
+ </method>
+ <method name="GetParent" type="Window" overloaded="no">
+ <autodoc>GetParent(self) -> Window</autodoc>
+ <docstring>Returns the parent window of this window, or None if there isn't one.</docstring>
+ </method>
+ <method name="GetGrandParent" type="Window" overloaded="no">
+ <autodoc>GetGrandParent(self) -> Window</autodoc>
+ <docstring>Returns the parent of the parent of this window, or None if there
+isn't one.</docstring>
+ </method>
+ <method name="IsTopLevel" type="bool" overloaded="no">
+ <autodoc>IsTopLevel(self) -> bool</autodoc>
+ <docstring>Returns true if the given window is a top-level one. Currently all
+frames and dialogs are always considered to be top-level windows (even
+if they have a parent window).</docstring>
+ </method>
+ <method name="Reparent" type="bool" overloaded="no">
+ <autodoc>Reparent(self, Window newParent) -> bool</autodoc>
+ <docstring>Reparents the window, i.e the window will be removed from its current
+parent window (e.g. a non-standard toolbar in a wxFrame) and then
+re-inserted into another. Available on Windows and GTK. Returns True
+if the parent was changed, False otherwise (error or newParent ==
+oldParent)</docstring>
+ <paramlist>
+ <param name="newParent" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddChild" type="" overloaded="no">
+ <autodoc>AddChild(self, Window child)</autodoc>
+ <docstring>Adds a child window. This is called automatically by window creation
+functions so should not be required by the application programmer.</docstring>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveChild" type="" overloaded="no">
+ <autodoc>RemoveChild(self, Window child)</autodoc>
+ <docstring>Removes a child window. This is called automatically by window
+deletion functions so should not be required by the application
+programmer.</docstring>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindWindowById" type="Window" overloaded="no">
+ <autodoc>FindWindowById(self, long winid) -> Window</autodoc>
+ <docstring>Find a chld of this window by window ID</docstring>
+ <paramlist>
+ <param name="winid" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindWindowByName" type="Window" overloaded="no">
+ <autodoc>FindWindowByName(self, String name) -> Window</autodoc>
+ <docstring>Find a child of this window by name</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEventHandler" type="EvtHandler" overloaded="no">
+ <autodoc>GetEventHandler(self) -> EvtHandler</autodoc>
+ <docstring>Returns the event handler for this window. By default, the window is
+its own event handler.</docstring>
+ </method>
+ <method name="SetEventHandler" type="" overloaded="no">
+ <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc>
+ <docstring>Sets the event handler for this window. An event handler is an object
+that is capable of processing the events sent to a window. By default,
+the window is its own event handler, but an application may wish to
+substitute another, for example to allow central implementation of
+event-handling for a variety of different window classes.
+
+It is usually better to use `wx.Window.PushEventHandler` since this sets
+up a chain of event handlers, where an event not handled by one event
+handler is handed to the next one in the chain.</docstring>
+ <paramlist>
+ <param name="handler" type="EvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="PushEventHandler" type="" overloaded="no">
+ <autodoc>PushEventHandler(self, EvtHandler handler)</autodoc>
+ <docstring>Pushes this event handler onto the event handler stack for the window.
+An event handler is an object that is capable of processing the events
+sent to a window. By default, the window is its own event handler, but
+an application may wish to substitute another, for example to allow
+central implementation of event-handling for a variety of different
+window classes.
+
+wx.Window.PushEventHandler allows an application to set up a chain of
+event handlers, where an event not handled by one event handler is
+handed to the next one in the chain. Use `wx.Window.PopEventHandler` to
+remove the event handler.</docstring>
+ <paramlist>
+ <param name="handler" type="EvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="PopEventHandler" type="EvtHandler" overloaded="no">
+ <autodoc>PopEventHandler(self, bool deleteHandler=False) -> EvtHandler</autodoc>
+ <docstring>Removes and returns the top-most event handler on the event handler
+stack. If deleteHandler is True then the wx.EvtHandler object will be
+destroyed after it is popped.</docstring>
+ <paramlist>
+ <param name="deleteHandler" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="RemoveEventHandler" type="bool" overloaded="no">
+ <autodoc>RemoveEventHandler(self, EvtHandler handler) -> bool</autodoc>
+ <docstring>Find the given handler in the event handler chain and remove (but not
+delete) it from the event handler chain, return True if it was found
+and False otherwise (this also results in an assert failure so this
+function should only be called when the handler is supposed to be
+there.)</docstring>
+ <paramlist>
+ <param name="handler" type="EvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValidator" type="" overloaded="no">
+ <autodoc>SetValidator(self, Validator validator)</autodoc>
+ <docstring>Deletes the current validator (if any) and sets the window validator,
+having called wx.Validator.Clone to create a new validator of this
+type.</docstring>
+ <paramlist>
+ <param name="validator" type="wxValidator" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValidator" type="wxValidator" overloaded="no">
+ <autodoc>GetValidator(self) -> Validator</autodoc>
+ <docstring>Returns a pointer to the current validator for the window, or None if
+there is none.</docstring>
+ </method>
+ <method name="Validate" type="bool" overloaded="no">
+ <autodoc>Validate(self) -> bool</autodoc>
+ <docstring>Validates the current values of the child controls using their
+validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
+style flag set, the method will also call Validate() of all child
+windows. Returns false if any of the validations failed.</docstring>
+ </method>
+ <method name="TransferDataToWindow" type="bool" overloaded="no">
+ <autodoc>TransferDataToWindow(self) -> bool</autodoc>
+ <docstring>Transfers values to child controls from data areas specified by their
+validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
+style flag set, the method will also call TransferDataToWindow() of
+all child windows.</docstring>
+ </method>
+ <method name="TransferDataFromWindow" type="bool" overloaded="no">
+ <autodoc>TransferDataFromWindow(self) -> bool</autodoc>
+ <docstring>Transfers values from child controls to data areas specified by their
+validators. Returns false if a transfer failed. If the window has
+wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
+also call TransferDataFromWindow() of all child windows.</docstring>
+ </method>
+ <method name="InitDialog" type="" overloaded="no">
+ <autodoc>InitDialog(self)</autodoc>
+ <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
+to the dialog via validators.</docstring>
+ </method>
+ <method name="SetAcceleratorTable" type="" overloaded="no">
+ <autodoc>SetAcceleratorTable(self, AcceleratorTable accel)</autodoc>
+ <docstring>Sets the accelerator table for this window.</docstring>
+ <paramlist>
+ <param name="accel" type="AcceleratorTable" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAcceleratorTable" type="AcceleratorTable" overloaded="no">
+ <autodoc>GetAcceleratorTable(self) -> AcceleratorTable</autodoc>
+ <docstring>Gets the accelerator table for this window.</docstring>
+ </method>
+ <method name="RegisterHotKey" type="bool" overloaded="no">
+ <autodoc>RegisterHotKey(self, int hotkeyId, int modifiers, int keycode) -> bool</autodoc>
+ <docstring>Registers a system wide hotkey. Every time the user presses the hotkey
+registered here, this window will receive a hotkey event. It will
+receive the event even if the application is in the background and
+does not have the input focus because the user is working with some
+other application. To bind an event handler function to this hotkey
+use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the
+hotkey was registered successfully.</docstring>
+ <paramlist>
+ <param name="hotkeyId" type="int" default=""/>
+ <param name="modifiers" type="int" default=""/>
+ <param name="keycode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="UnregisterHotKey" type="bool" overloaded="no">
+ <autodoc>UnregisterHotKey(self, int hotkeyId) -> bool</autodoc>
+ <docstring>Unregisters a system wide hotkey.</docstring>
+ <paramlist>
+ <param name="hotkeyId" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ConvertDialogPointToPixels" type="Point" overloaded="no">
+ <autodoc>ConvertDialogPointToPixels(self, Point pt) -> Point</autodoc>
+ <docstring>Converts a point or size from dialog units to pixels. Dialog units
+are used for maintaining a dialog's proportions even if the font
+changes. For the x dimension, the dialog units are multiplied by the
+average character width and then divided by 4. For the y dimension,
+the dialog units are multiplied by the average character height and
+then divided by 8.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="ConvertDialogSizeToPixels" type="Size" overloaded="no">
+ <autodoc>ConvertDialogSizeToPixels(self, Size sz) -> Size</autodoc>
+ <docstring>Converts a point or size from dialog units to pixels. Dialog units
+are used for maintaining a dialog's proportions even if the font
+changes. For the x dimension, the dialog units are multiplied by the
+average character width and then divided by 4. For the y dimension,
+the dialog units are multiplied by the average character height and
+then divided by 8.</docstring>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="DLG_PNT" type="Point" overloaded="no">
+ <autodoc>DLG_PNT(self, Point pt) -> Point</autodoc>
+ <docstring>Converts a point or size from dialog units to pixels. Dialog units
+are used for maintaining a dialog's proportions even if the font
+changes. For the x dimension, the dialog units are multiplied by the
+average character width and then divided by 4. For the y dimension,
+the dialog units are multiplied by the average character height and
+then divided by 8.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DLG_SZE" type="Size" overloaded="no">
+ <autodoc>DLG_SZE(self, Size sz) -> Size</autodoc>
+ <docstring>Converts a point or size from dialog units to pixels. Dialog units
+are used for maintaining a dialog's proportions even if the font
+changes. For the x dimension, the dialog units are multiplied by the
+average character width and then divided by 4. For the y dimension,
+the dialog units are multiplied by the average character height and
+then divided by 8.</docstring>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="ConvertPixelPointToDialog" type="Point" overloaded="no">
+ <autodoc>ConvertPixelPointToDialog(self, Point pt) -> Point</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="ConvertPixelSizeToDialog" type="Size" overloaded="no">
+ <autodoc>ConvertPixelSizeToDialog(self, Size sz) -> Size</autodoc>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="WarpPointer" type="" overloaded="no">
+ <autodoc>WarpPointer(self, int x, int y)</autodoc>
+ <docstring>Moves the pointer to the given position on the window.
+
+NOTE: This function is not supported under Mac because Apple Human
+Interface Guidelines forbid moving the mouse cursor programmatically.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CaptureMouse" type="" overloaded="no">
+ <autodoc>CaptureMouse(self)</autodoc>
+ <docstring>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to
+release the capture.
+
+Note that wxWindows maintains the stack of windows having captured the
+mouse and when the mouse is released the capture returns to the window
+which had had captured it previously and it is only really released if
+there were no previous window. In particular, this means that you must
+release the mouse as many times as you capture it.</docstring>
+ </method>
+ <method name="ReleaseMouse" type="" overloaded="no">
+ <autodoc>ReleaseMouse(self)</autodoc>
+ <docstring>Releases mouse input captured with wx.Window.CaptureMouse.</docstring>
+ </method>
+ <staticmethod name="GetCapture" type="Window" overloaded="no">
+ <autodoc>GetCapture() -> Window</autodoc>
+ <docstring>Returns the window which currently captures the mouse or None</docstring>
+ </staticmethod>
+ <method name="HasCapture" type="bool" overloaded="no">
+ <autodoc>HasCapture(self) -> bool</autodoc>
+ <docstring>Returns true if this window has the current mouse capture.</docstring>
+ </method>
+ <method name="Refresh" type="" overloaded="no">
+ <autodoc>Refresh(self, bool eraseBackground=True, Rect rect=None)</autodoc>
+ <docstring>Mark the specified rectangle (or the whole window) as "dirty" so it
+will be repainted. Causes an EVT_PAINT event to be generated and sent
+to the window.</docstring>
+ <paramlist>
+ <param name="eraseBackground" type="bool" default="True"/>
+ <param name="rect" type="Rect" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="RefreshRect" type="" overloaded="no">
+ <autodoc>RefreshRect(self, Rect rect)</autodoc>
+ <docstring>Redraws the contents of the given rectangle: the area inside it will
+be repainted. This is the same as Refresh but has a nicer syntax.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="Update" type="" overloaded="no">
+ <autodoc>Update(self)</autodoc>
+ <docstring>Calling this method immediately repaints the invalidated area of the
+window instead of waiting for the EVT_PAINT event to happen, (normally
+this would usually only happen when the flow of control returns to the
+event loop.) Notice that this function doesn't refresh the window and
+does nothing if the window has been already repainted. Use Refresh
+first if you want to immediately redraw the window (or some portion of
+it) unconditionally.</docstring>
+ </method>
+ <method name="ClearBackground" type="" overloaded="no">
+ <autodoc>ClearBackground(self)</autodoc>
+ <docstring>Clears the window by filling it with the current background
+colour. Does not cause an erase background event to be generated.</docstring>
+ </method>
+ <method name="Freeze" type="" overloaded="no">
+ <autodoc>Freeze(self)</autodoc>
+ <docstring>Freezes the window or, in other words, prevents any updates from
+taking place on screen, the window is not redrawn at all. Thaw must be
+called to reenable window redrawing. Calls to Freeze/Thaw may be
+nested, with the actual Thaw being delayed until all the nesting has
+been undone.
+
+This method is useful for visual appearance optimization (for example,
+it is a good idea to use it before inserting large amount of text into
+a wxTextCtrl under wxGTK) but is not implemented on all platforms nor
+for all controls so it is mostly just a hint to wxWindows and not a
+mandatory directive.</docstring>
+ </method>
+ <method name="Thaw" type="" overloaded="no">
+ <autodoc>Thaw(self)</autodoc>
+ <docstring>Reenables window updating after a previous call to Freeze. Calls to
+Freeze/Thaw may be nested, so Thaw must be called the same number of
+times that Freeze was before the window will be updated.</docstring>
+ </method>
+ <method name="PrepareDC" type="" overloaded="no">
+ <autodoc>PrepareDC(self, DC dc)</autodoc>
+ <docstring>Call this function to prepare the device context for drawing a
+scrolled image. It sets the device origin according to the current
+scroll position.</docstring>
+ <paramlist>
+ <param name="dc" type="wxDC" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUpdateRegion" type="wxRegion" overloaded="no">
+ <autodoc>GetUpdateRegion(self) -> Region</autodoc>
+ <docstring>Returns the region specifying which parts of the window have been
+damaged. Should only be called within an EVT_PAINT handler.</docstring>
+ </method>
+ <method name="GetUpdateClientRect" type="Rect" overloaded="no">
+ <autodoc>GetUpdateClientRect(self) -> Rect</autodoc>
+ <docstring>Get the update rectangle region bounding box in client coords.</docstring>
+ </method>
+ <method name="IsExposed" type="bool" overloaded="no">
+ <autodoc>IsExposed(self, int x, int y, int w=1, int h=1) -> bool</autodoc>
+ <docstring>Returns true if the given point or rectangle area has been exposed
+since the last repaint. Call this in an paint event handler to
+optimize redrawing by only redrawing those areas, which have been
+exposed.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="w" type="int" default="1"/>
+ <param name="h" type="int" default="1"/>
+ </paramlist>
+ </method>
+ <method name="IsExposedPoint" type="bool" overloaded="no">
+ <autodoc>IsExposedPoint(self, Point pt) -> bool</autodoc>
+ <docstring>Returns true if the given point or rectangle area has been exposed
+since the last repaint. Call this in an paint event handler to
+optimize redrawing by only redrawing those areas, which have been
+exposed.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsExposedRect" type="bool" overloaded="no">
+ <autodoc>IsExposedRect(self, Rect rect) -> bool</autodoc>
+ <docstring>Returns true if the given point or rectangle area has been exposed
+since the last repaint. Call this in an paint event handler to
+optimize redrawing by only redrawing those areas, which have been
+exposed.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetDefaultAttributes(self) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for an instance of this class. This is
+useful if you want to use the same font or colour in your own control
+as in a standard control -- which is a much better idea than hard
+coding specific colours or fonts which might look completely out of
+place on the user's system, especially if it uses themes.</docstring>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ <method name="SetBackgroundColour" type="bool" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour colour) -> bool</autodoc>
+ <docstring>Sets the background colour of the window. Returns True if the colour
+was changed. The background colour is usually painted by the default
+EVT_ERASE_BACKGROUND event handler function under Windows and
+automatically under GTK. Using `wx.NullColour` will reset the window
+to the default background colour.
+
+Note that setting the background colour may not cause an immediate
+refresh, so you may wish to call `ClearBackground` or `Refresh` after
+calling this function.
+
+Using this function will disable attempts to use themes for this
+window, if the system supports them. Use with care since usually the
+themes represent the appearance chosen by the user to be used for all
+applications on the system.</docstring>
+ <paramlist>
+ <param name="colour" type="wxColour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOwnBackgroundColour" type="" overloaded="no">
+ <autodoc>SetOwnBackgroundColour(self, Colour colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="wxColour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetForegroundColour" type="bool" overloaded="no">
+ <autodoc>SetForegroundColour(self, Colour colour) -> bool</autodoc>
+ <docstring>Sets the foreground colour of the window. Returns True is the colour
+was changed. The interpretation of foreground colour is dependent on
+the window class; it may be the text colour or other colour, or it may
+not be used at all.</docstring>
+ <paramlist>
+ <param name="colour" type="wxColour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOwnForegroundColour" type="" overloaded="no">
+ <autodoc>SetOwnForegroundColour(self, Colour colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="wxColour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBackgroundColour" type="wxColour" overloaded="no">
+ <autodoc>GetBackgroundColour(self) -> Colour</autodoc>
+ <docstring>Returns the background colour of the window.</docstring>
+ </method>
+ <method name="GetForegroundColour" type="wxColour" overloaded="no">
+ <autodoc>GetForegroundColour(self) -> Colour</autodoc>
+ <docstring>Returns the foreground colour of the window. The interpretation of
+foreground colour is dependent on the window class; it may be the text
+colour or other colour, or it may not be used at all.</docstring>
+ </method>
+ <method name="SetBackgroundStyle" type="bool" overloaded="no">
+ <autodoc>SetBackgroundStyle(self, int style) -> bool</autodoc>
+ <docstring>Returns the background style of the window. The background style
+indicates how the background of the window is drawn.
+
+ ====================== ========================================
+ wx.BG_STYLE_SYSTEM The background colour or pattern should
+ be determined by the system
+ wx.BG_STYLE_COLOUR The background should be a solid colour
+ wx.BG_STYLE_CUSTOM The background will be implemented by the
+ application.
+ ====================== ========================================
+
+On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of
+a custom background, such as a tiled bitmap. Currently the style has
+no effect on other platforms.
+
+:see: `GetBackgroundStyle`, `SetBackgroundColour`</docstring>
+ <paramlist>
+ <param name="style" type="wxBackgroundStyle" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBackgroundStyle" type="wxBackgroundStyle" overloaded="no">
+ <autodoc>GetBackgroundStyle(self) -> int</autodoc>
+ <docstring>Returns the background style of the window.
+
+:see: `SetBackgroundStyle`</docstring>
+ </method>
+ <method name="SetCursor" type="bool" overloaded="no">
+ <autodoc>SetCursor(self, Cursor cursor) -> bool</autodoc>
+ <docstring>Sets the window's cursor. Notice that the window cursor also sets it
+for the children of the window implicitly.
+
+The cursor may be wx.NullCursor in which case the window cursor will
+be reset back to default.</docstring>
+ <paramlist>
+ <param name="cursor" type="wxCursor" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCursor" type="wxCursor" overloaded="no">
+ <autodoc>GetCursor(self) -> Cursor</autodoc>
+ <docstring>Return the cursor associated with this window.</docstring>
+ </method>
+ <method name="SetFont" type="bool" overloaded="no">
+ <autodoc>SetFont(self, Font font) -> bool</autodoc>
+ <docstring>Sets the font for this window.</docstring>
+ <paramlist>
+ <param name="font" type="wxFont" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOwnFont" type="" overloaded="no">
+ <autodoc>SetOwnFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="wxFont" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFont" type="wxFont" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ <docstring>Returns the default font used for this window.</docstring>
+ </method>
+ <method name="SetCaret" type="" overloaded="no">
+ <autodoc>SetCaret(self, Caret caret)</autodoc>
+ <docstring>Sets the caret associated with the window.</docstring>
+ <paramlist>
+ <param name="caret" type="wxCaret" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCaret" type="wxCaret" overloaded="no">
+ <autodoc>GetCaret(self) -> Caret</autodoc>
+ <docstring>Returns the caret associated with the window.</docstring>
+ </method>
+ <method name="GetCharHeight" type="int" overloaded="no">
+ <autodoc>GetCharHeight(self) -> int</autodoc>
+ <docstring>Get the (average) character size for the current font.</docstring>
+ </method>
+ <method name="GetCharWidth" type="int" overloaded="no">
+ <autodoc>GetCharWidth(self) -> int</autodoc>
+ <docstring>Get the (average) character size for the current font.</docstring>
+ </method>
+ <method name="GetTextExtent" type="" overloaded="no">
+ <autodoc>GetTextExtent(String string) -> (width, height)</autodoc>
+ <docstring>Get the width and height of the text using the current font.</docstring>
+ <paramlist>
+ <param name="string" type="String" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFullTextExtent" type="" overloaded="no">
+ <autodoc>GetFullTextExtent(String string, Font font=None) ->
+ (width, height, descent, externalLeading)</autodoc>
+ <docstring>Get the width, height, decent and leading of the text using the
+current or specified font.</docstring>
+ <paramlist>
+ <param name="string" type="String" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="font" type="wxFont" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="ClientToScreenXY" type="" overloaded="no">
+ <autodoc>ClientToScreenXY(int x, int y) -> (x,y)</autodoc>
+ <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScreenToClientXY" type="" overloaded="no">
+ <autodoc>ScreenToClientXY(int x, int y) -> (x,y)</autodoc>
+ <docstring>Converts from screen to client window coordinates.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClientToScreen" type="Point" overloaded="no">
+ <autodoc>ClientToScreen(self, Point pt) -> Point</autodoc>
+ <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScreenToClient" type="Point" overloaded="no">
+ <autodoc>ScreenToClient(self, Point pt) -> Point</autodoc>
+ <docstring>Converts from screen to client window coordinates.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTestXY" type="wxHitTest" overloaded="no">
+ <autodoc>HitTestXY(self, int x, int y) -> int</autodoc>
+ <docstring>Test where the given (in client coords) point lies</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="wxHitTest" overloaded="no">
+ <autodoc>HitTest(self, Point pt) -> int</autodoc>
+ <docstring>Test where the given (in client coords) point lies</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBorder" type="wxBorder" overloaded="yes">
+ <docstring>Get the window border style from the given flags: this is different
+from simply doing flags & wxBORDER_MASK because it uses
+GetDefaultBorder() to translate wxBORDER_DEFAULT to something
+reasonable.
+</docstring>
+ <paramlist>
+ <param name="flags" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBorder" type="wxBorder" overloaded="yes">
+ <autodoc>GetBorder(self, long flags) -> int
+GetBorder(self) -> int</autodoc>
+ <docstring>Get border for the flags of this window</docstring>
+ </method>
+ <method name="UpdateWindowUI" type="" overloaded="no">
+ <autodoc>UpdateWindowUI(self, long flags=UPDATE_UI_NONE)</autodoc>
+ <docstring>This function sends EVT_UPDATE_UI events to the window. The particular
+implementation depends on the window; for example a wx.ToolBar will
+send an update UI event for each toolbar button, and a wx.Frame will
+send an update UI event for each menubar menu item. You can call this
+function from your application to ensure that your UI is up-to-date at
+a particular point in time (as far as your EVT_UPDATE_UI handlers are
+concerned). This may be necessary if you have called
+wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to
+limit the overhead that wxWindows incurs by sending update UI events
+in idle time.
+The flags should be a bitlist of one or more of the following values:
+
+ ===================== ==============================
+ wx.UPDATE_UI_NONE No particular value
+ wx.UPDATE_UI_RECURSE Call the function for descendants
+ wx.UPDATE_UI_FROMIDLE Invoked from OnIdle
+ ===================== ==============================
+
+If you are calling this function from an OnIdle function, make sure
+you pass the wx.UPDATE_UI_FROMIDLE flag, since this tells the window
+to only update the UI elements that need to be updated in idle
+time. Some windows update their elements only when necessary, for
+example when a menu is about to be shown. The following is an example
+of how to call UpdateWindowUI from an idle function::
+
+ def OnIdle(self, evt):
+ if wx.UpdateUIEvent.CanUpdate(self):
+ self.UpdateWindowUI(wx.UPDATE_UI_FROMIDLE);
+</docstring>
+ <paramlist>
+ <param name="flags" type="long" default="wxUPDATE_UI_NONE"/>
+ </paramlist>
+ </method>
+ <method name="PopupMenuXY" type="bool" overloaded="no">
+ <autodoc>PopupMenuXY(self, Menu menu, int x=-1, int y=-1) -> bool</autodoc>
+ <docstring>Pops up the given menu at the specified coordinates, relative to this window,
+and returns control when the user has dismissed the menu. If a menu item is
+selected, the corresponding menu event is generated and will be processed as
+usual. If the default position is given then the current position of the
+mouse cursor will be used.</docstring>
+ <paramlist>
+ <param name="menu" type="wxMenu" default=""/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="PopupMenu" type="bool" overloaded="no">
+ <autodoc>PopupMenu(self, Menu menu, Point pos=DefaultPosition) -> bool</autodoc>
+ <docstring>Pops up the given menu at the specified coordinates, relative to this window,
+and returns control when the user has dismissed the menu. If a menu item is
+selected, the corresponding menu event is generated and will be processed as
+usual. If the default position is given then the current position of the
+mouse cursor will be used.</docstring>
+ <paramlist>
+ <param name="menu" type="wxMenu" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </method>
+ <method name="GetHandle" type="long" overloaded="no">
+ <autodoc>GetHandle(self) -> long</autodoc>
+ <docstring>Returns the platform-specific handle (as a long integer) of the
+physical window. Currently on wxMac it returns the handle of the
+toplevel parent of the window.</docstring>
+ </method>
+ <method name="HasScrollbar" type="bool" overloaded="no">
+ <autodoc>HasScrollbar(self, int orient) -> bool</autodoc>
+ <docstring>Does the window have the scrollbar for this orientation?</docstring>
+ <paramlist>
+ <param name="orient" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetScrollbar" type="" overloaded="no">
+ <autodoc>SetScrollbar(self, int orientation, int position, int thumbSize, int range,
+ bool refresh=True)</autodoc>
+ <docstring>Sets the scrollbar properties of a built-in scrollbar.
+ :param orientation: Determines the scrollbar whose page size is to
+ be set. May be wx.HORIZONTAL or wx.VERTICAL.
+
+ :param position: The position of the scrollbar in scroll units.
+
+ :param thumbSize: The size of the thumb, or visible portion of the
+ scrollbar, in scroll units.
+
+ :param range: The maximum position of the scrollbar.
+
+ :param refresh: True to redraw the scrollbar, false otherwise.
+</docstring>
+ <paramlist>
+ <param name="orientation" type="int" default=""/>
+ <param name="position" type="int" default=""/>
+ <param name="thumbSize" type="int" default=""/>
+ <param name="range" type="int" default=""/>
+ <param name="refresh" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetScrollPos" type="" overloaded="no">
+ <autodoc>SetScrollPos(self, int orientation, int pos, bool refresh=True)</autodoc>
+ <docstring>Sets the position of one of the built-in scrollbars.</docstring>
+ <paramlist>
+ <param name="orientation" type="int" default=""/>
+ <param name="pos" type="int" default=""/>
+ <param name="refresh" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetScrollPos" type="int" overloaded="no">
+ <autodoc>GetScrollPos(self, int orientation) -> int</autodoc>
+ <docstring>Returns the built-in scrollbar position.</docstring>
+ <paramlist>
+ <param name="orientation" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetScrollThumb" type="int" overloaded="no">
+ <autodoc>GetScrollThumb(self, int orientation) -> int</autodoc>
+ <docstring>Returns the built-in scrollbar thumb size.</docstring>
+ <paramlist>
+ <param name="orientation" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetScrollRange" type="int" overloaded="no">
+ <autodoc>GetScrollRange(self, int orientation) -> int</autodoc>
+ <docstring>Returns the built-in scrollbar range.</docstring>
+ <paramlist>
+ <param name="orientation" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollWindow" type="" overloaded="no">
+ <autodoc>ScrollWindow(self, int dx, int dy, Rect rect=None)</autodoc>
+ <docstring>Physically scrolls the pixels in the window and move child windows
+accordingly. Use this function to optimise your scrolling
+implementations, to minimise the area that must be redrawn. Note that
+it is rarely required to call this function from a user program.
+ :param dx: Amount to scroll horizontally.
+
+ :param dy: Amount to scroll vertically.
+
+ :param rect: Rectangle to invalidate. If this is None, the whole
+ window is invalidated. If you pass a rectangle corresponding
+ to the area of the window exposed by the scroll, your
+ painting handler can optimize painting by checking for the
+ invalidated region.</docstring>
+ <paramlist>
+ <param name="dx" type="int" default=""/>
+ <param name="dy" type="int" default=""/>
+ <param name="rect" type="Rect" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="ScrollLines" type="bool" overloaded="no">
+ <autodoc>ScrollLines(self, int lines) -> bool</autodoc>
+ <docstring>If the platform and window class supports it, scrolls the window by
+the given number of lines down, if lines is positive, or up if lines
+is negative. Returns True if the window was scrolled, False if it was
+already on top/bottom and nothing was done.</docstring>
+ <paramlist>
+ <param name="lines" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollPages" type="bool" overloaded="no">
+ <autodoc>ScrollPages(self, int pages) -> bool</autodoc>
+ <docstring>If the platform and window class supports it, scrolls the window by
+the given number of pages down, if pages is positive, or up if pages
+is negative. Returns True if the window was scrolled, False if it was
+already on top/bottom and nothing was done.</docstring>
+ <paramlist>
+ <param name="pages" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LineUp" type="bool" overloaded="no">
+ <autodoc>LineUp(self) -> bool</autodoc>
+ <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
+ </method>
+ <method name="LineDown" type="bool" overloaded="no">
+ <autodoc>LineDown(self) -> bool</autodoc>
+ <docstring>This is just a wrapper for ScrollLines(1).</docstring>
+ </method>
+ <method name="PageUp" type="bool" overloaded="no">
+ <autodoc>PageUp(self) -> bool</autodoc>
+ <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
+ </method>
+ <method name="PageDown" type="bool" overloaded="no">
+ <autodoc>PageDown(self) -> bool</autodoc>
+ <docstring>This is just a wrapper for ScrollPages(1).</docstring>
+ </method>
+ <method name="SetHelpText" type="" overloaded="no">
+ <autodoc>SetHelpText(self, String text)</autodoc>
+ <docstring>Sets the help text to be used as context-sensitive help for this
+window. Note that the text is actually stored by the current
+wxHelpProvider implementation, and not in the window object itself.</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHelpTextForId" type="" overloaded="no">
+ <autodoc>SetHelpTextForId(self, String text)</autodoc>
+ <docstring>Associate this help text with all windows with the same id as this
+one.</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHelpText" type="String" overloaded="no">
+ <autodoc>GetHelpText(self) -> String</autodoc>
+ <docstring>Gets the help text to be used as context-sensitive help for this
+window. Note that the text is actually stored by the current
+wxHelpProvider implementation, and not in the window object itself.</docstring>
+ </method>
+ <method name="SetToolTipString" type="" overloaded="no">
+ <autodoc>SetToolTipString(self, String tip)</autodoc>
+ <docstring>Attach a tooltip to the window.</docstring>
+ <paramlist>
+ <param name="tip" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToolTip" type="" overloaded="no">
+ <autodoc>SetToolTip(self, ToolTip tip)</autodoc>
+ <docstring>Attach a tooltip to the window.</docstring>
+ <paramlist>
+ <param name="tip" type="wxToolTip" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolTip" type="wxToolTip" overloaded="no">
+ <autodoc>GetToolTip(self) -> ToolTip</autodoc>
+ <docstring>get the associated tooltip or None if none</docstring>
+ </method>
+ <method name="SetDropTarget" type="" overloaded="no">
+ <autodoc>SetDropTarget(self, DropTarget dropTarget)</autodoc>
+ <docstring>Associates a drop target with this window. If the window already has
+a drop target, it is deleted.</docstring>
+ <paramlist>
+ <param name="dropTarget" type="wxPyDropTarget" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no">
+ <autodoc>GetDropTarget(self) -> DropTarget</autodoc>
+ <docstring>Returns the associated drop target, which may be None.</docstring>
+ </method>
+ <method name="SetConstraints" type="" overloaded="no">
+ <autodoc>SetConstraints(self, LayoutConstraints constraints)</autodoc>
+ <docstring>Sets the window to have the given layout constraints. If an existing
+layout constraints object is already owned by the window, it will be
+deleted. Pass None to disassociate and delete the window's current
+constraints.
+
+You must call SetAutoLayout to tell a window to use the constraints
+automatically in its default EVT_SIZE handler; otherwise, you must
+handle EVT_SIZE yourself and call Layout() explicitly. When setting
+both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have
+effect.</docstring>
+ <paramlist>
+ <param name="constraints" type="wxLayoutConstraints" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no">
+ <autodoc>GetConstraints(self) -> LayoutConstraints</autodoc>
+ <docstring>Returns a pointer to the window's layout constraints, or None if there
+are none.</docstring>
+ </method>
+ <method name="SetAutoLayout" type="" overloaded="no">
+ <autodoc>SetAutoLayout(self, bool autoLayout)</autodoc>
+ <docstring>Determines whether the Layout function will be called automatically
+when the window is resized. It is called implicitly by SetSizer but
+if you use SetConstraints you should call it manually or otherwise the
+window layout won't be correctly updated when its size changes.</docstring>
+ <paramlist>
+ <param name="autoLayout" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAutoLayout" type="bool" overloaded="no">
+ <autodoc>GetAutoLayout(self) -> bool</autodoc>
+ <docstring>Returns the current autoLayout setting</docstring>
+ </method>
+ <method name="Layout" type="bool" overloaded="no">
+ <autodoc>Layout(self) -> bool</autodoc>
+ <docstring>Invokes the constraint-based layout algorithm or the sizer-based
+algorithm for this window. See SetAutoLayout: when auto layout is on,
+this function gets called automatically by the default EVT_SIZE
+handler when the window is resized.</docstring>
+ </method>
+ <method name="SetSizer" type="" overloaded="no">
+ <autodoc>SetSizer(self, Sizer sizer, bool deleteOld=True)</autodoc>
+ <docstring>Sets the window to have the given layout sizer. The window will then
+own the object, and will take care of its deletion. If an existing
+layout sizer object is already owned by the window, it will be deleted
+if the deleteOld parameter is true. Note that this function will also
+call SetAutoLayout implicitly with a True parameter if the sizer is
+non-NoneL and False otherwise.</docstring>
+ <paramlist>
+ <param name="sizer" type="wxSizer" default=""/>
+ <param name="deleteOld" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetSizerAndFit" type="" overloaded="no">
+ <autodoc>SetSizerAndFit(self, Sizer sizer, bool deleteOld=True)</autodoc>
+ <docstring>The same as SetSizer, except it also sets the size hints for the
+window based on the sizer's minimum size.</docstring>
+ <paramlist>
+ <param name="sizer" type="wxSizer" default=""/>
+ <param name="deleteOld" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetSizer" type="wxSizer" overloaded="no">
+ <autodoc>GetSizer(self) -> Sizer</autodoc>
+ <docstring>Return the sizer associated with the window by a previous call to
+SetSizer or None if there isn't one.</docstring>
+ </method>
+ <method name="SetContainingSizer" type="" overloaded="no">
+ <autodoc>SetContainingSizer(self, Sizer sizer)</autodoc>
+ <docstring>This normally does not need to be called by application code. It is
+called internally when a window is added to a sizer, and is used so
+the window can remove itself from the sizer when it is destroyed.</docstring>
+ <paramlist>
+ <param name="sizer" type="wxSizer" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetContainingSizer" type="wxSizer" overloaded="no">
+ <autodoc>GetContainingSizer(self) -> Sizer</autodoc>
+ <docstring>Return the sizer that this window is a member of, if any, otherwise None.</docstring>
+ </method>
+ <method name="InheritAttributes" type="" overloaded="no">
+ <autodoc>InheritAttributes(self)</autodoc>
+ <docstring>This function is (or should be, in case of custom controls) called
+during window creation to intelligently set up the window visual
+attributes, that is the font and the foreground and background
+colours.
+
+By 'intelligently' the following is meant: by default, all windows use
+their own default attributes. However if some of the parent's
+attributes are explicitly changed (that is, using SetFont and not
+SetOwnFont) and if the corresponding attribute hadn't been
+explicitly set for this window itself, then this window takes the same
+value as used by the parent. In addition, if the window overrides
+ShouldInheritColours to return false, the colours will not be changed
+no matter what and only the font might.
+
+This rather complicated logic is necessary in order to accommodate the
+different usage scenarius. The most common one is when all default
+attributes are used and in this case, nothing should be inherited as
+in modern GUIs different controls use different fonts (and colours)
+than their siblings so they can't inherit the same value from the
+parent. However it was also deemed desirable to allow to simply change
+the attributes of all children at once by just changing the font or
+colour of their common parent, hence in this case we do inherit the
+parents attributes.
+</docstring>
+ </method>
+ <method name="ShouldInheritColours" type="bool" overloaded="no">
+ <autodoc>ShouldInheritColours(self) -> bool</autodoc>
+ <docstring>Return true from here to allow the colours of this window to be
+changed by InheritAttributes, returning false forbids inheriting them
+from the parent window.
+
+The base class version returns false, but this method is overridden in
+wxControl where it returns true.</docstring>
+ </method>
+ </class>
+ <pythoncode>
+def DLG_PNT(win, point_or_x, y=None):
+ """
+ Convenience function for converting a Point or (x,y) in
+ dialog units to pixel units.
+ """
+ if y is None:
+ return win.ConvertDialogPointToPixels(point_or_x)
+ else:
+ return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y))
+
+def DLG_SZE(win, size_width, height=None):
+ """
+ Convenience function for converting a Size or (w,h) in
+ dialog units to pixel units.
+ """
+ if height is None:
+ return win.ConvertDialogSizeToPixels(size_width)
+ else:
+ return win.ConvertDialogSizeToPixels(wx.Size(size_width, height))
+</pythoncode>
+ <method name="FindWindowById" oldname="wxFindWindowById" type="Window" overloaded="no">
+ <autodoc>FindWindowById(long id, Window parent=None) -> Window</autodoc>
+ <docstring>Find the first window in the application with the given id. If parent
+is None, the search will start from all top-level frames and dialog
+boxes; if non-None, the search will be limited to the given window
+hierarchy. The search is recursive in both cases.</docstring>
<paramlist>
- <param name="minW" type="int" default=""/>
- <param name="minH" type="int" default=""/>
- <param name="maxW" type="int" default="-1"/>
- <param name="maxH" type="int" default="-1"/>
- <param name="incW" type="int" default="-1"/>
- <param name="incH" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="SetVirtualSizeHints" type="void" overloaded="no">
- <autodoc>SetVirtualSizeHints(int minW, int minH, int maxW=-1, int maxH=-1)</autodoc>
- <paramlist>
- <param name="minW" type="int" default=""/>
- <param name="minH" type="int" default=""/>
- <param name="maxW" type="int" default="-1"/>
- <param name="maxH" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="GetMinWidth" type="int" overloaded="no">
- <autodoc>GetMinWidth() -> int</autodoc>
- </method>
- <method name="GetMinHeight" type="int" overloaded="no">
- <autodoc>GetMinHeight() -> int</autodoc>
- </method>
- <method name="GetMaxWidth" type="int" overloaded="no">
- <autodoc>GetMaxWidth() -> int</autodoc>
- </method>
- <method name="GetMaxHeight" type="int" overloaded="no">
- <autodoc>GetMaxHeight() -> int</autodoc>
- </method>
- <method name="GetMaxSize" type="wxSize" overloaded="no">
- <autodoc>GetMaxSize() -> Size</autodoc>
- </method>
- <method name="SetVirtualSize" type="void" overloaded="no">
- <autodoc>SetVirtualSize(Size size)</autodoc>
- <docstring>Set the the virtual size of a window. For most windows this is just the
-client area of the window, but for some like scrolled windows it is more or
-less independent of the screen window size.</docstring>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetVirtualSizeWH" type="void" overloaded="no">
- <autodoc>SetVirtualSizeWH(int w, int h)</autodoc>
- <docstring>Set the the virtual size of a window. For most windows this is just the
-client area of the window, but for some like scrolled windows it is more or
-less independent of the screen window size.</docstring>
- <paramlist>
- <param name="w" type="int" default=""/>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetVirtualSize" type="wxSize" overloaded="no">
- <autodoc>GetVirtualSize() -> Size</autodoc>
- <docstring>Get the the virtual size of the window. For most windows this is just
-the client area of the window, but for some like scrolled windows it is
-more or less independent of the screen window size.</docstring>
- </method>
- <method name="GetVirtualSizeTuple" type="void" overloaded="no">
- <autodoc>GetVirtualSizeTuple() -> (width, height)</autodoc>
- <docstring>Get the the virtual size of the window. For most windows this is just
-the client area of the window, but for some like scrolled windows it is
-more or less independent of the screen window size.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetBestVirtualSize" type="wxSize" overloaded="no">
- <autodoc>GetBestVirtualSize() -> Size</autodoc>
- </method>
- <method name="Show" type="bool" overloaded="no">
- <autodoc>Show(bool show=True) -> bool</autodoc>
- <paramlist>
- <param name="show" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Hide" type="bool" overloaded="no">
- <autodoc>Hide() -> bool</autodoc>
- </method>
- <method name="Enable" type="bool" overloaded="no">
- <autodoc>Enable(bool enable=True) -> bool</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Disable" type="bool" overloaded="no">
- <autodoc>Disable() -> bool</autodoc>
- </method>
- <method name="IsShown" type="bool" overloaded="no">
- <autodoc>IsShown() -> bool</autodoc>
- </method>
- <method name="IsEnabled" type="bool" overloaded="no">
- <autodoc>IsEnabled() -> bool</autodoc>
- </method>
- <method name="SetWindowStyleFlag" type="void" overloaded="no">
- <autodoc>SetWindowStyleFlag(long style)</autodoc>
- <paramlist>
- <param name="style" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetWindowStyleFlag" type="long" overloaded="no">
- <autodoc>GetWindowStyleFlag() -> long</autodoc>
- </method>
- <method name="SetWindowStyle" type="void" overloaded="no">
- <autodoc>SetWindowStyle(long style)</autodoc>
- <paramlist>
- <param name="style" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetWindowStyle" type="long" overloaded="no">
- <autodoc>GetWindowStyle() -> long</autodoc>
- </method>
- <method name="HasFlag" type="bool" overloaded="no">
- <autodoc>HasFlag(int flag) -> bool</autodoc>
- <paramlist>
- <param name="flag" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsRetained" type="bool" overloaded="no">
- <autodoc>IsRetained() -> bool</autodoc>
- </method>
- <method name="SetExtraStyle" type="void" overloaded="no">
- <autodoc>SetExtraStyle(long exStyle)</autodoc>
- <paramlist>
- <param name="exStyle" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetExtraStyle" type="long" overloaded="no">
- <autodoc>GetExtraStyle() -> long</autodoc>
- </method>
- <method name="MakeModal" type="void" overloaded="no">
- <autodoc>MakeModal(bool modal=True)</autodoc>
- <paramlist>
- <param name="modal" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetThemeEnabled" type="void" overloaded="no">
- <autodoc>SetThemeEnabled(bool enableTheme)</autodoc>
- <paramlist>
- <param name="enableTheme" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetThemeEnabled" type="bool" overloaded="no">
- <autodoc>GetThemeEnabled() -> bool</autodoc>
- </method>
- <method name="ShouldInheritColours" type="bool" overloaded="no">
- <autodoc>ShouldInheritColours() -> bool</autodoc>
- </method>
- <method name="SetFocus" type="void" overloaded="no">
- <autodoc>SetFocus()</autodoc>
- </method>
- <method name="SetFocusFromKbd" type="void" overloaded="no">
- <autodoc>SetFocusFromKbd()</autodoc>
- </method>
- <staticmethod name="FindFocus" type="wxWindow" overloaded="no">
- <autodoc>Window.FindFocus() -> Window</autodoc>
- </staticmethod>
- <method name="AcceptsFocus" type="bool" overloaded="no">
- <autodoc>AcceptsFocus() -> bool</autodoc>
- </method>
- <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no">
- <autodoc>AcceptsFocusFromKeyboard() -> bool</autodoc>
- </method>
- <method name="GetDefaultItem" type="wxWindow" overloaded="no">
- <autodoc>GetDefaultItem() -> Window</autodoc>
- </method>
- <method name="SetDefaultItem" type="wxWindow" overloaded="no">
- <autodoc>SetDefaultItem(Window child) -> Window</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="SetTmpDefaultItem" type="void" overloaded="no">
- <autodoc>SetTmpDefaultItem(Window win)</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetChildren" type="PyObject" overloaded="no">
- <autodoc>GetChildren() -> PyObject</autodoc>
- </method>
- <method name="GetParent" type="wxWindow" overloaded="no">
- <autodoc>GetParent() -> Window</autodoc>
- </method>
- <method name="GetGrandParent" type="wxWindow" overloaded="no">
- <autodoc>GetGrandParent() -> Window</autodoc>
- </method>
- <method name="IsTopLevel" type="bool" overloaded="no">
- <autodoc>IsTopLevel() -> bool</autodoc>
- </method>
- <method name="Reparent" type="bool" overloaded="no">
- <autodoc>Reparent(Window newParent) -> bool</autodoc>
- <paramlist>
- <param name="newParent" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="AddChild" type="void" overloaded="no">
- <autodoc>AddChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="RemoveChild" type="void" overloaded="no">
- <autodoc>RemoveChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="FindWindowById" type="wxWindow" overloaded="no">
- <autodoc>FindWindowById(long winid) -> Window</autodoc>
- <paramlist>
- <param name="winid" type="long" default=""/>
- </paramlist>
- </method>
- <method name="FindWindowByName" type="wxWindow" overloaded="no">
- <autodoc>FindWindowByName(String name) -> Window</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetEventHandler" type="wxEvtHandler" overloaded="no">
- <autodoc>GetEventHandler() -> EvtHandler</autodoc>
- </method>
- <method name="SetEventHandler" type="void" overloaded="no">
- <autodoc>SetEventHandler(EvtHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxEvtHandler" default=""/>
- </paramlist>
- </method>
- <method name="PushEventHandler" type="void" overloaded="no">
- <autodoc>PushEventHandler(EvtHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxEvtHandler" default=""/>
+ <param name="id" type="long" default=""/>
+ <param name="parent" type="Window" default="NULL"/>
</paramlist>
</method>
- <method name="PopEventHandler" type="wxEvtHandler" overloaded="no">
- <autodoc>PopEventHandler(bool deleteHandler=False) -> EvtHandler</autodoc>
+ <method name="FindWindowByName" oldname="wxFindWindowByName" type="Window" overloaded="no">
+ <autodoc>FindWindowByName(String name, Window parent=None) -> Window</autodoc>
+ <docstring>Find a window by its name (as given in a window constructor or Create
+function call). If parent is None, the search will start from all
+top-level frames and dialog boxes; if non-None, the search will be
+limited to the given window hierarchy. The search is recursive in both
+cases.
+
+If no window with such name is found, wx.FindWindowByLabel is called.</docstring>
<paramlist>
- <param name="deleteHandler" type="bool" default="False"/>
+ <param name="name" type="String" default=""/>
+ <param name="parent" type="Window" default="NULL"/>
</paramlist>
</method>
- <method name="RemoveEventHandler" type="bool" overloaded="no">
- <autodoc>RemoveEventHandler(EvtHandler handler) -> bool</autodoc>
+ <method name="FindWindowByLabel" oldname="wxFindWindowByLabel" type="Window" overloaded="no">
+ <autodoc>FindWindowByLabel(String label, Window parent=None) -> Window</autodoc>
+ <docstring>Find a window by its label. Depending on the type of window, the label
+may be a window title or panel item label. If parent is None, the
+search will start from all top-level frames and dialog boxes; if
+non-None, the search will be limited to the given window
+hierarchy. The search is recursive in both cases.</docstring>
<paramlist>
- <param name="handler" type="p.wxEvtHandler" default=""/>
+ <param name="label" type="String" default=""/>
+ <param name="parent" type="Window" default="NULL"/>
</paramlist>
</method>
- <method name="SetValidator" type="void" overloaded="no">
- <autodoc>SetValidator(Validator validator)</autodoc>
+ <method name="Window_FromHWND" oldname="wxWindow_FromHWND" type="Window" overloaded="no">
+ <autodoc>Window_FromHWND(Window parent, unsigned long _hWnd) -> Window</autodoc>
<paramlist>
- <param name="validator" type="r.q(const).wxValidator" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="_hWnd" type="unsigned long" default=""/>
</paramlist>
</method>
- <method name="GetValidator" type="wxValidator" overloaded="no">
- <autodoc>GetValidator() -> Validator</autodoc>
- </method>
- <method name="SetAcceleratorTable" type="void" overloaded="no">
- <autodoc>SetAcceleratorTable(AcceleratorTable accel)</autodoc>
- <paramlist>
- <param name="accel" type="r.q(const).wxAcceleratorTable" default=""/>
- </paramlist>
- </method>
- <method name="GetAcceleratorTable" type="wxAcceleratorTable" overloaded="no">
- <autodoc>GetAcceleratorTable() -> AcceleratorTable</autodoc>
- </method>
- <method name="RegisterHotKey" type="bool" overloaded="no">
- <autodoc>RegisterHotKey(int hotkeyId, int modifiers, int keycode) -> bool</autodoc>
- <paramlist>
- <param name="hotkeyId" type="int" default=""/>
- <param name="modifiers" type="int" default=""/>
- <param name="keycode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="UnregisterHotKey" type="bool" overloaded="no">
- <autodoc>UnregisterHotKey(int hotkeyId) -> bool</autodoc>
- <paramlist>
- <param name="hotkeyId" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ConvertDialogPointToPixels" type="wxPoint" overloaded="no">
- <autodoc>ConvertDialogPointToPixels(Point pt) -> Point</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="ConvertDialogSizeToPixels" type="wxSize" overloaded="no">
- <autodoc>ConvertDialogSizeToPixels(Size sz) -> Size</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="DLG_PNT" type="wxPoint" overloaded="no">
- <autodoc>DLG_PNT(Point pt) -> Point</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DLG_SZE" type="wxSize" overloaded="no">
- <autodoc>DLG_SZE(Size sz) -> Size</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="ConvertPixelPointToDialog" type="wxPoint" overloaded="no">
- <autodoc>ConvertPixelPointToDialog(Point pt) -> Point</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="ConvertPixelSizeToDialog" type="wxSize" overloaded="no">
- <autodoc>ConvertPixelSizeToDialog(Size sz) -> Size</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="WarpPointer" type="void" overloaded="no">
- <autodoc>WarpPointer(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CaptureMouse" type="void" overloaded="no">
- <autodoc>CaptureMouse()</autodoc>
- </method>
- <method name="ReleaseMouse" type="void" overloaded="no">
- <autodoc>ReleaseMouse()</autodoc>
- </method>
- <staticmethod name="GetCapture" type="wxWindow" overloaded="no">
- <autodoc>Window.GetCapture() -> Window</autodoc>
- </staticmethod>
- <method name="HasCapture" type="bool" overloaded="no">
- <autodoc>HasCapture() -> bool</autodoc>
- </method>
- <method name="Refresh" type="void" overloaded="no">
- <autodoc>Refresh(bool eraseBackground=True, Rect rect=None)</autodoc>
- <paramlist>
- <param name="eraseBackground" type="bool" default="True"/>
- <param name="rect" type="p.q(const).wxRect" default="NULL"/>
- </paramlist>
- </method>
- <method name="RefreshRect" type="void" overloaded="no">
- <autodoc>RefreshRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="Update" type="void" overloaded="no">
- <autodoc>Update()</autodoc>
- </method>
- <method name="ClearBackground" type="void" overloaded="no">
- <autodoc>ClearBackground()</autodoc>
- </method>
- <method name="Freeze" type="void" overloaded="no">
- <autodoc>Freeze()</autodoc>
- </method>
- <method name="Thaw" type="void" overloaded="no">
- <autodoc>Thaw()</autodoc>
- </method>
- <method name="PrepareDC" type="void" overloaded="no">
- <autodoc>PrepareDC(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="GetUpdateRegion" type="wxRegion" overloaded="no">
- <autodoc>GetUpdateRegion() -> Region</autodoc>
- </method>
- <method name="GetUpdateClientRect" type="wxRect" overloaded="no">
- <autodoc>GetUpdateClientRect() -> Rect</autodoc>
- </method>
- <method name="IsExposed" type="bool" overloaded="no">
- <autodoc>IsExposed(int x, int y, int w=1, int h=1) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="w" type="int" default="1"/>
- <param name="h" type="int" default="1"/>
- </paramlist>
- </method>
- <method name="IsExposedPoint" type="bool" overloaded="no">
- <autodoc>IsExposedPoint(Point pt) -> bool</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="isExposedRect" type="bool" overloaded="no">
- <autodoc>isExposedRect(Rect rect) -> bool</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="bool" overloaded="no">
- <autodoc>SetBackgroundColour(Colour colour) -> bool</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetForegroundColour" type="bool" overloaded="no">
- <autodoc>SetForegroundColour(Colour colour) -> bool</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetForegroundColour" type="wxColour" overloaded="no">
- <autodoc>GetForegroundColour() -> Colour</autodoc>
- </method>
- <method name="SetCursor" type="bool" overloaded="no">
- <autodoc>SetCursor(Cursor cursor) -> bool</autodoc>
- <paramlist>
- <param name="cursor" type="r.q(const).wxCursor" default=""/>
- </paramlist>
- </method>
- <method name="GetCursor" type="wxCursor" overloaded="no">
- <autodoc>GetCursor() -> Cursor</autodoc>
- </method>
- <method name="SetFont" type="bool" overloaded="no">
- <autodoc>SetFont(Font font) -> bool</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <method name="SetCaret" type="void" overloaded="no">
- <autodoc>SetCaret(Caret caret)</autodoc>
- <paramlist>
- <param name="caret" type="p.wxCaret" default=""/>
- </paramlist>
- </method>
- <method name="GetCaret" type="wxCaret" overloaded="no">
- <autodoc>GetCaret() -> Caret</autodoc>
- </method>
- <method name="GetCharHeight" type="int" overloaded="no">
- <autodoc>GetCharHeight() -> int</autodoc>
- </method>
- <method name="GetCharWidth" type="int" overloaded="no">
- <autodoc>GetCharWidth() -> int</autodoc>
- </method>
- <method name="GetTextExtent" type="void" overloaded="no">
- <autodoc>GetTextExtent(String string) -> (width, height)</autodoc>
- <docstring>Get the width and height of the text using the current font.</docstring>
- <paramlist>
- <param name="string" type="r.q(const).wxString" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetFullTextExtent" type="void" overloaded="no">
- <autodoc>GetFullTextExtent(String string, Font font=None) ->
- (width, height, descent, externalLeading)</autodoc>
- <docstring>Get the width, height, decent and leading of the text using the current or specified font.</docstring>
- <paramlist>
- <param name="string" type="r.q(const).wxString" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="font" type="p.q(const).wxFont" default="NULL"/>
- </paramlist>
- </method>
- <method name="ClientToScreenXY" type="void" overloaded="no">
- <autodoc>ClientToScreenXY(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="p.int" default=""/>
- <param name="y" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="ScreenToClientXY" type="void" overloaded="no">
- <autodoc>ScreenToClientXY(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="p.int" default=""/>
- <param name="y" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="ClientToScreen" type="wxPoint" overloaded="no">
- <autodoc>ClientToScreen(Point pt) -> Point</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="ScreenToClient" type="wxPoint" overloaded="no">
- <autodoc>ScreenToClient(Point pt) -> Point</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="HitTestXY" type="wxHitTest" overloaded="no">
- <autodoc>HitTestXY(int x, int y) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="HitTest" type="wxHitTest" overloaded="no">
- <autodoc>HitTest(Point pt) -> int</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetBorderFlags" type="wxBorder" overloaded="no">
- <autodoc>GetBorderFlags(long flags) -> int</autodoc>
- <paramlist>
- <param name="flags" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetBorder" type="wxBorder" overloaded="no">
- <autodoc>GetBorder() -> int</autodoc>
- </method>
- <method name="UpdateWindowUI" type="void" overloaded="no">
- <autodoc>UpdateWindowUI(long flags=UPDATE_UI_NONE)</autodoc>
- <paramlist>
- <param name="flags" type="long" default="wxUPDATE_UI_NONE"/>
- </paramlist>
- </method>
- <method name="PopupMenuXY" type="bool" overloaded="no">
- <autodoc>PopupMenuXY(Menu menu, int x, int y) -> bool</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="PopupMenu" type="bool" overloaded="no">
- <autodoc>PopupMenu(Menu menu, Point pos) -> bool</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetHandle" type="long" overloaded="no">
- <autodoc>GetHandle() -> long</autodoc>
- </method>
- <method name="HasScrollbar" type="bool" overloaded="no">
- <autodoc>HasScrollbar(int orient) -> bool</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetScrollbar" type="void" overloaded="no">
- <autodoc>SetScrollbar(int orient, int pos, int thumbvisible, int range, bool refresh=True)</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- <param name="pos" type="int" default=""/>
- <param name="thumbvisible" type="int" default=""/>
- <param name="range" type="int" default=""/>
- <param name="refresh" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetScrollPos" type="void" overloaded="no">
- <autodoc>SetScrollPos(int orient, int pos, bool refresh=True)</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- <param name="pos" type="int" default=""/>
- <param name="refresh" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetScrollPos" type="int" overloaded="no">
- <autodoc>GetScrollPos(int orient) -> int</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetScrollThumb" type="int" overloaded="no">
- <autodoc>GetScrollThumb(int orient) -> int</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetScrollRange" type="int" overloaded="no">
- <autodoc>GetScrollRange(int orient) -> int</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ScrollWindow" type="void" overloaded="no">
- <autodoc>ScrollWindow(int dx, int dy, Rect rect=None)</autodoc>
- <paramlist>
- <param name="dx" type="int" default=""/>
- <param name="dy" type="int" default=""/>
- <param name="rect" type="p.q(const).wxRect" default="NULL"/>
- </paramlist>
- </method>
- <method name="ScrollLines" type="bool" overloaded="no">
- <autodoc>ScrollLines(int lines) -> bool</autodoc>
- <paramlist>
- <param name="lines" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ScrollPages" type="bool" overloaded="no">
- <autodoc>ScrollPages(int pages) -> bool</autodoc>
- <paramlist>
- <param name="pages" type="int" default=""/>
- </paramlist>
- </method>
- <method name="LineUp" type="bool" overloaded="no">
- <autodoc>LineUp() -> bool</autodoc>
- </method>
- <method name="LineDown" type="bool" overloaded="no">
- <autodoc>LineDown() -> bool</autodoc>
- </method>
- <method name="PageUp" type="bool" overloaded="no">
- <autodoc>PageUp() -> bool</autodoc>
- </method>
- <method name="PageDown" type="bool" overloaded="no">
- <autodoc>PageDown() -> bool</autodoc>
- </method>
- <method name="SetHelpText" type="void" overloaded="no">
- <autodoc>SetHelpText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetHelpTextForId" type="void" overloaded="no">
- <autodoc>SetHelpTextForId(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetHelpText" type="wxString" overloaded="no">
- <autodoc>GetHelpText() -> String</autodoc>
- </method>
- <method name="SetToolTipString" type="void" overloaded="no">
- <autodoc>SetToolTipString(String tip)</autodoc>
- <paramlist>
- <param name="tip" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetToolTip" type="void" overloaded="no">
- <autodoc>SetToolTip(ToolTip tip)</autodoc>
- <paramlist>
- <param name="tip" type="p.wxToolTip" default=""/>
- </paramlist>
- </method>
- <method name="GetToolTip" type="wxToolTip" overloaded="no">
- <autodoc>GetToolTip() -> ToolTip</autodoc>
- </method>
- <method name="SetDropTarget" type="void" overloaded="no">
- <autodoc>SetDropTarget(PyDropTarget dropTarget)</autodoc>
- <paramlist>
- <param name="dropTarget" type="p.wxPyDropTarget" default=""/>
- </paramlist>
- </method>
- <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no">
- <autodoc>GetDropTarget() -> PyDropTarget</autodoc>
- </method>
- <method name="SetConstraints" type="void" overloaded="no">
- <autodoc>SetConstraints(LayoutConstraints constraints)</autodoc>
- <paramlist>
- <param name="constraints" type="p.wxLayoutConstraints" default=""/>
- </paramlist>
- </method>
- <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no">
- <autodoc>GetConstraints() -> LayoutConstraints</autodoc>
- </method>
- <method name="SetAutoLayout" type="void" overloaded="no">
- <autodoc>SetAutoLayout(bool autoLayout)</autodoc>
- <paramlist>
- <param name="autoLayout" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetAutoLayout" type="bool" overloaded="no">
- <autodoc>GetAutoLayout() -> bool</autodoc>
- </method>
- <method name="Layout" type="bool" overloaded="no">
- <autodoc>Layout() -> bool</autodoc>
- </method>
- <method name="SetSizer" type="void" overloaded="no">
- <autodoc>SetSizer(Sizer sizer, bool deleteOld=True)</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- <param name="deleteOld" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetSizerAndFit" type="void" overloaded="no">
- <autodoc>SetSizerAndFit(Sizer sizer, bool deleteOld=True)</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- <param name="deleteOld" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetSizer" type="wxSizer" overloaded="no">
- <autodoc>GetSizer() -> Sizer</autodoc>
- </method>
- <method name="SetContainingSizer" type="void" overloaded="no">
- <autodoc>SetContainingSizer(Sizer sizer)</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- </paramlist>
- </method>
- <method name="GetContainingSizer" type="wxSizer" overloaded="no">
- <autodoc>GetContainingSizer() -> Sizer</autodoc>
- </method>
- </class>
- <pythoncode>
-def DLG_PNT(win, point_or_x, y=None):
- if y is None:
- return win.ConvertDialogPointToPixels(point_or_x)
- else:
- return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y))
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Validator" oldname="wxValidator" module="_core">
+ <baseclass name="EvtHandler"/>
+ <constructor name="Validator" overloaded="no">
+ <autodoc>__init__(self) -> Validator</autodoc>
+ </constructor>
+ <method name="Clone" type="Validator" overloaded="no">
+ <autodoc>Clone(self) -> Validator</autodoc>
+ </method>
+ <method name="Validate" type="bool" overloaded="no">
+ <autodoc>Validate(self, Window parent) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="TransferToWindow" type="bool" overloaded="no">
+ <autodoc>TransferToWindow(self) -> bool</autodoc>
+ </method>
+ <method name="TransferFromWindow" type="bool" overloaded="no">
+ <autodoc>TransferFromWindow(self) -> bool</autodoc>
+ </method>
+ <method name="GetWindow" type="Window" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ <method name="SetWindow" type="" overloaded="no">
+ <autodoc>SetWindow(self, Window window)</autodoc>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="IsSilent" type="bool" overloaded="no">
+ <autodoc>IsSilent() -> bool</autodoc>
+ </staticmethod>
+ <staticmethod name="SetBellOnError" type="" overloaded="no">
+ <autodoc>SetBellOnError(int doIt=True)</autodoc>
+ <paramlist>
+ <param name="doIt" type="int" default="True"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="PyValidator" oldname="wxPyValidator" module="_core">
+ <baseclass name="Validator"/>
+ <constructor name="PyValidator" overloaded="no">
+ <autodoc>__init__(self) -> PyValidator</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=True)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ <param name="incref" type="int" default="True"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Menu" oldname="wxMenu" module="_core">
+ <baseclass name="EvtHandler"/>
+ <constructor name="Menu" overloaded="no">
+ <autodoc>__init__(self, String title=EmptyString, long style=0) -> Menu</autodoc>
+ <paramlist>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="Append" type="wxMenuItem" overloaded="no">
+ <autodoc>Append(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
+ </paramlist>
+ </method>
+ <method name="AppendSeparator" type="wxMenuItem" overloaded="no">
+ <autodoc>AppendSeparator(self) -> MenuItem</autodoc>
+ </method>
+ <method name="AppendCheckItem" type="wxMenuItem" overloaded="no">
+ <autodoc>AppendCheckItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="AppendRadioItem" type="wxMenuItem" overloaded="no">
+ <autodoc>AppendRadioItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="AppendMenu" type="wxMenuItem" overloaded="no">
+ <autodoc>AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="submenu" type="Menu" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="AppendItem" type="wxMenuItem" overloaded="no">
+ <autodoc>AppendItem(self, MenuItem item) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="item" type="wxMenuItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="Break" type="" overloaded="no">
+ <autodoc>Break(self)</autodoc>
+ </method>
+ <method name="InsertItem" type="wxMenuItem" overloaded="no">
+ <autodoc>InsertItem(self, size_t pos, MenuItem item) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="item" type="wxMenuItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="Insert" type="wxMenuItem" overloaded="no">
+ <autodoc>Insert(self, size_t pos, int id, String text, String help=EmptyString,
+ int kind=ITEM_NORMAL) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
+ </paramlist>
+ </method>
+ <method name="InsertSeparator" type="wxMenuItem" overloaded="no">
+ <autodoc>InsertSeparator(self, size_t pos) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertCheckItem" type="wxMenuItem" overloaded="no">
+ <autodoc>InsertCheckItem(self, size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="InsertRadioItem" type="wxMenuItem" overloaded="no">
+ <autodoc>InsertRadioItem(self, size_t pos, int id, String text, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="InsertMenu" type="wxMenuItem" overloaded="no">
+ <autodoc>InsertMenu(self, size_t pos, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="submenu" type="Menu" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="PrependItem" type="wxMenuItem" overloaded="no">
+ <autodoc>PrependItem(self, MenuItem item) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="item" type="wxMenuItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="Prepend" type="wxMenuItem" overloaded="no">
+ <autodoc>Prepend(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
+ </paramlist>
+ </method>
+ <method name="PrependSeparator" type="wxMenuItem" overloaded="no">
+ <autodoc>PrependSeparator(self) -> MenuItem</autodoc>
+ </method>
+ <method name="PrependCheckItem" type="wxMenuItem" overloaded="no">
+ <autodoc>PrependCheckItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="PrependRadioItem" type="wxMenuItem" overloaded="no">
+ <autodoc>PrependRadioItem(self, int id, String text, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="PrependMenu" type="wxMenuItem" overloaded="no">
+ <autodoc>PrependMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="submenu" type="Menu" default=""/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="Remove" type="wxMenuItem" overloaded="no">
+ <autodoc>Remove(self, int id) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveItem" type="wxMenuItem" overloaded="no">
+ <autodoc>RemoveItem(self, MenuItem item) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="item" type="wxMenuItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="Delete" type="bool" overloaded="no">
+ <autodoc>Delete(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteItem" type="bool" overloaded="no">
+ <autodoc>DeleteItem(self, MenuItem item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="wxMenuItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+ </method>
+ <method name="DestroyId" type="bool" overloaded="no">
+ <autodoc>DestroyId(self, int id) -> bool</autodoc>
+ <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DestroyItem" type="bool" overloaded="no">
+ <autodoc>DestroyItem(self, MenuItem item) -> bool</autodoc>
+ <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+ <paramlist>
+ <param name="item" type="wxMenuItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMenuItemCount" type="size_t" overloaded="no">
+ <autodoc>GetMenuItemCount(self) -> size_t</autodoc>
+ </method>
+ <method name="GetMenuItems" type="PyObject" overloaded="no">
+ <autodoc>GetMenuItems(self) -> PyObject</autodoc>
+ </method>
+ <method name="FindItem" type="int" overloaded="no">
+ <autodoc>FindItem(self, String item) -> int</autodoc>
+ <paramlist>
+ <param name="item" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItemById" type="wxMenuItem" overloaded="no">
+ <autodoc>FindItemById(self, int id) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItemByPosition" type="wxMenuItem" overloaded="no">
+ <autodoc>FindItemByPosition(self, size_t position) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="position" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="Enable" type="" overloaded="no">
+ <autodoc>Enable(self, int id, bool enable)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="enable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEnabled" type="bool" overloaded="no">
+ <autodoc>IsEnabled(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Check" type="" overloaded="no">
+ <autodoc>Check(self, int id, bool check)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="check" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsChecked" type="bool" overloaded="no">
+ <autodoc>IsChecked(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLabel" type="" overloaded="no">
+ <autodoc>SetLabel(self, int id, String label)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self, int id) -> String</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHelpString" type="" overloaded="no">
+ <autodoc>SetHelpString(self, int id, String helpString)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="helpString" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHelpString" type="String" overloaded="no">
+ <autodoc>GetHelpString(self, int id) -> String</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTitle" type="" overloaded="no">
+ <autodoc>SetTitle(self, String title)</autodoc>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTitle" type="String" overloaded="no">
+ <autodoc>GetTitle(self) -> String</autodoc>
+ </method>
+ <method name="SetEventHandler" type="" overloaded="no">
+ <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="EvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEventHandler" type="EvtHandler" overloaded="no">
+ <autodoc>GetEventHandler(self) -> EvtHandler</autodoc>
+ </method>
+ <method name="SetInvokingWindow" type="" overloaded="no">
+ <autodoc>SetInvokingWindow(self, Window win)</autodoc>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetInvokingWindow" type="Window" overloaded="no">
+ <autodoc>GetInvokingWindow(self) -> Window</autodoc>
+ </method>
+ <method name="GetStyle" type="long" overloaded="no">
+ <autodoc>GetStyle(self) -> long</autodoc>
+ </method>
+ <method name="UpdateUI" type="" overloaded="no">
+ <autodoc>UpdateUI(self, EvtHandler source=None)</autodoc>
+ <paramlist>
+ <param name="source" type="EvtHandler" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="GetMenuBar" type="wxMenuBar" overloaded="no">
+ <autodoc>GetMenuBar(self) -> MenuBar</autodoc>
+ </method>
+ <method name="Attach" type="" overloaded="no">
+ <autodoc>Attach(self, wxMenuBarBase menubar)</autodoc>
+ <paramlist>
+ <param name="menubar" type="wxMenuBarBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="Detach" type="" overloaded="no">
+ <autodoc>Detach(self)</autodoc>
+ </method>
+ <method name="IsAttached" type="bool" overloaded="no">
+ <autodoc>IsAttached(self) -> bool</autodoc>
+ </method>
+ <method name="SetParent" type="" overloaded="no">
+ <autodoc>SetParent(self, Menu parent)</autodoc>
+ <paramlist>
+ <param name="parent" type="Menu" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetParent" type="Menu" overloaded="no">
+ <autodoc>GetParent(self) -> Menu</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="MenuBar" oldname="wxMenuBar" module="_core">
+ <baseclass name="Window"/>
+ <constructor name="MenuBar" overloaded="no">
+ <autodoc>__init__(self, long style=0) -> MenuBar</autodoc>
+ <paramlist>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="Append" type="bool" overloaded="no">
+ <autodoc>Append(self, Menu menu, String title) -> bool</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default=""/>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Insert" type="bool" overloaded="no">
+ <autodoc>Insert(self, size_t pos, Menu menu, String title) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="menu" type="Menu" default=""/>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMenuCount" type="size_t" overloaded="no">
+ <autodoc>GetMenuCount(self) -> size_t</autodoc>
+ </method>
+ <method name="GetMenu" type="Menu" overloaded="no">
+ <autodoc>GetMenu(self, size_t pos) -> Menu</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="Replace" type="Menu" overloaded="no">
+ <autodoc>Replace(self, size_t pos, Menu menu, String title) -> Menu</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="menu" type="Menu" default=""/>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Remove" type="Menu" overloaded="no">
+ <autodoc>Remove(self, size_t pos) -> Menu</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableTop" type="" overloaded="no">
+ <autodoc>EnableTop(self, size_t pos, bool enable)</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="enable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEnabledTop" type="bool" overloaded="no">
+ <autodoc>IsEnabledTop(self, size_t pos) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLabelTop" type="" overloaded="no">
+ <autodoc>SetLabelTop(self, size_t pos, String label)</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLabelTop" type="String" overloaded="no">
+ <autodoc>GetLabelTop(self, size_t pos) -> String</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindMenuItem" type="int" overloaded="no">
+ <autodoc>FindMenuItem(self, String menu, String item) -> int</autodoc>
+ <paramlist>
+ <param name="menu" type="String" default=""/>
+ <param name="item" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItemById" type="wxMenuItem" overloaded="no">
+ <autodoc>FindItemById(self, int id) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindMenu" type="int" overloaded="no">
+ <autodoc>FindMenu(self, String title) -> int</autodoc>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Enable" type="" overloaded="no">
+ <autodoc>Enable(self, int id, bool enable)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="enable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Check" type="" overloaded="no">
+ <autodoc>Check(self, int id, bool check)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="check" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsChecked" type="bool" overloaded="no">
+ <autodoc>IsChecked(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEnabled" type="bool" overloaded="no">
+ <autodoc>IsEnabled(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLabel" type="" overloaded="no">
+ <autodoc>SetLabel(self, int id, String label)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self, int id) -> String</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHelpString" type="" overloaded="no">
+ <autodoc>SetHelpString(self, int id, String helpString)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="helpString" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHelpString" type="String" overloaded="no">
+ <autodoc>GetHelpString(self, int id) -> String</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFrame" type="wxFrame" overloaded="no">
+ <autodoc>GetFrame(self) -> wxFrame</autodoc>
+ </method>
+ <method name="IsAttached" type="bool" overloaded="no">
+ <autodoc>IsAttached(self) -> bool</autodoc>
+ </method>
+ <method name="Attach" type="" overloaded="no">
+ <autodoc>Attach(self, wxFrame frame)</autodoc>
+ <paramlist>
+ <param name="frame" type="wxFrame" default=""/>
+ </paramlist>
+ </method>
+ <method name="Detach" type="" overloaded="no">
+ <autodoc>Detach(self)</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="MenuItem" oldname="wxMenuItem" module="_core">
+ <baseclass name="Object"/>
+ <constructor name="MenuItem" overloaded="no">
+ <autodoc>__init__(self, Menu parentMenu=None, int id=ID_ANY, String text=EmptyString,
+ String help=EmptyString, int kind=ITEM_NORMAL,
+ Menu subMenu=None) -> MenuItem</autodoc>
+ <paramlist>
+ <param name="parentMenu" type="Menu" default="NULL"/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="text" type="String" default="wxPyEmptyString"/>
+ <param name="help" type="String" default="wxPyEmptyString"/>
+ <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
+ <param name="subMenu" type="Menu" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetMenu" type="Menu" overloaded="no">
+ <autodoc>GetMenu(self) -> Menu</autodoc>
+ </method>
+ <method name="SetMenu" type="" overloaded="no">
+ <autodoc>SetMenu(self, Menu menu)</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, int id)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetId" type="int" overloaded="no">
+ <autodoc>GetId(self) -> int</autodoc>
+ </method>
+ <method name="IsSeparator" type="bool" overloaded="no">
+ <autodoc>IsSeparator(self) -> bool</autodoc>
+ </method>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String str)</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self) -> String</autodoc>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <staticmethod name="GetLabelFromText" type="String" overloaded="no">
+ <autodoc>GetLabelFromText(String text) -> String</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="GetKind" type="wxItemKind" overloaded="no">
+ <autodoc>GetKind(self) -> int</autodoc>
+ </method>
+ <method name="SetKind" type="" overloaded="no">
+ <autodoc>SetKind(self, int kind)</autodoc>
+ <paramlist>
+ <param name="kind" type="wxItemKind" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCheckable" type="" overloaded="no">
+ <autodoc>SetCheckable(self, bool checkable)</autodoc>
+ <paramlist>
+ <param name="checkable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsCheckable" type="bool" overloaded="no">
+ <autodoc>IsCheckable(self) -> bool</autodoc>
+ </method>
+ <method name="IsSubMenu" type="bool" overloaded="no">
+ <autodoc>IsSubMenu(self) -> bool</autodoc>
+ </method>
+ <method name="SetSubMenu" type="" overloaded="no">
+ <autodoc>SetSubMenu(self, Menu menu)</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSubMenu" type="Menu" overloaded="no">
+ <autodoc>GetSubMenu(self) -> Menu</autodoc>
+ </method>
+ <method name="Enable" type="" overloaded="no">
+ <autodoc>Enable(self, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="IsEnabled" type="bool" overloaded="no">
+ <autodoc>IsEnabled(self) -> bool</autodoc>
+ </method>
+ <method name="Check" type="" overloaded="no">
+ <autodoc>Check(self, bool check=True)</autodoc>
+ <paramlist>
+ <param name="check" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="IsChecked" type="bool" overloaded="no">
+ <autodoc>IsChecked(self) -> bool</autodoc>
+ </method>
+ <method name="Toggle" type="" overloaded="no">
+ <autodoc>Toggle(self)</autodoc>
+ </method>
+ <method name="SetHelp" type="" overloaded="no">
+ <autodoc>SetHelp(self, String str)</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHelp" type="String" overloaded="no">
+ <autodoc>GetHelp(self) -> String</autodoc>
+ </method>
+ <method name="GetAccel" type="AcceleratorEntry" overloaded="no">
+ <autodoc>GetAccel(self) -> AcceleratorEntry</autodoc>
+ </method>
+ <method name="SetAccel" type="" overloaded="no">
+ <autodoc>SetAccel(self, AcceleratorEntry accel)</autodoc>
+ <paramlist>
+ <param name="accel" type="AcceleratorEntry" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetDefaultMarginWidth" type="int" overloaded="no">
+ <autodoc>GetDefaultMarginWidth() -> int</autodoc>
+ </staticmethod>
+ <method name="SetBitmap" type="" overloaded="no">
+ <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
+ <paramlist>
+ <param name="bitmap" type="wxBitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBitmap" type="wxBitmap" overloaded="no">
+ <autodoc>GetBitmap(self) -> Bitmap</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Control" oldname="wxControl" module="_core">
+ <docstring>This is the base class for a control or 'widget'.
-def DLG_SZE(win, size_width, height=None):
- if height is None:
- return win.ConvertDialogSizeToPixels(size_width)
- else:
- return win.ConvertDialogSizeToPixels(wx.Size(size_width, height))
+A control is generally a small window which processes user input
+and/or displays one or more item of data.</docstring>
+ <baseclass name="Window"/>
+ <constructor name="Control" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,
+ String name=ControlNameStr) -> Control</autodoc>
+ <docstring>Create a Control. Normally you should only call this from a subclass'
+__init__ as a plain old wx.Control is not very useful.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyControlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreControl" overloaded="no">
+ <autodoc>PreControl() -> Control</autodoc>
+ <docstring>Precreate a Control control for 2-phase creation</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,
+ String name=ControlNameStr) -> bool</autodoc>
+ <docstring>Do the 2nd phase and create the GUI control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyControlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="Command" type="" overloaded="no">
+ <autodoc>Command(self, CommandEvent event)</autodoc>
+ <docstring>Simulates the effect of the user issuing a command to the item.
+
+:see: `wx.CommandEvent`
+</docstring>
+ <paramlist>
+ <param name="event" type="CommandEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self) -> String</autodoc>
+ <docstring>Return a control's text.</docstring>
+ </method>
+ <method name="SetLabel" type="" overloaded="no">
+ <autodoc>SetLabel(self, String label)</autodoc>
+ <docstring>Sets the item's text.</docstring>
+ <paramlist>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <method name="FindWindowById" oldname="wxFindWindowById" type="wxWindow" overloaded="no">
- <autodoc>FindWindowById(long id, Window parent=None) -> Window</autodoc>
- <paramlist>
- <param name="id" type="long" default=""/>
- <param name="parent" type="p.q(const).wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="FindWindowByName" oldname="wxFindWindowByName" type="wxWindow" overloaded="no">
- <autodoc>FindWindowByName(String name, Window parent=None) -> Window</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="parent" type="p.q(const).wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="FindWindowByLabel" oldname="wxFindWindowByLabel" type="wxWindow" overloaded="no">
- <autodoc>FindWindowByLabel(String label, Window parent=None) -> Window</autodoc>
- <paramlist>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="parent" type="p.q(const).wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="Window_FromHWND" oldname="wxWindow_FromHWND" type="wxWindow" overloaded="no">
- <autodoc>Window_FromHWND(unsigned long hWnd) -> Window</autodoc>
- <paramlist>
- <param name="hWnd" type="unsigned long" default=""/>
- </paramlist>
- </method>
- <pythoncode>
+ <class name="ItemContainer" oldname="wxItemContainer" module="_core">
+ <docstring>wx.ItemContainer defines an interface which is implemented by all
+controls which have string subitems, each of which may be selected,
+such as `wx.ListBox`, `wx.CheckListBox`, `wx.Choice` as well as
+`wx.ComboBox` which implements an extended interface deriving from
+this one.
+
+It defines the methods for accessing the control's items and although
+each of the derived classes implements them differently, they still
+all conform to the same interface.
+
+The items in a wx.ItemContainer have (non empty) string labels and,
+optionally, client data associated with them.
+</docstring>
+ <method name="Append" type="int" overloaded="no">
+ <autodoc>Append(self, String item, PyObject clientData=None) -> int</autodoc>
+ <docstring>Adds the item to the control, associating the given data with the item
+if not None. The return value is the index of the newly added item
+which may be different from the last one if the control is sorted (e.g.
+has wx.LB_SORT or wx.CB_SORT style).</docstring>
+ <paramlist>
+ <param name="item" type="String" default=""/>
+ <param name="clientData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="AppendItems" type="" overloaded="no">
+ <autodoc>AppendItems(self, List strings)</autodoc>
+ <docstring>Apend several items at once to the control. Notice that calling this
+method may be much faster than appending the items one by one if you
+need to add a lot of items.</docstring>
+ <paramlist>
+ <param name="strings" type="wxArrayString" default=""/>
+ </paramlist>
+ </method>
+ <method name="Insert" type="int" overloaded="no">
+ <autodoc>Insert(self, String item, int pos, PyObject clientData=None) -> int</autodoc>
+ <docstring>Insert an item into the control before the item at the ``pos`` index,
+optionally associating some data object with the item.</docstring>
+ <paramlist>
+ <param name="item" type="String" default=""/>
+ <param name="pos" type="int" default=""/>
+ <param name="clientData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ <docstring>Removes all items from the control.</docstring>
+ </method>
+ <method name="Delete" type="" overloaded="no">
+ <autodoc>Delete(self, int n)</autodoc>
+ <docstring>Deletes the item at the zero-based index 'n' from the control. Note
+that it is an error (signalled by a `wx.PyAssertionError` exception if
+enabled) to remove an item with the index negative or greater or equal
+than the number of items in the control.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="int" overloaded="no">
+ <autodoc>GetCount(self) -> int</autodoc>
+ <docstring>Returns the number of items in the control.</docstring>
+ </method>
+ <method name="IsEmpty" type="bool" overloaded="no">
+ <autodoc>IsEmpty(self) -> bool</autodoc>
+ <docstring>Returns True if the control is empty or False if it has some items.</docstring>
+ </method>
+ <method name="GetString" type="String" overloaded="no">
+ <autodoc>GetString(self, int n) -> String</autodoc>
+ <docstring>Returns the label of the item with the given index.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStrings" type="wxArrayString" overloaded="no">
+ <autodoc>GetStrings(self) -> wxArrayString</autodoc>
+ </method>
+ <method name="SetString" type="" overloaded="no">
+ <autodoc>SetString(self, int n, String s)</autodoc>
+ <docstring>Sets the label for the given item.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindString" type="int" overloaded="no">
+ <autodoc>FindString(self, String s) -> int</autodoc>
+ <docstring>Finds an item whose label matches the given string. Returns the
+zero-based position of the item, or ``wx.NOT_FOUND`` if the string was not
+found.</docstring>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Select" type="" overloaded="no">
+ <autodoc>Select(self, int n)</autodoc>
+ <docstring>Sets the item at index 'n' to be the selected item.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelection" type="int" overloaded="no">
+ <autodoc>GetSelection(self) -> int</autodoc>
+ <docstring>Returns the index of the selected item or ``wx.NOT_FOUND`` if no item
+is selected.</docstring>
+ </method>
+ <method name="GetStringSelection" type="String" overloaded="no">
+ <autodoc>GetStringSelection(self) -> String</autodoc>
+ <docstring>Returns the label of the selected item or an empty string if no item
+is selected.</docstring>
+ </method>
+ <method name="GetClientData" type="PyObject" overloaded="no">
+ <autodoc>GetClientData(self, int n) -> PyObject</autodoc>
+ <docstring>Returns the client data associated with the given item, (if any.)</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClientData" type="" overloaded="no">
+ <autodoc>SetClientData(self, int n, PyObject clientData)</autodoc>
+ <docstring>Associate the given client data with the item at position n.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="clientData" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Validator" oldname="wxValidator" module="core">
- <baseclass name="wxEvtHandler"/>
- <constructor name="Validator" overloaded="no">
- <autodoc>__init__() -> Validator</autodoc>
- </constructor>
- <method name="Clone" type="wxValidator" overloaded="no">
- <autodoc>Clone() -> Validator</autodoc>
- </method>
- <method name="Validate" type="bool" overloaded="no">
- <autodoc>Validate(Window parent) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="TransferToWindow" type="bool" overloaded="no">
- <autodoc>TransferToWindow() -> bool</autodoc>
- </method>
- <method name="TransferFromWindow" type="bool" overloaded="no">
- <autodoc>TransferFromWindow() -> bool</autodoc>
- </method>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- <method name="SetWindow" type="void" overloaded="no">
- <autodoc>SetWindow(Window window)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <staticmethod name="IsSilent" type="bool" overloaded="no">
- <autodoc>Validator.IsSilent() -> bool</autodoc>
- </staticmethod>
- <staticmethod name="SetBellOnError" type="void" overloaded="no">
- <autodoc>Validator.SetBellOnError(int doIt=True)</autodoc>
- <paramlist>
- <param name="doIt" type="int" default="True"/>
- </paramlist>
- </staticmethod>
- </class>
- <class name="PyValidator" oldname="wxPyValidator" module="core">
- <baseclass name="wxValidator"/>
- <constructor name="PyValidator" overloaded="no">
- <autodoc>__init__() -> PyValidator</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref=True)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- <param name="incref" type="int" default="True"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="ControlWithItems" oldname="wxControlWithItems" module="_core">
+ <docstring>wx.ControlWithItems combines the ``wx.ItemContainer`` class with the
+wx.Control class, and is used for the base class of various controls
+that have items.</docstring>
+ <baseclass name="Control"/>
+ <baseclass name="ItemContainer"/>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Menu" oldname="wxMenu" module="core">
- <baseclass name="wxEvtHandler"/>
- <constructor name="Menu" overloaded="no">
- <autodoc>__init__(String title=EmptyString, long style=0) -> Menu</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- <method name="Append" type="void" overloaded="no">
- <autodoc>Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
- </paramlist>
- </method>
- <method name="AppendSeparator" type="void" overloaded="no">
- <autodoc>AppendSeparator()</autodoc>
- </method>
- <method name="AppendCheckItem" type="void" overloaded="no">
- <autodoc>AppendCheckItem(int id, String text, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="AppendRadioItem" type="void" overloaded="no">
- <autodoc>AppendRadioItem(int id, String text, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="AppendMenu" type="void" overloaded="no">
- <autodoc>AppendMenu(int id, String text, Menu submenu, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="submenu" type="p.wxMenu" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="AppendItem" type="void" overloaded="no">
- <autodoc>AppendItem(MenuItem item)</autodoc>
- <paramlist>
- <param name="item" type="p.wxMenuItem" default=""/>
- </paramlist>
- </method>
- <method name="Break" type="void" overloaded="no">
- <autodoc>Break()</autodoc>
- </method>
- <method name="InsertItem" type="bool" overloaded="no">
- <autodoc>InsertItem(size_t pos, MenuItem item) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="item" type="p.wxMenuItem" default=""/>
- </paramlist>
- </method>
- <method name="Insert" type="void" overloaded="no">
- <autodoc>Insert(size_t pos, int id, String text, String help=EmptyString,
- int kind=ITEM_NORMAL)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
- </paramlist>
- </method>
- <method name="InsertSeparator" type="void" overloaded="no">
- <autodoc>InsertSeparator(size_t pos)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="InsertCheckItem" type="void" overloaded="no">
- <autodoc>InsertCheckItem(size_t pos, int id, String text, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="InsertRadioItem" type="void" overloaded="no">
- <autodoc>InsertRadioItem(size_t pos, int id, String text, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="InsertMenu" type="void" overloaded="no">
- <autodoc>InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="submenu" type="p.wxMenu" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="PrependItem" type="void" overloaded="no">
- <autodoc>PrependItem(MenuItem item)</autodoc>
- <paramlist>
- <param name="item" type="p.wxMenuItem" default=""/>
- </paramlist>
- </method>
- <method name="Prepend" type="void" overloaded="no">
- <autodoc>Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
- </paramlist>
- </method>
- <method name="PrependSeparator" type="void" overloaded="no">
- <autodoc>PrependSeparator()</autodoc>
- </method>
- <method name="PrependCheckItem" type="void" overloaded="no">
- <autodoc>PrependCheckItem(int id, String text, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="PrependRadioItem" type="void" overloaded="no">
- <autodoc>PrependRadioItem(int id, String text, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="PrependMenu" type="void" overloaded="no">
- <autodoc>PrependMenu(int id, String text, Menu submenu, String help=EmptyString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="submenu" type="p.wxMenu" default=""/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="Remove" type="wxMenuItem" overloaded="no">
- <autodoc>Remove(int id) -> MenuItem</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="RemoveItem" type="wxMenuItem" overloaded="no">
- <autodoc>RemoveItem(MenuItem item) -> MenuItem</autodoc>
- <paramlist>
- <param name="item" type="p.wxMenuItem" default=""/>
- </paramlist>
- </method>
- <method name="Delete" type="bool" overloaded="no">
- <autodoc>Delete(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeleteItem" type="bool" overloaded="no">
- <autodoc>DeleteItem(MenuItem item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="p.wxMenuItem" default=""/>
- </paramlist>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
- </method>
- <method name="DestroyId" type="bool" overloaded="no">
- <autodoc>DestroyId(int id) -> bool</autodoc>
- <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DestroyItem" type="bool" overloaded="no">
- <autodoc>DestroyItem(MenuItem item) -> bool</autodoc>
- <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
- <paramlist>
- <param name="item" type="p.wxMenuItem" default=""/>
- </paramlist>
- </method>
- <method name="GetMenuItemCount" type="size_t" overloaded="no">
- <autodoc>GetMenuItemCount() -> size_t</autodoc>
- </method>
- <method name="GetMenuItems" type="PyObject" overloaded="no">
- <autodoc>GetMenuItems() -> PyObject</autodoc>
- </method>
- <method name="FindItem" type="int" overloaded="no">
- <autodoc>FindItem(String item) -> int</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindItemById" type="wxMenuItem" overloaded="no">
- <autodoc>FindItemById(int id) -> MenuItem</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="FindItemByPosition" type="wxMenuItem" overloaded="no">
- <autodoc>FindItemByPosition(size_t position) -> MenuItem</autodoc>
- <paramlist>
- <param name="position" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="Enable" type="void" overloaded="no">
- <autodoc>Enable(int id, bool enable)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsEnabled" type="bool" overloaded="no">
- <autodoc>IsEnabled(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Check" type="void" overloaded="no">
- <autodoc>Check(int id, bool check)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="check" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsChecked" type="bool" overloaded="no">
- <autodoc>IsChecked(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLabel" type="void" overloaded="no">
- <autodoc>SetLabel(int id, String label)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetLabel" type="wxString" overloaded="no">
- <autodoc>GetLabel(int id) -> String</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetHelpString" type="void" overloaded="no">
- <autodoc>SetHelpString(int id, String helpString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="helpString" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetHelpString" type="wxString" overloaded="no">
- <autodoc>GetHelpString(int id) -> String</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetTitle" type="void" overloaded="no">
- <autodoc>SetTitle(String title)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTitle" type="q(const).wxString" overloaded="no">
- <autodoc>GetTitle() -> String</autodoc>
- </method>
- <method name="SetEventHandler" type="void" overloaded="no">
- <autodoc>SetEventHandler(EvtHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxEvtHandler" default=""/>
- </paramlist>
- </method>
- <method name="GetEventHandler" type="wxEvtHandler" overloaded="no">
- <autodoc>GetEventHandler() -> EvtHandler</autodoc>
- </method>
- <method name="SetInvokingWindow" type="void" overloaded="no">
- <autodoc>SetInvokingWindow(Window win)</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetInvokingWindow" type="wxWindow" overloaded="no">
- <autodoc>GetInvokingWindow() -> Window</autodoc>
- </method>
- <method name="GetStyle" type="long" overloaded="no">
- <autodoc>GetStyle() -> long</autodoc>
- </method>
- <method name="UpdateUI" type="void" overloaded="no">
- <autodoc>UpdateUI(EvtHandler source=None)</autodoc>
- <paramlist>
- <param name="source" type="p.wxEvtHandler" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetMenuBar" type="wxMenuBar" overloaded="no">
- <autodoc>GetMenuBar() -> MenuBar</autodoc>
- </method>
- <method name="Attach" type="void" overloaded="no">
- <autodoc>Attach(wxMenuBarBase menubar)</autodoc>
- <paramlist>
- <param name="menubar" type="p.wxMenuBarBase" default=""/>
- </paramlist>
- </method>
- <method name="Detach" type="void" overloaded="no">
- <autodoc>Detach()</autodoc>
- </method>
- <method name="IsAttached" type="bool" overloaded="no">
- <autodoc>IsAttached() -> bool</autodoc>
- </method>
- <method name="SetParent" type="void" overloaded="no">
- <autodoc>SetParent(Menu parent)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxMenu" default=""/>
- </paramlist>
- </method>
- <method name="GetParent" type="wxMenu" overloaded="no">
- <autodoc>GetParent() -> Menu</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="SizerItem" oldname="wxSizerItem" module="_core">
+ <docstring>The wx.SizerItem class is used to track the position, size and other
+attributes of each item managed by a `wx.Sizer`. In normal usage user
+code should never need to deal directly with a wx.SizerItem, but
+custom classes derived from `wx.PySizer` will probably need to use the
+collection of wx.SizerItems held by wx.Sizer when calculating layout.
+
+:see: `wx.Sizer`, `wx.GBSizerItem`</docstring>
+ <baseclass name="Object"/>
+ <constructor name="SizerItem" overloaded="no">
+ <autodoc>__init__(self) -> SizerItem</autodoc>
+ <docstring>Constructs an empty wx.SizerItem. Either a window, sizer or spacer
+size will need to be set before this item can be used in a Sizer.
+
+You will probably never need to create a wx.SizerItem directly as they
+are created automatically when the sizer's Add, Insert or Prepend
+methods are called.
+
+:see: `wx.SizerItemSpacer`, `wx.SizerItemWindow`, `wx.SizerItemSizer`</docstring>
+ </constructor>
+ <constructor name="SizerItemWindow" overloaded="no">
+ <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border,
+ PyObject userData=None) -> SizerItem</autodoc>
+ <docstring>Constructs a `wx.SizerItem` for tracking a window.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="proportion" type="int" default=""/>
+ <param name="flag" type="int" default=""/>
+ <param name="border" type="int" default=""/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="SizerItemSpacer" overloaded="no">
+ <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border,
+ PyObject userData=None) -> SizerItem</autodoc>
+ <docstring>Constructs a `wx.SizerItem` for tracking a spacer.</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="proportion" type="int" default=""/>
+ <param name="flag" type="int" default=""/>
+ <param name="border" type="int" default=""/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="SizerItemSizer" overloaded="no">
+ <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border,
+ PyObject userData=None) -> SizerItem</autodoc>
+ <docstring>Constructs a `wx.SizerItem` for tracking a subsizer</docstring>
+ <paramlist>
+ <param name="sizer" type="wxSizer" default=""/>
+ <param name="proportion" type="int" default=""/>
+ <param name="flag" type="int" default=""/>
+ <param name="border" type="int" default=""/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="DeleteWindows" type="" overloaded="no">
+ <autodoc>DeleteWindows(self)</autodoc>
+ <docstring>Destroy the window or the windows in a subsizer, depending on the type
+of item.</docstring>
+ </method>
+ <method name="DetachSizer" type="" overloaded="no">
+ <autodoc>DetachSizer(self)</autodoc>
+ <docstring>Enable deleting the SizerItem without destroying the contained sizer.</docstring>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ <docstring>Get the current size of the item, as set in the last Layout.</docstring>
+ </method>
+ <method name="CalcMin" type="Size" overloaded="no">
+ <autodoc>CalcMin(self) -> Size</autodoc>
+ <docstring>Calculates the minimum desired size for the item, including any space
+needed by borders.</docstring>
+ </method>
+ <method name="SetDimension" type="" overloaded="no">
+ <autodoc>SetDimension(self, Point pos, Size size)</autodoc>
+ <docstring>Set the position and size of the space allocated for this item by the
+sizer, and adjust the position and size of the item (window or
+subsizer) to be within that space taking alignment and borders into
+account.</docstring>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMinSize" type="Size" overloaded="no">
+ <autodoc>GetMinSize(self) -> Size</autodoc>
+ <docstring>Get the minimum size needed for the item.</docstring>
+ </method>
+ <method name="GetMinSizeWithBorder" type="Size" overloaded="no">
+ <autodoc>GetMinSizeWithBorder(self) -> Size</autodoc>
+ <docstring>Get the minimum size needed for the item with space for the borders
+added, if needed.</docstring>
+ </method>
+ <method name="SetInitSize" type="" overloaded="no">
+ <autodoc>SetInitSize(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRatioWH" type="" overloaded="no">
+ <autodoc>SetRatioWH(self, int width, int height)</autodoc>
+ <docstring>Set the ratio item attribute.</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRatioSize" type="" overloaded="no">
+ <autodoc>SetRatioSize(self, Size size)</autodoc>
+ <docstring>Set the ratio item attribute.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRatio" type="" overloaded="no">
+ <autodoc>SetRatio(self, float ratio)</autodoc>
+ <docstring>Set the ratio item attribute.</docstring>
+ <paramlist>
+ <param name="ratio" type="float" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRatio" type="float" overloaded="no">
+ <autodoc>GetRatio(self) -> float</autodoc>
+ <docstring>Set the ratio item attribute.</docstring>
+ </method>
+ <method name="IsWindow" type="bool" overloaded="no">
+ <autodoc>IsWindow(self) -> bool</autodoc>
+ <docstring>Is this sizer item a window?</docstring>
+ </method>
+ <method name="IsSizer" type="bool" overloaded="no">
+ <autodoc>IsSizer(self) -> bool</autodoc>
+ <docstring>Is this sizer item a subsizer?</docstring>
+ </method>
+ <method name="IsSpacer" type="bool" overloaded="no">
+ <autodoc>IsSpacer(self) -> bool</autodoc>
+ <docstring>Is this sizer item a spacer?</docstring>
+ </method>
+ <method name="SetProportion" type="" overloaded="no">
+ <autodoc>SetProportion(self, int proportion)</autodoc>
+ <docstring>Set the proportion value for this item.</docstring>
+ <paramlist>
+ <param name="proportion" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetProportion" type="int" overloaded="no">
+ <autodoc>GetProportion(self) -> int</autodoc>
+ <docstring>Get the proportion value for this item.</docstring>
+ </method>
+ <method name="SetFlag" type="" overloaded="no">
+ <autodoc>SetFlag(self, int flag)</autodoc>
+ <docstring>Set the flag value for this item.</docstring>
+ <paramlist>
+ <param name="flag" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFlag" type="int" overloaded="no">
+ <autodoc>GetFlag(self) -> int</autodoc>
+ <docstring>Get the flag value for this item.</docstring>
+ </method>
+ <method name="SetBorder" type="" overloaded="no">
+ <autodoc>SetBorder(self, int border)</autodoc>
+ <docstring>Set the border value for this item.</docstring>
+ <paramlist>
+ <param name="border" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBorder" type="int" overloaded="no">
+ <autodoc>GetBorder(self) -> int</autodoc>
+ <docstring>Get the border value for this item.</docstring>
+ </method>
+ <method name="GetWindow" type="Window" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ <docstring>Get the window (if any) that is managed by this sizer item.</docstring>
+ </method>
+ <method name="SetWindow" type="" overloaded="no">
+ <autodoc>SetWindow(self, Window window)</autodoc>
+ <docstring>Set the window to be managed by this sizer item.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSizer" type="wxSizer" overloaded="no">
+ <autodoc>GetSizer(self) -> Sizer</autodoc>
+ <docstring>Get the subsizer (if any) that is managed by this sizer item.</docstring>
+ </method>
+ <method name="SetSizer" type="" overloaded="no">
+ <autodoc>SetSizer(self, Sizer sizer)</autodoc>
+ <docstring>Set the subsizer to be managed by this sizer item.</docstring>
+ <paramlist>
+ <param name="sizer" type="wxSizer" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSpacer" type="Size" overloaded="no">
+ <autodoc>GetSpacer(self) -> Size</autodoc>
+ <docstring>Get the size of the spacer managed by this sizer item.</docstring>
+ </method>
+ <method name="SetSpacer" type="" overloaded="no">
+ <autodoc>SetSpacer(self, Size size)</autodoc>
+ <docstring>Set the size of the spacer to be managed by this sizer item.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="Show" type="" overloaded="no">
+ <autodoc>Show(self, bool show)</autodoc>
+ <docstring>Set the show item attribute, which sizers use to determine if the item
+is to be made part of the layout or not. If the item is tracking a
+window then it is shown or hidden as needed.</docstring>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsShown" type="bool" overloaded="no">
+ <autodoc>IsShown(self) -> bool</autodoc>
+ <docstring>Is the item to be shown in the layout?</docstring>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ <docstring>Returns the current position of the item, as set in the last Layout.</docstring>
+ </method>
+ <method name="GetUserData" type="PyObject" overloaded="no">
+ <autodoc>GetUserData(self) -> PyObject</autodoc>
+ <docstring>Returns the userData associated with this sizer item, or None if there
+isn't any.</docstring>
+ </method>
+ </class>
+ <class name="Sizer" oldname="wxSizer" module="_core">
+ <docstring>wx.Sizer is the abstract base class used for laying out subwindows in
+a window. You cannot use wx.Sizer directly; instead, you will have to
+use one of the sizer classes derived from it such as `wx.BoxSizer`,
+`wx.StaticBoxSizer`, `wx.NotebookSizer`, `wx.GridSizer`, `wx.FlexGridSizer`
+and `wx.GridBagSizer`.
+
+The concept implemented by sizers in wxWidgets is closely related to
+layout tools in other GUI toolkits, such as Java's AWT, the GTK
+toolkit or the Qt toolkit. It is based upon the idea of the individual
+subwindows reporting their minimal required size and their ability to
+get stretched if the size of the parent window has changed. This will
+most often mean that the programmer does not set the original size of
+a dialog in the beginning, rather the dialog will assigned a sizer and
+this sizer will be queried about the recommended size. The sizer in
+turn will query its children, which can be normal windows or contorls,
+empty space or other sizers, so that a hierarchy of sizers can be
+constructed. Note that wxSizer does not derive from wxWindow and thus
+do not interfere with tab ordering and requires very little resources
+compared to a real window on screen.
+
+What makes sizers so well fitted for use in wxWidgets is the fact that
+every control reports its own minimal size and the algorithm can
+handle differences in font sizes or different window (dialog item)
+sizes on different platforms without problems. If for example the
+standard font as well as the overall design of Mac widgets requires
+more space than on Windows, then the initial size of a dialog using a
+sizer will automatically be bigger on Mac than on Windows.
+
+:note: If you wish to create a custom sizer class in wxPython you
+ should derive the class from `wx.PySizer` in order to get
+ Python-aware capabilities for the various virtual methods.
+
+:see: `wx.SizerItem`
+
+:todo: More dscriptive text here along with some pictures...
+
+</docstring>
+ <baseclass name="Object"/>
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Add" type="" overloaded="no">
+ <autodoc>Add(self, item, int proportion=0, int flag=0, int border=0,
+ PyObject userData=None)</autodoc>
+ <docstring>Appends a child item to the sizer.
+
+ :param item: The item can be one of three kinds of objects:
+
+ - **window**: A `wx.Window` to be managed by the sizer. Its
+ minimal size (either set explicitly by the user or
+ calculated internally when constructed with wx.DefaultSize)
+ is interpreted as the minimal size to use when laying out
+ item in the sizer. This is particularly useful in
+ connection with `wx.Window.SetSizeHints`.
+
+ - **sizer**: The (child-)sizer to be added to the sizer. This
+ allows placing a child sizer in a sizer and thus to create
+ hierarchies of sizers (typically a vertical box as the top
+ sizer and several horizontal boxes on the level beneath).
+
+ - **size**: A `wx.Size` or a 2-element sequence of integers
+ that represents the width and height of a spacer to be added
+ to the sizer. Adding spacers to sizers gives more
+ flexibility in the design of dialogs; imagine for example a
+ horizontal box with two buttons at the bottom of a dialog:
+ you might want to insert a space between the two buttons and
+ make that space stretchable using the *proportion* value and
+ the result will be that the left button will be aligned with
+ the left side of the dialog and the right button with the
+ right side - the space in between will shrink and grow with
+ the dialog.
+
+ :param proportion: Although the meaning of this parameter is
+ undefined in wx.Sizer, it is used in `wx.BoxSizer` to indicate
+ if a child of a sizer can change its size in the main
+ orientation of the wx.BoxSizer - where 0 stands for not
+ changeable and a value of more than zero is interpreted
+ relative (a proportion of the total) to the value of other
+ children of the same wx.BoxSizer. For example, you might have
+ a horizontal wx.BoxSizer with three children, two of which are
+ supposed to change their size with the sizer. Then the two
+ stretchable windows should each be given *proportion* value of
+ 1 to make them grow and shrink equally with the sizer's
+ horizontal dimension. But if one of them had a *proportion*
+ value of 2 then it would get a double share of the space
+ available after the fixed size items are positioned.
+
+ :param flag: This parameter can be used to set a number of flags
+ which can be combined using the binary OR operator ``|``. Two
+ main behaviours are defined using these flags. One is the
+ border around a window: the *border* parameter determines the
+ border width whereas the flags given here determine which
+ side(s) of the item that the border will be added. The other
+ flags determine how the sizer item behaves when the space
+ allotted to the sizer changes, and is somewhat dependent on
+ the specific kind of sizer used.
+
+ +----------------------------+------------------------------------------+
+ |- wx.TOP |These flags are used to specify |
+ |- wx.BOTTOM |which side(s) of the sizer item that |
+ |- wx.LEFT |the *border* width will apply to. |
+ |- wx.RIGHT | |
+ |- wx.ALL | |
+ | | |
+ +----------------------------+------------------------------------------+
+ |- wx.EXAPAND |The item will be expanded to fill |
+ | |the space allotted to the item. |
+ +----------------------------+------------------------------------------+
+ |- wx.SHAPED |The item will be expanded as much as |
+ | |possible while also maintaining its |
+ | |aspect ratio |
+ +----------------------------+------------------------------------------+
+ |- wx.FIXED_MINSIZE |Normally wx.Sizers will use |
+ | |`wx.Window.GetMinSize` or |
+ | |`wx.Window.GetBestSize` to determine what |
+ | |the minimal size of window items should |
+ | |be, and will use that size to calculate |
+ | |the layout. This allows layouts to adjust |
+ | |when an item changes and it's best size |
+ | |becomes different. If you would rather |
+ | |have a window item stay the size it |
+ | |started with then use wx.FIXED_MINSIZE. |
+ +----------------------------+------------------------------------------+
+ |- wx.ALIGN_CENTER |The wx.ALIGN flags allow you to specify |
+ |- wx.ALIGN_LEFT |the alignment of the item within the space|
+ |- wx.ALIGN_RIGHT |allotted to it by the sizer, ajusted for |
+ |- wx.ALIGN_TOP |the border if any. |
+ |- wx.ALIGN_BOTTOM | |
+ |- wx.ALIGN_CENTER_VERTICAL | |
+ |- wx.ALIGN_CENTER_HORIZONTAL| |
+ +----------------------------+------------------------------------------+
+
+
+ :param border: Determines the border width, if the *flag*
+ parameter is set to include any border flag.
+
+ :param userData: Allows an extra object to be attached to the
+ sizer item, for use in derived classes when sizing information
+ is more complex than the *proportion* and *flag* will allow for.
+</docstring>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ <param name="proportion" type="int" default="0"/>
+ <param name="flag" type="int" default="0"/>
+ <param name="border" type="int" default="0"/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Insert" type="" overloaded="no">
+ <autodoc>Insert(self, int before, item, int proportion=0, int flag=0, int border=0,
+ PyObject userData=None)</autodoc>
+ <docstring>Inserts a new item into the list of items managed by this sizer before
+the item at index *before*. See `Add` for a description of the parameters.</docstring>
+ <paramlist>
+ <param name="before" type="int" default=""/>
+ <param name="item" type="PyObject" default=""/>
+ <param name="proportion" type="int" default="0"/>
+ <param name="flag" type="int" default="0"/>
+ <param name="border" type="int" default="0"/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Prepend" type="" overloaded="no">
+ <autodoc>Prepend(self, item, int proportion=0, int flag=0, int border=0,
+ PyObject userData=None)</autodoc>
+ <docstring>Adds a new item to the begining of the list of sizer items managed by
+this sizer. See `Add` for a description of the parameters.</docstring>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ <param name="proportion" type="int" default="0"/>
+ <param name="flag" type="int" default="0"/>
+ <param name="border" type="int" default="0"/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Remove" type="bool" overloaded="no">
+ <autodoc>Remove(self, item) -> bool</autodoc>
+ <docstring>Removes an item from the sizer and destroys it. This method does not
+cause any layout or resizing to take place, call `Layout` to update
+the layout on screen after removing a child from the sizer. The
+*item* parameter can be either a window, a sizer, or the zero-based
+index of an item to remove. Returns True if the child item was found
+and removed.
+
+:note: For historical reasons calling this method with a `wx.Window`
+ parameter is depreacted, as it will not be able to destroy the
+ window since it is owned by its parent. You should use `Detach`
+ instead.
+</docstring>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Detach" type="bool" overloaded="no">
+ <autodoc>Detach(self, item) -> bool</autodoc>
+ <docstring>Detaches an item from the sizer without destroying it. This method
+does not cause any layout or resizing to take place, call `Layout` to
+do so. The *item* parameter can be either a window, a sizer, or the
+zero-based index of the item to be detached. Returns True if the child item
+was found and detached.</docstring>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="_SetItemMinSize" type="" overloaded="no">
+ <autodoc>_SetItemMinSize(self, PyObject item, Size size)</autodoc>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddItem" type="" overloaded="no">
+ <autodoc>AddItem(self, SizerItem item)</autodoc>
+ <docstring>Adds a `wx.SizerItem` to the sizer.</docstring>
+ <paramlist>
+ <param name="item" type="SizerItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertItem" type="" overloaded="no">
+ <autodoc>InsertItem(self, int index, SizerItem item)</autodoc>
+ <docstring>Inserts a `wx.SizerItem` to the sizer at the position given by *index*.</docstring>
+ <paramlist>
+ <param name="index" type="size_t" default=""/>
+ <param name="item" type="SizerItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="PrependItem" type="" overloaded="no">
+ <autodoc>PrependItem(self, SizerItem item)</autodoc>
+ <docstring>Prepends a `wx.SizerItem` to the sizer.</docstring>
+ <paramlist>
+ <param name="item" type="SizerItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDimension" type="" overloaded="no">
+ <autodoc>SetDimension(self, int x, int y, int width, int height)</autodoc>
+ <docstring>Call this to force the sizer to take the given dimension and thus
+force the items owned by the sizer to resize themselves according to
+the rules defined by the parameter in the `Add`, `Insert` or `Prepend`
+methods.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinSize" type="" overloaded="no">
+ <autodoc>SetMinSize(self, Size size)</autodoc>
+ <docstring>Call this to give the sizer a minimal size. Normally, the sizer will
+calculate its minimal size based purely on how much space its children
+need. After calling this method `GetMinSize` will return either the
+minimal size as requested by its children or the minimal size set
+here, depending on which is bigger.</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ <docstring>Returns the current size of the space managed by the sizer.</docstring>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ <docstring>Returns the current position of the sizer's managed space.</docstring>
+ </method>
+ <method name="GetMinSize" type="Size" overloaded="no">
+ <autodoc>GetMinSize(self) -> Size</autodoc>
+ <docstring>Returns the minimal size of the sizer. This is either the combined
+minimal size of all the children and their borders or the minimal size
+set by SetMinSize, depending on which is bigger.</docstring>
+ </method>
+ <method name="RecalcSizes" type="" overloaded="no">
+ <autodoc>RecalcSizes(self)</autodoc>
+ <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
+items managed by this sizer. You should not need to call this directly as
+it is called by `Layout`.</docstring>
+ </method>
+ <method name="CalcMin" type="Size" overloaded="no">
+ <autodoc>CalcMin(self) -> Size</autodoc>
+ <docstring>This method is where the sizer will do the actual calculation of its
+children's minimal sizes. You should not need to call this directly as
+it is called by `Layout`.</docstring>
+ </method>
+ <method name="Layout" type="" overloaded="no">
+ <autodoc>Layout(self)</autodoc>
+ <docstring>This method will force the recalculation and layout of the items
+controlled by the sizer using the current space allocated to the
+sizer. Normally this is called automatically from the owning window's
+EVT_SIZE handler, but it is also useful to call it from user code when
+one of the items in a sizer change size, or items are added or
+removed.</docstring>
+ </method>
+ <method name="Fit" type="Size" overloaded="no">
+ <autodoc>Fit(self, Window window) -> Size</autodoc>
+ <docstring>Tell the sizer to resize the *window* to match the sizer's minimal
+size. This is commonly done in the constructor of the window itself in
+order to set its initial size to match the needs of the children as
+determined by the sizer. Returns the new size.
+
+For a top level window this is the total window size, not the client size.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="FitInside" type="" overloaded="no">
+ <autodoc>FitInside(self, Window window)</autodoc>
+ <docstring>Tell the sizer to resize the *virtual size* of the *window* to match the
+sizer's minimal size. This will not alter the on screen size of the
+window, but may cause the addition/removal/alteration of scrollbars
+required to view the virtual area in windows which manage it.
+
+:see: `wx.ScrolledWindow.SetScrollbars`, `SetVirtualSizeHints`
+</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSizeHints" type="" overloaded="no">
+ <autodoc>SetSizeHints(self, Window window)</autodoc>
+ <docstring>Tell the sizer to set (and `Fit`) the minimal size of the *window* to
+match the sizer's minimal size. This is commonly done in the
+constructor of the window itself if the window is resizable (as are
+many dialogs under Unix and frames on probably all platforms) in order
+to prevent the window from being sized smaller than the minimal size
+required by the sizer.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetVirtualSizeHints" type="" overloaded="no">
+ <autodoc>SetVirtualSizeHints(self, Window window)</autodoc>
+ <docstring>Tell the sizer to set the minimal size of the window virtual area to
+match the sizer's minimal size. For windows with managed scrollbars
+this will set them appropriately.
+
+:see: `wx.ScrolledWindow.SetScrollbars`
+</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self, bool deleteWindows=False)</autodoc>
+ <docstring>Clear all items from the sizer, optionally destroying the window items
+as well.</docstring>
+ <paramlist>
+ <param name="deleteWindows" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="DeleteWindows" type="" overloaded="no">
+ <autodoc>DeleteWindows(self)</autodoc>
+ <docstring>Destroy all windows managed by the sizer.</docstring>
+ </method>
+ <method name="GetChildren" type="PyObject" overloaded="no">
+ <autodoc>GetChildren(sefl) -> list</autodoc>
+ <docstring>Returns a list of all the `wx.SizerItem` objects managed by the sizer.</docstring>
+ </method>
+ <method name="Show" type="" overloaded="no">
+ <autodoc>Show(self, item, bool show=True)</autodoc>
+ <docstring>Shows or hides an item managed by the sizer. To make a sizer item
+disappear or reappear, use Show followed by `Layout`. The *item*
+parameter can be either a window, a sizer, or the zero-based index of
+the item.</docstring>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ <param name="show" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="IsShown" type="bool" overloaded="no">
+ <autodoc>IsShown(self, item)</autodoc>
+ <docstring>Determines if the item is currently shown. sizer. To make a sizer
+item disappear or reappear, use Show followed by `Layout`. The *item*
+parameter can be either a window, a sizer, or the zero-based index of
+the item.</docstring>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowItems" type="" overloaded="no">
+ <autodoc>ShowItems(self, bool show)</autodoc>
+ <docstring>Recursively call `wx.Window.Show` on all sizer items.</docstring>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PySizer" oldname="wxPySizer" module="_core">
+ <docstring>wx.PySizer is a special version of `wx.Sizer` that has been
+instrumented to allow the C++ virtual methods to be overloaded in
+Python derived classes. You would derive from this class if you are
+wanting to implement a custom sizer in Python code. Simply implement
+`CalcMin` and `RecalcSizes` in the derived class and you're all set.
+For example::
+
+ class MySizer(wx.PySizer):
+ def __init__(self):
+ wx.PySizer.__init__(self)
+
+ def CalcMin(self):
+ for item in self.GetChildren():
+ # calculate the total minimum width and height needed
+ # by all items in the sizer according to this sizer's
+ # layout algorithm.
+ ...
+ return wx.Size(width, height)
+
+ def RecalcSizes(self):
+ # find the space allotted to this sizer
+ pos = self.GetPosition()
+ size = self.GetSize()
+ for item in self.GetChildren():
+ # Recalculate (if necessary) the position and size of
+ # each item and then call item.SetDimension to do the
+ # actual positioning and sizing of the items within the
+ # space alloted to this sizer.
+ ...
+ item.SetDimension(itemPos, itemSize)
+
+
+When `Layout` is called it first calls `CalcMin` followed by
+`RecalcSizes` so you can optimize a bit by saving the results of
+`CalcMin` and resuing them in `RecalcSizes`.
+
+:see: `wx.SizerItem`, `wx.Sizer.GetChildren`
+
+</docstring>
+ <baseclass name="Sizer"/>
+ <constructor name="PySizer" overloaded="no">
+ <autodoc>__init__(self) -> PySizer</autodoc>
+ <docstring>Creates a wx.PySizer. Must be called from the __init__ in the derived
+class.</docstring>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MenuBar" oldname="wxMenuBar" module="core">
- <baseclass name="wxWindow"/>
- <constructor name="MenuBar" overloaded="no">
- <autodoc>__init__(long style=0) -> MenuBar</autodoc>
- <paramlist>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- <method name="Append" type="bool" overloaded="no">
- <autodoc>Append(Menu menu, String title) -> bool</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Insert" type="bool" overloaded="no">
- <autodoc>Insert(size_t pos, Menu menu, String title) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="menu" type="p.wxMenu" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetMenuCount" type="size_t" overloaded="no">
- <autodoc>GetMenuCount() -> size_t</autodoc>
- </method>
- <method name="GetMenu" type="wxMenu" overloaded="no">
- <autodoc>GetMenu(size_t pos) -> Menu</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="Replace" type="wxMenu" overloaded="no">
- <autodoc>Replace(size_t pos, Menu menu, String title) -> Menu</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="menu" type="p.wxMenu" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Remove" type="wxMenu" overloaded="no">
- <autodoc>Remove(size_t pos) -> Menu</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="EnableTop" type="void" overloaded="no">
- <autodoc>EnableTop(size_t pos, bool enable)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsEnabledTop" type="bool" overloaded="no">
- <autodoc>IsEnabledTop(size_t pos) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SetLabelTop" type="void" overloaded="no">
- <autodoc>SetLabelTop(size_t pos, String label)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetLabelTop" type="wxString" overloaded="no">
- <autodoc>GetLabelTop(size_t pos) -> String</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="FindMenuItem" type="int" overloaded="no">
- <autodoc>FindMenuItem(String menu, String item) -> int</autodoc>
- <paramlist>
- <param name="menu" type="r.q(const).wxString" default=""/>
- <param name="item" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindItemById" type="wxMenuItem" overloaded="no">
- <autodoc>FindItemById(int id) -> MenuItem</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="FindMenu" type="int" overloaded="no">
- <autodoc>FindMenu(String title) -> int</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Enable" type="void" overloaded="no">
- <autodoc>Enable(int id, bool enable)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Check" type="void" overloaded="no">
- <autodoc>Check(int id, bool check)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="check" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsChecked" type="bool" overloaded="no">
- <autodoc>IsChecked(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsEnabled" type="bool" overloaded="no">
- <autodoc>IsEnabled(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLabel" type="void" overloaded="no">
- <autodoc>SetLabel(int id, String label)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetLabel" type="wxString" overloaded="no">
- <autodoc>GetLabel(int id) -> String</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetHelpString" type="void" overloaded="no">
- <autodoc>SetHelpString(int id, String helpString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="helpString" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetHelpString" type="wxString" overloaded="no">
- <autodoc>GetHelpString(int id) -> String</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFrame" type="wxFrame" overloaded="no">
- <autodoc>GetFrame() -> wxFrame</autodoc>
- </method>
- <method name="IsAttached" type="bool" overloaded="no">
- <autodoc>IsAttached() -> bool</autodoc>
- </method>
- <method name="Attach" type="void" overloaded="no">
- <autodoc>Attach(wxFrame frame)</autodoc>
- <paramlist>
- <param name="frame" type="p.wxFrame" default=""/>
- </paramlist>
- </method>
- <method name="Detach" type="void" overloaded="no">
- <autodoc>Detach()</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="BoxSizer" oldname="wxBoxSizer" module="_core">
+ <docstring>The basic idea behind a box sizer is that windows will most often be
+laid out in rather simple basic geometry, typically in a row or a
+column or nested hierarchies of either. A wx.BoxSizer will lay out
+its items in a simple row or column, depending on the orientation
+parameter passed to the constructor.
+
+It is the unique feature of a box sizer, that it can grow in both
+directions (height and width) but can distribute its growth in the
+main direction (horizontal for a row) *unevenly* among its children.
+This is determined by the proportion parameter give to items when they
+are added to the sizer. It is interpreted as a weight factor, i.e. it
+can be zero, indicating that the window may not be resized at all, or
+above zero. If several windows have a value above zero, the value is
+interpreted relative to the sum of all weight factors of the sizer, so
+when adding two windows with a value of 1, they will both get resized
+equally and each will receive half of the available space after the
+fixed size items have been sized. If the items have unequal
+proportion settings then they will receive a coresondingly unequal
+allotment of the free space.
+
+:see: `wx.StaticBoxSizer`
+</docstring>
+ <baseclass name="Sizer"/>
+ <constructor name="BoxSizer" overloaded="no">
+ <autodoc>__init__(self, int orient=HORIZONTAL) -> BoxSizer</autodoc>
+ <docstring>Constructor for a wx.BoxSizer. *orient* may be one of ``wx.VERTICAL``
+or ``wx.HORIZONTAL`` for creating either a column sizer or a row
+sizer.</docstring>
+ <paramlist>
+ <param name="orient" type="int" default="wxHORIZONTAL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetOrientation" type="int" overloaded="no">
+ <autodoc>GetOrientation(self) -> int</autodoc>
+ <docstring>Returns the current orientation of the sizer.</docstring>
+ </method>
+ <method name="SetOrientation" type="" overloaded="no">
+ <autodoc>SetOrientation(self, int orient)</autodoc>
+ <docstring>Resets the orientation of the sizer.</docstring>
+ <paramlist>
+ <param name="orient" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MenuItem" oldname="wxMenuItem" module="core">
- <baseclass name="wxObject"/>
- <constructor name="MenuItem" overloaded="no">
- <autodoc>__init__(Menu parentMenu=None, int id=ID_SEPARATOR, String text=EmptyString,
- String help=EmptyString, int kind=ITEM_NORMAL,
- Menu subMenu=None) -> MenuItem</autodoc>
- <paramlist>
- <param name="parentMenu" type="p.wxMenu" default="NULL"/>
- <param name="id" type="int" default="wxID_SEPARATOR"/>
- <param name="text" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="help" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
- <param name="subMenu" type="p.wxMenu" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetMenu" type="wxMenu" overloaded="no">
- <autodoc>GetMenu() -> Menu</autodoc>
- </method>
- <method name="SetMenu" type="void" overloaded="no">
- <autodoc>SetMenu(Menu menu)</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- </paramlist>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(int id)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetId" type="int" overloaded="no">
- <autodoc>GetId() -> int</autodoc>
- </method>
- <method name="IsSeparator" type="bool" overloaded="no">
- <autodoc>IsSeparator() -> bool</autodoc>
- </method>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetLabel" type="wxString" overloaded="no">
- <autodoc>GetLabel() -> String</autodoc>
- </method>
- <method name="GetText" type="q(const).wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <staticmethod name="GetLabelFromText" type="wxString" overloaded="no">
- <autodoc>MenuItem.GetLabelFromText(String text) -> String</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <method name="GetKind" type="wxItemKind" overloaded="no">
- <autodoc>GetKind() -> int</autodoc>
- </method>
- <method name="SetCheckable" type="void" overloaded="no">
- <autodoc>SetCheckable(bool checkable)</autodoc>
- <paramlist>
- <param name="checkable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsCheckable" type="bool" overloaded="no">
- <autodoc>IsCheckable() -> bool</autodoc>
- </method>
- <method name="IsSubMenu" type="bool" overloaded="no">
- <autodoc>IsSubMenu() -> bool</autodoc>
- </method>
- <method name="SetSubMenu" type="void" overloaded="no">
- <autodoc>SetSubMenu(Menu menu)</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- </paramlist>
- </method>
- <method name="GetSubMenu" type="wxMenu" overloaded="no">
- <autodoc>GetSubMenu() -> Menu</autodoc>
- </method>
- <method name="Enable" type="void" overloaded="no">
- <autodoc>Enable(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="IsEnabled" type="bool" overloaded="no">
- <autodoc>IsEnabled() -> bool</autodoc>
- </method>
- <method name="Check" type="void" overloaded="no">
- <autodoc>Check(bool check=True)</autodoc>
- <paramlist>
- <param name="check" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="IsChecked" type="bool" overloaded="no">
- <autodoc>IsChecked() -> bool</autodoc>
- </method>
- <method name="Toggle" type="void" overloaded="no">
- <autodoc>Toggle()</autodoc>
- </method>
- <method name="SetHelp" type="void" overloaded="no">
- <autodoc>SetHelp(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetHelp" type="q(const).wxString" overloaded="no">
- <autodoc>GetHelp() -> String</autodoc>
- </method>
- <method name="GetAccel" type="wxAcceleratorEntry" overloaded="no">
- <autodoc>GetAccel() -> AcceleratorEntry</autodoc>
- </method>
- <method name="SetAccel" type="void" overloaded="no">
- <autodoc>SetAccel(AcceleratorEntry accel)</autodoc>
- <paramlist>
- <param name="accel" type="p.wxAcceleratorEntry" default=""/>
- </paramlist>
- </method>
- <staticmethod name="GetDefaultMarginWidth" type="int" overloaded="no">
- <autodoc>MenuItem.GetDefaultMarginWidth() -> int</autodoc>
- </staticmethod>
- <method name="SetBitmap" type="void" overloaded="no">
- <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="GetBitmap" type="q(const).wxBitmap" overloaded="no">
- <autodoc>GetBitmap() -> Bitmap</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Control" oldname="wxControl" module="core">
- <baseclass name="wxWindow"/>
- <constructor name="Control" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- String name=ControlNameStr) -> Control</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyControlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreControl" overloaded="no">
- <autodoc>PreControl() -> Control</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- String name=ControlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyControlNameStr"/>
- </paramlist>
- </method>
- <method name="Command" type="void" overloaded="no">
- <autodoc>Command(CommandEvent event)</autodoc>
- <paramlist>
- <param name="event" type="r.wxCommandEvent" default=""/>
- </paramlist>
- </method>
- <method name="GetLabel" type="wxString" overloaded="no">
- <autodoc>GetLabel() -> String</autodoc>
- </method>
- <method name="SetLabel" type="void" overloaded="no">
- <autodoc>SetLabel(String label)</autodoc>
- <paramlist>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="_core">
+ <docstring>wx.StaticBoxSizer derives from and functions identically to the
+`wx.BoxSizer` and adds a `wx.StaticBox` around the items that the sizer
+manages. Note that this static box must be created separately and
+passed to the sizer constructor.</docstring>
+ <baseclass name="BoxSizer"/>
+ <constructor name="StaticBoxSizer" overloaded="no">
+ <autodoc>__init__(self, StaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer</autodoc>
+ <docstring>Constructor. It takes an associated static box and the orientation
+*orient* as parameters - orient can be either of ``wx.VERTICAL`` or
+``wx.HORIZONTAL``.</docstring>
+ <paramlist>
+ <param name="box" type="wxStaticBox" default=""/>
+ <param name="orient" type="int" default="wxHORIZONTAL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetStaticBox" type="wxStaticBox" overloaded="no">
+ <autodoc>GetStaticBox(self) -> StaticBox</autodoc>
+ <docstring>Returns the static box associated with this sizer.</docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ItemContainer" oldname="wxItemContainer" module="core">
- <method name="Append" type="int" overloaded="no">
- <autodoc>Append(String item, PyObject clientData=None) -> int</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxString" default=""/>
- <param name="clientData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="AppendItems" type="void" overloaded="no">
- <autodoc>AppendItems(wxArrayString strings)</autodoc>
- <paramlist>
- <param name="strings" type="r.q(const).wxArrayString" default=""/>
- </paramlist>
- </method>
- <method name="Insert" type="int" overloaded="no">
- <autodoc>Insert(String item, int pos, PyObject clientData=None) -> int</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxString" default=""/>
- <param name="pos" type="int" default=""/>
- <param name="clientData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="Delete" type="void" overloaded="no">
- <autodoc>Delete(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCount" type="int" overloaded="no">
- <autodoc>GetCount() -> int</autodoc>
- </method>
- <method name="IsEmpty" type="bool" overloaded="no">
- <autodoc>IsEmpty() -> bool</autodoc>
- </method>
- <method name="GetString" type="wxString" overloaded="no">
- <autodoc>GetString(int n) -> String</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetStrings" type="wxArrayString" overloaded="no">
- <autodoc>GetStrings() -> wxArrayString</autodoc>
- </method>
- <method name="SetString" type="void" overloaded="no">
- <autodoc>SetString(int n, String s)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindString" type="int" overloaded="no">
- <autodoc>FindString(String s) -> int</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Select" type="void" overloaded="no">
- <autodoc>Select(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSelection" type="int" overloaded="no">
- <autodoc>GetSelection() -> int</autodoc>
- </method>
- <method name="GetStringSelection" type="wxString" overloaded="no">
- <autodoc>GetStringSelection() -> String</autodoc>
- </method>
- <method name="GetClientData" type="PyObject" overloaded="no">
- <autodoc>GetClientData(int n) -> PyObject</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetClientData" type="void" overloaded="no">
- <autodoc>SetClientData(int n, PyObject clientData)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="clientData" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="GridSizer" oldname="wxGridSizer" module="_core">
+ <docstring>A grid sizer is a sizer which lays out its children in a
+two-dimensional table with all cells having the same size. In other
+words, the width of each cell within the grid is the width of the
+widest item added to the sizer and the height of each grid cell is the
+height of the tallest item. An optional vertical and/or horizontal
+gap between items can also be specified (in pixels.)
+
+Items are placed in the cells of the grid in the order they are added,
+in row-major order. In other words, the first row is filled first,
+then the second, and so on until all items have been added. (If
+neccessary, additional rows will be added as items are added.) If you
+need to have greater control over the cells that items are placed in
+then use the `wx.GridBagSizer`.
+</docstring>
+ <baseclass name="Sizer"/>
+ <constructor name="GridSizer" overloaded="no">
+ <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer</autodoc>
+ <docstring>Constructor for a wx.GridSizer. *rows* and *cols* determine the number
+of columns and rows in the sizer - if either of the parameters is
+zero, it will be calculated to from the total number of children in
+the sizer, thus making the sizer grow dynamically. *vgap* and *hgap*
+define extra space between all children.</docstring>
+ <paramlist>
+ <param name="rows" type="int" default="1"/>
+ <param name="cols" type="int" default="0"/>
+ <param name="vgap" type="int" default="0"/>
+ <param name="hgap" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="SetCols" type="" overloaded="no">
+ <autodoc>SetCols(self, int cols)</autodoc>
+ <docstring>Sets the number of columns in the sizer.</docstring>
+ <paramlist>
+ <param name="cols" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRows" type="" overloaded="no">
+ <autodoc>SetRows(self, int rows)</autodoc>
+ <docstring>Sets the number of rows in the sizer.</docstring>
+ <paramlist>
+ <param name="rows" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetVGap" type="" overloaded="no">
+ <autodoc>SetVGap(self, int gap)</autodoc>
+ <docstring>Sets the vertical gap (in pixels) between the cells in the sizer.</docstring>
+ <paramlist>
+ <param name="gap" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHGap" type="" overloaded="no">
+ <autodoc>SetHGap(self, int gap)</autodoc>
+ <docstring>Sets the horizontal gap (in pixels) between cells in the sizer</docstring>
+ <paramlist>
+ <param name="gap" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCols" type="int" overloaded="no">
+ <autodoc>GetCols(self) -> int</autodoc>
+ <docstring>Returns the number of columns in the sizer.</docstring>
+ </method>
+ <method name="GetRows" type="int" overloaded="no">
+ <autodoc>GetRows(self) -> int</autodoc>
+ <docstring>Returns the number of rows in the sizer.</docstring>
+ </method>
+ <method name="GetVGap" type="int" overloaded="no">
+ <autodoc>GetVGap(self) -> int</autodoc>
+ <docstring>Returns the vertical gap (in pixels) between the cells in the sizer.</docstring>
+ </method>
+ <method name="GetHGap" type="int" overloaded="no">
+ <autodoc>GetHGap(self) -> int</autodoc>
+ <docstring>Returns the horizontal gap (in pixels) between cells in the sizer.</docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ControlWithItems" oldname="wxControlWithItems" module="core">
- <baseclass name="wxControl"/>
- <baseclass name="wxItemContainer"/>
- </class>
- <pythoncode>
+ <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="_core">
+ <docstring>A flex grid sizer is a sizer which lays out its children in a
+two-dimensional table with all table cells in one row having the same
+height and all cells in one column having the same width, but all
+rows or all columns are not necessarily the same height or width as in
+the `wx.GridSizer`.
+
+wx.FlexGridSizer can also size items equally in one direction but
+unequally ("flexibly") in the other. If the sizer is only flexible
+in one direction (this can be changed using `SetFlexibleDirection`), it
+needs to be decided how the sizer should grow in the other ("non
+flexible") direction in order to fill the available space. The
+`SetNonFlexibleGrowMode` method serves this purpose.
+
+</docstring>
+ <baseclass name="GridSizer"/>
+ <constructor name="FlexGridSizer" overloaded="no">
+ <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer</autodoc>
+ <docstring>Constructor for a wx.FlexGridSizer. *rows* and *cols* determine the
+number of columns and rows in the sizer - if either of the parameters
+is zero, it will be calculated to from the total number of children in
+the sizer, thus making the sizer grow dynamically. *vgap* and *hgap*
+define extra space between all children.</docstring>
+ <paramlist>
+ <param name="rows" type="int" default="1"/>
+ <param name="cols" type="int" default="0"/>
+ <param name="vgap" type="int" default="0"/>
+ <param name="hgap" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="AddGrowableRow" type="" overloaded="no">
+ <autodoc>AddGrowableRow(self, size_t idx, int proportion=0)</autodoc>
+ <docstring>Specifies that row *idx* (starting from zero) should be grown if there
+is extra space available to the sizer.
+
+The *proportion* parameter has the same meaning as the stretch factor
+for the box sizers except that if all proportions are 0, then all
+columns are resized equally (instead of not being resized at all).</docstring>
+ <paramlist>
+ <param name="idx" type="size_t" default=""/>
+ <param name="proportion" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="RemoveGrowableRow" type="" overloaded="no">
+ <autodoc>RemoveGrowableRow(self, size_t idx)</autodoc>
+ <docstring>Specifies that row *idx* is no longer growable.</docstring>
+ <paramlist>
+ <param name="idx" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddGrowableCol" type="" overloaded="no">
+ <autodoc>AddGrowableCol(self, size_t idx, int proportion=0)</autodoc>
+ <docstring>Specifies that column *idx* (starting from zero) should be grown if
+there is extra space available to the sizer.
+
+The *proportion* parameter has the same meaning as the stretch factor
+for the box sizers except that if all proportions are 0, then all
+columns are resized equally (instead of not being resized at all).</docstring>
+ <paramlist>
+ <param name="idx" type="size_t" default=""/>
+ <param name="proportion" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="RemoveGrowableCol" type="" overloaded="no">
+ <autodoc>RemoveGrowableCol(self, size_t idx)</autodoc>
+ <docstring>Specifies that column *idx* is no longer growable.</docstring>
+ <paramlist>
+ <param name="idx" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFlexibleDirection" type="" overloaded="no">
+ <autodoc>SetFlexibleDirection(self, int direction)</autodoc>
+ <docstring>Specifies whether the sizer should flexibly resize its columns, rows,
+or both. Argument *direction* can be one of the following values. Any
+other value is ignored.
+
+ ============== =======================================
+ wx.VERTICAL Rows are flexibly sized.
+ wx.HORIZONTAL Columns are flexibly sized.
+ wx.BOTH Both rows and columns are flexibly sized
+ (this is the default value).
+ ============== =======================================
+
+Note that this method does not trigger relayout.
+</docstring>
+ <paramlist>
+ <param name="direction" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFlexibleDirection" type="int" overloaded="no">
+ <autodoc>GetFlexibleDirection(self) -> int</autodoc>
+ <docstring>Returns a value that specifies whether the sizer
+flexibly resizes its columns, rows, or both (default).
+
+:see: `SetFlexibleDirection`</docstring>
+ </method>
+ <method name="SetNonFlexibleGrowMode" type="" overloaded="no">
+ <autodoc>SetNonFlexibleGrowMode(self, int mode)</autodoc>
+ <docstring>Specifies how the sizer should grow in the non-flexible direction if
+there is one (so `SetFlexibleDirection` must have been called
+previously). Argument *mode* can be one of the following values:
+
+ ========================== =================================================
+ wx.FLEX_GROWMODE_NONE Sizer doesn't grow in the non flexible direction.
+ wx.FLEX_GROWMODE_SPECIFIED Sizer honors growable columns/rows set with
+ `AddGrowableCol` and `AddGrowableRow`. In this
+ case equal sizing applies to minimum sizes of
+ columns or rows (this is the default value).
+ wx.FLEX_GROWMODE_ALL Sizer equally stretches all columns or rows in
+ the non flexible direction, whether they are
+ growable or not in the flexbile direction.
+ ========================== =================================================
+
+Note that this method does not trigger relayout.
+
+</docstring>
+ <paramlist>
+ <param name="mode" type="wxFlexSizerGrowMode" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no">
+ <autodoc>GetNonFlexibleGrowMode(self) -> int</autodoc>
+ <docstring>Returns the value that specifies how the sizer grows in the
+non-flexible direction if there is one.
+
+:see: `SetNonFlexibleGrowMode`</docstring>
+ </method>
+ <method name="GetRowHeights" type="wxArrayInt" overloaded="no">
+ <autodoc>GetRowHeights(self) -> list</autodoc>
+ <docstring>Returns a list of integers representing the heights of each of the
+rows in the sizer.</docstring>
+ </method>
+ <method name="GetColWidths" type="wxArrayInt" overloaded="no">
+ <autodoc>GetColWidths(self) -> list</autodoc>
+ <docstring>Returns a list of integers representing the widths of each of the
+columns in the sizer.</docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="SizerItem" oldname="wxSizerItem" module="core">
- <baseclass name="wxObject"/>
- <constructor name="SizerItem" overloaded="no">
- <autodoc>__init__() -> SizerItem</autodoc>
- </constructor>
- <constructor name="SizerItemSpacer" overloaded="no">
- <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border,
- Object userData) -> SizerItem</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="proportion" type="int" default=""/>
- <param name="flag" type="int" default=""/>
- <param name="border" type="int" default=""/>
- <param name="userData" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- <constructor name="SizerItemWindow" overloaded="no">
- <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border,
- Object userData) -> SizerItem</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="proportion" type="int" default=""/>
- <param name="flag" type="int" default=""/>
- <param name="border" type="int" default=""/>
- <param name="userData" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- <constructor name="SizerItemSizer" overloaded="no">
- <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border,
- Object userData) -> SizerItem</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- <param name="proportion" type="int" default=""/>
- <param name="flag" type="int" default=""/>
- <param name="border" type="int" default=""/>
- <param name="userData" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- <method name="DeleteWindows" type="void" overloaded="no">
- <autodoc>DeleteWindows()</autodoc>
- </method>
- <method name="DetachSizer" type="void" overloaded="no">
- <autodoc>DetachSizer()</autodoc>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- <method name="SetDimension" type="void" overloaded="no">
- <autodoc>SetDimension(Point pos, Size size)</autodoc>
- <paramlist>
- <param name="pos" type="wxPoint" default=""/>
- <param name="size" type="wxSize" default=""/>
- </paramlist>
- </method>
- <method name="GetMinSize" type="wxSize" overloaded="no">
- <autodoc>GetMinSize() -> Size</autodoc>
- </method>
- <method name="SetInitSize" type="void" overloaded="no">
- <autodoc>SetInitSize(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRatioWH" type="void" overloaded="no">
- <autodoc>SetRatioWH(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRatioSize" type="void" overloaded="no">
- <autodoc>SetRatioSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetRatio" type="void" overloaded="no">
- <autodoc>SetRatio(float ratio)</autodoc>
- <paramlist>
- <param name="ratio" type="float" default=""/>
- </paramlist>
- </method>
- <method name="GetRatio" type="float" overloaded="no">
- <autodoc>GetRatio() -> float</autodoc>
- </method>
- <method name="IsWindow" type="bool" overloaded="no">
- <autodoc>IsWindow() -> bool</autodoc>
- </method>
- <method name="IsSizer" type="bool" overloaded="no">
- <autodoc>IsSizer() -> bool</autodoc>
- </method>
- <method name="IsSpacer" type="bool" overloaded="no">
- <autodoc>IsSpacer() -> bool</autodoc>
- </method>
- <method name="SetProportion" type="void" overloaded="no">
- <autodoc>SetProportion(int proportion)</autodoc>
- <paramlist>
- <param name="proportion" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetProportion" type="int" overloaded="no">
- <autodoc>GetProportion() -> int</autodoc>
- </method>
- <method name="SetFlag" type="void" overloaded="no">
- <autodoc>SetFlag(int flag)</autodoc>
- <paramlist>
- <param name="flag" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFlag" type="int" overloaded="no">
- <autodoc>GetFlag() -> int</autodoc>
- </method>
- <method name="SetBorder" type="void" overloaded="no">
- <autodoc>SetBorder(int border)</autodoc>
- <paramlist>
- <param name="border" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBorder" type="int" overloaded="no">
- <autodoc>GetBorder() -> int</autodoc>
- </method>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- <method name="SetWindow" type="void" overloaded="no">
- <autodoc>SetWindow(Window window)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetSizer" type="wxSizer" overloaded="no">
- <autodoc>GetSizer() -> Sizer</autodoc>
- </method>
- <method name="SetSizer" type="void" overloaded="no">
- <autodoc>SetSizer(Sizer sizer)</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- </paramlist>
- </method>
- <method name="GetSpacer" type="q(const).wxSize" overloaded="no">
- <autodoc>GetSpacer() -> Size</autodoc>
- </method>
- <method name="SetSpacer" type="void" overloaded="no">
- <autodoc>SetSpacer(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="Show" type="void" overloaded="no">
- <autodoc>Show(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsShown" type="bool" overloaded="no">
- <autodoc>IsShown() -> bool</autodoc>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="GetUserData" type="PyObject" overloaded="no">
- <autodoc>GetUserData() -> PyObject</autodoc>
- </method>
- </class>
- <class name="Sizer" oldname="wxSizer" module="core">
- <baseclass name="wxObject"/>
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Add" type="void" overloaded="no">
- <autodoc>Add(PyObject item, int proportion=0, int flag=0, int border=0,
- PyObject userData=None)</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- <param name="proportion" type="int" default="0"/>
- <param name="flag" type="int" default="0"/>
- <param name="border" type="int" default="0"/>
- <param name="userData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="Insert" type="void" overloaded="no">
- <autodoc>Insert(int before, PyObject item, int proportion=0, int flag=0,
- int border=0, PyObject userData=None)</autodoc>
- <paramlist>
- <param name="before" type="int" default=""/>
- <param name="item" type="p.PyObject" default=""/>
- <param name="proportion" type="int" default="0"/>
- <param name="flag" type="int" default="0"/>
- <param name="border" type="int" default="0"/>
- <param name="userData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="Prepend" type="void" overloaded="no">
- <autodoc>Prepend(PyObject item, int proportion=0, int flag=0, int border=0,
- PyObject userData=None)</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- <param name="proportion" type="int" default="0"/>
- <param name="flag" type="int" default="0"/>
- <param name="border" type="int" default="0"/>
- <param name="userData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="Remove" type="bool" overloaded="no">
- <autodoc>Remove(PyObject item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="_SetItemMinSize" type="void" overloaded="no">
- <autodoc>_SetItemMinSize(PyObject item, Size size)</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="AddItem" type="void" overloaded="no">
- <autodoc>AddItem(SizerItem item)</autodoc>
- <paramlist>
- <param name="item" type="p.wxSizerItem" default=""/>
- </paramlist>
- </method>
- <method name="InsertItem" type="void" overloaded="no">
- <autodoc>InsertItem(size_t index, SizerItem item)</autodoc>
- <paramlist>
- <param name="index" type="size_t" default=""/>
- <param name="item" type="p.wxSizerItem" default=""/>
- </paramlist>
- </method>
- <method name="PrependItem" type="void" overloaded="no">
- <autodoc>PrependItem(SizerItem item)</autodoc>
- <paramlist>
- <param name="item" type="p.wxSizerItem" default=""/>
- </paramlist>
- </method>
- <method name="SetDimension" type="void" overloaded="no">
- <autodoc>SetDimension(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMinSize" type="void" overloaded="no">
- <autodoc>SetMinSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="GetMinSize" type="wxSize" overloaded="no">
- <autodoc>GetMinSize() -> Size</autodoc>
- </method>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- <method name="Layout" type="void" overloaded="no">
- <autodoc>Layout()</autodoc>
- </method>
- <method name="Fit" type="wxSize" overloaded="no">
- <autodoc>Fit(Window window) -> Size</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="FitInside" type="void" overloaded="no">
- <autodoc>FitInside(Window window)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="SetSizeHints" type="void" overloaded="no">
- <autodoc>SetSizeHints(Window window)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="SetVirtualSizeHints" type="void" overloaded="no">
- <autodoc>SetVirtualSizeHints(Window window)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear(bool delete_windows=False)</autodoc>
- <paramlist>
- <param name="delete_windows" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="DeleteWindows" type="void" overloaded="no">
- <autodoc>DeleteWindows()</autodoc>
- </method>
- <method name="GetChildren" type="PyObject" overloaded="no">
- <autodoc>GetChildren() -> PyObject</autodoc>
- </method>
- <method name="Show" type="void" overloaded="no">
- <autodoc>Show(PyObject item, bool show=True)</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- <param name="show" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Hide" type="void" overloaded="no">
- <autodoc>Hide(PyObject item)</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="IsShown" type="bool" overloaded="no">
- <autodoc>IsShown(PyObject item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="ShowItems" type="void" overloaded="no">
- <autodoc>ShowItems(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PySizer" oldname="wxPySizer" module="core">
- <baseclass name="wxSizer"/>
- <constructor name="PySizer" overloaded="no">
- <autodoc>__init__() -> PySizer</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="GBPosition" oldname="wxGBPosition" module="_core">
+ <docstring>This class represents the position of an item in a virtual grid of
+rows and columns managed by a `wx.GridBagSizer`. wxPython has
+typemaps that will automatically convert from a 2-element sequence of
+integers to a wx.GBPosition, so you can use the more pythonic
+representation of the position nearly transparently in Python code.</docstring>
+ <constructor name="GBPosition" overloaded="no">
+ <autodoc>__init__(self, int row=0, int col=0) -> GBPosition</autodoc>
+ <docstring>This class represents the position of an item in a virtual grid of
+rows and columns managed by a `wx.GridBagSizer`. wxPython has
+typemaps that will automatically convert from a 2-element sequence of
+integers to a wx.GBPosition, so you can use the more pythonic
+representation of the position nearly transparently in Python code.</docstring>
+ <paramlist>
+ <param name="row" type="int" default="0"/>
+ <param name="col" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetRow" type="int" overloaded="no">
+ <autodoc>GetRow(self) -> int</autodoc>
+ </method>
+ <method name="GetCol" type="int" overloaded="no">
+ <autodoc>GetCol(self) -> int</autodoc>
+ </method>
+ <method name="SetRow" type="" overloaded="no">
+ <autodoc>SetRow(self, int row)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCol" type="" overloaded="no">
+ <autodoc>SetCol(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, GBPosition other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="GBPosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, GBPosition other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="GBPosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, int row=0, int col=0)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default="0"/>
+ <param name="col" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get(self) -> PyObject</autodoc>
+ </method>
+ </class>
+ <class name="GBSpan" oldname="wxGBSpan" module="_core">
+ <docstring>This class is used to hold the row and column spanning attributes of
+items in a `wx.GridBagSizer`. wxPython has typemaps that will
+automatically convert from a 2-element sequence of integers to a
+wx.GBSpan, so you can use the more pythonic representation of the span
+nearly transparently in Python code.
+</docstring>
+ <constructor name="GBSpan" overloaded="no">
+ <autodoc>__init__(self, int rowspan=1, int colspan=1) -> GBSpan</autodoc>
+ <docstring>Construct a new wxGBSpan, optionally setting the rowspan and
+colspan. The default is (1,1). (Meaning that the item occupies one
+cell in each direction.</docstring>
+ <paramlist>
+ <param name="rowspan" type="int" default="1"/>
+ <param name="colspan" type="int" default="1"/>
+ </paramlist>
+ </constructor>
+ <method name="GetRowspan" type="int" overloaded="no">
+ <autodoc>GetRowspan(self) -> int</autodoc>
+ </method>
+ <method name="GetColspan" type="int" overloaded="no">
+ <autodoc>GetColspan(self) -> int</autodoc>
+ </method>
+ <method name="SetRowspan" type="" overloaded="no">
+ <autodoc>SetRowspan(self, int rowspan)</autodoc>
+ <paramlist>
+ <param name="rowspan" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColspan" type="" overloaded="no">
+ <autodoc>SetColspan(self, int colspan)</autodoc>
+ <paramlist>
+ <param name="colspan" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, GBSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="GBSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, GBSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="GBSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, int rowspan=1, int colspan=1)</autodoc>
+ <paramlist>
+ <param name="rowspan" type="int" default="1"/>
+ <param name="colspan" type="int" default="1"/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get(self) -> PyObject</autodoc>
+ </method>
+ </class>
+ <class name="GBSizerItem" oldname="wxGBSizerItem" module="_core">
+ <docstring>The wx.GBSizerItem class is used to track the additional data about
+items in a `wx.GridBagSizer` such as the item's position in the grid
+and how many rows or columns it spans.
+</docstring>
+ <baseclass name="SizerItem"/>
+ <constructor name="GBSizerItem" overloaded="no">
+ <autodoc>__init__(self) -> GBSizerItem</autodoc>
+ <docstring>Constructs an empty wx.GBSizerItem. Either a window, sizer or spacer
+size will need to be set, as well as a position and span before this
+item can be used in a Sizer.
+
+You will probably never need to create a wx.GBSizerItem directly as they
+are created automatically when the sizer's Add method is called.</docstring>
+ </constructor>
+ <constructor name="GBSizerItemWindow" overloaded="no">
+ <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag,
+ int border, PyObject userData=None) -> GBSizerItem</autodoc>
+ <docstring>Construct a `wx.GBSizerItem` for a window.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="pos" type="GBPosition" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ <param name="flag" type="int" default=""/>
+ <param name="border" type="int" default=""/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="GBSizerItemSizer" overloaded="no">
+ <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag,
+ int border, PyObject userData=None) -> GBSizerItem</autodoc>
+ <docstring>Construct a `wx.GBSizerItem` for a sizer</docstring>
+ <paramlist>
+ <param name="sizer" type="Sizer" default=""/>
+ <param name="pos" type="GBPosition" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ <param name="flag" type="int" default=""/>
+ <param name="border" type="int" default=""/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="GBSizerItemSpacer" overloaded="no">
+ <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span,
+ int flag, int border, PyObject userData=None) -> GBSizerItem</autodoc>
+ <docstring>Construct a `wx.GBSizerItem` for a spacer.</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="pos" type="GBPosition" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ <param name="flag" type="int" default=""/>
+ <param name="border" type="int" default=""/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPos" type="GBPosition" overloaded="no">
+ <autodoc>GetPos(self) -> GBPosition</autodoc>
+ <docstring>Get the grid position of the item</docstring>
+ </method>
+ <method name="GetSpan" type="GBSpan" overloaded="no">
+ <autodoc>GetSpan(self) -> GBSpan</autodoc>
+ <docstring>Get the row and column spanning of the item</docstring>
+ </method>
+ <method name="SetPos" type="bool" overloaded="no">
+ <autodoc>SetPos(self, GBPosition pos) -> bool</autodoc>
+ <docstring>If the item is already a member of a sizer then first ensure that
+there is no other item that would intersect with this one at the new
+position, then set the new position. Returns True if the change is
+successful and after the next Layout() the item will be moved.</docstring>
+ <paramlist>
+ <param name="pos" type="GBPosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSpan" type="bool" overloaded="no">
+ <autodoc>SetSpan(self, GBSpan span) -> bool</autodoc>
+ <docstring>If the item is already a member of a sizer then first ensure that
+there is no other item that would intersect with this one with its new
+spanning size, then set the new spanning. Returns True if the change
+is successful and after the next Layout() the item will be resized.
+</docstring>
+ <paramlist>
+ <param name="span" type="GBSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="Intersects" type="bool" overloaded="no">
+ <autodoc>Intersects(self, GBSizerItem other) -> bool</autodoc>
+ <docstring>Returns True if this item and the other item instersect.</docstring>
+ <paramlist>
+ <param name="other" type="GBSizerItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="IntersectsPos" type="bool" overloaded="no">
+ <autodoc>IntersectsPos(self, GBPosition pos, GBSpan span) -> bool</autodoc>
+ <docstring>Returns True if the given pos/span would intersect with this item.</docstring>
+ <paramlist>
+ <param name="pos" type="GBPosition" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEndPos" type="GBPosition" overloaded="no">
+ <autodoc>GetEndPos(self) -> GBPosition</autodoc>
+ <docstring>Get the row and column of the endpoint of this item.</docstring>
+ </method>
+ <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no">
+ <autodoc>GetGBSizer(self) -> GridBagSizer</autodoc>
+ <docstring>Get the sizer this item is a member of.</docstring>
+ </method>
+ <method name="SetGBSizer" type="" overloaded="no">
+ <autodoc>SetGBSizer(self, GridBagSizer sizer)</autodoc>
+ <docstring>Set the sizer this item is a member of.</docstring>
+ <paramlist>
+ <param name="sizer" type="wxGridBagSizer" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="GridBagSizer" oldname="wxGridBagSizer" module="_core">
+ <docstring>A `wx.Sizer` that can lay out items in a virtual grid like a
+`wx.FlexGridSizer` but in this case explicit positioning of the items
+is allowed using `wx.GBPosition`, and items can optionally span more
+than one row and/or column using `wx.GBSpan`. The total size of the
+virtual grid is determined by the largest row and column that items are
+positioned at, adjusted for spanning.
+</docstring>
+ <baseclass name="FlexGridSizer"/>
+ <constructor name="GridBagSizer" overloaded="no">
+ <autodoc>__init__(self, int vgap=0, int hgap=0) -> GridBagSizer</autodoc>
+ <docstring>Constructor, with optional parameters to specify the gap between the
+rows and columns.</docstring>
+ <paramlist>
+ <param name="vgap" type="int" default="0"/>
+ <param name="hgap" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="Add" type="bool" overloaded="no">
+ <autodoc>Add(self, item, GBPosition pos, GBSpan span=DefaultSpan, int flag=0,
+int border=0, userData=None)</autodoc>
+ <docstring>Adds an item to the sizer at the grid cell *pos*, optionally spanning
+more than one row or column as specified with *span*. The remaining
+args behave similarly to `wx.Sizer.Add`.
+
+Returns True if the item was successfully placed at the given cell
+position, False if something was already there.
+</docstring>
+ <paramlist>
+ <param name="item" type="PyObject" default=""/>
+ <param name="pos" type="GBPosition" default=""/>
+ <param name="span" type="GBSpan" default="wxDefaultSpan"/>
+ <param name="flag" type="int" default="0"/>
+ <param name="border" type="int" default="0"/>
+ <param name="userData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="AddItem" type="bool" overloaded="no">
+ <autodoc>Add(self, GBSizerItem item) -> bool</autodoc>
+ <docstring>Add an item to the sizer using a `wx.GBSizerItem`. Returns True if
+the item was successfully placed at its given cell position, False if
+something was already there.</docstring>
+ <paramlist>
+ <param name="item" type="GBSizerItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEmptyCellSize" type="Size" overloaded="no">
+ <autodoc>GetEmptyCellSize(self) -> Size</autodoc>
+ <docstring>Get the size used for cells in the grid with no item.</docstring>
+ </method>
+ <method name="SetEmptyCellSize" type="" overloaded="no">
+ <autodoc>SetEmptyCellSize(self, Size sz)</autodoc>
+ <docstring>Set the size used for cells in the grid with no item.</docstring>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemPosition" type="GBPosition" overloaded="yes">
+ <docstring>GetItemPosition(self, item) -> GBPosition
+
+Get the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemPosition" type="GBPosition" overloaded="yes">
+ <docstring>GetItemPosition(self, item) -> GBPosition
+
+Get the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.</docstring>
+ <paramlist>
+ <param name="sizer" type="Sizer" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemPosition" type="GBPosition" overloaded="yes">
+ <docstring>GetItemPosition(self, item) -> GBPosition
+
+Get the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.</docstring>
+ <paramlist>
+ <param name="index" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemPosition" type="bool" overloaded="yes">
+ <docstring>SetItemPosition(self, item, GBPosition pos) -> bool
+
+Set the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item. Returns True on success. If the move is not
+allowed (because an item is already there) then False is returned.
+</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="pos" type="GBPosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemPosition" type="bool" overloaded="yes">
+ <docstring>SetItemPosition(self, item, GBPosition pos) -> bool
+
+Set the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item. Returns True on success. If the move is not
+allowed (because an item is already there) then False is returned.
+</docstring>
+ <paramlist>
+ <param name="sizer" type="Sizer" default=""/>
+ <param name="pos" type="GBPosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemPosition" type="bool" overloaded="yes">
+ <docstring>SetItemPosition(self, item, GBPosition pos) -> bool
+
+Set the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item. Returns True on success. If the move is not
+allowed (because an item is already there) then False is returned.
+</docstring>
+ <paramlist>
+ <param name="index" type="size_t" default=""/>
+ <param name="pos" type="GBPosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemSpan" type="GBSpan" overloaded="yes">
+ <docstring>GetItemSpan(self, item) -> GBSpan
+
+Get the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemSpan" type="GBSpan" overloaded="yes">
+ <docstring>GetItemSpan(self, item) -> GBSpan
+
+Get the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.</docstring>
+ <paramlist>
+ <param name="sizer" type="Sizer" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemSpan" type="GBSpan" overloaded="yes">
+ <docstring>GetItemSpan(self, item) -> GBSpan
+
+Get the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.</docstring>
+ <paramlist>
+ <param name="index" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemSpan" type="bool" overloaded="yes">
+ <docstring>SetItemSpan(self, item, GBSpan span) -> bool
+
+Set the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item. Returns True on success. If the move is
+not allowed (because an item is already there) then False is returned.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemSpan" type="bool" overloaded="yes">
+ <docstring>SetItemSpan(self, item, GBSpan span) -> bool
+
+Set the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item. Returns True on success. If the move is
+not allowed (because an item is already there) then False is returned.</docstring>
+ <paramlist>
+ <param name="sizer" type="Sizer" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemSpan" type="bool" overloaded="yes">
+ <docstring>SetItemSpan(self, item, GBSpan span) -> bool
+
+Set the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item. Returns True on success. If the move is
+not allowed (because an item is already there) then False is returned.</docstring>
+ <paramlist>
+ <param name="index" type="size_t" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItem" type="GBSizerItem" overloaded="yes">
+ <docstring>FindItem(self, item) -> GBSizerItem
+
+Find the sizer item for the given window or subsizer, returns None if
+not found. (non-recursive)</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItem" type="GBSizerItem" overloaded="yes">
+ <docstring>FindItem(self, item) -> GBSizerItem
+
+Find the sizer item for the given window or subsizer, returns None if
+not found. (non-recursive)</docstring>
+ <paramlist>
+ <param name="sizer" type="Sizer" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItemAtPosition" type="GBSizerItem" overloaded="no">
+ <autodoc>FindItemAtPosition(self, GBPosition pos) -> GBSizerItem</autodoc>
+ <docstring>Return the sizer item for the given grid cell, or None if there is no
+item at that position. (non-recursive)</docstring>
+ <paramlist>
+ <param name="pos" type="GBPosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItemAtPoint" type="GBSizerItem" overloaded="no">
+ <autodoc>FindItemAtPoint(self, Point pt) -> GBSizerItem</autodoc>
+ <docstring>Return the sizer item located at the point given in *pt*, or None if
+there is no item at that point. The (x,y) coordinates in pt correspond
+to the client coordinates of the window using the sizer for
+layout. (non-recursive)</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="CheckForIntersection" type="bool" overloaded="no">
+ <autodoc>CheckForIntersection(self, GBSizerItem item, GBSizerItem excludeItem=None) -> bool</autodoc>
+ <docstring>Look at all items and see if any intersect (or would overlap) the
+given *item*. Returns True if so, False if there would be no overlap.
+If an *excludeItem* is given then it will not be checked for
+intersection, for example it may be the item we are checking the
+position of.
+</docstring>
+ <paramlist>
+ <param name="item" type="GBSizerItem" default=""/>
+ <param name="excludeItem" type="GBSizerItem" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="CheckForIntersectionPos" type="bool" overloaded="no">
+ <autodoc>CheckForIntersectionPos(self, GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool</autodoc>
+ <docstring>Look at all items and see if any intersect (or would overlap) the
+given position and span. Returns True if so, False if there would be
+no overlap. If an *excludeItem* is given then it will not be checked
+for intersection, for example it may be the item we are checking the
+position of.</docstring>
+ <paramlist>
+ <param name="pos" type="GBPosition" default=""/>
+ <param name="span" type="GBSpan" default=""/>
+ <param name="excludeItem" type="GBSizerItem" default="NULL"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="BoxSizer" oldname="wxBoxSizer" module="core">
- <baseclass name="wxSizer"/>
- <constructor name="BoxSizer" overloaded="no">
- <autodoc>__init__(int orient=HORIZONTAL) -> BoxSizer</autodoc>
- <paramlist>
- <param name="orient" type="int" default="wxHORIZONTAL"/>
- </paramlist>
- </constructor>
- <method name="GetOrientation" type="int" overloaded="no">
- <autodoc>GetOrientation() -> int</autodoc>
- </method>
- <method name="SetOrientation" type="void" overloaded="no">
- <autodoc>SetOrientation(int orient)</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="_core">
+ <docstring>Objects of this class are stored in the `wx.LayoutConstraints` class as
+one of eight possible constraints that a window can be involved in.
+You will never need to create an instance of
+wx.IndividualLayoutConstraint, rather you should create a
+`wx.LayoutConstraints` instance and use the individual contstraints
+that it contains.
+
+Constraints are initially set to have the relationship
+wx.Unconstrained, which means that their values should be calculated
+by looking at known constraints.
+
+The Edge specifies the type of edge or dimension of a window.
+
+Edges
+------
+ ================== ==============================================
+ wx.Left The left edge.
+ wx.Top The top edge.
+ wx.Right The right edge.
+ wx.Bottom The bottom edge.
+ wx.CentreX The x-coordinate of the centre of the window.
+ wx.CentreY The y-coordinate of the centre of the window.
+ ================== ==============================================
+
+
+The Relationship specifies the relationship that this edge or
+dimension has with another specified edge or dimension. Normally, the
+user doesn't use these directly because functions such as Below and
+RightOf are a convenience for using the more general Set function.
+
+Relationships
+-------------
+ ================== ==============================================
+ wx.Unconstrained The edge or dimension is unconstrained
+ (the default for edges.)
+ wx.AsIs The edge or dimension is to be taken from the current
+ window position or size (the default for dimensions.)
+ wx.Above The edge should be above another edge.
+ wx.Below The edge should be below another edge.
+ wx.LeftOf The edge should be to the left of another edge.
+ wx.RightOf The edge should be to the right of another edge.
+ wx.SameAs The edge or dimension should be the same as another edge
+ or dimension.
+ wx.PercentOf The edge or dimension should be a percentage of another
+ edge or dimension.
+ wx.Absolute The edge or dimension should be a given absolute value.
+ ================== ==============================================
+
+:see: `wx.LayoutConstraints`, `wx.Window.SetConstraints`
+</docstring>
+ <baseclass name="Object"/>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc>
+ <docstring>Sets the properties of the constraint. Normally called by one of the
+convenience functions such as Above, RightOf, SameAs.</docstring>
+ <paramlist>
+ <param name="rel" type="wxRelationship" default=""/>
+ <param name="otherW" type="Window" default=""/>
+ <param name="otherE" type="wxEdge" default=""/>
+ <param name="val" type="int" default="0"/>
+ <param name="marg" type="int" default="wxLAYOUT_DEFAULT_MARGIN"/>
+ </paramlist>
+ </method>
+ <method name="LeftOf" type="" overloaded="no">
+ <autodoc>LeftOf(self, Window sibling, int marg=0)</autodoc>
+ <docstring>Constrains this edge to be to the left of the given window, with an
+optional margin. Implicitly, this is relative to the left edge of the
+other window.</docstring>
+ <paramlist>
+ <param name="sibling" type="Window" default=""/>
+ <param name="marg" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="RightOf" type="" overloaded="no">
+ <autodoc>RightOf(self, Window sibling, int marg=0)</autodoc>
+ <docstring>Constrains this edge to be to the right of the given window, with an
+optional margin. Implicitly, this is relative to the right edge of the
+other window.</docstring>
+ <paramlist>
+ <param name="sibling" type="Window" default=""/>
+ <param name="marg" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Above" type="" overloaded="no">
+ <autodoc>Above(self, Window sibling, int marg=0)</autodoc>
+ <docstring>Constrains this edge to be above the given window, with an optional
+margin. Implicitly, this is relative to the top edge of the other
+window.</docstring>
+ <paramlist>
+ <param name="sibling" type="Window" default=""/>
+ <param name="marg" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Below" type="" overloaded="no">
+ <autodoc>Below(self, Window sibling, int marg=0)</autodoc>
+ <docstring>Constrains this edge to be below the given window, with an optional
+margin. Implicitly, this is relative to the bottom edge of the other
+window.</docstring>
+ <paramlist>
+ <param name="sibling" type="Window" default=""/>
+ <param name="marg" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SameAs" type="" overloaded="no">
+ <autodoc>SameAs(self, Window otherW, int edge, int marg=0)</autodoc>
+ <docstring>Constrains this edge or dimension to be to the same as the edge of the
+given window, with an optional margin.</docstring>
+ <paramlist>
+ <param name="otherW" type="Window" default=""/>
+ <param name="edge" type="wxEdge" default=""/>
+ <param name="marg" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="PercentOf" type="" overloaded="no">
+ <autodoc>PercentOf(self, Window otherW, int wh, int per)</autodoc>
+ <docstring>Constrains this edge or dimension to be to a percentage of the given
+window, with an optional margin.</docstring>
+ <paramlist>
+ <param name="otherW" type="Window" default=""/>
+ <param name="wh" type="wxEdge" default=""/>
+ <param name="per" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Absolute" type="" overloaded="no">
+ <autodoc>Absolute(self, int val)</autodoc>
+ <docstring>Constrains this edge or dimension to be the given absolute value.</docstring>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Unconstrained" type="" overloaded="no">
+ <autodoc>Unconstrained(self)</autodoc>
+ <docstring>Sets this edge or dimension to be unconstrained, that is, dependent on
+other edges and dimensions from which this value can be deduced.</docstring>
+ </method>
+ <method name="AsIs" type="" overloaded="no">
+ <autodoc>AsIs(self)</autodoc>
+ <docstring>Sets this edge or constraint to be whatever the window's value is at
+the moment. If either of the width and height constraints are *as is*,
+the window will not be resized, but moved instead. This is important
+when considering panel items which are intended to have a default
+size, such as a button, which may take its size from the size of the
+button label.</docstring>
+ </method>
+ <method name="GetOtherWindow" type="Window" overloaded="no">
+ <autodoc>GetOtherWindow(self) -> Window</autodoc>
+ </method>
+ <method name="GetMyEdge" type="wxEdge" overloaded="no">
+ <autodoc>GetMyEdge(self) -> int</autodoc>
+ </method>
+ <method name="SetEdge" type="" overloaded="no">
+ <autodoc>SetEdge(self, int which)</autodoc>
+ <paramlist>
+ <param name="which" type="wxEdge" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, int v)</autodoc>
+ <paramlist>
+ <param name="v" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMargin" type="int" overloaded="no">
+ <autodoc>GetMargin(self) -> int</autodoc>
+ </method>
+ <method name="SetMargin" type="" overloaded="no">
+ <autodoc>SetMargin(self, int m)</autodoc>
+ <paramlist>
+ <param name="m" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="int" overloaded="no">
+ <autodoc>GetValue(self) -> int</autodoc>
+ </method>
+ <method name="GetPercent" type="int" overloaded="no">
+ <autodoc>GetPercent(self) -> int</autodoc>
+ </method>
+ <method name="GetOtherEdge" type="int" overloaded="no">
+ <autodoc>GetOtherEdge(self) -> int</autodoc>
+ </method>
+ <method name="GetDone" type="bool" overloaded="no">
+ <autodoc>GetDone(self) -> bool</autodoc>
+ </method>
+ <method name="SetDone" type="" overloaded="no">
+ <autodoc>SetDone(self, bool d)</autodoc>
+ <paramlist>
+ <param name="d" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRelationship" type="wxRelationship" overloaded="no">
+ <autodoc>GetRelationship(self) -> int</autodoc>
+ </method>
+ <method name="SetRelationship" type="" overloaded="no">
+ <autodoc>SetRelationship(self, int r)</autodoc>
+ <paramlist>
+ <param name="r" type="wxRelationship" default=""/>
+ </paramlist>
+ </method>
+ <method name="ResetIfWin" type="bool" overloaded="no">
+ <autodoc>ResetIfWin(self, Window otherW) -> bool</autodoc>
+ <docstring>Reset constraint if it mentions otherWin</docstring>
+ <paramlist>
+ <param name="otherW" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="SatisfyConstraint" type="bool" overloaded="no">
+ <autodoc>SatisfyConstraint(self, LayoutConstraints constraints, Window win) -> bool</autodoc>
+ <docstring>Try to satisfy constraint</docstring>
+ <paramlist>
+ <param name="constraints" type="wxLayoutConstraints" default=""/>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEdge" type="int" overloaded="no">
+ <autodoc>GetEdge(self, int which, Window thisWin, Window other) -> int</autodoc>
+ <docstring>Get the value of this edge or dimension, or if this
+is not determinable, -1.</docstring>
+ <paramlist>
+ <param name="which" type="wxEdge" default=""/>
+ <param name="thisWin" type="Window" default=""/>
+ <param name="other" type="Window" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="_core">
+ <docstring>**Note:** constraints are now deprecated and you should use sizers
+instead.
+
+Objects of this class can be associated with a window to define its
+layout constraints, with respect to siblings or its parent.
+
+The class consists of the following eight constraints of class
+wx.IndividualLayoutConstraint, some or all of which should be accessed
+directly to set the appropriate constraints.
+
+ * left: represents the left hand edge of the window
+ * right: represents the right hand edge of the window
+ * top: represents the top edge of the window
+ * bottom: represents the bottom edge of the window
+ * width: represents the width of the window
+ * height: represents the height of the window
+ * centreX: represents the horizontal centre point of the window
+ * centreY: represents the vertical centre point of the window
+
+Most constraints are initially set to have the relationship
+wxUnconstrained, which means that their values should be calculated by
+looking at known constraints. The exceptions are width and height,
+which are set to wxAsIs to ensure that if the user does not specify a
+constraint, the existing width and height will be used, to be
+compatible with panel items which often have take a default size. If
+the constraint is ``wx.AsIs``, the dimension will not be changed.
+
+:see: `wx.IndividualLayoutConstraint`, `wx.Window.SetConstraints`
+</docstring>
+ <baseclass name="Object"/>
+ <constructor name="LayoutConstraints" overloaded="no">
+ <autodoc>__init__(self) -> LayoutConstraints</autodoc>
+ </constructor>
+ <property name="left" type="IndividualLayoutConstraint" readonly="yes"/>
+ <property name="top" type="IndividualLayoutConstraint" readonly="yes"/>
+ <property name="right" type="IndividualLayoutConstraint" readonly="yes"/>
+ <property name="bottom" type="IndividualLayoutConstraint" readonly="yes"/>
+ <property name="width" type="IndividualLayoutConstraint" readonly="yes"/>
+ <property name="height" type="IndividualLayoutConstraint" readonly="yes"/>
+ <property name="centreX" type="IndividualLayoutConstraint" readonly="yes"/>
+ <property name="centreY" type="IndividualLayoutConstraint" readonly="yes"/>
+ <method name="SatisfyConstraints" type="bool" overloaded="no">
+ <autodoc>SatisfyConstraints(Window win) -> (areSatisfied, noChanges)</autodoc>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AreSatisfied" type="bool" overloaded="no">
+ <autodoc>AreSatisfied(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>#----------------------------------------------------------------------------
+
+# Use Python's bool constants if available, make some if not
+try:
+ True
+except NameError:
+ __builtins__.True = 1==1
+ __builtins__.False = 1==0
+ def bool(value): return not not value
+ __builtins__.bool = bool
+
+
+
+# workarounds for bad wxRTTI names
+__wxPyPtrTypeMap['wxGauge95'] = 'wxGauge'
+__wxPyPtrTypeMap['wxSlider95'] = 'wxSlider'
+__wxPyPtrTypeMap['wxStatusBar95'] = 'wxStatusBar'
+
+
+#----------------------------------------------------------------------------
+# Load version numbers from __version__... Ensure that major and minor
+# versions are the same for both wxPython and wxWidgets.
+
+from __version__ import *
+__version__ = VERSION_STRING
+
+assert MAJOR_VERSION == _core_.MAJOR_VERSION, "wxPython/wxWidgets version mismatch"
+assert MINOR_VERSION == _core_.MINOR_VERSION, "wxPython/wxWidgets version mismatch"
+if RELEASE_VERSION != _core_.RELEASE_VERSION:
+ import warnings
+ warnings.warn("wxPython/wxWidgets release number mismatch")
+
+#----------------------------------------------------------------------------
+
+class PyDeadObjectError(AttributeError):
+ pass
+
+class _wxPyDeadObject(object):
+ """
+ Instances of wx objects that are OOR capable will have their __class__
+ changed to this class when the C++ object is deleted. This should help
+ prevent crashes due to referencing a bogus C++ pointer.
+ """
+ reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
+ attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed."
+
+ def __repr__(self):
+ if not hasattr(self, "_name"):
+ self._name = "[unknown]"
+ return self.reprStr % self._name
+
+ def __getattr__(self, *args):
+ if not hasattr(self, "_name"):
+ self._name = "[unknown]"
+ raise PyDeadObjectError(self.attrStr % self._name)
+
+ def __nonzero__(self):
+ return 0
+
+
+
+class PyUnbornObjectError(AttributeError):
+ pass
+
+class _wxPyUnbornObject(object):
+ """
+ Some stock objects are created when the wx._core module is
+ imported, but their C++ instance is not created until the wx.App
+ object is created and initialized. These object instances will
+ temporarily have their __class__ changed to this class so an
+ exception will be raised if they are used before the C++ instance
+ is ready.
+ """
+
+ reprStr = "wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)"
+ attrStr = "The C++ part of this object has not been initialized, attribute access not allowed."
+
+ def __repr__(self):
+ #if not hasattr(self, "_name"):
+ # self._name = "[unknown]"
+ return self.reprStr #% self._name
+
+ def __getattr__(self, *args):
+ #if not hasattr(self, "_name"):
+ # self._name = "[unknown]"
+ raise PyUnbornObjectError(self.attrStr) # % self._name )
+
+ def __nonzero__(self):
+ return 0
+
+
+#----------------------------------------------------------------------------
+_wxPyCallAfterId = None
+
+def CallAfter(callable, *args, **kw):
+ """
+ Call the specified function after the current and pending event
+ handlers have been completed. This is also good for making GUI
+ method calls from non-GUI threads. Any extra positional or
+ keyword args are passed on to the callable when it is called.
+
+ :see: `wx.FutureCall`
+ """
+ app = wx.GetApp()
+ assert app is not None, 'No wx.App created yet'
+
+ global _wxPyCallAfterId
+ if _wxPyCallAfterId is None:
+ _wxPyCallAfterId = wx.NewEventType()
+ app.Connect(-1, -1, _wxPyCallAfterId,
+ lambda event: event.callable(*event.args, **event.kw) )
+ evt = wx.PyEvent()
+ evt.SetEventType(_wxPyCallAfterId)
+ evt.callable = callable
+ evt.args = args
+ evt.kw = kw
+ wx.PostEvent(app, evt)
+
+
+#----------------------------------------------------------------------------
+
+
+class FutureCall:
+ """
+ A convenience class for wx.Timer, that calls the given callable
+ object once after the given amount of milliseconds, passing any
+ positional or keyword args. The return value of the callable is
+ availbale after it has been run with the `GetResult` method.
+
+ If you don't need to get the return value or restart the timer
+ then there is no need to hold a reference to this object. It will
+ hold a reference to itself while the timer is running (the timer
+ has a reference to self.Notify) but the cycle will be broken when
+ the timer completes, automatically cleaning up the wx.FutureCall
+ object.
+
+ :see: `wx.CallAfter`
+ """
+ def __init__(self, millis, callable, *args, **kwargs):
+ self.millis = millis
+ self.callable = callable
+ self.SetArgs(*args, **kwargs)
+ self.runCount = 0
+ self.running = False
+ self.hasRun = False
+ self.result = None
+ self.timer = None
+ self.Start()
+
+ def __del__(self):
+ self.Stop()
+
+
+ def Start(self, millis=None, *args, **kwargs):
+ """
+ (Re)start the timer
+ """
+ self.hasRun = False
+ if millis is not None:
+ self.millis = millis
+ if args or kwargs:
+ self.SetArgs(*args, **kwargs)
+ self.Stop()
+ self.timer = wx.PyTimer(self.Notify)
+ self.timer.Start(self.millis, wx.TIMER_ONE_SHOT)
+ self.running = True
+ Restart = Start
+
+
+ def Stop(self):
+ """
+ Stop and destroy the timer.
+ """
+ if self.timer is not None:
+ self.timer.Stop()
+ self.timer = None
+
+
+ def GetInterval(self):
+ if self.timer is not None:
+ return self.timer.GetInterval()
+ else:
+ return 0
+
+
+ def IsRunning(self):
+ return self.timer is not None and self.timer.IsRunning()
+
+
+ def SetArgs(self, *args, **kwargs):
+ """
+ (Re)set the args passed to the callable object. This is
+ useful in conjunction with Restart if you want to schedule a
+ new call to the same callable object but with different
+ parameters.
+ """
+ self.args = args
+ self.kwargs = kwargs
+
+
+ def HasRun(self):
+ return self.hasRun
+
+ def GetResult(self):
+ return self.result
+
+ def Notify(self):
+ """
+ The timer has expired so call the callable.
+ """
+ if self.callable and getattr(self.callable, 'im_self', True):
+ self.runCount += 1
+ self.running = False
+ self.result = self.callable(*self.args, **self.kwargs)
+ self.hasRun = True
+ if not self.running:
+ # if it wasn't restarted, then cleanup
+ wx.CallAfter(self.Stop)
+
+
+
+#----------------------------------------------------------------------------
+# Control which items in this module should be documented by epydoc.
+# We allow only classes and functions, which will help reduce the size
+# of the docs by filtering out the zillions of constants, EVT objects,
+# and etc that don't make much sense by themselves, but are instead
+# documented (or will be) as part of the classes/functions/methods
+# where they should be used.
+
+class __DocFilter:
+ """
+ A filter for epydoc that only allows non-Ptr classes and
+ fucntions, in order to reduce the clutter in the API docs.
+ """
+ def __init__(self, globals):
+ self._globals = globals
+
+ def __call__(self, name):
+ import types
+ obj = self._globals.get(name, None)
+ if type(obj) not in [type, types.ClassType, types.FunctionType, types.BuiltinFunctionType]:
+ return False
+ if name.startswith('_') or name.endswith('Ptr') or name.startswith('EVT'):
+ return False
+ return True
+
+#----------------------------------------------------------------------------
+#----------------------------------------------------------------------------
+
+# Import other modules in this package that should show up in the
+# "core" wx namespace
+from _gdi import *
+from _windows import *
+from _controls import *
+from _misc import *
+
+
+# Fixup the stock objects since they can't be used yet. (They will be
+# restored in wx.PyApp.OnInit.)
+_core_._wxPyFixStockObjects()
+
+#----------------------------------------------------------------------------
+#----------------------------------------------------------------------------
+</pythoncode>
+ </module>
+ <module name="_gdi">
+ <import name="_core"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="core">
- <baseclass name="wxBoxSizer"/>
- <constructor name="StaticBoxSizer" overloaded="no">
- <autodoc>__init__(wxStaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer</autodoc>
- <paramlist>
- <param name="box" type="p.wxStaticBox" default=""/>
- <param name="orient" type="int" default="wxHORIZONTAL"/>
- </paramlist>
- </constructor>
- <method name="GetStaticBox" type="wxStaticBox" overloaded="no">
- <autodoc>GetStaticBox() -> wxStaticBox</autodoc>
- </method>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="GDIObject" oldname="wxGDIObject" module="_gdi">
+ <baseclass name="Object"/>
+ <constructor name="GDIObject" overloaded="no">
+ <autodoc>__init__(self) -> GDIObject</autodoc>
+ </constructor>
+ <destructor name="~wxGDIObject" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetVisible" type="bool" overloaded="no">
+ <autodoc>GetVisible(self) -> bool</autodoc>
+ </method>
+ <method name="SetVisible" type="" overloaded="no">
+ <autodoc>SetVisible(self, bool visible)</autodoc>
+ <paramlist>
+ <param name="visible" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsNull" type="bool" overloaded="no">
+ <autodoc>IsNull(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="GridSizer" oldname="wxGridSizer" module="core">
- <baseclass name="wxSizer"/>
- <constructor name="GridSizer" overloaded="no">
- <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer</autodoc>
- <paramlist>
- <param name="rows" type="int" default="1"/>
- <param name="cols" type="int" default="0"/>
- <param name="vgap" type="int" default="0"/>
- <param name="hgap" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- <method name="SetCols" type="void" overloaded="no">
- <autodoc>SetCols(int cols)</autodoc>
- <paramlist>
- <param name="cols" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRows" type="void" overloaded="no">
- <autodoc>SetRows(int rows)</autodoc>
- <paramlist>
- <param name="rows" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetVGap" type="void" overloaded="no">
- <autodoc>SetVGap(int gap)</autodoc>
- <paramlist>
- <param name="gap" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetHGap" type="void" overloaded="no">
- <autodoc>SetHGap(int gap)</autodoc>
- <paramlist>
- <param name="gap" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCols" type="int" overloaded="no">
- <autodoc>GetCols() -> int</autodoc>
- </method>
- <method name="GetRows" type="int" overloaded="no">
- <autodoc>GetRows() -> int</autodoc>
- </method>
- <method name="GetVGap" type="int" overloaded="no">
- <autodoc>GetVGap() -> int</autodoc>
- </method>
- <method name="GetHGap" type="int" overloaded="no">
- <autodoc>GetHGap() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
+ <class name="Colour" oldname="wxColour" module="_gdi">
+ <docstring>A colour is an object representing a combination of Red, Green, and
+Blue (RGB) intensity values, and is used to determine drawing colours,
+window colours, etc. Valid RGB values are in the range 0 to 255.
+
+In wxPython there are typemaps that will automatically convert from a
+colour name, or from a '#RRGGBB' colour hex value string to a
+wx.Colour object when calling C++ methods that expect a wxColour.
+This means that the following are all equivallent::
+
+ win.SetBackgroundColour(wxColour(0,0,255))
+ win.SetBackgroundColour('BLUE')
+ win.SetBackgroundColour('#0000FF')
+
+Additional colour names and their coresponding values can be added
+using `wx.ColourDatabase`. Various system colours (as set in the
+user's system preferences) can be retrieved with
+`wx.SystemSettings.GetColour`.
+</docstring>
+ <baseclass name="Object"/>
+ <constructor name="Colour" overloaded="no">
+ <autodoc>__init__(self, byte red=0, byte green=0, byte blue=0) -> Colour</autodoc>
+ <docstring>Constructs a colour from red, green and blue values.
+
+:see: Alternate constructors `wx.NamedColour` and `wx.ColourRGB`.
+</docstring>
+ <paramlist>
+ <param name="red" type="byte" default="0"/>
+ <param name="green" type="byte" default="0"/>
+ <param name="blue" type="byte" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="NamedColour" overloaded="no">
+ <autodoc>NamedColour(String colorName) -> Colour</autodoc>
+ <docstring>Constructs a colour object using a colour name listed in
+``wx.TheColourDatabase``.</docstring>
+ <paramlist>
+ <param name="colorName" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="ColourRGB" overloaded="no">
+ <autodoc>ColourRGB(unsigned long colRGB) -> Colour</autodoc>
+ <docstring>Constructs a colour from a packed RGB value.</docstring>
+ <paramlist>
+ <param name="colRGB" type="unsigned long" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxColour" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Red" type="byte" overloaded="no">
+ <autodoc>Red(self) -> byte</autodoc>
+ <docstring>Returns the red intensity.</docstring>
+ </method>
+ <method name="Green" type="byte" overloaded="no">
+ <autodoc>Green(self) -> byte</autodoc>
+ <docstring>Returns the green intensity.</docstring>
+ </method>
+ <method name="Blue" type="byte" overloaded="no">
+ <autodoc>Blue(self) -> byte</autodoc>
+ <docstring>Returns the blue intensity.</docstring>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ <docstring>Returns True if the colour object is valid (the colour has been
+initialised with RGB values).</docstring>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, byte red, byte green, byte blue)</autodoc>
+ <docstring>Sets the RGB intensity values.</docstring>
+ <paramlist>
+ <param name="red" type="byte" default=""/>
+ <param name="green" type="byte" default=""/>
+ <param name="blue" type="byte" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRGB" type="" overloaded="no">
+ <autodoc>SetRGB(self, unsigned long colRGB)</autodoc>
+ <docstring>Sets the RGB intensity values from a packed RGB value.</docstring>
+ <paramlist>
+ <param name="colRGB" type="unsigned long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFromName" type="" overloaded="no">
+ <autodoc>SetFromName(self, String colourName)</autodoc>
+ <docstring>Sets the RGB intensity values using a colour name listed in
+``wx.TheColourDatabase``.</docstring>
+ <paramlist>
+ <param name="colourName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPixel" type="long" overloaded="no">
+ <autodoc>GetPixel(self) -> long</autodoc>
+ <docstring>Returns a pixel value which is platform-dependent. On Windows, a
+COLORREF is returned. On X, an allocated pixel value is returned. -1
+is returned if the pixel is invalid (on X, unallocated).</docstring>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Colour colour) -> bool</autodoc>
+ <docstring>Compare colours for equality</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Colour colour) -> bool</autodoc>
+ <docstring>Compare colours for inequality</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get() -> (r, g, b)</autodoc>
+ <docstring>Returns the RGB intensity values as a tuple.</docstring>
+ </method>
+ <method name="GetRGB" type="unsigned long" overloaded="no">
+ <autodoc>GetRGB(self) -> unsigned long</autodoc>
+ <docstring>Return the colour as a packed RGB value</docstring>
+ </method>
+ </class>
+ <pythoncode>
+ Color = Colour
+ NamedColor = NamedColour
+ ColorRGB = ColourRGB
</pythoncode>
- <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="core">
- <baseclass name="wxGridSizer"/>
- <constructor name="FlexGridSizer" overloaded="no">
- <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer</autodoc>
- <paramlist>
- <param name="rows" type="int" default="1"/>
- <param name="cols" type="int" default="0"/>
- <param name="vgap" type="int" default="0"/>
- <param name="hgap" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- <method name="AddGrowableRow" type="void" overloaded="no">
- <autodoc>AddGrowableRow(size_t idx, int proportion=0)</autodoc>
- <paramlist>
- <param name="idx" type="size_t" default=""/>
- <param name="proportion" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="RemoveGrowableRow" type="void" overloaded="no">
- <autodoc>RemoveGrowableRow(size_t idx)</autodoc>
- <paramlist>
- <param name="idx" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="AddGrowableCol" type="void" overloaded="no">
- <autodoc>AddGrowableCol(size_t idx, int proportion=0)</autodoc>
- <paramlist>
- <param name="idx" type="size_t" default=""/>
- <param name="proportion" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="RemoveGrowableCol" type="void" overloaded="no">
- <autodoc>RemoveGrowableCol(size_t idx)</autodoc>
- <paramlist>
- <param name="idx" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SetFlexibleDirection" type="void" overloaded="no">
- <autodoc>SetFlexibleDirection(int direction)</autodoc>
- <paramlist>
- <param name="direction" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFlexibleDirection" type="int" overloaded="no">
- <autodoc>GetFlexibleDirection() -> int</autodoc>
- </method>
- <method name="SetNonFlexibleGrowMode" type="void" overloaded="no">
- <autodoc>SetNonFlexibleGrowMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="wxFlexSizerGrowMode" default=""/>
- </paramlist>
- </method>
- <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no">
- <autodoc>GetNonFlexibleGrowMode() -> int</autodoc>
- </method>
- <method name="GetRowHeights" type="q(const).wxArrayInt" overloaded="no">
- <autodoc>GetRowHeights() -> wxArrayInt</autodoc>
- </method>
- <method name="GetColWidths" type="q(const).wxArrayInt" overloaded="no">
- <autodoc>GetColWidths() -> wxArrayInt</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="Palette" oldname="wxPalette" module="_gdi">
+ <baseclass name="GDIObject"/>
+ <constructor name="Palette" overloaded="no">
+ <autodoc>__init__(self, int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="red" type="unsigned char" default=""/>
+ <param name="green" type="unsigned char" default=""/>
+ <param name="blue" type="unsigned char" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPalette" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetPixel" type="int" overloaded="no">
+ <autodoc>GetPixel(self, byte red, byte green, byte blue) -> int</autodoc>
+ <paramlist>
+ <param name="red" type="byte" default=""/>
+ <param name="green" type="byte" default=""/>
+ <param name="blue" type="byte" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRGB" type="bool" overloaded="no">
+ <autodoc>GetRGB(int pixel) -> (R,G,B)</autodoc>
+ <paramlist>
+ <param name="pixel" type="int" default=""/>
+ <param name="OUTPUT" type="byte" default=""/>
+ <param name="OUTPUT" type="byte" default=""/>
+ <param name="OUTPUT" type="byte" default=""/>
+ </paramlist>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="GBPosition" oldname="wxGBPosition" module="core">
- <constructor name="GBPosition" overloaded="no">
- <autodoc>__init__(int row=0, int col=0) -> GBPosition</autodoc>
- <paramlist>
- <param name="row" type="int" default="0"/>
- <param name="col" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetRow" type="int" overloaded="no">
- <autodoc>GetRow() -> int</autodoc>
- </method>
- <method name="GetCol" type="int" overloaded="no">
- <autodoc>GetCol() -> int</autodoc>
- </method>
- <method name="SetRow" type="void" overloaded="no">
- <autodoc>SetRow(int row)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetCol" type="void" overloaded="no">
- <autodoc>SetCol(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(GBPosition p) -> bool</autodoc>
- <paramlist>
- <param name="p" type="r.q(const).wxGBPosition" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(GBPosition p) -> bool</autodoc>
- <paramlist>
- <param name="p" type="r.q(const).wxGBPosition" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(int row=0, int col=0)</autodoc>
- <paramlist>
- <param name="row" type="int" default="0"/>
- <param name="col" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> PyObject</autodoc>
- </method>
- </class>
- <class name="GBSpan" oldname="wxGBSpan" module="core">
- <constructor name="GBSpan" overloaded="no">
- <autodoc>__init__(int rowspan=1, int colspan=1) -> GBSpan</autodoc>
- <paramlist>
- <param name="rowspan" type="int" default="1"/>
- <param name="colspan" type="int" default="1"/>
- </paramlist>
- </constructor>
- <method name="GetRowspan" type="int" overloaded="no">
- <autodoc>GetRowspan() -> int</autodoc>
- </method>
- <method name="GetColspan" type="int" overloaded="no">
- <autodoc>GetColspan() -> int</autodoc>
- </method>
- <method name="SetRowspan" type="void" overloaded="no">
- <autodoc>SetRowspan(int rowspan)</autodoc>
- <paramlist>
- <param name="rowspan" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColspan" type="void" overloaded="no">
- <autodoc>SetColspan(int colspan)</autodoc>
- <paramlist>
- <param name="colspan" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(GBSpan o) -> bool</autodoc>
- <paramlist>
- <param name="o" type="r.q(const).wxGBSpan" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(GBSpan o) -> bool</autodoc>
- <paramlist>
- <param name="o" type="r.q(const).wxGBSpan" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(int rowspan=1, int colspan=1)</autodoc>
- <paramlist>
- <param name="rowspan" type="int" default="1"/>
- <param name="colspan" type="int" default="1"/>
- </paramlist>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> PyObject</autodoc>
- </method>
- </class>
- <class name="GBSizerItem" oldname="wxGBSizerItem" module="core">
- <baseclass name="wxSizerItem"/>
- <constructor name="GBSizerItem" overloaded="no">
- <autodoc>__init__() -> GBSizerItem</autodoc>
- </constructor>
- <constructor name="GBSizerItemWindow" overloaded="no">
- <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag,
- int border, Object userData) -> GBSizerItem</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- <param name="flag" type="int" default=""/>
- <param name="border" type="int" default=""/>
- <param name="userData" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- <constructor name="GBSizerItemSizer" overloaded="no">
- <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag,
- int border, Object userData) -> GBSizerItem</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- <param name="flag" type="int" default=""/>
- <param name="border" type="int" default=""/>
- <param name="userData" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- <constructor name="GBSizerItemSpacer" overloaded="no">
- <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span,
- int flag, int border, Object userData) -> GBSizerItem</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- <param name="flag" type="int" default=""/>
- <param name="border" type="int" default=""/>
- <param name="userData" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- <method name="GetPos" type="wxGBPosition" overloaded="no">
- <autodoc>GetPos() -> GBPosition</autodoc>
- </method>
- <method name="GetSpan" type="wxGBSpan" overloaded="no">
- <autodoc>GetSpan() -> GBSpan</autodoc>
- </method>
- <method name="SetPos" type="bool" overloaded="no">
- <autodoc>SetPos(GBPosition pos) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- </paramlist>
- </method>
- <method name="SetSpan" type="bool" overloaded="no">
- <autodoc>SetSpan(GBSpan span) -> bool</autodoc>
- <paramlist>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- </paramlist>
- </method>
- <method name="Intersects" type="bool" overloaded="yes">
- <paramlist>
- <param name="other" type="r.q(const).wxGBSizerItem" default=""/>
- </paramlist>
- </method>
- <method name="Intersects" type="bool" overloaded="yes">
- <autodoc>Intersects(GBSizerItem other) -> bool
-Intersects(GBPosition pos, GBSpan span) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- </paramlist>
- </method>
- <method name="GetEndPos" type="void" overloaded="no">
- <autodoc>GetEndPos(int row, int col)</autodoc>
- <paramlist>
- <param name="row" type="r.int" default=""/>
- <param name="col" type="r.int" default=""/>
- </paramlist>
- </method>
- <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no">
- <autodoc>GetGBSizer() -> GridBagSizer</autodoc>
- </method>
- <method name="SetGBSizer" type="void" overloaded="no">
- <autodoc>SetGBSizer(GridBagSizer sizer)</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxGridBagSizer" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="GridBagSizer" oldname="wxGridBagSizer" module="core">
- <baseclass name="wxFlexGridSizer"/>
- <constructor name="GridBagSizer" overloaded="no">
- <autodoc>__init__(int vgap=0, int hgap=0) -> GridBagSizer</autodoc>
- <paramlist>
- <param name="vgap" type="int" default="0"/>
- <param name="hgap" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="Add" type="bool" overloaded="no">
- <autodoc>Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan,
- int flag=0, int border=0, PyObject userData=None) -> bool</autodoc>
- <paramlist>
- <param name="item" type="p.PyObject" default=""/>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default="wxDefaultSpan"/>
- <param name="flag" type="int" default="0"/>
- <param name="border" type="int" default="0"/>
- <param name="userData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="AddItem" type="bool" overloaded="no">
- <autodoc>AddItem(GBSizerItem item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="p.wxGBSizerItem" default=""/>
- </paramlist>
- </method>
- <method name="GetEmptyCellSize" type="wxSize" overloaded="no">
- <autodoc>GetEmptyCellSize() -> Size</autodoc>
- </method>
- <method name="SetEmptyCellSize" type="void" overloaded="no">
- <autodoc>SetEmptyCellSize(Size sz)</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="GetItemPosition" type="wxGBPosition" overloaded="yes">
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetItemPosition" type="wxGBPosition" overloaded="yes">
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- </paramlist>
- </method>
- <method name="GetItemPosition" type="wxGBPosition" overloaded="yes">
- <autodoc>GetItemPosition(Window window) -> GBPosition
-GetItemPosition(Sizer sizer) -> GBPosition
-GetItemPosition(size_t index) -> GBPosition</autodoc>
- <paramlist>
- <param name="index" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SetItemPosition" type="bool" overloaded="yes">
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- </paramlist>
- </method>
- <method name="SetItemPosition" type="bool" overloaded="yes">
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- </paramlist>
- </method>
- <method name="SetItemPosition" type="bool" overloaded="yes">
- <autodoc>SetItemPosition(Window window, GBPosition pos) -> bool
-SetItemPosition(Sizer sizer, GBPosition pos) -> bool
-SetItemPosition(size_t index, GBPosition pos) -> bool</autodoc>
- <paramlist>
- <param name="index" type="size_t" default=""/>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- </paramlist>
- </method>
- <method name="GetItemSpan" type="wxGBSpan" overloaded="yes">
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetItemSpan" type="wxGBSpan" overloaded="yes">
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- </paramlist>
- </method>
- <method name="GetItemSpan" type="wxGBSpan" overloaded="yes">
- <autodoc>GetItemSpan(Window window) -> GBSpan
-GetItemSpan(Sizer sizer) -> GBSpan
-GetItemSpan(size_t index) -> GBSpan</autodoc>
- <paramlist>
- <param name="index" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SetItemSpan" type="bool" overloaded="yes">
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- </paramlist>
- </method>
- <method name="SetItemSpan" type="bool" overloaded="yes">
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- </paramlist>
- </method>
- <method name="SetItemSpan" type="bool" overloaded="yes">
- <autodoc>SetItemSpan(Window window, GBSpan span) -> bool
-SetItemSpan(Sizer sizer, GBSpan span) -> bool
-SetItemSpan(size_t index, GBSpan span) -> bool</autodoc>
- <paramlist>
- <param name="index" type="size_t" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- </paramlist>
- </method>
- <method name="FindItem" type="wxGBSizerItem" overloaded="yes">
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="FindItem" type="wxGBSizerItem" overloaded="yes">
- <autodoc>FindItem(Window window) -> GBSizerItem
-FindItem(Sizer sizer) -> GBSizerItem</autodoc>
- <paramlist>
- <param name="sizer" type="p.wxSizer" default=""/>
- </paramlist>
- </method>
- <method name="FindItemAtPosition" type="wxGBSizerItem" overloaded="no">
- <autodoc>FindItemAtPosition(GBPosition pos) -> GBSizerItem</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- </paramlist>
- </method>
- <method name="FindItemAtPoint" type="wxGBSizerItem" overloaded="no">
- <autodoc>FindItemAtPoint(Point pt) -> GBSizerItem</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="FindItemWithData" type="wxGBSizerItem" overloaded="no">
- <autodoc>FindItemWithData(Object userData) -> GBSizerItem</autodoc>
- <paramlist>
- <param name="userData" type="p.q(const).wxObject" default=""/>
- </paramlist>
- </method>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- <method name="CheckForIntersection" type="bool" overloaded="yes">
- <paramlist>
- <param name="item" type="p.wxGBSizerItem" default=""/>
- <param name="excludeItem" type="p.wxGBSizerItem" default="NULL"/>
- </paramlist>
- </method>
- <method name="CheckForIntersection" type="bool" overloaded="yes">
- <autodoc>CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool
-CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxGBPosition" default=""/>
- <param name="span" type="r.q(const).wxGBSpan" default=""/>
- <param name="excludeItem" type="p.wxGBSizerItem" default="NULL"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="Pen" oldname="wxPen" module="_gdi">
+ <baseclass name="GDIObject"/>
+ <constructor name="Pen" overloaded="no">
+ <autodoc>__init__(self, Colour colour, int width=1, int style=SOLID) -> Pen</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ <param name="width" type="int" default="1"/>
+ <param name="style" type="int" default="wxSOLID"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPen" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetCap" type="int" overloaded="no">
+ <autodoc>GetCap(self) -> int</autodoc>
+ </method>
+ <method name="GetColour" type="Colour" overloaded="no">
+ <autodoc>GetColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetJoin" type="int" overloaded="no">
+ <autodoc>GetJoin(self) -> int</autodoc>
+ </method>
+ <method name="GetStyle" type="int" overloaded="no">
+ <autodoc>GetStyle(self) -> int</autodoc>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="SetCap" type="" overloaded="no">
+ <autodoc>SetCap(self, int cap_style)</autodoc>
+ <paramlist>
+ <param name="cap_style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, Colour colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetJoin" type="" overloaded="no">
+ <autodoc>SetJoin(self, int join_style)</autodoc>
+ <paramlist>
+ <param name="join_style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyle" type="" overloaded="no">
+ <autodoc>SetStyle(self, int style)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDashes" type="" overloaded="no">
+ <autodoc>SetDashes(self, int dashes, wxDash dashes_array)</autodoc>
+ <paramlist>
+ <param name="dashes" type="int" default=""/>
+ <param name="dashes_array" type="wxDash" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDashes" type="PyObject" overloaded="no">
+ <autodoc>GetDashes(self) -> PyObject</autodoc>
+ </method>
+ <method name="_SetDashes" type="" overloaded="no">
+ <autodoc>_SetDashes(self, PyObject _self, PyObject pyDashes)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ <param name="pyDashes" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDashCount" type="int" overloaded="no">
+ <autodoc>GetDashCount(self) -> int</autodoc>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Pen other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Pen other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="core">
- <baseclass name="wxObject"/>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc>
- <paramlist>
- <param name="rel" type="wxRelationship" default=""/>
- <param name="otherW" type="p.wxWindow" default=""/>
- <param name="otherE" type="wxEdge" default=""/>
- <param name="val" type="int" default="0"/>
- <param name="marg" type="int" default="wxLAYOUT_DEFAULT_MARGIN"/>
- </paramlist>
- </method>
- <method name="LeftOf" type="void" overloaded="no">
- <autodoc>LeftOf(Window sibling, int marg=0)</autodoc>
- <paramlist>
- <param name="sibling" type="p.wxWindow" default=""/>
- <param name="marg" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="RightOf" type="void" overloaded="no">
- <autodoc>RightOf(Window sibling, int marg=0)</autodoc>
- <paramlist>
- <param name="sibling" type="p.wxWindow" default=""/>
- <param name="marg" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Above" type="void" overloaded="no">
- <autodoc>Above(Window sibling, int marg=0)</autodoc>
- <paramlist>
- <param name="sibling" type="p.wxWindow" default=""/>
- <param name="marg" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Below" type="void" overloaded="no">
- <autodoc>Below(Window sibling, int marg=0)</autodoc>
- <paramlist>
- <param name="sibling" type="p.wxWindow" default=""/>
- <param name="marg" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SameAs" type="void" overloaded="no">
- <autodoc>SameAs(Window otherW, int edge, int marg=0)</autodoc>
- <paramlist>
- <param name="otherW" type="p.wxWindow" default=""/>
- <param name="edge" type="wxEdge" default=""/>
- <param name="marg" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="PercentOf" type="void" overloaded="no">
- <autodoc>PercentOf(Window otherW, int wh, int per)</autodoc>
- <paramlist>
- <param name="otherW" type="p.wxWindow" default=""/>
- <param name="wh" type="wxEdge" default=""/>
- <param name="per" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Absolute" type="void" overloaded="no">
- <autodoc>Absolute(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Unconstrained" type="void" overloaded="no">
- <autodoc>Unconstrained()</autodoc>
- </method>
- <method name="AsIs" type="void" overloaded="no">
- <autodoc>AsIs()</autodoc>
- </method>
- <method name="GetOtherWindow" type="wxWindow" overloaded="no">
- <autodoc>GetOtherWindow() -> Window</autodoc>
- </method>
- <method name="GetMyEdge" type="wxEdge" overloaded="no">
- <autodoc>GetMyEdge() -> int</autodoc>
- </method>
- <method name="SetEdge" type="void" overloaded="no">
- <autodoc>SetEdge(int which)</autodoc>
- <paramlist>
- <param name="which" type="wxEdge" default=""/>
- </paramlist>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(int v)</autodoc>
- <paramlist>
- <param name="v" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMargin" type="int" overloaded="no">
- <autodoc>GetMargin() -> int</autodoc>
- </method>
- <method name="SetMargin" type="void" overloaded="no">
- <autodoc>SetMargin(int m)</autodoc>
- <paramlist>
- <param name="m" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetValue" type="int" overloaded="no">
- <autodoc>GetValue() -> int</autodoc>
- </method>
- <method name="GetPercent" type="int" overloaded="no">
- <autodoc>GetPercent() -> int</autodoc>
- </method>
- <method name="GetOtherEdge" type="int" overloaded="no">
- <autodoc>GetOtherEdge() -> int</autodoc>
- </method>
- <method name="GetDone" type="bool" overloaded="no">
- <autodoc>GetDone() -> bool</autodoc>
- </method>
- <method name="SetDone" type="void" overloaded="no">
- <autodoc>SetDone(bool d)</autodoc>
- <paramlist>
- <param name="d" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetRelationship" type="wxRelationship" overloaded="no">
- <autodoc>GetRelationship() -> int</autodoc>
- </method>
- <method name="SetRelationship" type="void" overloaded="no">
- <autodoc>SetRelationship(int r)</autodoc>
- <paramlist>
- <param name="r" type="wxRelationship" default=""/>
- </paramlist>
- </method>
- <method name="ResetIfWin" type="bool" overloaded="no">
- <autodoc>ResetIfWin(Window otherW) -> bool</autodoc>
- <paramlist>
- <param name="otherW" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="SatisfyConstraint" type="bool" overloaded="no">
- <autodoc>SatisfyConstraint(LayoutConstraints constraints, Window win) -> bool</autodoc>
- <paramlist>
- <param name="constraints" type="p.wxLayoutConstraints" default=""/>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetEdge" type="int" overloaded="no">
- <autodoc>GetEdge(int which, Window thisWin, Window other) -> int</autodoc>
- <paramlist>
- <param name="which" type="wxEdge" default=""/>
- <param name="thisWin" type="p.wxWindow" default=""/>
- <param name="other" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="core">
- <baseclass name="wxObject"/>
- <constructor name="LayoutConstraints" overloaded="no">
- <autodoc>__init__() -> LayoutConstraints</autodoc>
- </constructor>
- <property name="left" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <property name="top" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <property name="right" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <property name="bottom" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <property name="width" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <property name="height" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <property name="centreX" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <property name="centreY" type="wxIndividualLayoutConstraint" readonly="yes"/>
- <method name="SatisfyConstraints" type="bool" overloaded="no">
- <autodoc>SatisfyConstraints(Window win) -> (areSatisfied, noChanges)</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="AreSatisfied" type="bool" overloaded="no">
- <autodoc>AreSatisfied() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>#----------------------------------------------------------------------------
+ <class name="Brush" oldname="wxBrush" module="_gdi">
+ <docstring>A brush is a drawing tool for filling in areas. It is used for
+painting the background of rectangles, ellipses, etc. when drawing on
+a `wx.DC`. It has a colour and a style.
-# Use Python's bool constants if available, make some if not
-try:
- True
-except NameError:
- __builtins__.True = 1==1
- __builtins__.False = 1==0
+:warning: Do not create instances of wx.Brush before the `wx.App`
+ object has been created because, depending on the platform,
+ required internal data structures may not have been initialized
+ yet. Instead create your brushes in the app's OnInit or as they
+ are needed for drawing.
+:note: On monochrome displays all brushes are white, unless the colour
+ really is black.
+:see: `wx.BrushList`, `wx.DC`, `wx.DC.SetBrush`
+</docstring>
+ <baseclass name="GDIObject"/>
+ <constructor name="Brush" overloaded="no">
+ <autodoc>__init__(self, Colour colour, int style=SOLID) -> Brush</autodoc>
+ <docstring>Constructs a brush from a `wx.Colour` object and a style.The style parameter may be one of the following:
-# workarounds for bad wxRTTI names
-__wxPyPtrTypeMap['wxGauge95'] = 'wxGauge'
-__wxPyPtrTypeMap['wxSlider95'] = 'wxSlider'
-__wxPyPtrTypeMap['wxStatusBar95'] = 'wxStatusBar'
+ =================== =============================
+ Style Meaning
+ =================== =============================
+ wx.TRANSPARENT Transparent (no fill).
+ wx.SOLID Solid.
+ wx.STIPPLE Uses a bitmap as a stipple.
+ wx.BDIAGONAL_HATCH Backward diagonal hatch.
+ wx.CROSSDIAG_HATCH Cross-diagonal hatch.
+ wx.FDIAGONAL_HATCH Forward diagonal hatch.
+ wx.CROSS_HATCH Cross hatch.
+ wx.HORIZONTAL_HATCH Horizontal hatch.
+ wx.VERTICAL_HATCH Vertical hatch.
+ =================== =============================
+</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ <param name="style" type="int" default="wxSOLID"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxBrush" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, Colour col)</autodoc>
+ <docstring>Set the brush's `wx.Colour`.</docstring>
+ <paramlist>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyle" type="" overloaded="no">
+ <autodoc>SetStyle(self, int style)</autodoc>
+ <docstring>Sets the style of the brush. See `__init__` for a listing of styles.</docstring>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStipple" type="" overloaded="no">
+ <autodoc>SetStipple(self, Bitmap stipple)</autodoc>
+ <docstring>Sets the stipple `wx.Bitmap`.</docstring>
+ <paramlist>
+ <param name="stipple" type="wxBitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColour" type="Colour" overloaded="no">
+ <autodoc>GetColour(self) -> Colour</autodoc>
+ <docstring>Returns the `wx.Colour` of the brush.</docstring>
+ </method>
+ <method name="GetStyle" type="int" overloaded="no">
+ <autodoc>GetStyle(self) -> int</autodoc>
+ <docstring>Returns the style of the brush. See `__init__` for a listing of
+styles.</docstring>
+ </method>
+ <method name="GetStipple" type="wxBitmap" overloaded="no">
+ <autodoc>GetStipple(self) -> Bitmap</autodoc>
+ <docstring>Returns the stiple `wx.Bitmap` of the brush. If the brush does not
+have a wx.STIPPLE style, then the return value may be non-None but an
+uninitialised bitmap (`wx.Bitmap.Ok` returns False).</docstring>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ <docstring>Returns True if the brush is initialised and valid.</docstring>
+ </method>
+ </class>
+ <class name="Bitmap" oldname="wxBitmap" module="_gdi">
+ <docstring>The wx.Bitmap class encapsulates the concept of a platform-dependent
+bitmap. It can be either monochrome or colour, and either loaded from
+a file or created dynamically. A bitmap can be selected into a memory
+device context (instance of `wx.MemoryDC`). This enables the bitmap to
+be copied to a window or memory device context using `wx.DC.Blit`, or
+to be used as a drawing surface.
-#----------------------------------------------------------------------------
-# Load version numbers from __version__... Ensure that major and minor
-# versions are the same for both wxPython and wxWindows.
+The BMP and XMP image file formats are supported on all platforms by
+wx.Bitmap. Other formats are automatically loaded by `wx.Image` and
+converted to a wx.Bitmap, so any image file format supported by
+`wx.Image` can be used.
-from __version__ import *
-__version__ = VERSION_STRING
+:todo: Add wrappers and support for raw bitmap data access. Can this
+ be be put into Python without losing the speed benefits of the
+ teplates and iterators in rawbmp.h?
-assert MAJOR_VERSION == _core.MAJOR_VERSION, "wxPython/wxWindows version mismatch"
-assert MINOR_VERSION == _core.MINOR_VERSION, "wxPython/wxWindows version mismatch"
-if RELEASE_VERSION != _core.RELEASE_VERSION:
- import warnings
- warnings.warn("wxPython/wxWindows release number mismatch")
+:todo: Find a way to do very efficient PIL Image <--> wx.Bitmap
+ converstions.
+</docstring>
+ <baseclass name="GDIObject"/>
+ <constructor name="Bitmap" overloaded="no">
+ <autodoc>__init__(self, String name, int type=BITMAP_TYPE_ANY) -> Bitmap</autodoc>
+ <docstring>Loads a bitmap from a file.
+ :param name: Name of the file to load the bitmap from.
+ :param type: The type of image to expect. Can be one of the following
+ constants (assuming that the neccessary `wx.Image` handlers are
+ loaded):
-#----------------------------------------------------------------------------
+ * wx.BITMAP_TYPE_ANY
+ * wx.BITMAP_TYPE_BMP
+ * wx.BITMAP_TYPE_ICO
+ * wx.BITMAP_TYPE_CUR
+ * wx.BITMAP_TYPE_XBM
+ * wx.BITMAP_TYPE_XPM
+ * wx.BITMAP_TYPE_TIF
+ * wx.BITMAP_TYPE_GIF
+ * wx.BITMAP_TYPE_PNG
+ * wx.BITMAP_TYPE_JPEG
+ * wx.BITMAP_TYPE_PNM
+ * wx.BITMAP_TYPE_PCX
+ * wx.BITMAP_TYPE_PICT
+ * wx.BITMAP_TYPE_ICON
+ * wx.BITMAP_TYPE_ANI
+ * wx.BITMAP_TYPE_IFF
-class PyDeadObjectError(AttributeError):
- pass
+:see: Alternate constructors `wx.EmptyBitmap`, `wx.BitmapFromIcon`,
+ `wx.BitmapFromImage`, `wx.BitmapFromXPMData`,
+ `wx.BitmapFromBits`
+</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/>
+ </paramlist>
+ </constructor>
+ <constructor name="EmptyBitmap" overloaded="no">
+ <autodoc>EmptyBitmap(int width, int height, int depth=-1) -> Bitmap</autodoc>
+ <docstring>Creates a new bitmap of the given size. A depth of -1 indicates the
+depth of the current screen or visual. Some platforms only support 1
+for monochrome and -1 for the current colour setting.</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="depth" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <constructor name="BitmapFromIcon" overloaded="no">
+ <autodoc>BitmapFromIcon(Icon icon) -> Bitmap</autodoc>
+ <docstring>Create a new bitmap from a `wx.Icon` object.</docstring>
+ <paramlist>
+ <param name="icon" type="wxIcon" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="BitmapFromImage" overloaded="no">
+ <autodoc>BitmapFromImage(Image image, int depth=-1) -> Bitmap</autodoc>
+ <docstring>Creates bitmap object from a `wx.Image`. This has to be done to
+actually display a `wx.Image` as you cannot draw an image directly on
+a window. The resulting bitmap will use the provided colour depth (or
+that of the current screen colour depth if depth is -1) which entails
+that a colour reduction may have to take place.</docstring>
+ <paramlist>
+ <param name="image" type="Image" default=""/>
+ <param name="depth" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <constructor name="BitmapFromXPMData" overloaded="no">
+ <autodoc>BitmapFromXPMData(PyObject listOfStrings) -> Bitmap</autodoc>
+ <docstring>Construct a Bitmap from a list of strings formatted as XPM data.</docstring>
+ <paramlist>
+ <param name="listOfStrings" type="PyObject" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="BitmapFromBits" overloaded="no">
+ <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap</autodoc>
+ <docstring>Creates a bitmap from an array of bits. You should only use this
+function for monochrome bitmaps (depth 1) in portable programs: in
+this case the bits parameter should contain an XBM image. For other
+bit depths, the behaviour is platform dependent.</docstring>
+ <paramlist>
+ <param name="bits" type="PyObject" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="depth" type="int" default="1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxBitmap" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ <docstring>Gets the width of the bitmap in pixels.</docstring>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ <docstring>Gets the height of the bitmap in pixels.</docstring>
+ </method>
+ <method name="GetDepth" type="int" overloaded="no">
+ <autodoc>GetDepth(self) -> int</autodoc>
+ <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a
+monochrome bitmap.</docstring>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ <docstring>Get the size of the bitmap.</docstring>
+ </method>
+ <method name="ConvertToImage" type="Image" overloaded="no">
+ <autodoc>ConvertToImage(self) -> Image</autodoc>
+ <docstring>Creates a platform-independent image from a platform-dependent
+bitmap. This preserves mask information so that bitmaps and images can
+be converted back and forth without loss in that respect.</docstring>
+ </method>
+ <method name="GetMask" type="wxMask" overloaded="no">
+ <autodoc>GetMask(self) -> Mask</autodoc>
+ <docstring>Gets the associated mask (if any) which may have been loaded from a
+file or explpicitly set for the bitmap.
-class _wxPyDeadObject(object):
- """
- Instances of wx objects that are OOR capable will have their __class__
- changed to this class when the C++ object is deleted. This should help
- prevent crashes due to referencing a bogus C++ pointer.
- """
- reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
- attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed."
+:see: `SetMask`, `wx.Mask`
+</docstring>
+ </method>
+ <method name="SetMask" type="" overloaded="no">
+ <autodoc>SetMask(self, Mask mask)</autodoc>
+ <docstring>Sets the mask for this bitmap.
- def __repr__(self):
- if not hasattr(self, "_name"):
- self._name = "[unknown]"
- return self.reprStr % self._name
+:see: `GetMask`, `wx.Mask`
+</docstring>
+ <paramlist>
+ <param name="mask" type="wxMask" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMaskColour" type="" overloaded="no">
+ <autodoc>SetMaskColour(self, Colour colour)</autodoc>
+ <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSubBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetSubBitmap(self, Rect rect) -> Bitmap</autodoc>
+ <docstring>Returns a sub-bitmap of the current one as long as the rect belongs
+entirely to the bitmap. This function preserves bit depth and mask
+information.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="SaveFile" type="bool" overloaded="no">
+ <autodoc>SaveFile(self, String name, int type, Palette palette=None) -> bool</autodoc>
+ <docstring>Saves a bitmap in the named file. See `__init__` for a description of
+the ``type`` parameter.</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="wxBitmapType" default=""/>
+ <param name="palette" type="Palette" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="LoadFile" type="bool" overloaded="no">
+ <autodoc>LoadFile(self, String name, int type) -> bool</autodoc>
+ <docstring>Loads a bitmap from a file. See `__init__` for a description of the
+``type`` parameter.</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="wxBitmapType" default=""/>
+ </paramlist>
+ </method>
+ <method name="CopyFromIcon" type="bool" overloaded="no">
+ <autodoc>CopyFromIcon(self, Icon icon) -> bool</autodoc>
+ <paramlist>
+ <param name="icon" type="wxIcon" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHeight" type="" overloaded="no">
+ <autodoc>SetHeight(self, int height)</autodoc>
+ <docstring>Set the height property (does not affect the existing bitmap data).</docstring>
+ <paramlist>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, int width)</autodoc>
+ <docstring>Set the width property (does not affect the existing bitmap data).</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDepth" type="" overloaded="no">
+ <autodoc>SetDepth(self, int depth)</autodoc>
+ <docstring>Set the depth property (does not affect the existing bitmap data).</docstring>
+ <paramlist>
+ <param name="depth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, Size size)</autodoc>
+ <docstring>Set the bitmap size (does not affect the existing bitmap data).</docstring>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Bitmap other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Bitmap other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="Mask" oldname="wxMask" module="_gdi">
+ <docstring>This class encapsulates a monochrome mask bitmap, where the masked
+area is black and the unmasked area is white. When associated with a
+bitmap and drawn in a device context, the unmasked area of the bitmap
+will be drawn, and the masked area will not be drawn.
- def __getattr__(self, *args):
- if not hasattr(self, "_name"):
- self._name = "[unknown]"
- raise PyDeadObjectError(self.attrStr % self._name)
+A mask may be associated with a `wx.Bitmap`. It is used in
+`wx.DC.DrawBitmap` or `wx.DC.Blit` when the source device context is a
+`wx.MemoryDC` with a `wx.Bitmap` selected into it that contains a
+mask.</docstring>
+ <baseclass name="Object"/>
+ <constructor name="Mask" overloaded="no">
+ <autodoc>__init__(self, Bitmap bitmap, Colour colour=NullColour) -> Mask</autodoc>
+ <docstring>Constructs a mask from a `wx.Bitmap` and a `wx.Colour` in that bitmap
+that indicates the transparent portions of the mask. In other words,
+the pixels in ``bitmap`` that match ``colour`` will be the transparent
+portions of the mask. If no ``colour`` or an invalid ``colour`` is
+passed then BLACK is used.
- def __nonzero__(self):
- return 0
+:see: `wx.Bitmap`, `wx.Colour`</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ <param name="colour" type="Colour" default="wxNullColour"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode> MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.") </pythoncode>
+ <class name="Icon" oldname="wxIcon" module="_gdi">
+ <baseclass name="GDIObject"/>
+ <constructor name="Icon" overloaded="no">
+ <autodoc>__init__(self, String name, int type, int desiredWidth=-1, int desiredHeight=-1) -> Icon</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="wxBitmapType" default=""/>
+ <param name="desiredWidth" type="int" default="-1"/>
+ <param name="desiredHeight" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <constructor name="EmptyIcon" overloaded="no">
+ <autodoc>EmptyIcon() -> Icon</autodoc>
+ </constructor>
+ <constructor name="IconFromLocation" overloaded="no">
+ <autodoc>IconFromLocation(IconLocation loc) -> Icon</autodoc>
+ <paramlist>
+ <param name="loc" type="wxIconLocation" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="IconFromBitmap" overloaded="no">
+ <autodoc>IconFromBitmap(Bitmap bmp) -> Icon</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="IconFromXPMData" overloaded="no">
+ <autodoc>IconFromXPMData(PyObject listOfStrings) -> Icon</autodoc>
+ <paramlist>
+ <param name="listOfStrings" type="PyObject" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxIcon" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="LoadFile" type="bool" overloaded="no">
+ <autodoc>LoadFile(self, String name, int type) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="type" type="wxBitmapType" default=""/>
+ </paramlist>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ </method>
+ <method name="GetDepth" type="int" overloaded="no">
+ <autodoc>GetDepth(self) -> int</autodoc>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, int w)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHeight" type="" overloaded="no">
+ <autodoc>SetHeight(self, int h)</autodoc>
+ <paramlist>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDepth" type="" overloaded="no">
+ <autodoc>SetDepth(self, int d)</autodoc>
+ <paramlist>
+ <param name="d" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CopyFromBitmap" type="" overloaded="no">
+ <autodoc>CopyFromBitmap(self, Bitmap bmp)</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="IconLocation" oldname="wxIconLocation" module="_gdi">
+ <constructor name="IconLocation" overloaded="no">
+ <autodoc>__init__(self, String filename=&wxPyEmptyString, int num=0) -> IconLocation</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default="&wxPyEmptyString"/>
+ <param name="num" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxIconLocation" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="SetFileName" type="" overloaded="no">
+ <autodoc>SetFileName(self, String filename)</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFileName" type="String" overloaded="no">
+ <autodoc>GetFileName(self) -> String</autodoc>
+ </method>
+ <method name="SetIndex" type="" overloaded="no">
+ <autodoc>SetIndex(self, int num)</autodoc>
+ <paramlist>
+ <param name="num" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetIndex" type="int" overloaded="no">
+ <autodoc>GetIndex(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="IconBundle" oldname="wxIconBundle" module="_gdi">
+ <constructor name="IconBundle" overloaded="no">
+ <autodoc>__init__(self) -> IconBundle</autodoc>
+ </constructor>
+ <constructor name="IconBundleFromFile" overloaded="no">
+ <autodoc>IconBundleFromFile(String file, long type) -> IconBundle</autodoc>
+ <paramlist>
+ <param name="file" type="String" default=""/>
+ <param name="type" type="long" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="IconBundleFromIcon" overloaded="no">
+ <autodoc>IconBundleFromIcon(Icon icon) -> IconBundle</autodoc>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxIconBundle" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="AddIcon" type="" overloaded="no">
+ <autodoc>AddIcon(self, Icon icon)</autodoc>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddIconFromFile" type="" overloaded="no">
+ <autodoc>AddIconFromFile(self, String file, long type)</autodoc>
+ <paramlist>
+ <param name="file" type="String" default=""/>
+ <param name="type" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetIcon" type="Icon" overloaded="no">
+ <autodoc>GetIcon(self, Size size) -> Icon</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="Cursor" oldname="wxCursor" module="_gdi">
+ <docstring>A cursor is a small bitmap usually used for denoting where the mouse
+pointer is, with a picture that might indicate the interpretation of a
+mouse click.
+A single cursor object may be used in many windows (any subwindow
+type). The wxWindows convention is to set the cursor for a window, as
+in X, rather than to set it globally as in MS Windows, although a
+global `wx.SetCursor` function is also available for use on MS Windows.
-class PyUnbornObjectError(AttributeError):
- pass
+Stock Cursor IDs
+-----------------
+ ======================== ======================================
+ wx.CURSOR_ARROW A standard arrow cursor.
+ wx.CURSOR_RIGHT_ARROW A standard arrow cursor pointing to the right.
+ wx.CURSOR_BLANK Transparent cursor.
+ wx.CURSOR_BULLSEYE Bullseye cursor.
+ wx.CURSOR_CHAR Rectangular character cursor.
+ wx.CURSOR_CROSS A cross cursor.
+ wx.CURSOR_HAND A hand cursor.
+ wx.CURSOR_IBEAM An I-beam cursor (vertical line).
+ wx.CURSOR_LEFT_BUTTON Represents a mouse with the left button depressed.
+ wx.CURSOR_MAGNIFIER A magnifier icon.
+ wx.CURSOR_MIDDLE_BUTTON Represents a mouse with the middle button depressed.
+ wx.CURSOR_NO_ENTRY A no-entry sign cursor.
+ wx.CURSOR_PAINT_BRUSH A paintbrush cursor.
+ wx.CURSOR_PENCIL A pencil cursor.
+ wx.CURSOR_POINT_LEFT A cursor that points left.
+ wx.CURSOR_POINT_RIGHT A cursor that points right.
+ wx.CURSOR_QUESTION_ARROW An arrow and question mark.
+ wx.CURSOR_RIGHT_BUTTON Represents a mouse with the right button depressed.
+ wx.CURSOR_SIZENESW A sizing cursor pointing NE-SW.
+ wx.CURSOR_SIZENS A sizing cursor pointing N-S.
+ wx.CURSOR_SIZENWSE A sizing cursor pointing NW-SE.
+ wx.CURSOR_SIZEWE A sizing cursor pointing W-E.
+ wx.CURSOR_SIZING A general sizing cursor.
+ wx.CURSOR_SPRAYCAN A spraycan cursor.
+ wx.CURSOR_WAIT A wait cursor.
+ wx.CURSOR_WATCH A watch cursor.
+ wx.CURSOR_ARROWWAIT A cursor with both an arrow and an hourglass, (windows.)
+ ======================== ======================================
-class _wxPyUnbornObject(object):
- """
- Some stock objects are created when the wx.core module is
- imported, but their C++ instance is not created until the wx.App
- object is created and initialized. These object instances will
- temporarily have their __class__ changed to this class so an
- exception will be raised if they are used before the C++ instance
- is ready.
- """
+</docstring>
+ <baseclass name="GDIObject"/>
+ <constructor name="Cursor" overloaded="no">
+ <autodoc>__init__(self, String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -> Cursor</autodoc>
+ <docstring>Construct a Cursor from a file. Specify the type of file using
+wx.BITAMP_TYPE* constants, and specify the hotspot if not using a cur
+file.
- reprStr = "wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)"
- attrStr = "The C++ part of this object has not been initialized, attribute access not allowed."
+This constructor is not available on wxGTK, use ``wx.StockCursor``,
+``wx.CursorFromImage``, or ``wx.CursorFromBits`` instead.</docstring>
+ <paramlist>
+ <param name="cursorName" type="String" default=""/>
+ <param name="type" type="long" default=""/>
+ <param name="hotSpotX" type="int" default="0"/>
+ <param name="hotSpotY" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="StockCursor" overloaded="no">
+ <autodoc>StockCursor(int id) -> Cursor</autodoc>
+ <docstring>Create a cursor using one of the stock cursors. Note that not all
+cursors are available on all platforms.</docstring>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="CursorFromImage" overloaded="no">
+ <autodoc>CursorFromImage(Image image) -> Cursor</autodoc>
+ <docstring>Constructs a cursor from a wxImage. The cursor is monochrome, colors
+with the RGB elements all greater than 127 will be foreground, colors
+less than this background. The mask (if any) will be used as
+transparent.
+In MSW the foreground will be white and the background
+black. The cursor is resized to 32x32.
- def __repr__(self):
- #if not hasattr(self, "_name"):
- # self._name = "[unknown]"
- return self.reprStr #% self._name
+In GTK, the two most frequent colors will be used for foreground and
+background. The cursor will be displayed at the size of the image.
- def __getattr__(self, *args):
- #if not hasattr(self, "_name"):
- # self._name = "[unknown]"
- raise PyUnbornObjectError(self.attrStr) # % self._name )
+On MacOS the cursor is resized to 16x16 and currently only shown as
+black/white (mask respected).</docstring>
+ <paramlist>
+ <param name="image" type="Image" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxCursor" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Region" oldname="wxRegion" module="_gdi">
+ <baseclass name="GDIObject"/>
+ <constructor name="Region" overloaded="no">
+ <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -> Region</autodoc>
+ <paramlist>
+ <param name="x" type="int" default="0"/>
+ <param name="y" type="int" default="0"/>
+ <param name="width" type="int" default="0"/>
+ <param name="height" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="RegionFromBitmap" overloaded="no">
+ <autodoc>RegionFromBitmap(Bitmap bmp) -> Region</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="RegionFromBitmapColour" overloaded="no">
+ <autodoc>RegionFromBitmapColour(Bitmap bmp, Colour transColour, int tolerance=0) -> Region</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ <param name="transColour" type="Colour" default=""/>
+ <param name="tolerance" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="RegionFromPoints" overloaded="no">
+ <autodoc>RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region</autodoc>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ <param name="fillStyle" type="int" default="wxWINDING_RULE"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxRegion" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ </method>
+ <method name="Offset" type="bool" overloaded="no">
+ <autodoc>Offset(self, int x, int y) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Contains" type="wxRegionContain" overloaded="no">
+ <autodoc>Contains(self, int x, int y) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ContainsPoint" type="wxRegionContain" overloaded="no">
+ <autodoc>ContainsPoint(self, Point pt) -> int</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="ContainsRect" type="wxRegionContain" overloaded="no">
+ <autodoc>ContainsRect(self, Rect rect) -> int</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="ContainsRectDim" type="wxRegionContain" overloaded="no">
+ <autodoc>ContainsRectDim(self, int x, int y, int w, int h) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="w" type="int" default=""/>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBox" type="Rect" overloaded="no">
+ <autodoc>GetBox(self) -> Rect</autodoc>
+ </method>
+ <method name="Intersect" type="bool" overloaded="no">
+ <autodoc>Intersect(self, int x, int y, int width, int height) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IntersectRect" type="bool" overloaded="no">
+ <autodoc>IntersectRect(self, Rect rect) -> bool</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="IntersectRegion" type="bool" overloaded="no">
+ <autodoc>IntersectRegion(self, Region region) -> bool</autodoc>
+ <paramlist>
+ <param name="region" type="Region" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEmpty" type="bool" overloaded="no">
+ <autodoc>IsEmpty(self) -> bool</autodoc>
+ </method>
+ <method name="Union" type="bool" overloaded="no">
+ <autodoc>Union(self, int x, int y, int width, int height) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="UnionRect" type="bool" overloaded="no">
+ <autodoc>UnionRect(self, Rect rect) -> bool</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="UnionRegion" type="bool" overloaded="no">
+ <autodoc>UnionRegion(self, Region region) -> bool</autodoc>
+ <paramlist>
+ <param name="region" type="Region" default=""/>
+ </paramlist>
+ </method>
+ <method name="Subtract" type="bool" overloaded="no">
+ <autodoc>Subtract(self, int x, int y, int width, int height) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SubtractRect" type="bool" overloaded="no">
+ <autodoc>SubtractRect(self, Rect rect) -> bool</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="SubtractRegion" type="bool" overloaded="no">
+ <autodoc>SubtractRegion(self, Region region) -> bool</autodoc>
+ <paramlist>
+ <param name="region" type="Region" default=""/>
+ </paramlist>
+ </method>
+ <method name="Xor" type="bool" overloaded="no">
+ <autodoc>Xor(self, int x, int y, int width, int height) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="XorRect" type="bool" overloaded="no">
+ <autodoc>XorRect(self, Rect rect) -> bool</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="XorRegion" type="bool" overloaded="no">
+ <autodoc>XorRegion(self, Region region) -> bool</autodoc>
+ <paramlist>
+ <param name="region" type="Region" default=""/>
+ </paramlist>
+ </method>
+ <method name="ConvertToBitmap" type="Bitmap" overloaded="no">
+ <autodoc>ConvertToBitmap(self) -> Bitmap</autodoc>
+ </method>
+ <method name="UnionBitmap" type="bool" overloaded="no">
+ <autodoc>UnionBitmap(self, Bitmap bmp) -> bool</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="UnionBitmapColour" type="bool" overloaded="no">
+ <autodoc>UnionBitmapColour(self, Bitmap bmp, Colour transColour, int tolerance=0) -> bool</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ <param name="transColour" type="Colour" default=""/>
+ <param name="tolerance" type="int" default="0"/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="RegionIterator" oldname="wxRegionIterator" module="_gdi">
+ <baseclass name="Object"/>
+ <constructor name="RegionIterator" overloaded="no">
+ <autodoc>__init__(self, Region region) -> RegionIterator</autodoc>
+ <paramlist>
+ <param name="region" type="Region" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxRegionIterator" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetX" type="int" overloaded="no">
+ <autodoc>GetX(self) -> int</autodoc>
+ </method>
+ <method name="GetY" type="int" overloaded="no">
+ <autodoc>GetY(self) -> int</autodoc>
+ </method>
+ <method name="GetW" type="int" overloaded="no">
+ <autodoc>GetW(self) -> int</autodoc>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetH" type="int" overloaded="no">
+ <autodoc>GetH(self) -> int</autodoc>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ </method>
+ <method name="GetRect" type="Rect" overloaded="no">
+ <autodoc>GetRect(self) -> Rect</autodoc>
+ </method>
+ <method name="HaveRects" type="bool" overloaded="no">
+ <autodoc>HaveRects(self) -> bool</autodoc>
+ </method>
+ <method name="Reset" type="" overloaded="no">
+ <autodoc>Reset(self)</autodoc>
+ </method>
+ <method name="Next" type="" overloaded="no">
+ <autodoc>Next(self)</autodoc>
+ </method>
+ <method name="__nonzero__" type="bool" overloaded="no">
+ <autodoc>__nonzero__(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="_gdi">
+ <constructor name="NativeFontInfo" overloaded="no">
+ <autodoc>__init__(self) -> NativeFontInfo</autodoc>
+ </constructor>
+ <destructor name="~wxNativeFontInfo" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Init" type="" overloaded="no">
+ <autodoc>Init(self)</autodoc>
+ </method>
+ <method name="InitFromFont" type="" overloaded="no">
+ <autodoc>InitFromFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="wxFont" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPointSize" type="int" overloaded="no">
+ <autodoc>GetPointSize(self) -> int</autodoc>
+ </method>
+ <method name="GetStyle" type="wxFontStyle" overloaded="no">
+ <autodoc>GetStyle(self) -> int</autodoc>
+ </method>
+ <method name="GetWeight" type="wxFontWeight" overloaded="no">
+ <autodoc>GetWeight(self) -> int</autodoc>
+ </method>
+ <method name="GetUnderlined" type="bool" overloaded="no">
+ <autodoc>GetUnderlined(self) -> bool</autodoc>
+ </method>
+ <method name="GetFaceName" type="String" overloaded="no">
+ <autodoc>GetFaceName(self) -> String</autodoc>
+ </method>
+ <method name="GetFamily" type="wxFontFamily" overloaded="no">
+ <autodoc>GetFamily(self) -> int</autodoc>
+ </method>
+ <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
+ <autodoc>GetEncoding(self) -> int</autodoc>
+ </method>
+ <method name="SetPointSize" type="" overloaded="no">
+ <autodoc>SetPointSize(self, int pointsize)</autodoc>
+ <paramlist>
+ <param name="pointsize" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyle" type="" overloaded="no">
+ <autodoc>SetStyle(self, int style)</autodoc>
+ <paramlist>
+ <param name="style" type="wxFontStyle" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWeight" type="" overloaded="no">
+ <autodoc>SetWeight(self, int weight)</autodoc>
+ <paramlist>
+ <param name="weight" type="wxFontWeight" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetUnderlined" type="" overloaded="no">
+ <autodoc>SetUnderlined(self, bool underlined)</autodoc>
+ <paramlist>
+ <param name="underlined" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFaceName" type="" overloaded="no">
+ <autodoc>SetFaceName(self, String facename)</autodoc>
+ <paramlist>
+ <param name="facename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFamily" type="" overloaded="no">
+ <autodoc>SetFamily(self, int family)</autodoc>
+ <paramlist>
+ <param name="family" type="wxFontFamily" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetEncoding" type="" overloaded="no">
+ <autodoc>SetEncoding(self, int encoding)</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </method>
+ <method name="FromString" type="bool" overloaded="no">
+ <autodoc>FromString(self, String s) -> bool</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ToString" type="String" overloaded="no">
+ <autodoc>ToString(self) -> String</autodoc>
+ </method>
+ <method name="__str__" type="String" overloaded="no">
+ <autodoc>__str__(self) -> String</autodoc>
+ </method>
+ <method name="FromUserString" type="bool" overloaded="no">
+ <autodoc>FromUserString(self, String s) -> bool</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ToUserString" type="String" overloaded="no">
+ <autodoc>ToUserString(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="_gdi">
+ <constructor name="NativeEncodingInfo" overloaded="no">
+ <autodoc>__init__(self) -> NativeEncodingInfo</autodoc>
+ </constructor>
+ <destructor name="~wxNativeEncodingInfo" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <property name="facename" type="String" readonly="no"/>
+ <property name="encoding" type="wxFontEncoding" readonly="no"/>
+ <method name="FromString" type="bool" overloaded="no">
+ <autodoc>FromString(self, String s) -> bool</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ToString" type="String" overloaded="no">
+ <autodoc>ToString(self) -> String</autodoc>
+ </method>
+ </class>
+ <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="NativeEncodingInfo" overloaded="no">
+ <autodoc>GetNativeFontEncoding(int encoding) -> NativeEncodingInfo</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </method>
+ <method name="TestFontEncoding" oldname="wxTestFontEncoding" type="bool" overloaded="no">
+ <autodoc>TestFontEncoding(NativeEncodingInfo info) -> bool</autodoc>
+ <paramlist>
+ <param name="info" type="NativeEncodingInfo" default=""/>
+ </paramlist>
+ </method>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="FontMapper" oldname="wxFontMapper" module="_gdi">
+ <constructor name="FontMapper" overloaded="no">
+ <autodoc>__init__(self) -> FontMapper</autodoc>
+ </constructor>
+ <destructor name="~wxFontMapper" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="Get" type="FontMapper" overloaded="no">
+ <autodoc>Get() -> FontMapper</autodoc>
+ </staticmethod>
+ <staticmethod name="Set" type="FontMapper" overloaded="no">
+ <autodoc>Set(FontMapper mapper) -> FontMapper</autodoc>
+ <paramlist>
+ <param name="mapper" type="FontMapper" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no">
+ <autodoc>CharsetToEncoding(self, String charset, bool interactive=True) -> int</autodoc>
+ <paramlist>
+ <param name="charset" type="String" default=""/>
+ <param name="interactive" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetSupportedEncodingsCount" type="size_t" overloaded="no">
+ <autodoc>GetSupportedEncodingsCount() -> size_t</autodoc>
+ </staticmethod>
+ <staticmethod name="GetEncoding" type="wxFontEncoding" overloaded="no">
+ <autodoc>GetEncoding(size_t n) -> int</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetEncodingName" type="String" overloaded="no">
+ <autodoc>GetEncodingName(int encoding) -> String</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetEncodingDescription" type="String" overloaded="no">
+ <autodoc>GetEncodingDescription(int encoding) -> String</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetEncodingFromName" type="wxFontEncoding" overloaded="no">
+ <autodoc>GetEncodingFromName(String name) -> int</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="SetConfig" type="" overloaded="no">
+ <autodoc>SetConfig(self, ConfigBase config)</autodoc>
+ <paramlist>
+ <param name="config" type="wxConfigBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetConfigPath" type="" overloaded="no">
+ <autodoc>SetConfigPath(self, String prefix)</autodoc>
+ <paramlist>
+ <param name="prefix" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetDefaultConfigPath" type="String" overloaded="no">
+ <autodoc>GetDefaultConfigPath() -> String</autodoc>
+ </staticmethod>
+ <method name="GetAltForEncoding" type="PyObject" overloaded="no">
+ <autodoc>GetAltForEncoding(self, int encoding, String facename=EmptyString, bool interactive=True) -> PyObject</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ <param name="facename" type="String" default="wxPyEmptyString"/>
+ <param name="interactive" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="IsEncodingAvailable" type="bool" overloaded="no">
+ <autodoc>IsEncodingAvailable(self, int encoding, String facename=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ <param name="facename" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="SetDialogParent" type="" overloaded="no">
+ <autodoc>SetDialogParent(self, Window parent)</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDialogTitle" type="" overloaded="no">
+ <autodoc>SetDialogTitle(self, String title)</autodoc>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Font" oldname="wxFont" module="_gdi">
+ <baseclass name="GDIObject"/>
+ <constructor name="Font" overloaded="no">
+ <autodoc>__init__(self, int pointSize, int family, int style, int weight, bool underline=False,
+ String face=EmptyString,
+ int encoding=FONTENCODING_DEFAULT) -> Font</autodoc>
+ <paramlist>
+ <param name="pointSize" type="int" default=""/>
+ <param name="family" type="int" default=""/>
+ <param name="style" type="int" default=""/>
+ <param name="weight" type="int" default=""/>
+ <param name="underline" type="bool" default="False"/>
+ <param name="face" type="String" default="wxPyEmptyString"/>
+ <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
+ </paramlist>
+ </constructor>
+ <constructor name="FontFromNativeInfo" overloaded="no">
+ <autodoc>FontFromNativeInfo(NativeFontInfo info) -> Font</autodoc>
+ <paramlist>
+ <param name="info" type="NativeFontInfo" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="FontFromNativeInfoString" overloaded="no">
+ <autodoc>FontFromNativeInfoString(String info) -> Font</autodoc>
+ <paramlist>
+ <param name="info" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="Font2" overloaded="no">
+ <autodoc>Font2(int pointSize, int family, int flags=FONTFLAG_DEFAULT,
+ String face=EmptyString, int encoding=FONTENCODING_DEFAULT) -> Font</autodoc>
+ <paramlist>
+ <param name="pointSize" type="int" default=""/>
+ <param name="family" type="wxFontFamily" default=""/>
+ <param name="flags" type="int" default="wxFONTFLAG_DEFAULT"/>
+ <param name="face" type="String" default="wxPyEmptyString"/>
+ <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxFont" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, Font other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, Font other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPointSize" type="int" overloaded="no">
+ <autodoc>GetPointSize(self) -> int</autodoc>
+ </method>
+ <method name="GetFamily" type="int" overloaded="no">
+ <autodoc>GetFamily(self) -> int</autodoc>
+ </method>
+ <method name="GetStyle" type="int" overloaded="no">
+ <autodoc>GetStyle(self) -> int</autodoc>
+ </method>
+ <method name="GetWeight" type="int" overloaded="no">
+ <autodoc>GetWeight(self) -> int</autodoc>
+ </method>
+ <method name="GetUnderlined" type="bool" overloaded="no">
+ <autodoc>GetUnderlined(self) -> bool</autodoc>
+ </method>
+ <method name="GetFaceName" type="String" overloaded="no">
+ <autodoc>GetFaceName(self) -> String</autodoc>
+ </method>
+ <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
+ <autodoc>GetEncoding(self) -> int</autodoc>
+ </method>
+ <method name="GetNativeFontInfo" type="NativeFontInfo" overloaded="no">
+ <autodoc>GetNativeFontInfo(self) -> NativeFontInfo</autodoc>
+ </method>
+ <method name="IsFixedWidth" type="bool" overloaded="no">
+ <autodoc>IsFixedWidth(self) -> bool</autodoc>
+ </method>
+ <method name="GetNativeFontInfoDesc" type="String" overloaded="no">
+ <autodoc>GetNativeFontInfoDesc(self) -> String</autodoc>
+ </method>
+ <method name="GetNativeFontInfoUserDesc" type="String" overloaded="no">
+ <autodoc>GetNativeFontInfoUserDesc(self) -> String</autodoc>
+ </method>
+ <method name="SetPointSize" type="" overloaded="no">
+ <autodoc>SetPointSize(self, int pointSize)</autodoc>
+ <paramlist>
+ <param name="pointSize" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFamily" type="" overloaded="no">
+ <autodoc>SetFamily(self, int family)</autodoc>
+ <paramlist>
+ <param name="family" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyle" type="" overloaded="no">
+ <autodoc>SetStyle(self, int style)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWeight" type="" overloaded="no">
+ <autodoc>SetWeight(self, int weight)</autodoc>
+ <paramlist>
+ <param name="weight" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFaceName" type="" overloaded="no">
+ <autodoc>SetFaceName(self, String faceName)</autodoc>
+ <paramlist>
+ <param name="faceName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetUnderlined" type="" overloaded="no">
+ <autodoc>SetUnderlined(self, bool underlined)</autodoc>
+ <paramlist>
+ <param name="underlined" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetEncoding" type="" overloaded="no">
+ <autodoc>SetEncoding(self, int encoding)</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNativeFontInfo" type="" overloaded="no">
+ <autodoc>SetNativeFontInfo(self, NativeFontInfo info)</autodoc>
+ <paramlist>
+ <param name="info" type="NativeFontInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNativeFontInfoFromString" type="" overloaded="no">
+ <autodoc>SetNativeFontInfoFromString(self, String info)</autodoc>
+ <paramlist>
+ <param name="info" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNativeFontInfoUserDesc" type="" overloaded="no">
+ <autodoc>SetNativeFontInfoUserDesc(self, String info)</autodoc>
+ <paramlist>
+ <param name="info" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFamilyString" type="String" overloaded="no">
+ <autodoc>GetFamilyString(self) -> String</autodoc>
+ </method>
+ <method name="GetStyleString" type="String" overloaded="no">
+ <autodoc>GetStyleString(self) -> String</autodoc>
+ </method>
+ <method name="GetWeightString" type="String" overloaded="no">
+ <autodoc>GetWeightString(self) -> String</autodoc>
+ </method>
+ <method name="SetNoAntiAliasing" type="" overloaded="no">
+ <autodoc>SetNoAntiAliasing(self, bool no=True)</autodoc>
+ <paramlist>
+ <param name="no" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetNoAntiAliasing" type="bool" overloaded="no">
+ <autodoc>GetNoAntiAliasing(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no">
+ <autodoc>GetDefaultEncoding() -> int</autodoc>
+ </staticmethod>
+ <staticmethod name="SetDefaultEncoding" type="" overloaded="no">
+ <autodoc>SetDefaultEncoding(int encoding)</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="_gdi">
+ <constructor name="wxPyFontEnumerator" overloaded="no">
+ <autodoc>__init__(self) -> FontEnumerator</autodoc>
+ </constructor>
+ <destructor name="~wxPyFontEnumerator" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, bool incref)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ <param name="incref" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnumerateFacenames" type="bool" overloaded="no">
+ <autodoc>EnumerateFacenames(self, int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -> bool</autodoc>
+ <paramlist>
+ <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/>
+ <param name="fixedWidthOnly" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="EnumerateEncodings" type="bool" overloaded="no">
+ <autodoc>EnumerateEncodings(self, String facename=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="facename" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="GetEncodings" type="PyObject" overloaded="no">
+ <autodoc>GetEncodings(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetFacenames" type="PyObject" overloaded="no">
+ <autodoc>GetFacenames(self) -> PyObject</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="LanguageInfo" oldname="wxLanguageInfo" module="_gdi">
+ <property name="Language" type="int" readonly="no"/>
+ <property name="CanonicalName" type="String" readonly="no"/>
+ <property name="Description" type="String" readonly="no"/>
+ </class>
+ <class name="Locale" oldname="wxLocale" module="_gdi">
+ <constructor name="Locale" overloaded="no">
+ <autodoc>__init__(self, int language=-1, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> Locale</autodoc>
+ <paramlist>
+ <param name="language" type="int" default="-1"/>
+ <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxLocale" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Init1" type="bool" overloaded="no">
+ <autodoc>Init1(self, String szName, String szShort=EmptyString, String szLocale=EmptyString,
+ bool bLoadDefault=True,
+ bool bConvertEncoding=False) -> bool</autodoc>
+ <paramlist>
+ <param name="szName" type="String" default=""/>
+ <param name="szShort" type="String" default="wxPyEmptyString"/>
+ <param name="szLocale" type="String" default="wxPyEmptyString"/>
+ <param name="bLoadDefault" type="bool" default="True"/>
+ <param name="bConvertEncoding" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="Init2" type="bool" overloaded="no">
+ <autodoc>Init2(self, int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> bool</autodoc>
+ <paramlist>
+ <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/>
+ <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetSystemLanguage" type="int" overloaded="no">
+ <autodoc>GetSystemLanguage() -> int</autodoc>
+ </staticmethod>
+ <staticmethod name="GetSystemEncoding" type="wxFontEncoding" overloaded="no">
+ <autodoc>GetSystemEncoding() -> int</autodoc>
+ </staticmethod>
+ <staticmethod name="GetSystemEncodingName" type="String" overloaded="no">
+ <autodoc>GetSystemEncodingName() -> String</autodoc>
+ </staticmethod>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="GetLocale" type="String" overloaded="no">
+ <autodoc>GetLocale(self) -> String</autodoc>
+ </method>
+ <method name="GetLanguage" type="int" overloaded="no">
+ <autodoc>GetLanguage(self) -> int</autodoc>
+ </method>
+ <method name="GetSysName" type="String" overloaded="no">
+ <autodoc>GetSysName(self) -> String</autodoc>
+ </method>
+ <method name="GetCanonicalName" type="String" overloaded="no">
+ <autodoc>GetCanonicalName(self) -> String</autodoc>
+ </method>
+ <staticmethod name="AddCatalogLookupPathPrefix" type="" overloaded="no">
+ <autodoc>AddCatalogLookupPathPrefix(String prefix)</autodoc>
+ <paramlist>
+ <param name="prefix" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="AddCatalog" type="bool" overloaded="no">
+ <autodoc>AddCatalog(self, String szDomain) -> bool</autodoc>
+ <paramlist>
+ <param name="szDomain" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsLoaded" type="bool" overloaded="no">
+ <autodoc>IsLoaded(self, String szDomain) -> bool</autodoc>
+ <paramlist>
+ <param name="szDomain" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetLanguageInfo" type="LanguageInfo" overloaded="no">
+ <autodoc>GetLanguageInfo(int lang) -> LanguageInfo</autodoc>
+ <paramlist>
+ <param name="lang" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetLanguageName" type="String" overloaded="no">
+ <autodoc>GetLanguageName(int lang) -> String</autodoc>
+ <paramlist>
+ <param name="lang" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="FindLanguageInfo" type="LanguageInfo" overloaded="no">
+ <autodoc>FindLanguageInfo(String locale) -> LanguageInfo</autodoc>
+ <paramlist>
+ <param name="locale" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="AddLanguage" type="" overloaded="no">
+ <autodoc>AddLanguage(LanguageInfo info)</autodoc>
+ <paramlist>
+ <param name="info" type="LanguageInfo" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="GetString" type="String" overloaded="no">
+ <autodoc>GetString(self, String szOrigString, String szDomain=EmptyString) -> String</autodoc>
+ <paramlist>
+ <param name="szOrigString" type="String" default=""/>
+ <param name="szDomain" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ </class>
+ <method name="GetLocale" oldname="wxGetLocale" type="Locale" overloaded="no">
+ <autodoc>GetLocale() -> Locale</autodoc>
+ </method>
+ <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes">
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTranslation" oldname="wxGetTranslation" type="String" overloaded="yes">
+ <autodoc>GetTranslation(String str) -> String
+GetTranslation(String str, String strPlural, size_t n) -> String</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ <param name="strPlural" type="String" default=""/>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="EncodingConverter" oldname="wxEncodingConverter" module="_gdi">
+ <baseclass name="Object"/>
+ <constructor name="EncodingConverter" overloaded="no">
+ <autodoc>__init__(self) -> EncodingConverter</autodoc>
+ </constructor>
+ <destructor name="~wxEncodingConverter" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Init" type="bool" overloaded="no">
+ <autodoc>Init(self, int input_enc, int output_enc, int method=CONVERT_STRICT) -> bool</autodoc>
+ <paramlist>
+ <param name="input_enc" type="wxFontEncoding" default=""/>
+ <param name="output_enc" type="wxFontEncoding" default=""/>
+ <param name="method" type="int" default="wxCONVERT_STRICT"/>
+ </paramlist>
+ </method>
+ <method name="Convert" type="String" overloaded="no">
+ <autodoc>Convert(self, String input) -> String</autodoc>
+ <paramlist>
+ <param name="input" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetPlatformEquivalents" type="wxFontEncodingArray" overloaded="no">
+ <autodoc>GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray</autodoc>
+ <paramlist>
+ <param name="enc" type="wxFontEncoding" default=""/>
+ <param name="platform" type="int" default="wxPLATFORM_CURRENT"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetAllEquivalents" type="wxFontEncodingArray" overloaded="no">
+ <autodoc>GetAllEquivalents(int enc) -> wxFontEncodingArray</autodoc>
+ <paramlist>
+ <param name="enc" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="CanConvert" type="bool" overloaded="no">
+ <autodoc>CanConvert(int encIn, int encOut) -> bool</autodoc>
+ <paramlist>
+ <param name="encIn" type="wxFontEncoding" default=""/>
+ <param name="encOut" type="wxFontEncoding" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>#----------------------------------------------------------------------------
+# On MSW add the directory where the wxWidgets catalogs were installed
+# to the default catalog path.
+if wx.Platform == "__WXMSW__":
+ import os
+ localedir = os.path.join(os.path.split(__file__)[0], "locale")
+ Locale_AddCatalogLookupPathPrefix(localedir)
+ del os
- def __nonzero__(self):
- return 0
+#----------------------------------------------------------------------------
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="DC" oldname="wxDC" module="_gdi">
+ <docstring>A wx.DC is a device context onto which graphics and text can be
+drawn. It is intended to represent a number of output devices in a
+generic way, so a window can have a device context associated with it,
+and a printer also has a device context. In this way, the same piece
+of code may write to a number of different devices, if the device
+context is used as a parameter.
+Derived types of wxDC have documentation for specific features only,
+so refer to this section for most device context information.
-#----------------------------------------------------------------------------
-_wxPyCallAfterId = None
+The wx.DC class is abstract and can not be instantiated, you must use
+one of the derived classes instead. Which one will depend on the
+situation in which it is used.</docstring>
+ <baseclass name="Object"/>
+ <destructor name="~wxDC" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="BeginDrawing" type="" overloaded="no">
+ <autodoc>BeginDrawing(self)</autodoc>
+ <docstring>Allows for optimization of drawing code on platforms that need it. On
+other platforms this is just an empty function and is harmless. To
+take advantage of this postential optimization simply enclose each
+group of calls to the drawing primitives within calls to
+`BeginDrawing` and `EndDrawing`.</docstring>
+ </method>
+ <method name="EndDrawing" type="" overloaded="no">
+ <autodoc>EndDrawing(self)</autodoc>
+ <docstring>Ends the group of drawing primitives started with `BeginDrawing`, and
+invokes whatever optimization is available for this DC type on the
+current platform.</docstring>
+ </method>
+ <method name="FloodFill" type="bool" overloaded="no">
+ <autodoc>FloodFill(self, int x, int y, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc>
+ <docstring>Flood fills the device context starting from the given point, using
+the current brush colour, and using a style:
-def CallAfter(callable, *args, **kw):
- """
- Call the specified function after the current and pending event
- handlers have been completed. This is also good for making GUI
- method calls from non-GUI threads.
- """
- app = wx.GetApp()
- assert app, 'No wxApp created yet'
+ - **wxFLOOD_SURFACE**: the flooding occurs until a colour other than
+ the given colour is encountered.
- global _wxPyCallAfterId
- if _wxPyCallAfterId is None:
- _wxPyCallAfterId = wx.NewEventType()
- app.Connect(-1, -1, _wxPyCallAfterId,
- lambda event: event.callable(*event.args, **event.kw) )
- evt = wx.PyEvent()
- evt.SetEventType(_wxPyCallAfterId)
- evt.callable = callable
- evt.args = args
- evt.kw = kw
- wx.PostEvent(app, evt)
+ - **wxFLOOD_BORDER**: the area to be flooded is bounded by the given
+ colour.
+Returns False if the operation failed.
-#----------------------------------------------------------------------------
+Note: The present implementation for non-Windows platforms may fail to
+find colour borders if the pixels do not match the colour
+exactly. However the function will still return true.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="col" type="Colour" default=""/>
+ <param name="style" type="int" default="wxFLOOD_SURFACE"/>
+ </paramlist>
+ </method>
+ <method name="FloodFillPoint" type="bool" overloaded="no">
+ <autodoc>FloodFillPoint(self, Point pt, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc>
+ <docstring>Flood fills the device context starting from the given point, using
+the current brush colour, and using a style:
+ - **wxFLOOD_SURFACE**: the flooding occurs until a colour other than
+ the given colour is encountered.
-class FutureCall:
- """
- A convenience class for wxTimer, that calls the given callable
- object once after the given amount of milliseconds, passing any
- positional or keyword args. The return value of the callable is
- availbale after it has been run with the GetResult method.
+ - **wxFLOOD_BORDER**: the area to be flooded is bounded by the given
+ colour.
- If you don't need to get the return value or restart the timer
- then there is no need to hold a reference to this object. It will
- hold a reference to itself while the timer is running (the timer
- has a reference to self.Notify) but the cycle will be broken when
- the timer completes, automatically cleaning up the wx.FutureCall
- object.
- """
- def __init__(self, millis, callable, *args, **kwargs):
- self.millis = millis
- self.callable = callable
- self.SetArgs(*args, **kwargs)
- self.runCount = 0
- self.hasRun = False
- self.result = None
- self.timer = None
- self.Start()
+Returns False if the operation failed.
- def __del__(self):
- self.Stop()
+Note: The present implementation for non-Windows platforms may fail to
+find colour borders if the pixels do not match the colour
+exactly. However the function will still return true.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="col" type="Colour" default=""/>
+ <param name="style" type="int" default="wxFLOOD_SURFACE"/>
+ </paramlist>
+ </method>
+ <method name="GetPixel" type="Colour" overloaded="no">
+ <autodoc>GetPixel(self, int x, int y) -> Colour</autodoc>
+ <docstring>Gets the colour at the specified location on the DC.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPixelPoint" type="Colour" overloaded="no">
+ <autodoc>GetPixelPoint(self, Point pt) -> Colour</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawLine" type="" overloaded="no">
+ <autodoc>DrawLine(self, int x1, int y1, int x2, int y2)</autodoc>
+ <docstring>Draws a line from the first point to the second. The current pen is
+used for drawing the line. Note that the second point is *not* part of
+the line and is not drawn by this function (this is consistent with
+the behaviour of many other toolkits).</docstring>
+ <paramlist>
+ <param name="x1" type="int" default=""/>
+ <param name="y1" type="int" default=""/>
+ <param name="x2" type="int" default=""/>
+ <param name="y2" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawLinePoint" type="" overloaded="no">
+ <autodoc>DrawLinePoint(self, Point pt1, Point pt2)</autodoc>
+ <docstring>Draws a line from the first point to the second. The current pen is
+used for drawing the line. Note that the second point is *not* part of
+the line and is not drawn by this function (this is consistent with
+the behaviour of many other toolkits).</docstring>
+ <paramlist>
+ <param name="pt1" type="Point" default=""/>
+ <param name="pt2" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="CrossHair" type="" overloaded="no">
+ <autodoc>CrossHair(self, int x, int y)</autodoc>
+ <docstring>Displays a cross hair using the current pen. This is a vertical and
+horizontal line the height and width of the window, centred on the
+given point.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CrossHairPoint" type="" overloaded="no">
+ <autodoc>CrossHairPoint(self, Point pt)</autodoc>
+ <docstring>Displays a cross hair using the current pen. This is a vertical and
+horizontal line the height and width of the window, centred on the
+given point.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawArc" type="" overloaded="no">
+ <autodoc>DrawArc(self, int x1, int y1, int x2, int y2, int xc, int yc)</autodoc>
+ <docstring>Draws an arc of a circle, centred on the *center* point (xc, yc), from
+the first point to the second. The current pen is used for the outline
+and the current brush for filling the shape.
+The arc is drawn in an anticlockwise direction from the start point to
+the end point.</docstring>
+ <paramlist>
+ <param name="x1" type="int" default=""/>
+ <param name="y1" type="int" default=""/>
+ <param name="x2" type="int" default=""/>
+ <param name="y2" type="int" default=""/>
+ <param name="xc" type="int" default=""/>
+ <param name="yc" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawArcPoint" type="" overloaded="no">
+ <autodoc>DrawArcPoint(self, Point pt1, Point pt2, Point center)</autodoc>
+ <docstring>Draws an arc of a circle, centred on the *center* point (xc, yc), from
+the first point to the second. The current pen is used for the outline
+and the current brush for filling the shape.
- def Start(self, millis=None, *args, **kwargs):
- """
- (Re)start the timer
- """
- self.hasRun = False
- if millis is not None:
- self.millis = millis
- if args or kwargs:
- self.SetArgs(*args, **kwargs)
- self.Stop()
- self.timer = wx.PyTimer(self.Notify)
- self.timer.Start(self.millis, wx.TIMER_ONE_SHOT)
- Restart = Start
+The arc is drawn in an anticlockwise direction from the start point to
+the end point.</docstring>
+ <paramlist>
+ <param name="pt1" type="Point" default=""/>
+ <param name="pt2" type="Point" default=""/>
+ <param name="center" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawCheckMark" type="" overloaded="no">
+ <autodoc>DrawCheckMark(self, int x, int y, int width, int height)</autodoc>
+ <docstring>Draws a check mark inside the given rectangle.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawCheckMarkRect" type="" overloaded="no">
+ <autodoc>DrawCheckMarkRect(self, Rect rect)</autodoc>
+ <docstring>Draws a check mark inside the given rectangle.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipticArc" type="" overloaded="no">
+ <autodoc>DrawEllipticArc(self, int x, int y, int w, int h, double start, double end)</autodoc>
+ <docstring>Draws an arc of an ellipse, with the given rectangle defining the
+bounds of the ellipse. The current pen is used for drawing the arc and
+the current brush is used for drawing the pie.
+The *start* and *end* parameters specify the start and end of the arc
+relative to the three-o'clock position from the center of the
+rectangle. Angles are specified in degrees (360 is a complete
+circle). Positive values mean counter-clockwise motion. If start is
+equal to end, a complete ellipse will be drawn.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="w" type="int" default=""/>
+ <param name="h" type="int" default=""/>
+ <param name="start" type="double" default=""/>
+ <param name="end" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipticArcPointSize" type="" overloaded="no">
+ <autodoc>DrawEllipticArcPointSize(self, Point pt, Size sz, double start, double end)</autodoc>
+ <docstring>Draws an arc of an ellipse, with the given rectangle defining the
+bounds of the ellipse. The current pen is used for drawing the arc and
+the current brush is used for drawing the pie.
- def Stop(self):
- """
- Stop and destroy the timer.
- """
- if self.timer is not None:
- self.timer.Stop()
- self.timer = None
+The *start* and *end* parameters specify the start and end of the arc
+relative to the three-o'clock position from the center of the
+rectangle. Angles are specified in degrees (360 is a complete
+circle). Positive values mean counter-clockwise motion. If start is
+equal to end, a complete ellipse will be drawn.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="sz" type="Size" default=""/>
+ <param name="start" type="double" default=""/>
+ <param name="end" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawPoint" type="" overloaded="no">
+ <autodoc>DrawPoint(self, int x, int y)</autodoc>
+ <docstring>Draws a point using the current pen.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawPointPoint" type="" overloaded="no">
+ <autodoc>DrawPointPoint(self, Point pt)</autodoc>
+ <docstring>Draws a point using the current pen.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRectangle" type="" overloaded="no">
+ <autodoc>DrawRectangle(self, int x, int y, int width, int height)</autodoc>
+ <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The current pen is used for the outline and the current brush
+for filling the shape.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRectangleRect" type="" overloaded="no">
+ <autodoc>DrawRectangleRect(self, Rect rect)</autodoc>
+ <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The current pen is used for the outline and the current brush
+for filling the shape.</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRectanglePointSize" type="" overloaded="no">
+ <autodoc>DrawRectanglePointSize(self, Point pt, Size sz)</autodoc>
+ <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The current pen is used for the outline and the current brush
+for filling the shape.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRoundedRectangle" type="" overloaded="no">
+ <autodoc>DrawRoundedRectangle(self, int x, int y, int width, int height, double radius)</autodoc>
+ <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The corners are quarter-circles using the given radius. The
+current pen is used for the outline and the current brush for filling
+the shape.
+If radius is positive, the value is assumed to be the radius of the
+rounded corner. If radius is negative, the absolute value is assumed
+to be the proportion of the smallest dimension of the rectangle. This
+means that the corner can be a sensible size relative to the size of
+the rectangle, and also avoids the strange effects X produces when the
+corners are too big for the rectangle.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="radius" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRoundedRectangleRect" type="" overloaded="no">
+ <autodoc>DrawRoundedRectangleRect(self, Rect r, double radius)</autodoc>
+ <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The corners are quarter-circles using the given radius. The
+current pen is used for the outline and the current brush for filling
+the shape.
- def GetInterval(self):
- if self.timer is not None:
- return self.timer.GetInterval()
- else:
- return 0
+If radius is positive, the value is assumed to be the radius of the
+rounded corner. If radius is negative, the absolute value is assumed
+to be the proportion of the smallest dimension of the rectangle. This
+means that the corner can be a sensible size relative to the size of
+the rectangle, and also avoids the strange effects X produces when the
+corners are too big for the rectangle.</docstring>
+ <paramlist>
+ <param name="r" type="Rect" default=""/>
+ <param name="radius" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRoundedRectanglePointSize" type="" overloaded="no">
+ <autodoc>DrawRoundedRectanglePointSize(self, Point pt, Size sz, double radius)</autodoc>
+ <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The corners are quarter-circles using the given radius. The
+current pen is used for the outline and the current brush for filling
+the shape.
+If radius is positive, the value is assumed to be the radius of the
+rounded corner. If radius is negative, the absolute value is assumed
+to be the proportion of the smallest dimension of the rectangle. This
+means that the corner can be a sensible size relative to the size of
+the rectangle, and also avoids the strange effects X produces when the
+corners are too big for the rectangle.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="sz" type="Size" default=""/>
+ <param name="radius" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawCircle" type="" overloaded="no">
+ <autodoc>DrawCircle(self, int x, int y, int radius)</autodoc>
+ <docstring>Draws a circle with the given center point and radius. The current
+pen is used for the outline and the current brush for filling the
+shape.
- def IsRunning(self):
- return self.timer is not None and self.timer.IsRunning()
+:see: `DrawEllipse`</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="radius" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawCirclePoint" type="" overloaded="no">
+ <autodoc>DrawCirclePoint(self, Point pt, int radius)</autodoc>
+ <docstring>Draws a circle with the given center point and radius. The current
+pen is used for the outline and the current brush for filling the
+shape.
+:see: `DrawEllipse`</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="radius" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipse" type="" overloaded="no">
+ <autodoc>DrawEllipse(self, int x, int y, int width, int height)</autodoc>
+ <docstring>Draws an ellipse contained in the specified rectangle. The current pen
+is used for the outline and the current brush for filling the shape.
- def SetArgs(self, *args, **kwargs):
- """
- (Re)set the args passed to the callable object. This is
- useful in conjunction with Restart if you want to schedule a
- new call to the same callable object but with different
- parameters.
- """
- self.args = args
- self.kwargs = kwargs
+:see: `DrawCircle`</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipseRect" type="" overloaded="no">
+ <autodoc>DrawEllipseRect(self, Rect rect)</autodoc>
+ <docstring>Draws an ellipse contained in the specified rectangle. The current pen
+is used for the outline and the current brush for filling the shape.
+:see: `DrawCircle`</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipsePointSize" type="" overloaded="no">
+ <autodoc>DrawEllipsePointSize(self, Point pt, Size sz)</autodoc>
+ <docstring>Draws an ellipse contained in the specified rectangle. The current pen
+is used for the outline and the current brush for filling the shape.
- def HasRun(self):
- return self.hasRun
+:see: `DrawCircle`</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawIcon" type="" overloaded="no">
+ <autodoc>DrawIcon(self, Icon icon, int x, int y)</autodoc>
+ <docstring>Draw an icon on the display (does nothing if the device context is
+PostScript). This can be the simplest way of drawing bitmaps on a
+window.</docstring>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawIconPoint" type="" overloaded="no">
+ <autodoc>DrawIconPoint(self, Icon icon, Point pt)</autodoc>
+ <docstring>Draw an icon on the display (does nothing if the device context is
+PostScript). This can be the simplest way of drawing bitmaps on a
+window.</docstring>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawBitmap" type="" overloaded="no">
+ <autodoc>DrawBitmap(self, Bitmap bmp, int x, int y, bool useMask=False)</autodoc>
+ <docstring>Draw a bitmap on the device context at the specified point. If
+*transparent* is true and the bitmap has a transparency mask, (or
+alpha channel on the platforms that support it) then the bitmap will
+be drawn transparently.
- def GetResult(self):
- return self.result
+When drawing a mono-bitmap, the current text foreground colour will be
+used to draw the foreground of the bitmap (all bits set to 1), and the
+current text background colour to draw the background (all bits set to
+0).
- def Notify(self):
- """
- The timer has expired so call the callable.
- """
- if self.callable and getattr(self.callable, 'im_self', True):
- self.runCount += 1
- self.result = self.callable(*self.args, **self.kwargs)
- self.hasRun = True
- wx.CallAfter(self.Stop)
+:see: `SetTextForeground`, `SetTextBackground` and `wx.MemoryDC`</docstring>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="useMask" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="DrawBitmapPoint" type="" overloaded="no">
+ <autodoc>DrawBitmapPoint(self, Bitmap bmp, Point pt, bool useMask=False)</autodoc>
+ <docstring>Draw a bitmap on the device context at the specified point. If
+*transparent* is true and the bitmap has a transparency mask, (or
+alpha channel on the platforms that support it) then the bitmap will
+be drawn transparently.
+When drawing a mono-bitmap, the current text foreground colour will be
+used to draw the foreground of the bitmap (all bits set to 1), and the
+current text background colour to draw the background (all bits set to
+0).
-#----------------------------------------------------------------------------
-#----------------------------------------------------------------------------
+:see: `SetTextForeground`, `SetTextBackground` and `wx.MemoryDC`</docstring>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ <param name="pt" type="Point" default=""/>
+ <param name="useMask" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="DrawText" type="" overloaded="no">
+ <autodoc>DrawText(self, String text, int x, int y)</autodoc>
+ <docstring>Draws a text string at the specified point, using the current text
+font, and the current text foreground and background colours.
-# Import other modules in this package that should show up in the
-# "core" wx namespace
-from gdi import *
-from windows import *
-from controls import *
-from misc import *
+The coordinates refer to the top-left corner of the rectangle bounding
+the string. See `GetTextExtent` for how to get the dimensions of a
+text string, which can be used to position the text more precisely.
+**NOTE**: under wxGTK the current logical function is used by this
+function but it is ignored by wxMSW. Thus, you should avoid using
+logical functions with this function in portable programs.
-# Fixup the stock objects since they can't be used yet. (They will be
-# restored in wx.PyApp.OnInit.)
-_core._wxPyFixStockObjects()
+:see: `DrawRotatedText`</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawTextPoint" type="" overloaded="no">
+ <autodoc>DrawTextPoint(self, String text, Point pt)</autodoc>
+ <docstring>Draws a text string at the specified point, using the current text
+font, and the current text foreground and background colours.
-#----------------------------------------------------------------------------
-#----------------------------------------------------------------------------
-</pythoncode>
-</module><module name="gdi">
- <import name="core"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
+The coordinates refer to the top-left corner of the rectangle bounding
+the string. See `GetTextExtent` for how to get the dimensions of a
+text string, which can be used to position the text more precisely.
+
+**NOTE**: under wxGTK the current logical function is used by this
+function but it is ignored by wxMSW. Thus, you should avoid using
+logical functions with this function in portable programs.
+
+:see: `DrawRotatedText`</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRotatedText" type="" overloaded="no">
+ <autodoc>DrawRotatedText(self, String text, int x, int y, double angle)</autodoc>
+ <docstring>Draws the text rotated by *angle* degrees, if supported by the platform.
+
+**NOTE**: Under Win9x only TrueType fonts can be drawn by this
+function. In particular, a font different from ``wx.NORMAL_FONT``
+should be used as the it is not normally a TrueType
+font. ``wx.SWISS_FONT`` is an example of a font which is.
+
+:see: `DrawText`</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="angle" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRotatedTextPoint" type="" overloaded="no">
+ <autodoc>DrawRotatedTextPoint(self, String text, Point pt, double angle)</autodoc>
+ <docstring>Draws the text rotated by *angle* degrees, if supported by the platform.
+
+**NOTE**: Under Win9x only TrueType fonts can be drawn by this
+function. In particular, a font different from ``wx.NORMAL_FONT``
+should be used as the it is not normally a TrueType
+font. ``wx.SWISS_FONT`` is an example of a font which is.
+
+:see: `DrawText`</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="pt" type="Point" default=""/>
+ <param name="angle" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="Blit" type="bool" overloaded="no">
+ <autodoc>Blit(self, int xdest, int ydest, int width, int height, DC source,
+ int xsrc, int ysrc, int rop=COPY, bool useMask=False,
+ int xsrcMask=-1, int ysrcMask=-1) -> bool</autodoc>
+ <docstring>Copy from a source DC to this DC. Parameters specify the destination
+coordinates, size of area to copy, source DC, source coordinates,
+logical function, whether to use a bitmap mask, and mask source
+position.
+
+ :param xdest: Destination device context x position.
+ :param ydest: Destination device context y position.
+ :param width: Width of source area to be copied.
+ :param height: Height of source area to be copied.
+ :param source: Source device context.
+ :param xsrc: Source device context x position.
+ :param ysrc: Source device context y position.
+ :param rop: Logical function to use: see `SetLogicalFunction`.
+ :param useMask: If true, Blit does a transparent blit using the mask
+ that is associated with the bitmap selected into the
+ source device context.
+ :param xsrcMask: Source x position on the mask. If both xsrcMask and
+ ysrcMask are -1, xsrc and ysrc will be assumed for
+ the mask source position.
+ :param ysrcMask: Source y position on the mask.
+</docstring>
+ <paramlist>
+ <param name="xdest" type="int" default=""/>
+ <param name="ydest" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="source" type="DC" default=""/>
+ <param name="xsrc" type="int" default=""/>
+ <param name="ysrc" type="int" default=""/>
+ <param name="rop" type="int" default="wxCOPY"/>
+ <param name="useMask" type="bool" default="False"/>
+ <param name="xsrcMask" type="int" default="-1"/>
+ <param name="ysrcMask" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="BlitPointSize" type="bool" overloaded="no">
+ <autodoc>BlitPointSize(self, Point destPt, Size sz, DC source, Point srcPt, int rop=COPY,
+ bool useMask=False, Point srcPtMask=DefaultPosition) -> bool</autodoc>
+ <docstring>Copy from a source DC to this DC. Parameters specify the destination
+coordinates, size of area to copy, source DC, source coordinates,
+logical function, whether to use a bitmap mask, and mask source
+position.
+
+ :param destPt: Destination device context position.
+ :param sz: Size of source area to be copied.
+ :param source: Source device context.
+ :param srcPt: Source device context position.
+ :param rop: Logical function to use: see `SetLogicalFunction`.
+ :param useMask: If true, Blit does a transparent blit using the mask
+ that is associated with the bitmap selected into the
+ source device context.
+ :param srcPtMask: Source position on the mask.
+</docstring>
+ <paramlist>
+ <param name="destPt" type="Point" default=""/>
+ <param name="sz" type="Size" default=""/>
+ <param name="source" type="DC" default=""/>
+ <param name="srcPt" type="Point" default=""/>
+ <param name="rop" type="int" default="wxCOPY"/>
+ <param name="useMask" type="bool" default="False"/>
+ <param name="srcPtMask" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </method>
+ <method name="SetClippingRegion" type="" overloaded="no">
+ <autodoc>SetClippingRegion(self, int x, int y, int width, int height)</autodoc>
+ <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClippingRegionPointSize" type="" overloaded="no">
+ <autodoc>SetClippingRegionPointSize(self, Point pt, Size sz)</autodoc>
+ <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClippingRegionAsRegion" type="" overloaded="no">
+ <autodoc>SetClippingRegionAsRegion(self, Region region)</autodoc>
+ <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+ <paramlist>
+ <param name="region" type="Region" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClippingRect" type="" overloaded="no">
+ <autodoc>SetClippingRect(self, Rect rect)</autodoc>
+ <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawLines" type="" overloaded="no">
+ <autodoc>DrawLines(self, List points, int xoffset=0, int yoffset=0)</autodoc>
+ <docstring>Draws lines using a sequence of `wx.Point` objects, adding the
+optional offset coordinate. The current pen is used for drawing the
+lines.</docstring>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ <param name="xoffset" type="int" default="0"/>
+ <param name="yoffset" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="DrawPolygon" type="" overloaded="no">
+ <autodoc>DrawPolygon(self, List points, int xoffset=0, int yoffset=0,
+ int fillStyle=ODDEVEN_RULE)</autodoc>
+ <docstring>Draws a filled polygon using a sequence of `wx.Point` objects, adding
+the optional offset coordinate. The last argument specifies the fill
+rule: ``wx.ODDEVEN_RULE`` (the default) or ``wx.WINDING_RULE``.
+
+The current pen is used for drawing the outline, and the current brush
+for filling the shape. Using a transparent brush suppresses
+filling. Note that wxWidgets automatically closes the first and last
+points.</docstring>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ <param name="xoffset" type="int" default="0"/>
+ <param name="yoffset" type="int" default="0"/>
+ <param name="fillStyle" type="int" default="wxODDEVEN_RULE"/>
+ </paramlist>
+ </method>
+ <method name="DrawLabel" type="" overloaded="no">
+ <autodoc>DrawLabel(self, String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP,
+ int indexAccel=-1)</autodoc>
+ <docstring>Draw *text* within the specified rectangle, abiding by the alignment
+flags. Will additionally emphasize the character at *indexAccel* if
+it is not -1.
+
+:see: `DrawImageLabel`</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="rect" type="Rect" default=""/>
+ <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/>
+ <param name="indexAccel" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="DrawImageLabel" type="Rect" overloaded="no">
+ <autodoc>DrawImageLabel(self, String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP,
+ int indexAccel=-1) -> Rect</autodoc>
+ <docstring>Draw *text* and an image (which may be ``wx.NullBitmap`` to skip
+drawing it) within the specified rectangle, abiding by the alignment
+flags. Will additionally emphasize the character at *indexAccel* if
+it is not -1. Returns the bounding rectangle.</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="Bitmap" default=""/>
+ <param name="rect" type="Rect" default=""/>
+ <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/>
+ <param name="indexAccel" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="DrawSpline" type="" overloaded="no">
+ <autodoc>DrawSpline(self, List points)</autodoc>
+ <docstring>Draws a spline between all given control points, (a list of `wx.Point`
+objects) using the current pen. The spline is drawn using a series of
+lines, using an algorithm taken from the X drawing program 'XFIG'.</docstring>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ <docstring>Clears the device context using the current background brush.</docstring>
+ </method>
+ <method name="StartDoc" type="bool" overloaded="no">
+ <autodoc>StartDoc(self, String message) -> bool</autodoc>
+ <docstring>Starts a document (only relevant when outputting to a
+printer). *Message* is a message to show whilst printing.</docstring>
+ <paramlist>
+ <param name="message" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="EndDoc" type="" overloaded="no">
+ <autodoc>EndDoc(self)</autodoc>
+ <docstring>Ends a document (only relevant when outputting to a printer).</docstring>
+ </method>
+ <method name="StartPage" type="" overloaded="no">
+ <autodoc>StartPage(self)</autodoc>
+ <docstring>Starts a document page (only relevant when outputting to a printer).</docstring>
+ </method>
+ <method name="EndPage" type="" overloaded="no">
+ <autodoc>EndPage(self)</autodoc>
+ <docstring>Ends a document page (only relevant when outputting to a printer).</docstring>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font)</autodoc>
+ <docstring>Sets the current font for the DC. It must be a valid font, in
+particular you should not pass ``wx.NullFont`` to this method.
+
+:see: `wx.Font`</docstring>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPen" type="" overloaded="no">
+ <autodoc>SetPen(self, Pen pen)</autodoc>
+ <docstring>Sets the current pen for the DC.
+
+If the argument is ``wx.NullPen``, the current pen is selected out of the
+device context, and the original pen restored.
+
+:see: `wx.Pen`</docstring>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBrush" type="" overloaded="no">
+ <autodoc>SetBrush(self, Brush brush)</autodoc>
+ <docstring>Sets the current brush for the DC.
+
+If the argument is ``wx.NullBrush``, the current brush is selected out
+of the device context, and the original brush restored, allowing the
+current brush to be destroyed safely.
+
+:see: `wx.Brush`</docstring>
+ <paramlist>
+ <param name="brush" type="Brush" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackground" type="" overloaded="no">
+ <autodoc>SetBackground(self, Brush brush)</autodoc>
+ <docstring>Sets the current background brush for the DC.</docstring>
+ <paramlist>
+ <param name="brush" type="Brush" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundMode" type="" overloaded="no">
+ <autodoc>SetBackgroundMode(self, int mode)</autodoc>
+ <docstring>*mode* may be one of ``wx.SOLID`` and ``wx.TRANSPARENT``. This setting
+determines whether text will be drawn with a background colour or
+not.</docstring>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPalette" type="" overloaded="no">
+ <autodoc>SetPalette(self, Palette palette)</autodoc>
+ <docstring>If this is a window DC or memory DC, assigns the given palette to the
+window or bitmap associated with the DC. If the argument is
+``wx.NullPalette``, the current palette is selected out of the device
+context, and the original palette restored.
+
+:see: `wx.Palette`</docstring>
+ <paramlist>
+ <param name="palette" type="Palette" default=""/>
+ </paramlist>
+ </method>
+ <method name="DestroyClippingRegion" type="" overloaded="no">
+ <autodoc>DestroyClippingRegion(self)</autodoc>
+ <docstring>Destroys the current clipping region so that none of the DC is
+clipped.
+
+:see: `SetClippingRegion`</docstring>
+ </method>
+ <method name="GetClippingBox" type="" overloaded="no">
+ <autodoc>GetClippingBox() -> (x, y, width, height)</autodoc>
+ <docstring>Gets the rectangle surrounding the current clipping region.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetClippingRect" type="Rect" overloaded="no">
+ <autodoc>GetClippingRect(self) -> Rect</autodoc>
+ <docstring>Gets the rectangle surrounding the current clipping region.</docstring>
+ </method>
+ <method name="GetCharHeight" type="int" overloaded="no">
+ <autodoc>GetCharHeight(self) -> int</autodoc>
+ <docstring>Gets the character height of the currently set font.</docstring>
+ </method>
+ <method name="GetCharWidth" type="int" overloaded="no">
+ <autodoc>GetCharWidth(self) -> int</autodoc>
+ <docstring>Gets the average character width of the currently set font.</docstring>
+ </method>
+ <method name="GetTextExtent" type="" overloaded="no">
+ <autodoc>GetTextExtent(wxString string) -> (width, height)</autodoc>
+ <docstring>Get the width and height of the text using the current font. Only
+works for single line strings.</docstring>
+ <paramlist>
+ <param name="string" type="String" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFullTextExtent" type="" overloaded="no">
+ <autodoc>GetFullTextExtent(wxString string, Font font=None) ->
+ (width, height, descent, externalLeading)</autodoc>
+ <docstring>Get the width, height, decent and leading of the text using the
+current or specified font. Only works for single line strings.</docstring>
+ <paramlist>
+ <param name="string" type="String" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="font" type="Font" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="GetMultiLineTextExtent" type="" overloaded="no">
+ <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) ->
+ (width, height, descent, externalLeading)</autodoc>
+ <docstring>Get the width, height, decent and leading of the text using the
+current or specified font. Works for single as well as multi-line
+strings.</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="font" type="Font" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="GetPartialTextExtents" type="wxArrayInt" overloaded="no">
+ <autodoc>GetPartialTextExtents(self, text) -> [widths]</autodoc>
+ <docstring>Returns a list of integers such that each value is the distance in
+pixels from the begining of text to the coresponding character of
+*text*. The generic version simply builds a running total of the widths
+of each character using GetTextExtent, however if the various
+platforms have a native API function that is faster or more accurate
+than the generic implementation then it will be used instead.</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ <docstring>This gets the horizontal and vertical resolution in device units. It
+can be used to scale graphics to fit the page. For example, if *maxX*
+and *maxY* represent the maximum horizontal and vertical 'pixel' values
+used in your application, the following code will scale the graphic to
+fit on the printer page::
+
+ w, h = dc.GetSize()
+ scaleX = maxX*1.0 / w
+ scaleY = maxY*1.0 / h
+ dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY))
+</docstring>
+ </method>
+ <method name="GetSizeTuple" type="" overloaded="no">
+ <autodoc>GetSizeTuple() -> (width, height)</autodoc>
+ <docstring>This gets the horizontal and vertical resolution in device units. It
+can be used to scale graphics to fit the page. For example, if *maxX*
+and *maxY* represent the maximum horizontal and vertical 'pixel' values
+used in your application, the following code will scale the graphic to
+fit on the printer page::
+
+ w, h = dc.GetSize()
+ scaleX = maxX*1.0 / w
+ scaleY = maxY*1.0 / h
+ dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY))
+</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSizeMM" type="Size" overloaded="no">
+ <autodoc>GetSizeMM(self) -> Size</autodoc>
+ <docstring>Get the DC size in milimeters.</docstring>
+ </method>
+ <method name="GetSizeMMTuple" type="" overloaded="no">
+ <autodoc>GetSizeMMTuple() -> (width, height)</autodoc>
+ <docstring>Get the DC size in milimeters.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeviceToLogicalX" type="int" overloaded="no">
+ <autodoc>DeviceToLogicalX(self, int x) -> int</autodoc>
+ <docstring>Convert device X coordinate to logical coordinate, using the current
+mapping mode.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeviceToLogicalY" type="int" overloaded="no">
+ <autodoc>DeviceToLogicalY(self, int y) -> int</autodoc>
+ <docstring>Converts device Y coordinate to logical coordinate, using the current
+mapping mode.</docstring>
+ <paramlist>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeviceToLogicalXRel" type="int" overloaded="no">
+ <autodoc>DeviceToLogicalXRel(self, int x) -> int</autodoc>
+ <docstring>Convert device X coordinate to relative logical coordinate, using the
+current mapping mode but ignoring the x axis orientation. Use this
+function for converting a width, for example.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeviceToLogicalYRel" type="int" overloaded="no">
+ <autodoc>DeviceToLogicalYRel(self, int y) -> int</autodoc>
+ <docstring>Convert device Y coordinate to relative logical coordinate, using the
+current mapping mode but ignoring the y axis orientation. Use this
+function for converting a height, for example.</docstring>
+ <paramlist>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogicalToDeviceX" type="int" overloaded="no">
+ <autodoc>LogicalToDeviceX(self, int x) -> int</autodoc>
+ <docstring>Converts logical X coordinate to device coordinate, using the current
+mapping mode.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogicalToDeviceY" type="int" overloaded="no">
+ <autodoc>LogicalToDeviceY(self, int y) -> int</autodoc>
+ <docstring>Converts logical Y coordinate to device coordinate, using the current
+mapping mode.</docstring>
+ <paramlist>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogicalToDeviceXRel" type="int" overloaded="no">
+ <autodoc>LogicalToDeviceXRel(self, int x) -> int</autodoc>
+ <docstring>Converts logical X coordinate to relative device coordinate, using the
+current mapping mode but ignoring the x axis orientation. Use this for
+converting a width, for example.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogicalToDeviceYRel" type="int" overloaded="no">
+ <autodoc>LogicalToDeviceYRel(self, int y) -> int</autodoc>
+ <docstring>Converts logical Y coordinate to relative device coordinate, using the
+current mapping mode but ignoring the y axis orientation. Use this for
+converting a height, for example.</docstring>
+ <paramlist>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanDrawBitmap" type="bool" overloaded="no">
+ <autodoc>CanDrawBitmap(self) -> bool</autodoc>
+ </method>
+ <method name="CanGetTextExtent" type="bool" overloaded="no">
+ <autodoc>CanGetTextExtent(self) -> bool</autodoc>
+ </method>
+ <method name="GetDepth" type="int" overloaded="no">
+ <autodoc>GetDepth(self) -> int</autodoc>
+ <docstring>Returns the colour depth of the DC.</docstring>
+ </method>
+ <method name="GetPPI" type="Size" overloaded="no">
+ <autodoc>GetPPI(self) -> Size</autodoc>
+ <docstring>Resolution in Pixels per inch</docstring>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ <docstring>Returns true if the DC is ok to use.</docstring>
+ </method>
+ <method name="GetBackgroundMode" type="int" overloaded="no">
+ <autodoc>GetBackgroundMode(self) -> int</autodoc>
+ <docstring>Returns the current background mode, either ``wx.SOLID`` or
+``wx.TRANSPARENT``.
+
+:see: `SetBackgroundMode`</docstring>
+ </method>
+ <method name="GetBackground" type="Brush" overloaded="no">
+ <autodoc>GetBackground(self) -> Brush</autodoc>
+ <docstring>Gets the brush used for painting the background.
+
+:see: `SetBackground`</docstring>
+ </method>
+ <method name="GetBrush" type="Brush" overloaded="no">
+ <autodoc>GetBrush(self) -> Brush</autodoc>
+ <docstring>Gets the current brush</docstring>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ <docstring>Gets the current font</docstring>
+ </method>
+ <method name="GetPen" type="Pen" overloaded="no">
+ <autodoc>GetPen(self) -> Pen</autodoc>
+ <docstring>Gets the current pen</docstring>
+ </method>
+ <method name="GetTextBackground" type="Colour" overloaded="no">
+ <autodoc>GetTextBackground(self) -> Colour</autodoc>
+ <docstring>Gets the current text background colour</docstring>
+ </method>
+ <method name="GetTextForeground" type="Colour" overloaded="no">
+ <autodoc>GetTextForeground(self) -> Colour</autodoc>
+ <docstring>Gets the current text foreground colour</docstring>
+ </method>
+ <method name="SetTextForeground" type="" overloaded="no">
+ <autodoc>SetTextForeground(self, Colour colour)</autodoc>
+ <docstring>Sets the current text foreground colour for the DC.</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTextBackground" type="" overloaded="no">
+ <autodoc>SetTextBackground(self, Colour colour)</autodoc>
+ <docstring>Sets the current text background colour for the DC.</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMapMode" type="int" overloaded="no">
+ <autodoc>GetMapMode(self) -> int</autodoc>
+ <docstring>Gets the current *mapping mode* for the device context </docstring>
+ </method>
+ <method name="SetMapMode" type="" overloaded="no">
+ <autodoc>SetMapMode(self, int mode)</autodoc>
+ <docstring>The *mapping mode* of the device context defines the unit of
+measurement used to convert logical units to device units. The
+mapping mode can be one of the following:
+
+ ================ =============================================
+ wx.MM_TWIPS Each logical unit is 1/20 of a point, or 1/1440
+ of an inch.
+ wx.MM_POINTS Each logical unit is a point, or 1/72 of an inch.
+ wx.MM_METRIC Each logical unit is 1 mm.
+ wx.MM_LOMETRIC Each logical unit is 1/10 of a mm.
+ wx.MM_TEXT Each logical unit is 1 pixel.
+ ================ =============================================
+
+Note that in X, text drawing isn't handled consistently with the
+mapping mode; a font is always specified in point size. However,
+setting the user scale (see `SetUserScale`) scales the text
+appropriately. In Windows, scalable TrueType fonts are always used; in
+X, results depend on availability of fonts, but usually a reasonable
+match is found.
+
+The coordinate origin is always at the top left of the screen/printer.
+
+Drawing to a Windows printer device context uses the current mapping
+mode, but mapping mode is currently ignored for PostScript output.
+</docstring>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUserScale" type="" overloaded="no">
+ <autodoc>GetUserScale(self) -> (xScale, yScale)</autodoc>
+ <docstring>Gets the current user scale factor (set by `SetUserScale`).</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetUserScale" type="" overloaded="no">
+ <autodoc>SetUserScale(self, double x, double y)</autodoc>
+ <docstring>Sets the user scaling factor, useful for applications which require
+'zooming'.</docstring>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLogicalScale" type="" overloaded="no">
+ <autodoc>GetLogicalScale() -> (xScale, yScale)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLogicalScale" type="" overloaded="no">
+ <autodoc>SetLogicalScale(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLogicalOrigin" type="Point" overloaded="no">
+ <autodoc>GetLogicalOrigin(self) -> Point</autodoc>
+ </method>
+ <method name="GetLogicalOriginTuple" type="" overloaded="no">
+ <autodoc>GetLogicalOriginTuple() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLogicalOrigin" type="" overloaded="no">
+ <autodoc>SetLogicalOrigin(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLogicalOriginPoint" type="" overloaded="no">
+ <autodoc>SetLogicalOriginPoint(self, Point point)</autodoc>
+ <paramlist>
+ <param name="point" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDeviceOrigin" type="Point" overloaded="no">
+ <autodoc>GetDeviceOrigin(self) -> Point</autodoc>
+ </method>
+ <method name="GetDeviceOriginTuple" type="" overloaded="no">
+ <autodoc>GetDeviceOriginTuple() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDeviceOrigin" type="" overloaded="no">
+ <autodoc>SetDeviceOrigin(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDeviceOriginPoint" type="" overloaded="no">
+ <autodoc>SetDeviceOriginPoint(self, Point point)</autodoc>
+ <paramlist>
+ <param name="point" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAxisOrientation" type="" overloaded="no">
+ <autodoc>SetAxisOrientation(self, bool xLeftRight, bool yBottomUp)</autodoc>
+ <docstring>Sets the x and y axis orientation (i.e., the direction from lowest to
+highest values on the axis). The default orientation is the natural
+orientation, e.g. x axis from left to right and y axis from bottom up.</docstring>
+ <paramlist>
+ <param name="xLeftRight" type="bool" default=""/>
+ <param name="yBottomUp" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLogicalFunction" type="int" overloaded="no">
+ <autodoc>GetLogicalFunction(self) -> int</autodoc>
+ <docstring>Gets the current logical function (set by `SetLogicalFunction`).</docstring>
+ </method>
+ <method name="SetLogicalFunction" type="" overloaded="no">
+ <autodoc>SetLogicalFunction(self, int function)</autodoc>
+ <docstring>Sets the current logical function for the device context. This
+determines how a source pixel (from a pen or brush colour, or source
+device context if using `Blit`) combines with a destination pixel in
+the current device context.
+
+The possible values and their meaning in terms of source and
+destination pixel values are as follows:
+
+ ================ ==========================
+ wx.AND src AND dst
+ wx.AND_INVERT (NOT src) AND dst
+ wx.AND_REVERSE src AND (NOT dst)
+ wx.CLEAR 0
+ wx.COPY src
+ wx.EQUIV (NOT src) XOR dst
+ wx.INVERT NOT dst
+ wx.NAND (NOT src) OR (NOT dst)
+ wx.NOR (NOT src) AND (NOT dst)
+ wx.NO_OP dst
+ wx.OR src OR dst
+ wx.OR_INVERT (NOT src) OR dst
+ wx.OR_REVERSE src OR (NOT dst)
+ wx.SET 1
+ wx.SRC_INVERT NOT src
+ wx.XOR src XOR dst
+ ================ ==========================
+
+The default is wx.COPY, which simply draws with the current
+colour. The others combine the current colour and the background using
+a logical operation. wx.INVERT is commonly used for drawing rubber
+bands or moving outlines, since drawing twice reverts to the original
+colour.
+</docstring>
+ <paramlist>
+ <param name="function" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOptimization" type="" overloaded="no">
+ <autodoc>SetOptimization(self, bool optimize)</autodoc>
+ <docstring>If *optimize* is true this function sets optimization mode on. This
+currently means that under X, the device context will not try to set a
+pen or brush property if it is known to be set already. This approach
+can fall down if non-wxWidgets code is using the same device context
+or window, for example when the window is a panel on which the
+windowing system draws panel items. The wxWidgets device context
+'memory' will now be out of step with reality.
+
+Setting optimization off, drawing, then setting it back on again, is a
+trick that must occasionally be employed.</docstring>
+ <paramlist>
+ <param name="optimize" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOptimization" type="bool" overloaded="no">
+ <autodoc>GetOptimization(self) -> bool</autodoc>
+ <docstring>Returns true if device context optimization is on. See
+`SetOptimization` for .</docstring>
+ </method>
+ <method name="CalcBoundingBox" type="" overloaded="no">
+ <autodoc>CalcBoundingBox(self, int x, int y)</autodoc>
+ <docstring>Adds the specified point to the bounding box which can be retrieved
+with `MinX`, `MaxX` and `MinY`, `MaxY` or `GetBoundingBox` functions.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalcBoundingBoxPoint" type="" overloaded="no">
+ <autodoc>CalcBoundingBoxPoint(self, Point point)</autodoc>
+ <docstring>Adds the specified point to the bounding box which can be retrieved
+with `MinX`, `MaxX` and `MinY`, `MaxY` or `GetBoundingBox` functions.</docstring>
+ <paramlist>
+ <param name="point" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="ResetBoundingBox" type="" overloaded="no">
+ <autodoc>ResetBoundingBox(self)</autodoc>
+ <docstring>Resets the bounding box: after a call to this function, the bounding
+box doesn't contain anything.</docstring>
+ </method>
+ <method name="MinX" type="int" overloaded="no">
+ <autodoc>MinX(self) -> int</autodoc>
+ <docstring>Gets the minimum horizontal extent used in drawing commands so far.</docstring>
+ </method>
+ <method name="MaxX" type="int" overloaded="no">
+ <autodoc>MaxX(self) -> int</autodoc>
+ <docstring>Gets the maximum horizontal extent used in drawing commands so far.</docstring>
+ </method>
+ <method name="MinY" type="int" overloaded="no">
+ <autodoc>MinY(self) -> int</autodoc>
+ <docstring>Gets the minimum vertical extent used in drawing commands so far.</docstring>
+ </method>
+ <method name="MaxY" type="int" overloaded="no">
+ <autodoc>MaxY(self) -> int</autodoc>
+ <docstring>Gets the maximum vertical extent used in drawing commands so far.</docstring>
+ </method>
+ <method name="GetBoundingBox" type="" overloaded="no">
+ <autodoc>GetBoundingBox() -> (x1,y1, x2,y2)</autodoc>
+ <docstring>Returns the min and max points used in drawing commands so far.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="_DrawPointList" type="PyObject" overloaded="no">
+ <autodoc>_DrawPointList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
+ <paramlist>
+ <param name="pyCoords" type="PyObject" default=""/>
+ <param name="pyPens" type="PyObject" default=""/>
+ <param name="pyBrushes" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="_DrawLineList" type="PyObject" overloaded="no">
+ <autodoc>_DrawLineList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
+ <paramlist>
+ <param name="pyCoords" type="PyObject" default=""/>
+ <param name="pyPens" type="PyObject" default=""/>
+ <param name="pyBrushes" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="_DrawRectangleList" type="PyObject" overloaded="no">
+ <autodoc>_DrawRectangleList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
+ <paramlist>
+ <param name="pyCoords" type="PyObject" default=""/>
+ <param name="pyPens" type="PyObject" default=""/>
+ <param name="pyBrushes" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="_DrawEllipseList" type="PyObject" overloaded="no">
+ <autodoc>_DrawEllipseList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
+ <paramlist>
+ <param name="pyCoords" type="PyObject" default=""/>
+ <param name="pyPens" type="PyObject" default=""/>
+ <param name="pyBrushes" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="_DrawPolygonList" type="PyObject" overloaded="no">
+ <autodoc>_DrawPolygonList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
+ <paramlist>
+ <param name="pyCoords" type="PyObject" default=""/>
+ <param name="pyPens" type="PyObject" default=""/>
+ <param name="pyBrushes" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="_DrawTextList" type="PyObject" overloaded="no">
+ <autodoc>_DrawTextList(self, PyObject textList, PyObject pyPoints, PyObject foregroundList,
+ PyObject backgroundList) -> PyObject</autodoc>
+ <paramlist>
+ <param name="textList" type="PyObject" default=""/>
+ <param name="pyPoints" type="PyObject" default=""/>
+ <param name="foregroundList" type="PyObject" default=""/>
+ <param name="backgroundList" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="GDIObject" oldname="wxGDIObject" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="GDIObject" overloaded="no">
- <autodoc>__init__() -> GDIObject</autodoc>
- </constructor>
- <destructor name="~wxGDIObject" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetVisible" type="bool" overloaded="no">
- <autodoc>GetVisible() -> bool</autodoc>
- </method>
- <method name="SetVisible" type="void" overloaded="no">
- <autodoc>SetVisible(bool visible)</autodoc>
- <paramlist>
- <param name="visible" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsNull" type="bool" overloaded="no">
- <autodoc>IsNull() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="MemoryDC" oldname="wxMemoryDC" module="_gdi">
+ <docstring>A memory device context provides a means to draw graphics onto a
+bitmap. A bitmap must be selected into the new memory DC before it may
+be used for anything. Typical usage is as follows::
+
+ dc = wx.MemoryDC()
+ dc.SelectObject(bitmap)
+ # draw on the dc usign any of the Draw methods
+ dc.SelectObject(wx.NullBitmap)
+ # the bitmap now contains wahtever was drawn upon it
+
+Note that the memory DC *must* be deleted (or the bitmap selected out
+of it) before a bitmap can be reselected into another memory DC.
+</docstring>
+ <baseclass name="DC"/>
+ <constructor name="MemoryDC" overloaded="no">
+ <autodoc>__init__(self) -> MemoryDC</autodoc>
+ <docstring>Constructs a new memory device context.
+
+Use the Ok member to test whether the constructor was successful in
+creating a usable device context. Don't forget to select a bitmap into
+the DC before drawing on it.
+
+:see: `MemoryDCFromDC`</docstring>
+ </constructor>
+ <constructor name="MemoryDCFromDC" overloaded="no">
+ <autodoc>MemoryDCFromDC(DC oldDC) -> MemoryDC</autodoc>
+ <docstring>Creates a DC that is compatible with the oldDC.</docstring>
+ <paramlist>
+ <param name="oldDC" type="DC" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="SelectObject" type="" overloaded="no">
+ <autodoc>SelectObject(self, Bitmap bitmap)</autodoc>
+ <docstring>Selects the bitmap into the device context, to use as the memory
+bitmap. Selecting the bitmap into a memory DC allows you to draw into
+the DC, and therefore the bitmap, and also to use Blit to copy the
+bitmap to a window.
+
+If the argument is wx.NullBitmap (or some other uninitialised
+`wx.Bitmap`) the current bitmap is selected out of the device context,
+and the original bitmap restored, allowing the current bitmap to be
+destroyed safely.</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Colour" oldname="wxColour" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="Colour" overloaded="no">
- <autodoc>__init__(unsigned char red=0, unsigned char green=0, unsigned char blue=0) -> Colour</autodoc>
- <paramlist>
- <param name="red" type="unsigned char" default="0"/>
- <param name="green" type="unsigned char" default="0"/>
- <param name="blue" type="unsigned char" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="NamedColour" overloaded="no">
- <autodoc>NamedColour(String colorName) -> Colour</autodoc>
- <paramlist>
- <param name="colorName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <constructor name="ColourRGB" overloaded="no">
- <autodoc>ColourRGB(unsigned long colRGB) -> Colour</autodoc>
- <paramlist>
- <param name="colRGB" type="unsigned long" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxColour" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Red" type="unsigned char" overloaded="no">
- <autodoc>Red() -> unsigned char</autodoc>
- </method>
- <method name="Green" type="unsigned char" overloaded="no">
- <autodoc>Green() -> unsigned char</autodoc>
- </method>
- <method name="Blue" type="unsigned char" overloaded="no">
- <autodoc>Blue() -> unsigned char</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(unsigned char red, unsigned char green, unsigned char blue)</autodoc>
- <paramlist>
- <param name="red" type="unsigned char" default=""/>
- <param name="green" type="unsigned char" default=""/>
- <param name="blue" type="unsigned char" default=""/>
- </paramlist>
- </method>
- <method name="SetRGB" type="void" overloaded="no">
- <autodoc>SetRGB(unsigned long colRGB)</autodoc>
- <paramlist>
- <param name="colRGB" type="unsigned long" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(Colour colour) -> bool</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(Colour colour) -> bool</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="InitFromName" type="void" overloaded="no">
- <autodoc>InitFromName(String colourName)</autodoc>
- <paramlist>
- <param name="colourName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Get" type="PyObject" overloaded="no">
- <autodoc>Get() -> PyObject</autodoc>
- </method>
- </class>
- <pythoncode>
- Color = Colour
- NamedColor = NamedColour
+ <class name="BufferedDC" oldname="wxBufferedDC" module="_gdi">
+ <docstring>This simple class provides a simple way to avoid flicker: when drawing
+on it, everything is in fact first drawn on an in-memory buffer (a
+`wx.Bitmap`) and then copied to the screen only once, when this object
+is destroyed.
+
+It can be used in the same way as any other device
+context. wx.BufferedDC itself typically replaces `wx.ClientDC`, if you
+want to use it in your EVT_PAINT handler, you should look at
+`wx.BufferedPaintDC`.
+</docstring>
+ <baseclass name="MemoryDC"/>
+ <constructor name="BufferedDC" overloaded="yes">
+ <docstring>Constructs a buffered DC.
+
+ :param dc: The underlying DC: everything drawn to this object will
+ be flushed to this DC when this object is destroyed. You may
+ pass ``None`` in order to just initialize the buffer, and not
+ flush it.
+
+ :param buffer: If a `wx.Size` object is passed as the 2nd arg then
+ it is the size of the bitmap that will be created internally
+ and used for an implicit buffer. If the 2nd arg is a
+ `wx.Bitmap` then it is the explicit buffer that will be
+ used. Using an explicit buffer is the most efficient solution
+ as the bitmap doesn't have to be recreated each time but it
+ also requires more memory as the bitmap is never freed. The
+ bitmap should have appropriate size, anything drawn outside of
+ its bounds is clipped.
+</docstring>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="buffer" type="Bitmap" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="BufferedDC" overloaded="yes">
+ <autodoc>__init__(self, DC dc, Bitmap buffer) -> BufferedDC
+__init__(self, DC dc, Size area) -> BufferedDC</autodoc>
+ <docstring>Constructs a buffered DC.
+
+ :param dc: The underlying DC: everything drawn to this object will
+ be flushed to this DC when this object is destroyed. You may
+ pass ``None`` in order to just initialize the buffer, and not
+ flush it.
+
+ :param buffer: If a `wx.Size` object is passed as the 2nd arg then
+ it is the size of the bitmap that will be created internally
+ and used for an implicit buffer. If the 2nd arg is a
+ `wx.Bitmap` then it is the explicit buffer that will be
+ used. Using an explicit buffer is the most efficient solution
+ as the bitmap doesn't have to be recreated each time but it
+ also requires more memory as the bitmap is never freed. The
+ bitmap should have appropriate size, anything drawn outside of
+ its bounds is clipped.
+</docstring>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="area" type="Size" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxBufferedDC" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ <docstring>Copies everything drawn on the DC so far to the underlying DC
+associated with this object, if any.</docstring>
+ </destructor>
+ <method name="UnMask" type="" overloaded="no">
+ <autodoc>UnMask(self)</autodoc>
+ <docstring>Blits the buffer to the dc, and detaches the dc from the buffer (so it
+can be effectively used once only). This is usually only called in
+the destructor.</docstring>
+ </method>
+ </class>
+ <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="_gdi">
+ <docstring>This is a subclass of `wx.BufferedDC` which can be used inside of an
+EVT_PAINT event handler. Just create an object of this class instead
+of `wx.PaintDC` and that's all you have to do to (mostly) avoid
+flicker. The only thing to watch out for is that if you are using this
+class together with `wx.ScrolledWindow`, you probably do **not** want
+to call `wx.Window.PrepareDC` on it as it already does this internally
+for the real underlying `wx.PaintDC`.
+
+If your window is already fully buffered in a `wx.Bitmap` then your
+EVT_PAINT handler can be as simple as just creating a
+``wx.BufferedPaintDC`` as it will `Blit` the buffer to the window
+automatically when it is destroyed. For example::
+
+ def OnPaint(self, event):
+ dc = wx.BufferedPaintDC(self, self.buffer)
+
+
+</docstring>
+ <baseclass name="BufferedDC"/>
+ <constructor name="BufferedPaintDC" overloaded="no">
+ <autodoc>__init__(self, Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC</autodoc>
+ <docstring>Create a buffered paint DC. As with `wx.BufferedDC`, you may either
+provide the bitmap to be used for buffering or let this object create
+one internally (in the latter case, the size of the client part of the
+window is automatically used).
+
+</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="buffer" type="Bitmap" default="wxNullBitmap"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <class name="Palette" oldname="wxPalette" module="gdi">
- <baseclass name="wxGDIObject"/>
- <constructor name="Palette" overloaded="no">
- <autodoc>__init__(int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="red" type="p.q(const).unsigned char" default=""/>
- <param name="green" type="p.q(const).unsigned char" default=""/>
- <param name="blue" type="p.q(const).unsigned char" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxPalette" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetPixel" type="int" overloaded="no">
- <autodoc>GetPixel(byte red, byte green, byte blue) -> int</autodoc>
- <paramlist>
- <param name="red" type="byte" default=""/>
- <param name="green" type="byte" default=""/>
- <param name="blue" type="byte" default=""/>
- </paramlist>
- </method>
- <method name="GetRGB" type="bool" overloaded="no">
- <autodoc>GetRGB(int pixel) -> (R,G,B)</autodoc>
- <paramlist>
- <param name="pixel" type="int" default=""/>
- <param name="OUTPUT" type="p.byte" default=""/>
- <param name="OUTPUT" type="p.byte" default=""/>
- <param name="OUTPUT" type="p.byte" default=""/>
- </paramlist>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="ScreenDC" oldname="wxScreenDC" module="_gdi">
+ <docstring>A wxScreenDC can be used to paint anywhere on the screen. This should
+normally be constructed as a temporary stack object; don't store a
+wxScreenDC object.
+</docstring>
+ <baseclass name="DC"/>
+ <constructor name="ScreenDC" overloaded="no">
+ <autodoc>__init__(self) -> ScreenDC</autodoc>
+ <docstring>A wxScreenDC can be used to paint anywhere on the screen. This should
+normally be constructed as a temporary stack object; don't store a
+wxScreenDC object.
+</docstring>
+ </constructor>
+ <method name="StartDrawingOnTopWin" type="bool" overloaded="no">
+ <autodoc>StartDrawingOnTopWin(self, Window window) -> bool</autodoc>
+ <docstring>Specify that the area of the screen to be drawn upon coincides with
+the given window.
+
+:see: `EndDrawingOnTop`</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="StartDrawingOnTop" type="bool" overloaded="no">
+ <autodoc>StartDrawingOnTop(self, Rect rect=None) -> bool</autodoc>
+ <docstring>Specify that the area is the given rectangle, or the whole screen if
+``None`` is passed.
+
+:see: `EndDrawingOnTop`</docstring>
+ <paramlist>
+ <param name="rect" type="Rect" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="EndDrawingOnTop" type="bool" overloaded="no">
+ <autodoc>EndDrawingOnTop(self) -> bool</autodoc>
+ <docstring>Use this in conjunction with `StartDrawingOnTop` or
+`StartDrawingOnTopWin` to ensure that drawing to the screen occurs on
+top of existing windows. Without this, some window systems (such as X)
+only allow drawing to take place underneath other windows.
+
+You might use this pair of functions when implementing a drag feature,
+for example as in the `wx.SplitterWindow` implementation.
+
+These functions are probably obsolete since the X implementations
+allow drawing directly on the screen now. However, the fact that this
+function allows the screen to be refreshed afterwards may be useful
+to some applications.</docstring>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Pen" oldname="wxPen" module="gdi">
- <baseclass name="wxGDIObject"/>
- <constructor name="Pen" overloaded="no">
- <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -> Pen</autodoc>
- <paramlist>
- <param name="colour" type="r.wxColour" default=""/>
- <param name="width" type="int" default="1"/>
- <param name="style" type="int" default="wxSOLID"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPen" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetCap" type="int" overloaded="no">
- <autodoc>GetCap() -> int</autodoc>
- </method>
- <method name="GetColour" type="wxColour" overloaded="no">
- <autodoc>GetColour() -> Colour</autodoc>
- </method>
- <method name="GetJoin" type="int" overloaded="no">
- <autodoc>GetJoin() -> int</autodoc>
- </method>
- <method name="GetStyle" type="int" overloaded="no">
- <autodoc>GetStyle() -> int</autodoc>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="SetCap" type="void" overloaded="no">
- <autodoc>SetCap(int cap_style)</autodoc>
- <paramlist>
- <param name="cap_style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetJoin" type="void" overloaded="no">
- <autodoc>SetJoin(int join_style)</autodoc>
- <paramlist>
- <param name="join_style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetStyle" type="void" overloaded="no">
- <autodoc>SetStyle(int style)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDashes" type="void" overloaded="no">
- <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc>
- <paramlist>
- <param name="dashes" type="int" default=""/>
- <param name="dashes_array" type="p.wxDash" default=""/>
- </paramlist>
- </method>
- <method name="GetDashes" type="PyObject" overloaded="no">
- <autodoc>GetDashes() -> PyObject</autodoc>
- </method>
- <method name="GetDashCount" type="int" overloaded="no">
- <autodoc>GetDashCount() -> int</autodoc>
- </method>
- </class>
- <class name="PyPen" oldname="wxPyPen" module="gdi">
- <baseclass name="wxPen"/>
- <constructor name="PyPen" overloaded="no">
- <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -> PyPen</autodoc>
- <paramlist>
- <param name="colour" type="r.wxColour" default=""/>
- <param name="width" type="int" default="1"/>
- <param name="style" type="int" default="wxSOLID"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPyPen" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetDashes" type="void" overloaded="no">
- <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc>
- <paramlist>
- <param name="dashes" type="int" default=""/>
- <param name="dashes_array" type="p.wxDash" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode> Pen = PyPen </pythoncode>
- <pythoncode>
+ <class name="ClientDC" oldname="wxClientDC" module="_gdi">
+ <docstring>A wx.ClientDC must be constructed if an application wishes to paint on
+the client area of a window from outside an EVT_PAINT event. This should
+normally be constructed as a temporary stack object; don't store a
+wx.ClientDC object long term.
+
+To draw on a window from within an EVT_PAINT handler, construct a
+`wx.PaintDC` object.
+
+To draw on the whole window including decorations, construct a
+`wx.WindowDC` object (Windows only).
+</docstring>
+ <baseclass name="DC"/>
+ <constructor name="ClientDC" overloaded="no">
+ <autodoc>__init__(self, Window win) -> ClientDC</autodoc>
+ <docstring>Constructor. Pass the window on which you wish to paint.</docstring>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Brush" oldname="wxBrush" module="gdi">
- <docstring>A brush is a drawing tool for filling in areas. It is used for painting the
-background of rectangles, ellipses, etc. It has a colour and a style.</docstring>
- <baseclass name="wxGDIObject"/>
- <constructor name="Brush" overloaded="no">
- <autodoc>__init__(Colour colour, int style=SOLID) -> Brush</autodoc>
- <docstring>Constructs a brush from a colour object and style.</docstring>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- <param name="style" type="int" default="wxSOLID"/>
- </paramlist>
- </constructor>
- <destructor name="~wxBrush" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(Colour col)</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetStyle" type="void" overloaded="no">
- <autodoc>SetStyle(int style)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetStipple" type="void" overloaded="no">
- <autodoc>SetStipple(Bitmap stipple)</autodoc>
- <paramlist>
- <param name="stipple" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="GetColour" type="wxColour" overloaded="no">
- <autodoc>GetColour() -> Colour</autodoc>
- </method>
- <method name="GetStyle" type="int" overloaded="no">
- <autodoc>GetStyle() -> int</autodoc>
- </method>
- <method name="GetStipple" type="wxBitmap" overloaded="no">
- <autodoc>GetStipple() -> Bitmap</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- </class>
- <class name="Bitmap" oldname="wxBitmap" module="gdi">
- <baseclass name="wxGDIObject"/>
- <constructor name="Bitmap" overloaded="no">
- <autodoc>__init__(String name, int type=BITMAP_TYPE_ANY) -> Bitmap</autodoc>
- <docstring>Loads a bitmap from a file.</docstring>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/>
- </paramlist>
- </constructor>
- <constructor name="EmptyBitmap" overloaded="no">
- <autodoc>EmptyBitmap(int width, int height, int depth=-1) -> Bitmap</autodoc>
- <docstring>Creates a new bitmap of the given size. A depth of -1 indicates the depth of
-the current screen or visual. Some platforms only support 1 for monochrome and
--1 for the current colour setting.</docstring>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="depth" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <constructor name="BitmapFromIcon" overloaded="no">
- <autodoc>BitmapFromIcon(Icon icon) -> Bitmap</autodoc>
- <docstring>Create a new bitmap from an Icon object.</docstring>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- </paramlist>
- </constructor>
- <constructor name="BitmapFromImage" overloaded="no">
- <autodoc>BitmapFromImage(Image image, int depth=-1) -> Bitmap</autodoc>
- <docstring>Creates bitmap object from the image. This has to be done to actually display
-an image as you cannot draw an image directly on a window. The resulting
-bitmap will use the provided colour depth (or that of the current system if
-depth is -1) which entails that a colour reduction has to take place.</docstring>
- <paramlist>
- <param name="image" type="r.q(const).wxImage" default=""/>
- <param name="depth" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <constructor name="BitmapFromXPMData" overloaded="no">
- <autodoc>BitmapFromXPMData(PyObject listOfStrings) -> Bitmap</autodoc>
- <docstring>Construct a Bitmap from a list of strings formatted as XPM data.</docstring>
- <paramlist>
- <param name="listOfStrings" type="p.PyObject" default=""/>
- </paramlist>
- </constructor>
- <constructor name="BitmapFromBits" overloaded="no">
- <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap</autodoc>
- <docstring>Creates a bitmap from an array of bits. You should only use this function for
-monochrome bitmaps (depth 1) in portable programs: in this case the bits
-parameter should contain an XBM image. For other bit depths, the behaviour is
-platform dependent.</docstring>
- <paramlist>
- <param name="bits" type="p.PyObject" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="depth" type="int" default="1"/>
- </paramlist>
- </constructor>
- <destructor name="~wxBitmap" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- <docstring>Gets the width of the bitmap in pixels.</docstring>
- </method>
- <method name="GetHeight" type="int" overloaded="no">
- <autodoc>GetHeight() -> int</autodoc>
- <docstring>Gets the height of the bitmap in pixels.</docstring>
- </method>
- <method name="GetDepth" type="int" overloaded="no">
- <autodoc>GetDepth() -> int</autodoc>
- <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a
-monochrome bitmap.</docstring>
- </method>
- <method name="ConvertToImage" type="wxImage" overloaded="no">
- <autodoc>ConvertToImage() -> Image</autodoc>
- <docstring>Creates a platform-independent image from a platform-dependent bitmap. This
-preserves mask information so that bitmaps and images can be converted back
-and forth without loss in that respect.</docstring>
- </method>
- <method name="GetMask" type="wxMask" overloaded="no">
- <autodoc>GetMask() -> Mask</autodoc>
- <docstring>Gets the associated mask (if any) which may have been loaded from a file
-or explpicitly set for the bitmap.</docstring>
- </method>
- <method name="SetMask" type="void" overloaded="no">
- <autodoc>SetMask(Mask mask)</autodoc>
- <docstring>Sets the mask for this bitmap.</docstring>
- <paramlist>
- <param name="mask" type="p.wxMask" default=""/>
- </paramlist>
- </method>
- <method name="SetMaskColour" type="void" overloaded="no">
- <autodoc>SetMaskColour(Colour colour)</autodoc>
- <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetSubBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetSubBitmap(Rect rect) -> Bitmap</autodoc>
- <docstring>Returns a sub bitmap of the current one as long as the rect belongs entirely
-to the bitmap. This function preserves bit depth and mask information.</docstring>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="SaveFile" type="bool" overloaded="no">
- <autodoc>SaveFile(String name, int type, Palette palette=(wxPalette *) NULL) -> bool</autodoc>
- <docstring>Saves a bitmap in the named file.</docstring>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="type" type="wxBitmapType" default=""/>
- <param name="palette" type="p.wxPalette" default="(wxPalette *) NULL"/>
- </paramlist>
- </method>
- <method name="LoadFile" type="bool" overloaded="no">
- <autodoc>LoadFile(String name, int type) -> bool</autodoc>
- <docstring>Loads a bitmap from a file</docstring>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="type" type="wxBitmapType" default=""/>
- </paramlist>
- </method>
- <method name="CopyFromIcon" type="bool" overloaded="no">
- <autodoc>CopyFromIcon(Icon icon) -> bool</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- </paramlist>
- </method>
- <method name="SetHeight" type="void" overloaded="no">
- <autodoc>SetHeight(int height)</autodoc>
- <docstring>Set the height property (does not affect the bitmap data).</docstring>
- <paramlist>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(int width)</autodoc>
- <docstring>Set the width property (does not affect the bitmap data).</docstring>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDepth" type="void" overloaded="no">
- <autodoc>SetDepth(int depth)</autodoc>
- <docstring>Set the depth property (does not affect the bitmap data).</docstring>
- <paramlist>
- <param name="depth" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="Mask" oldname="wxMask" module="gdi">
- <docstring>This class encapsulates a monochrome mask bitmap, where the masked area is
-black and the unmasked area is white. When associated with a bitmap and drawn
-in a device context, the unmasked area of the bitmap will be drawn, and the
-masked area will not be drawn.</docstring>
- <baseclass name="wxObject"/>
- <constructor name="Mask" overloaded="no">
- <autodoc>__init__(Bitmap bitmap) -> Mask</autodoc>
- <docstring>Constructs a mask from a monochrome bitmap.</docstring>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </constructor>
- <constructor name="MaskColour" overloaded="no">
- <autodoc>MaskColour(Bitmap bitmap, Colour colour) -> Mask</autodoc>
- <docstring>Constructs a mask from a bitmap and a colour in that bitmap that indicates the
-background.</docstring>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </constructor>
- </class>
- <class name="Icon" oldname="wxIcon" module="gdi">
- <baseclass name="wxGDIObject"/>
- <constructor name="Icon" overloaded="no">
- <autodoc>__init__(String name, long flags, int desiredWidth=-1, int desiredHeight=-1) -> Icon</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="flags" type="long" default=""/>
- <param name="desiredWidth" type="int" default="-1"/>
- <param name="desiredHeight" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <constructor name="EmptyIcon" overloaded="no">
- <autodoc>EmptyIcon() -> Icon</autodoc>
- </constructor>
- <constructor name="IconFromLocation" overloaded="no">
- <autodoc>IconFromLocation(IconLocation loc) -> Icon</autodoc>
- <paramlist>
- <param name="loc" type="r.q(const).wxIconLocation" default=""/>
- </paramlist>
- </constructor>
- <constructor name="IconFromBitmap" overloaded="no">
- <autodoc>IconFromBitmap(Bitmap bmp) -> Icon</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </constructor>
- <constructor name="IconFromXPMData" overloaded="no">
- <autodoc>IconFromXPMData(PyObject listOfStrings) -> Icon</autodoc>
- <paramlist>
- <param name="listOfStrings" type="p.PyObject" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxIcon" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="LoadFile" type="bool" overloaded="no">
- <autodoc>LoadFile(String name, long flags) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="flags" type="long" default=""/>
- </paramlist>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="GetHeight" type="int" overloaded="no">
- <autodoc>GetHeight() -> int</autodoc>
- </method>
- <method name="GetDepth" type="int" overloaded="no">
- <autodoc>GetDepth() -> int</autodoc>
- </method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(int w)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetHeight" type="void" overloaded="no">
- <autodoc>SetHeight(int h)</autodoc>
- <paramlist>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDepth" type="void" overloaded="no">
- <autodoc>SetDepth(int d)</autodoc>
- <paramlist>
- <param name="d" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CopyFromBitmap" type="void" overloaded="no">
- <autodoc>CopyFromBitmap(Bitmap bmp)</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="IconLocation" oldname="wxIconLocation" module="gdi">
- <constructor name="IconLocation" overloaded="no">
- <autodoc>__init__(String filename=&wxPyEmptyString, int num=0) -> IconLocation</autodoc>
- <paramlist>
- <param name="filename" type="p.q(const).wxString" default="&wxPyEmptyString"/>
- <param name="num" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxIconLocation" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="SetFileName" type="void" overloaded="no">
- <autodoc>SetFileName(String filename)</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetFileName" type="q(const).wxString" overloaded="no">
- <autodoc>GetFileName() -> String</autodoc>
- </method>
- <method name="SetIndex" type="void" overloaded="no">
- <autodoc>SetIndex(int num)</autodoc>
- <paramlist>
- <param name="num" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetIndex" type="int" overloaded="no">
- <autodoc>GetIndex() -> int</autodoc>
- </method>
- </class>
- <class name="IconBundle" oldname="wxIconBundle" module="gdi">
- <constructor name="IconBundle" overloaded="no">
- <autodoc>__init__() -> IconBundle</autodoc>
- </constructor>
- <constructor name="IconBundleFromFile" overloaded="no">
- <autodoc>IconBundleFromFile(String file, long type) -> IconBundle</autodoc>
- <paramlist>
- <param name="file" type="r.q(const).wxString" default=""/>
- <param name="type" type="long" default=""/>
- </paramlist>
- </constructor>
- <constructor name="IconBundleFromIcon" overloaded="no">
- <autodoc>IconBundleFromIcon(Icon icon) -> IconBundle</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxIconBundle" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="AddIcon" type="void" overloaded="no">
- <autodoc>AddIcon(Icon icon)</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- </paramlist>
- </method>
- <method name="AddIconFromFile" type="void" overloaded="no">
- <autodoc>AddIconFromFile(String file, long type)</autodoc>
- <paramlist>
- <param name="file" type="r.q(const).wxString" default=""/>
- <param name="type" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetIcon" type="q(const).wxIcon" overloaded="no">
- <autodoc>GetIcon(Size size) -> Icon</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="Cursor" oldname="wxCursor" module="gdi">
- <baseclass name="wxGDIObject"/>
- <constructor name="Cursor" overloaded="no">
- <autodoc>__init__(String cursorName, long flags, int hotSpotX=0, int hotSpotY=0) -> Cursor</autodoc>
- <paramlist>
- <param name="cursorName" type="p.q(const).wxString" default=""/>
- <param name="flags" type="long" default=""/>
- <param name="hotSpotX" type="int" default="0"/>
- <param name="hotSpotY" type="int" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="StockCursor" overloaded="no">
- <autodoc>StockCursor(int id) -> Cursor</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </constructor>
- <constructor name="CursorFromImage" overloaded="no">
- <autodoc>CursorFromImage(Image image) -> Cursor</autodoc>
- <paramlist>
- <param name="image" type="r.q(const).wxImage" default=""/>
- </paramlist>
- </constructor>
- <constructor name="CursorFromBits" overloaded="no">
- <autodoc>CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1,
- int hotSpotY=-1, PyObject maskBits=0) -> Cursor</autodoc>
- <paramlist>
- <param name="bits" type="p.PyObject" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="hotSpotX" type="int" default="-1"/>
- <param name="hotSpotY" type="int" default="-1"/>
- <param name="maskBits" type="p.PyObject" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxCursor" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="PaintDC" oldname="wxPaintDC" module="_gdi">
+ <docstring>A wx.PaintDC must be constructed if an application wishes to paint on
+the client area of a window from within an EVT_PAINT event
+handler. This should normally be constructed as a temporary stack
+object; don't store a wx.PaintDC object. If you have an EVT_PAINT
+handler, you **must** create a wx.PaintDC object within it even if you
+don't actually use it.
+
+Using wx.PaintDC within EVT_PAINT handlers is important because it
+automatically sets the clipping area to the damaged area of the
+window. Attempts to draw outside this area do not appear.
+
+To draw on a window from outside EVT_PAINT handlers, construct a
+`wx.ClientDC` object.
+</docstring>
+ <baseclass name="DC"/>
+ <constructor name="PaintDC" overloaded="no">
+ <autodoc>__init__(self, Window win) -> PaintDC</autodoc>
+ <docstring>Constructor. Pass the window on which you wish to paint.</docstring>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Region" oldname="wxRegion" module="gdi">
- <baseclass name="wxGDIObject"/>
- <constructor name="Region" overloaded="no">
- <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -> Region</autodoc>
- <paramlist>
- <param name="x" type="int" default="0"/>
- <param name="y" type="int" default="0"/>
- <param name="width" type="int" default="0"/>
- <param name="height" type="int" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="RegionFromBitmap" overloaded="no">
- <autodoc>RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> Region</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- <param name="transColour" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="tolerance" type="int" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="RegionFromPoints" overloaded="no">
- <autodoc>RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region</autodoc>
- <paramlist>
- <param name="points" type="int" default=""/>
- <param name="points_array" type="p.wxPoint" default=""/>
- <param name="fillStyle" type="int" default="wxWINDING_RULE"/>
- </paramlist>
- </constructor>
- <destructor name="~wxRegion" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="Offset" type="bool" overloaded="no">
- <autodoc>Offset(int x, int y) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Contains" type="wxRegionContain" overloaded="no">
- <autodoc>Contains(int x, int y) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ContainsPoint" type="wxRegionContain" overloaded="no">
- <autodoc>ContainsPoint(Point pt) -> int</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="ContainsRect" type="wxRegionContain" overloaded="no">
- <autodoc>ContainsRect(Rect rect) -> int</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="ContainsRectDim" type="wxRegionContain" overloaded="no">
- <autodoc>ContainsRectDim(int x, int y, int w, int h) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="w" type="int" default=""/>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBox" type="wxRect" overloaded="no">
- <autodoc>GetBox() -> Rect</autodoc>
- </method>
- <method name="Intersect" type="bool" overloaded="no">
- <autodoc>Intersect(int x, int y, int width, int height) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IntersectRect" type="bool" overloaded="no">
- <autodoc>IntersectRect(Rect rect) -> bool</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="IntersectRegion" type="bool" overloaded="no">
- <autodoc>IntersectRegion(Region region) -> bool</autodoc>
- <paramlist>
- <param name="region" type="r.q(const).wxRegion" default=""/>
- </paramlist>
- </method>
- <method name="IsEmpty" type="bool" overloaded="no">
- <autodoc>IsEmpty() -> bool</autodoc>
- </method>
- <method name="Union" type="bool" overloaded="no">
- <autodoc>Union(int x, int y, int width, int height) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="UnionRect" type="bool" overloaded="no">
- <autodoc>UnionRect(Rect rect) -> bool</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="UnionRegion" type="bool" overloaded="no">
- <autodoc>UnionRegion(Region region) -> bool</autodoc>
- <paramlist>
- <param name="region" type="r.q(const).wxRegion" default=""/>
- </paramlist>
- </method>
- <method name="Subtract" type="bool" overloaded="no">
- <autodoc>Subtract(int x, int y, int width, int height) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SubtractRect" type="bool" overloaded="no">
- <autodoc>SubtractRect(Rect rect) -> bool</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="SubtractRegion" type="bool" overloaded="no">
- <autodoc>SubtractRegion(Region region) -> bool</autodoc>
- <paramlist>
- <param name="region" type="r.q(const).wxRegion" default=""/>
- </paramlist>
- </method>
- <method name="Xor" type="bool" overloaded="no">
- <autodoc>Xor(int x, int y, int width, int height) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="XorRect" type="bool" overloaded="no">
- <autodoc>XorRect(Rect rect) -> bool</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="XorRegion" type="bool" overloaded="no">
- <autodoc>XorRegion(Region region) -> bool</autodoc>
- <paramlist>
- <param name="region" type="r.q(const).wxRegion" default=""/>
- </paramlist>
- </method>
- <method name="ConvertToBitmap" type="wxBitmap" overloaded="no">
- <autodoc>ConvertToBitmap() -> Bitmap</autodoc>
- </method>
- <method name="UnionBitmap" type="bool" overloaded="no">
- <autodoc>UnionBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> bool</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- <param name="transColour" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="tolerance" type="int" default="0"/>
- </paramlist>
- </method>
- </class>
- <class name="RegionIterator" oldname="wxRegionIterator" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="RegionIterator" overloaded="no">
- <autodoc>__init__(Region region) -> RegionIterator</autodoc>
- <paramlist>
- <param name="region" type="r.q(const).wxRegion" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxRegionIterator" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetX" type="int" overloaded="no">
- <autodoc>GetX() -> int</autodoc>
- </method>
- <method name="GetY" type="int" overloaded="no">
- <autodoc>GetY() -> int</autodoc>
- </method>
- <method name="GetW" type="int" overloaded="no">
- <autodoc>GetW() -> int</autodoc>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="GetH" type="int" overloaded="no">
- <autodoc>GetH() -> int</autodoc>
- </method>
- <method name="GetHeight" type="int" overloaded="no">
- <autodoc>GetHeight() -> int</autodoc>
- </method>
- <method name="GetRect" type="wxRect" overloaded="no">
- <autodoc>GetRect() -> Rect</autodoc>
- </method>
- <method name="HaveRects" type="bool" overloaded="no">
- <autodoc>HaveRects() -> bool</autodoc>
- </method>
- <method name="Reset" type="void" overloaded="no">
- <autodoc>Reset()</autodoc>
- </method>
- <method name="Next" type="void" overloaded="no">
- <autodoc>Next()</autodoc>
- </method>
- <method name="__nonzero__" type="bool" overloaded="no">
- <autodoc>__nonzero__() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="WindowDC" oldname="wxWindowDC" module="_gdi">
+ <docstring>A wx.WindowDC must be constructed if an application wishes to paint on
+the whole area of a window (client and decorations). This should
+normally be constructed as a temporary stack object; don't store a
+wx.WindowDC object.</docstring>
+ <baseclass name="DC"/>
+ <constructor name="WindowDC" overloaded="no">
+ <autodoc>__init__(self, Window win) -> WindowDC</autodoc>
+ <docstring>Constructor. Pass the window on which you wish to paint.</docstring>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <class name="MirrorDC" oldname="wxMirrorDC" module="_gdi">
+ <docstring>wx.MirrorDC is a simple wrapper class which is always associated with a
+real `wx.DC` object and either forwards all of its operations to it
+without changes (no mirroring takes place) or exchanges x and y
+coordinates which makes it possible to reuse the same code to draw a
+figure and its mirror -- i.e. reflection related to the diagonal line
+x == y.</docstring>
+ <baseclass name="DC"/>
+ <constructor name="MirrorDC" overloaded="no">
+ <autodoc>__init__(self, DC dc, bool mirror) -> MirrorDC</autodoc>
+ <docstring>Creates a mirrored DC associated with the real *dc*. Everything drawn
+on the wx.MirrorDC will appear on the *dc*, and will be mirrored if
+*mirror* is True.</docstring>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="mirror" type="bool" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="gdi">
- <constructor name="NativeFontInfo" overloaded="no">
- <autodoc>__init__() -> NativeFontInfo</autodoc>
- </constructor>
- <destructor name="~wxNativeFontInfo" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Init" type="void" overloaded="no">
- <autodoc>Init()</autodoc>
- </method>
- <method name="InitFromFont" type="void" overloaded="no">
- <autodoc>InitFromFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="GetPointSize" type="int" overloaded="no">
- <autodoc>GetPointSize() -> int</autodoc>
- </method>
- <method name="GetStyle" type="wxFontStyle" overloaded="no">
- <autodoc>GetStyle() -> int</autodoc>
- </method>
- <method name="GetWeight" type="wxFontWeight" overloaded="no">
- <autodoc>GetWeight() -> int</autodoc>
- </method>
- <method name="GetUnderlined" type="bool" overloaded="no">
- <autodoc>GetUnderlined() -> bool</autodoc>
- </method>
- <method name="GetFaceName" type="wxString" overloaded="no">
- <autodoc>GetFaceName() -> String</autodoc>
- </method>
- <method name="GetFamily" type="wxFontFamily" overloaded="no">
- <autodoc>GetFamily() -> int</autodoc>
- </method>
- <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
- <autodoc>GetEncoding() -> int</autodoc>
- </method>
- <method name="SetPointSize" type="void" overloaded="no">
- <autodoc>SetPointSize(int pointsize)</autodoc>
- <paramlist>
- <param name="pointsize" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetStyle" type="void" overloaded="no">
- <autodoc>SetStyle(int style)</autodoc>
- <paramlist>
- <param name="style" type="wxFontStyle" default=""/>
- </paramlist>
- </method>
- <method name="SetWeight" type="void" overloaded="no">
- <autodoc>SetWeight(int weight)</autodoc>
- <paramlist>
- <param name="weight" type="wxFontWeight" default=""/>
- </paramlist>
- </method>
- <method name="SetUnderlined" type="void" overloaded="no">
- <autodoc>SetUnderlined(bool underlined)</autodoc>
- <paramlist>
- <param name="underlined" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetFaceName" type="void" overloaded="no">
- <autodoc>SetFaceName(String facename)</autodoc>
- <paramlist>
- <param name="facename" type="wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetFamily" type="void" overloaded="no">
- <autodoc>SetFamily(int family)</autodoc>
- <paramlist>
- <param name="family" type="wxFontFamily" default=""/>
- </paramlist>
- </method>
- <method name="SetEncoding" type="void" overloaded="no">
- <autodoc>SetEncoding(int encoding)</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- </paramlist>
- </method>
- <method name="FromString" type="bool" overloaded="no">
- <autodoc>FromString(String s) -> bool</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ToString" type="wxString" overloaded="no">
- <autodoc>ToString() -> String</autodoc>
- </method>
- <method name="__str__" type="wxString" overloaded="no">
- <autodoc>__str__() -> String</autodoc>
- </method>
- <method name="FromUserString" type="bool" overloaded="no">
- <autodoc>FromUserString(String s) -> bool</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ToUserString" type="wxString" overloaded="no">
- <autodoc>ToUserString() -> String</autodoc>
- </method>
- </class>
- <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="gdi">
- <constructor name="NativeEncodingInfo" overloaded="no">
- <autodoc>__init__() -> NativeEncodingInfo</autodoc>
- </constructor>
- <destructor name="~wxNativeEncodingInfo" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <property name="facename" type="wxString" readonly="no"/>
- <property name="encoding" type="wxFontEncoding" readonly="no"/>
- <method name="FromString" type="bool" overloaded="no">
- <autodoc>FromString(String s) -> bool</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ToString" type="wxString" overloaded="no">
- <autodoc>ToString() -> String</autodoc>
- </method>
- </class>
- <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="wxNativeEncodingInfo" overloaded="no">
- <autodoc>GetNativeFontEncoding(int encoding) -> NativeEncodingInfo</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- </paramlist>
- </method>
- <method name="TestFontEncoding" oldname="wxTestFontEncoding" type="bool" overloaded="no">
- <autodoc>TestFontEncoding(NativeEncodingInfo info) -> bool</autodoc>
- <paramlist>
- <param name="info" type="r.q(const).wxNativeEncodingInfo" default=""/>
- </paramlist>
- </method>
- <pythoncode>
+ <class name="PostScriptDC" oldname="wxPostScriptDC" module="_gdi">
+ <docstring>This is a `wx.DC` that can write to PostScript files on any platform.</docstring>
+ <baseclass name="DC"/>
+ <constructor name="PostScriptDC" overloaded="no">
+ <autodoc>__init__(self, wxPrintData printData) -> PostScriptDC</autodoc>
+ <docstring>Constructs a PostScript printer device context from a `wx.PrintData`
+object.</docstring>
+ <paramlist>
+ <param name="printData" type="wxPrintData" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="GetPrintData" type="wxPrintData" overloaded="no">
+ <autodoc>GetPrintData(self) -> wxPrintData</autodoc>
+ </method>
+ <method name="SetPrintData" type="" overloaded="no">
+ <autodoc>SetPrintData(self, wxPrintData data)</autodoc>
+ <paramlist>
+ <param name="data" type="wxPrintData" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="SetResolution" type="" overloaded="no">
+ <autodoc>SetResolution(int ppi)</autodoc>
+ <docstring>Set resolution (in pixels per inch) that will be used in PostScript
+output. Default is 720ppi.</docstring>
+ <paramlist>
+ <param name="ppi" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetResolution" type="int" overloaded="no">
+ <autodoc>GetResolution() -> int</autodoc>
+ <docstring>Return resolution used in PostScript output.</docstring>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="FontMapper" oldname="wxFontMapper" module="gdi">
- <constructor name="FontMapper" overloaded="no">
- <autodoc>__init__() -> FontMapper</autodoc>
- </constructor>
- <destructor name="~wxFontMapper" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <staticmethod name="Get" type="wxFontMapper" overloaded="no">
- <autodoc>FontMapper.Get() -> FontMapper</autodoc>
- </staticmethod>
- <staticmethod name="Set" type="wxFontMapper" overloaded="no">
- <autodoc>FontMapper.Set(FontMapper mapper) -> FontMapper</autodoc>
- <paramlist>
- <param name="mapper" type="p.wxFontMapper" default=""/>
- </paramlist>
- </staticmethod>
- <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no">
- <autodoc>CharsetToEncoding(String charset, bool interactive=True) -> int</autodoc>
- <paramlist>
- <param name="charset" type="r.q(const).wxString" default=""/>
- <param name="interactive" type="bool" default="True"/>
- </paramlist>
- </method>
- <staticmethod name="GetSupportedEncodingsCount" type="size_t" overloaded="no">
- <autodoc>FontMapper.GetSupportedEncodingsCount() -> size_t</autodoc>
- </staticmethod>
- <staticmethod name="GetEncoding" type="wxFontEncoding" overloaded="no">
- <autodoc>FontMapper.GetEncoding(size_t n) -> int</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetEncodingName" type="wxString" overloaded="no">
- <autodoc>FontMapper.GetEncodingName(int encoding) -> String</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetEncodingDescription" type="wxString" overloaded="no">
- <autodoc>FontMapper.GetEncodingDescription(int encoding) -> String</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- </paramlist>
- </staticmethod>
- <method name="SetConfig" type="void" overloaded="no">
- <autodoc>SetConfig(ConfigBase config)</autodoc>
- <paramlist>
- <param name="config" type="p.wxConfigBase" default=""/>
- </paramlist>
- </method>
- <method name="SetConfigPath" type="void" overloaded="no">
- <autodoc>SetConfigPath(String prefix)</autodoc>
- <paramlist>
- <param name="prefix" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <staticmethod name="GetDefaultConfigPath" type="q(const).wxString" overloaded="no">
- <autodoc>FontMapper.GetDefaultConfigPath() -> String</autodoc>
- </staticmethod>
- <method name="GetAltForEncoding" type="PyObject" overloaded="no">
- <autodoc>GetAltForEncoding(int encoding, String facename=EmptyString, bool interactive=True) -> PyObject</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- <param name="facename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="interactive" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="IsEncodingAvailable" type="bool" overloaded="no">
- <autodoc>IsEncodingAvailable(int encoding, String facename=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- <param name="facename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="SetDialogParent" type="void" overloaded="no">
- <autodoc>SetDialogParent(Window parent)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="SetDialogTitle" type="void" overloaded="no">
- <autodoc>SetDialogTitle(String title)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="MetaFile" oldname="wxMetaFile" module="_gdi">
+ <baseclass name="Object"/>
+ <constructor name="MetaFile" overloaded="no">
+ <autodoc>__init__(self, String filename=EmptyString) -> MetaFile</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="MetaFileDC" oldname="wxMetaFileDC" module="_gdi">
+ <baseclass name="DC"/>
+ <constructor name="MetaFileDC" overloaded="no">
+ <autodoc>__init__(self, String filename=EmptyString, int width=0, int height=0,
+ String description=EmptyString) -> MetaFileDC</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default="wxPyEmptyString"/>
+ <param name="width" type="int" default="0"/>
+ <param name="height" type="int" default="0"/>
+ <param name="description" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="PrinterDC" oldname="wxPrinterDC" module="_gdi">
+ <baseclass name="DC"/>
+ <constructor name="PrinterDC" overloaded="no">
+ <autodoc>__init__(self, wxPrintData printData) -> PrinterDC</autodoc>
+ <paramlist>
+ <param name="printData" type="wxPrintData" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Font" oldname="wxFont" module="gdi">
- <baseclass name="wxGDIObject"/>
- <constructor name="Font" overloaded="no">
- <autodoc>__init__(int pointSize, int family, int style, int weight, bool underline=False,
- String face=EmptyString,
+ <class name="ImageList" oldname="wxImageList" module="_gdi">
+ <baseclass name="Object"/>
+ <constructor name="ImageList" overloaded="no">
+ <autodoc>__init__(self, int width, int height, int mask=True, int initialCount=1) -> ImageList</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="mask" type="int" default="True"/>
+ <param name="initialCount" type="int" default="1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxImageList" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Add" type="int" overloaded="no">
+ <autodoc>Add(self, Bitmap bitmap, Bitmap mask=NullBitmap) -> int</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ <param name="mask" type="Bitmap" default="wxNullBitmap"/>
+ </paramlist>
+ </method>
+ <method name="AddWithColourMask" type="int" overloaded="no">
+ <autodoc>AddWithColourMask(self, Bitmap bitmap, Colour maskColour) -> int</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ <param name="maskColour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddIcon" type="int" overloaded="no">
+ <autodoc>AddIcon(self, Icon icon) -> int</autodoc>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ </paramlist>
+ </method>
+ <method name="Replace" type="bool" overloaded="no">
+ <autodoc>Replace(self, int index, Bitmap bitmap) -> bool</autodoc>
+ <paramlist>
+ <param name="index" type="int" default=""/>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="Draw" type="bool" overloaded="no">
+ <autodoc>Draw(self, int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL,
+ bool solidBackground=False) -> bool</autodoc>
+ <paramlist>
+ <param name="index" type="int" default=""/>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="flags" type="int" default="wxIMAGELIST_DRAW_NORMAL"/>
+ <param name="solidBackground" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetImageCount" type="int" overloaded="no">
+ <autodoc>GetImageCount(self) -> int</autodoc>
+ </method>
+ <method name="Remove" type="bool" overloaded="no">
+ <autodoc>Remove(self, int index) -> bool</autodoc>
+ <paramlist>
+ <param name="index" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveAll" type="bool" overloaded="no">
+ <autodoc>RemoveAll(self) -> bool</autodoc>
+ </method>
+ <method name="GetSize" type="" overloaded="no">
+ <autodoc>GetSize() -> (width,height)</autodoc>
+ <paramlist>
+ <param name="index" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="PenList" oldname="wxPenList" module="_gdi">
+ <baseclass name="Object"/>
+ <method name="AddPen" type="" overloaded="no">
+ <autodoc>AddPen(self, Pen pen)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindOrCreatePen" type="Pen" overloaded="no">
+ <autodoc>FindOrCreatePen(self, Colour colour, int width, int style) -> Pen</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemovePen" type="" overloaded="no">
+ <autodoc>RemovePen(self, Pen pen)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="int" overloaded="no">
+ <autodoc>GetCount(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="BrushList" oldname="wxBrushList" module="_gdi">
+ <baseclass name="Object"/>
+ <method name="AddBrush" type="" overloaded="no">
+ <autodoc>AddBrush(self, Brush brush)</autodoc>
+ <paramlist>
+ <param name="brush" type="Brush" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindOrCreateBrush" type="Brush" overloaded="no">
+ <autodoc>FindOrCreateBrush(self, Colour colour, int style) -> Brush</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveBrush" type="" overloaded="no">
+ <autodoc>RemoveBrush(self, Brush brush)</autodoc>
+ <paramlist>
+ <param name="brush" type="Brush" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="int" overloaded="no">
+ <autodoc>GetCount(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="ColourDatabase" oldname="wxColourDatabase" module="_gdi">
+ <baseclass name="Object"/>
+ <constructor name="ColourDatabase" overloaded="no">
+ <autodoc>__init__(self) -> ColourDatabase</autodoc>
+ </constructor>
+ <destructor name="~wxColourDatabase" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Find" type="Colour" overloaded="no">
+ <autodoc>Find(self, String name) -> Colour</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindName" type="String" overloaded="no">
+ <autodoc>FindName(self, Colour colour) -> String</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddColour" type="" overloaded="no">
+ <autodoc>AddColour(self, String name, Colour colour)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="Append" type="" overloaded="no">
+ <autodoc>Append(self, String name, int red, int green, int blue)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="red" type="int" default=""/>
+ <param name="green" type="int" default=""/>
+ <param name="blue" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FontList" oldname="wxFontList" module="_gdi">
+ <baseclass name="Object"/>
+ <method name="AddFont" type="" overloaded="no">
+ <autodoc>AddFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindOrCreateFont" type="Font" overloaded="no">
+ <autodoc>FindOrCreateFont(self, int point_size, int family, int style, int weight,
+ bool underline=False, String facename=EmptyString,
int encoding=FONTENCODING_DEFAULT) -> Font</autodoc>
- <paramlist>
- <param name="pointSize" type="int" default=""/>
- <param name="family" type="int" default=""/>
- <param name="style" type="int" default=""/>
- <param name="weight" type="int" default=""/>
- <param name="underline" type="bool" default="False"/>
- <param name="face" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
- </paramlist>
- </constructor>
- <constructor name="FontFromNativeInfo" overloaded="no">
- <autodoc>FontFromNativeInfo(NativeFontInfo info) -> Font</autodoc>
- <paramlist>
- <param name="info" type="r.q(const).wxNativeFontInfo" default=""/>
- </paramlist>
- </constructor>
- <constructor name="FontFromNativeInfoString" overloaded="no">
- <autodoc>FontFromNativeInfoString(String info) -> Font</autodoc>
- <paramlist>
- <param name="info" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <constructor name="Font2" overloaded="no">
- <autodoc>Font2(int pointSize, int family, int flags=FONTFLAG_DEFAULT,
- String face=EmptyString, int encoding=FONTENCODING_DEFAULT) -> Font</autodoc>
- <paramlist>
- <param name="pointSize" type="int" default=""/>
- <param name="family" type="wxFontFamily" default=""/>
- <param name="flags" type="int" default="wxFONTFLAG_DEFAULT"/>
- <param name="face" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
- </paramlist>
- </constructor>
- <destructor name="~wxFont" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(Font font) -> bool</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(Font font) -> bool</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="GetPointSize" type="int" overloaded="no">
- <autodoc>GetPointSize() -> int</autodoc>
- </method>
- <method name="GetFamily" type="int" overloaded="no">
- <autodoc>GetFamily() -> int</autodoc>
- </method>
- <method name="GetStyle" type="int" overloaded="no">
- <autodoc>GetStyle() -> int</autodoc>
- </method>
- <method name="GetWeight" type="int" overloaded="no">
- <autodoc>GetWeight() -> int</autodoc>
- </method>
- <method name="GetUnderlined" type="bool" overloaded="no">
- <autodoc>GetUnderlined() -> bool</autodoc>
- </method>
- <method name="GetFaceName" type="wxString" overloaded="no">
- <autodoc>GetFaceName() -> String</autodoc>
- </method>
- <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
- <autodoc>GetEncoding() -> int</autodoc>
- </method>
- <method name="GetNativeFontInfo" type="q(const).wxNativeFontInfo" overloaded="no">
- <autodoc>GetNativeFontInfo() -> NativeFontInfo</autodoc>
- </method>
- <method name="IsFixedWidth" type="bool" overloaded="no">
- <autodoc>IsFixedWidth() -> bool</autodoc>
- </method>
- <method name="GetNativeFontInfoDesc" type="wxString" overloaded="no">
- <autodoc>GetNativeFontInfoDesc() -> String</autodoc>
- </method>
- <method name="GetNativeFontInfoUserDesc" type="wxString" overloaded="no">
- <autodoc>GetNativeFontInfoUserDesc() -> String</autodoc>
- </method>
- <method name="SetPointSize" type="void" overloaded="no">
- <autodoc>SetPointSize(int pointSize)</autodoc>
- <paramlist>
- <param name="pointSize" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFamily" type="void" overloaded="no">
- <autodoc>SetFamily(int family)</autodoc>
- <paramlist>
- <param name="family" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetStyle" type="void" overloaded="no">
- <autodoc>SetStyle(int style)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWeight" type="void" overloaded="no">
- <autodoc>SetWeight(int weight)</autodoc>
- <paramlist>
- <param name="weight" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFaceName" type="void" overloaded="no">
- <autodoc>SetFaceName(String faceName)</autodoc>
- <paramlist>
- <param name="faceName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetUnderlined" type="void" overloaded="no">
- <autodoc>SetUnderlined(bool underlined)</autodoc>
- <paramlist>
- <param name="underlined" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetEncoding" type="void" overloaded="no">
- <autodoc>SetEncoding(int encoding)</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- </paramlist>
- </method>
- <method name="SetNativeFontInfo" type="void" overloaded="no">
- <autodoc>SetNativeFontInfo(NativeFontInfo info)</autodoc>
- <paramlist>
- <param name="info" type="r.q(const).wxNativeFontInfo" default=""/>
- </paramlist>
- </method>
- <method name="SetNativeFontInfoFromString" type="void" overloaded="no">
- <autodoc>SetNativeFontInfoFromString(String info)</autodoc>
- <paramlist>
- <param name="info" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetNativeFontInfoUserDesc" type="void" overloaded="no">
- <autodoc>SetNativeFontInfoUserDesc(String info)</autodoc>
- <paramlist>
- <param name="info" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetFamilyString" type="wxString" overloaded="no">
- <autodoc>GetFamilyString() -> String</autodoc>
- </method>
- <method name="GetStyleString" type="wxString" overloaded="no">
- <autodoc>GetStyleString() -> String</autodoc>
- </method>
- <method name="GetWeightString" type="wxString" overloaded="no">
- <autodoc>GetWeightString() -> String</autodoc>
- </method>
- <method name="SetNoAntiAliasing" type="void" overloaded="no">
- <autodoc>SetNoAntiAliasing(bool no=True)</autodoc>
- <paramlist>
- <param name="no" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetNoAntiAliasing" type="bool" overloaded="no">
- <autodoc>GetNoAntiAliasing() -> bool</autodoc>
- </method>
- <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no">
- <autodoc>Font.GetDefaultEncoding() -> int</autodoc>
- </staticmethod>
- <staticmethod name="SetDefaultEncoding" type="void" overloaded="no">
- <autodoc>Font.SetDefaultEncoding(int encoding)</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <pythoncode>
+ <paramlist>
+ <param name="point_size" type="int" default=""/>
+ <param name="family" type="int" default=""/>
+ <param name="style" type="int" default=""/>
+ <param name="weight" type="int" default=""/>
+ <param name="underline" type="bool" default="False"/>
+ <param name="facename" type="String" default="wxPyEmptyString"/>
+ <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
+ </paramlist>
+ </method>
+ <method name="RemoveFont" type="" overloaded="no">
+ <autodoc>RemoveFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="int" overloaded="no">
+ <autodoc>GetCount(self) -> int</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="gdi">
- <constructor name="wxPyFontEnumerator" overloaded="no">
- <autodoc>__init__() -> FontEnumerator</autodoc>
- </constructor>
- <destructor name="~wxPyFontEnumerator" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class, bool incref)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- <param name="incref" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnumerateFacenames" type="bool" overloaded="no">
- <autodoc>EnumerateFacenames(int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -> bool</autodoc>
- <paramlist>
- <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/>
- <param name="fixedWidthOnly" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="EnumerateEncodings" type="bool" overloaded="no">
- <autodoc>EnumerateEncodings(String facename=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="facename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetEncodings" type="PyObject" overloaded="no">
- <autodoc>GetEncodings() -> PyObject</autodoc>
- </method>
- <method name="GetFacenames" type="PyObject" overloaded="no">
- <autodoc>GetFacenames() -> PyObject</autodoc>
- </method>
- </class>
- <pythoncode>
+ <pythoncode> NullColor = NullColour </pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="LanguageInfo" oldname="wxLanguageInfo" module="gdi">
- <property name="Language" type="int" readonly="no"/>
- <property name="CanonicalName" type="wxString" readonly="no"/>
- <property name="Description" type="wxString" readonly="no"/>
- </class>
- <class name="Locale" oldname="wxLocale" module="gdi">
- <constructor name="Locale" overloaded="no">
- <autodoc>__init__(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> Locale</autodoc>
- <paramlist>
- <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/>
- <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
- </paramlist>
- </constructor>
- <destructor name="~wxLocale" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Init1" type="bool" overloaded="no">
- <autodoc>Init1(String szName, String szShort=EmptyString, String szLocale=EmptyString,
- bool bLoadDefault=True,
- bool bConvertEncoding=False) -> bool</autodoc>
- <paramlist>
- <param name="szName" type="r.q(const).wxString" default=""/>
- <param name="szShort" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="szLocale" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="bLoadDefault" type="bool" default="True"/>
- <param name="bConvertEncoding" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="Init2" type="bool" overloaded="no">
- <autodoc>Init2(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -> bool</autodoc>
- <paramlist>
- <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/>
- <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
- </paramlist>
- </method>
- <staticmethod name="GetSystemLanguage" type="int" overloaded="no">
- <autodoc>Locale.GetSystemLanguage() -> int</autodoc>
- </staticmethod>
- <staticmethod name="GetSystemEncoding" type="wxFontEncoding" overloaded="no">
- <autodoc>Locale.GetSystemEncoding() -> int</autodoc>
- </staticmethod>
- <staticmethod name="GetSystemEncodingName" type="wxString" overloaded="no">
- <autodoc>Locale.GetSystemEncodingName() -> String</autodoc>
- </staticmethod>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="GetLocale" type="wxString" overloaded="no">
- <autodoc>GetLocale() -> String</autodoc>
- </method>
- <method name="GetLanguage" type="int" overloaded="no">
- <autodoc>GetLanguage() -> int</autodoc>
- </method>
- <method name="GetSysName" type="wxString" overloaded="no">
- <autodoc>GetSysName() -> String</autodoc>
- </method>
- <method name="GetCanonicalName" type="wxString" overloaded="no">
- <autodoc>GetCanonicalName() -> String</autodoc>
- </method>
- <staticmethod name="AddCatalogLookupPathPrefix" type="void" overloaded="no">
- <autodoc>Locale.AddCatalogLookupPathPrefix(String prefix)</autodoc>
- <paramlist>
- <param name="prefix" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <method name="AddCatalog" type="bool" overloaded="no">
- <autodoc>AddCatalog(String szDomain) -> bool</autodoc>
- <paramlist>
- <param name="szDomain" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="IsLoaded" type="bool" overloaded="no">
- <autodoc>IsLoaded(String szDomain) -> bool</autodoc>
- <paramlist>
- <param name="szDomain" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <staticmethod name="GetLanguageInfo" type="q(const).wxLanguageInfo" overloaded="no">
- <autodoc>Locale.GetLanguageInfo(int lang) -> LanguageInfo</autodoc>
- <paramlist>
- <param name="lang" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetLanguageName" type="wxString" overloaded="no">
- <autodoc>Locale.GetLanguageName(int lang) -> String</autodoc>
- <paramlist>
- <param name="lang" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="FindLanguageInfo" type="q(const).wxLanguageInfo" overloaded="no">
- <autodoc>Locale.FindLanguageInfo(String locale) -> LanguageInfo</autodoc>
- <paramlist>
- <param name="locale" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="AddLanguage" type="void" overloaded="no">
- <autodoc>Locale.AddLanguage(LanguageInfo info)</autodoc>
- <paramlist>
- <param name="info" type="r.q(const).wxLanguageInfo" default=""/>
- </paramlist>
- </staticmethod>
- <method name="GetString" type="wxString" overloaded="no">
- <autodoc>GetString(String szOrigString, String szDomain=EmptyString) -> String</autodoc>
- <paramlist>
- <param name="szOrigString" type="r.q(const).wxString" default=""/>
- <param name="szDomain" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetName" type="q(const).wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- </class>
- <method name="GetLocale" oldname="wxGetLocale" type="wxLocale" overloaded="no">
- <autodoc>GetLocale() -> Locale</autodoc>
- </method>
- <method name="GetTranslation" oldname="wxGetTranslation" type="wxString" overloaded="yes">
- <paramlist>
- <param name="sz" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTranslation" oldname="wxGetTranslation" type="wxString" overloaded="yes">
- <autodoc>GetTranslation(String sz) -> String
-GetTranslation(String sz1, String sz2, size_t n) -> String</autodoc>
- <paramlist>
- <param name="sz1" type="r.q(const).wxString" default=""/>
- <param name="sz2" type="r.q(const).wxString" default=""/>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </method>
- <pythoncode>
+ <class name="Effects" oldname="wxEffects" module="_gdi">
+ <baseclass name="Object"/>
+ <constructor name="Effects" overloaded="no">
+ <autodoc>__init__(self) -> Effects</autodoc>
+ </constructor>
+ <method name="GetHighlightColour" type="Colour" overloaded="no">
+ <autodoc>GetHighlightColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetLightShadow" type="Colour" overloaded="no">
+ <autodoc>GetLightShadow(self) -> Colour</autodoc>
+ </method>
+ <method name="GetFaceColour" type="Colour" overloaded="no">
+ <autodoc>GetFaceColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetMediumShadow" type="Colour" overloaded="no">
+ <autodoc>GetMediumShadow(self) -> Colour</autodoc>
+ </method>
+ <method name="GetDarkShadow" type="Colour" overloaded="no">
+ <autodoc>GetDarkShadow(self) -> Colour</autodoc>
+ </method>
+ <method name="SetHighlightColour" type="" overloaded="no">
+ <autodoc>SetHighlightColour(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLightShadow" type="" overloaded="no">
+ <autodoc>SetLightShadow(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFaceColour" type="" overloaded="no">
+ <autodoc>SetFaceColour(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMediumShadow" type="" overloaded="no">
+ <autodoc>SetMediumShadow(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDarkShadow" type="" overloaded="no">
+ <autodoc>SetDarkShadow(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, Colour highlightColour, Colour lightShadow, Colour faceColour,
+ Colour mediumShadow, Colour darkShadow)</autodoc>
+ <paramlist>
+ <param name="highlightColour" type="Colour" default=""/>
+ <param name="lightShadow" type="Colour" default=""/>
+ <param name="faceColour" type="Colour" default=""/>
+ <param name="mediumShadow" type="Colour" default=""/>
+ <param name="darkShadow" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawSunkenEdge" type="" overloaded="no">
+ <autodoc>DrawSunkenEdge(self, DC dc, Rect rect, int borderSize=1)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="rect" type="Rect" default=""/>
+ <param name="borderSize" type="int" default="1"/>
+ </paramlist>
+ </method>
+ <method name="TileBitmap" type="bool" overloaded="no">
+ <autodoc>TileBitmap(self, Rect rect, DC dc, Bitmap bitmap) -> bool</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ <param name="dc" type="DC" default=""/>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ </module>
+ <module name="_windows">
+ <import name="_core"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="EncodingConverter" oldname="wxEncodingConverter" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="EncodingConverter" overloaded="no">
- <autodoc>__init__() -> EncodingConverter</autodoc>
- </constructor>
- <destructor name="~wxEncodingConverter" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Init" type="bool" overloaded="no">
- <autodoc>Init(int input_enc, int output_enc, int method=CONVERT_STRICT) -> bool</autodoc>
- <paramlist>
- <param name="input_enc" type="wxFontEncoding" default=""/>
- <param name="output_enc" type="wxFontEncoding" default=""/>
- <param name="method" type="int" default="wxCONVERT_STRICT"/>
- </paramlist>
- </method>
- <method name="Convert" type="wxString" overloaded="no">
- <autodoc>Convert(String input) -> String</autodoc>
- <paramlist>
- <param name="input" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <staticmethod name="GetPlatformEquivalents" type="wxFontEncodingArray" overloaded="no">
- <autodoc>EncodingConverter.GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray</autodoc>
- <paramlist>
- <param name="enc" type="wxFontEncoding" default=""/>
- <param name="platform" type="int" default="wxPLATFORM_CURRENT"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetAllEquivalents" type="wxFontEncodingArray" overloaded="no">
- <autodoc>EncodingConverter.GetAllEquivalents(int enc) -> wxFontEncodingArray</autodoc>
- <paramlist>
- <param name="enc" type="wxFontEncoding" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="CanConvert" type="bool" overloaded="no">
- <autodoc>EncodingConverter.CanConvert(int encIn, int encOut) -> bool</autodoc>
- <paramlist>
- <param name="encIn" type="wxFontEncoding" default=""/>
- <param name="encOut" type="wxFontEncoding" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <pythoncode>#----------------------------------------------------------------------------
-# wxGTK sets the locale when initialized. Doing this at the Python
-# level should set it up to match what GTK is doing at the C level.
-if wx.Platform == "__WXGTK__":
- try:
- import locale
- locale.setlocale(locale.LC_ALL, "")
- except:
- pass
-
-# On MSW add the directory where the wxWindows catalogs were installed
-# to the default catalog path.
-if wx.Platform == "__WXMSW__":
- import os
- localedir = os.path.join(os.path.split(__file__)[0], "locale")
- Locale_AddCatalogLookupPathPrefix(localedir)
- del os
+ <class name="Panel" oldname="wxPanel" module="_windows">
+ <baseclass name="Window"/>
+ <constructor name="Panel" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
+ String name=PanelNameStr) -> Panel</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePanel" overloaded="no">
+ <autodoc>PrePanel() -> Panel</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
+ String name=PanelNameStr) -> bool</autodoc>
+ <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </method>
+ <method name="InitDialog" type="" overloaded="no">
+ <autodoc>InitDialog(self)</autodoc>
+ <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
+to the dialog via validators.</docstring>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
-#----------------------------------------------------------------------------
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <class name="ScrolledWindow" oldname="wxScrolledWindow" module="_windows">
+ <baseclass name="Panel"/>
+ <constructor name="ScrolledWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
+ String name=PanelNameStr) -> ScrolledWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreScrolledWindow" overloaded="no">
+ <autodoc>PreScrolledWindow() -> ScrolledWindow</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
+ String name=PanelNameStr) -> bool</autodoc>
+ <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetScrollbars" type="" overloaded="no">
+ <autodoc>SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
+ int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc>
+ <paramlist>
+ <param name="pixelsPerUnitX" type="int" default=""/>
+ <param name="pixelsPerUnitY" type="int" default=""/>
+ <param name="noUnitsX" type="int" default=""/>
+ <param name="noUnitsY" type="int" default=""/>
+ <param name="xPos" type="int" default="0"/>
+ <param name="yPos" type="int" default="0"/>
+ <param name="noRefresh" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="Scroll" type="" overloaded="no">
+ <autodoc>Scroll(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetScrollPageSize" type="int" overloaded="no">
+ <autodoc>GetScrollPageSize(self, int orient) -> int</autodoc>
+ <paramlist>
+ <param name="orient" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetScrollPageSize" type="" overloaded="no">
+ <autodoc>SetScrollPageSize(self, int orient, int pageSize)</autodoc>
+ <paramlist>
+ <param name="orient" type="int" default=""/>
+ <param name="pageSize" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetScrollRate" type="" overloaded="no">
+ <autodoc>SetScrollRate(self, int xstep, int ystep)</autodoc>
+ <paramlist>
+ <param name="xstep" type="int" default=""/>
+ <param name="ystep" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetScrollPixelsPerUnit" type="" overloaded="no">
+ <autodoc>GetScrollPixelsPerUnit() -> (xUnit, yUnit)</autodoc>
+ <docstring>Get the size of one logical unit in physical units.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableScrolling" type="" overloaded="no">
+ <autodoc>EnableScrolling(self, bool x_scrolling, bool y_scrolling)</autodoc>
+ <paramlist>
+ <param name="x_scrolling" type="bool" default=""/>
+ <param name="y_scrolling" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetViewStart" type="" overloaded="no">
+ <autodoc>GetViewStart() -> (x,y)</autodoc>
+ <docstring>Get the view start</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetScale" type="" overloaded="no">
+ <autodoc>SetScale(self, double xs, double ys)</autodoc>
+ <paramlist>
+ <param name="xs" type="double" default=""/>
+ <param name="ys" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetScaleX" type="double" overloaded="no">
+ <autodoc>GetScaleX(self) -> double</autodoc>
+ </method>
+ <method name="GetScaleY" type="double" overloaded="no">
+ <autodoc>GetScaleY(self) -> double</autodoc>
+ </method>
+ <method name="CalcScrolledPosition" type="Point" overloaded="yes">
+ <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalcScrolledPosition" type="" overloaded="yes">
+ <autodoc>CalcScrolledPosition(self, Point pt) -> Point
+CalcScrolledPosition(int x, int y) -> (sx, sy)</autodoc>
+ <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalcUnscrolledPosition" type="Point" overloaded="yes">
+ <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalcUnscrolledPosition" type="" overloaded="yes">
+ <autodoc>CalcUnscrolledPosition(self, Point pt) -> Point
+CalcUnscrolledPosition(int x, int y) -> (ux, uy)</autodoc>
+ <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdjustScrollbars" type="" overloaded="no">
+ <autodoc>AdjustScrollbars(self)</autodoc>
+ </method>
+ <method name="CalcScrollInc" type="int" overloaded="no">
+ <autodoc>CalcScrollInc(self, ScrollWinEvent event) -> int</autodoc>
+ <paramlist>
+ <param name="event" type="ScrollWinEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTargetWindow" type="" overloaded="no">
+ <autodoc>SetTargetWindow(self, Window target)</autodoc>
+ <paramlist>
+ <param name="target" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTargetWindow" type="Window" overloaded="no">
+ <autodoc>GetTargetWindow(self) -> Window</autodoc>
+ </method>
+ <method name="DoPrepareDC" type="" overloaded="no">
+ <autodoc>DoPrepareDC(self, DC dc)</autodoc>
+ <docstring>Normally what is called by `PrepareDC`.</docstring>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="DC" oldname="wxDC" module="gdi">
- <baseclass name="wxObject"/>
- <destructor name="~wxDC" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="BeginDrawing" type="void" overloaded="no">
- <autodoc>BeginDrawing()</autodoc>
- </method>
- <method name="EndDrawing" type="void" overloaded="no">
- <autodoc>EndDrawing()</autodoc>
- </method>
- <method name="FloodFillXY" type="bool" overloaded="no">
- <autodoc>FloodFillXY(int x, int y, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
- <param name="style" type="int" default="wxFLOOD_SURFACE"/>
- </paramlist>
- </method>
- <method name="FloodFill" type="bool" overloaded="no">
- <autodoc>FloodFill(Point pt, Colour col, int style=FLOOD_SURFACE) -> bool</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
- <param name="style" type="int" default="wxFLOOD_SURFACE"/>
- </paramlist>
- </method>
- <method name="GetPixelXY" type="wxColour" overloaded="no">
- <autodoc>GetPixelXY(int x, int y) -> Colour</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPixel" type="wxColour" overloaded="no">
- <autodoc>GetPixel(Point pt) -> Colour</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawLineXY" type="void" overloaded="no">
- <autodoc>DrawLineXY(int x1, int y1, int x2, int y2)</autodoc>
- <paramlist>
- <param name="x1" type="int" default=""/>
- <param name="y1" type="int" default=""/>
- <param name="x2" type="int" default=""/>
- <param name="y2" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawLine" type="void" overloaded="no">
- <autodoc>DrawLine(Point pt1, Point pt2)</autodoc>
- <paramlist>
- <param name="pt1" type="r.q(const).wxPoint" default=""/>
- <param name="pt2" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="CrossHairXY" type="void" overloaded="no">
- <autodoc>CrossHairXY(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CrossHair" type="void" overloaded="no">
- <autodoc>CrossHair(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawArcXY" type="void" overloaded="no">
- <autodoc>DrawArcXY(int x1, int y1, int x2, int y2, int xc, int yc)</autodoc>
- <paramlist>
- <param name="x1" type="int" default=""/>
- <param name="y1" type="int" default=""/>
- <param name="x2" type="int" default=""/>
- <param name="y2" type="int" default=""/>
- <param name="xc" type="int" default=""/>
- <param name="yc" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawArc" type="void" overloaded="no">
- <autodoc>DrawArc(Point pt1, Point pt2, Point centre)</autodoc>
- <paramlist>
- <param name="pt1" type="r.q(const).wxPoint" default=""/>
- <param name="pt2" type="r.q(const).wxPoint" default=""/>
- <param name="centre" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawCheckMarkXY" type="void" overloaded="no">
- <autodoc>DrawCheckMarkXY(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawCheckMark" type="void" overloaded="no">
- <autodoc>DrawCheckMark(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipticArcXY" type="void" overloaded="no">
- <autodoc>DrawEllipticArcXY(int x, int y, int w, int h, double sa, double ea)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="w" type="int" default=""/>
- <param name="h" type="int" default=""/>
- <param name="sa" type="double" default=""/>
- <param name="ea" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipticArc" type="void" overloaded="no">
- <autodoc>DrawEllipticArc(Point pt, Size sz, double sa, double ea)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- <param name="sa" type="double" default=""/>
- <param name="ea" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawPointXY" type="void" overloaded="no">
- <autodoc>DrawPointXY(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawPoint" type="void" overloaded="no">
- <autodoc>DrawPoint(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawRectangleXY" type="void" overloaded="no">
- <autodoc>DrawRectangleXY(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawRectangle" type="void" overloaded="no">
- <autodoc>DrawRectangle(Point pt, Size sz)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="DrawRectangleRect" type="void" overloaded="no">
- <autodoc>DrawRectangleRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="DrawRoundedRectangleXY" type="void" overloaded="no">
- <autodoc>DrawRoundedRectangleXY(int x, int y, int width, int height, double radius)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="radius" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawRoundedRectangle" type="void" overloaded="no">
- <autodoc>DrawRoundedRectangle(Point pt, Size sz, double radius)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- <param name="radius" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawRoundedRectangleRect" type="void" overloaded="no">
- <autodoc>DrawRoundedRectangleRect(Rect r, double radius)</autodoc>
- <paramlist>
- <param name="r" type="r.q(const).wxRect" default=""/>
- <param name="radius" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawCircleXY" type="void" overloaded="no">
- <autodoc>DrawCircleXY(int x, int y, int radius)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="radius" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawCircle" type="void" overloaded="no">
- <autodoc>DrawCircle(Point pt, int radius)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="radius" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipseXY" type="void" overloaded="no">
- <autodoc>DrawEllipseXY(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipse" type="void" overloaded="no">
- <autodoc>DrawEllipse(Point pt, Size sz)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipseRect" type="void" overloaded="no">
- <autodoc>DrawEllipseRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="DrawIconXY" type="void" overloaded="no">
- <autodoc>DrawIconXY(Icon icon, int x, int y)</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawIcon" type="void" overloaded="no">
- <autodoc>DrawIcon(Icon icon, Point pt)</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawBitmapXY" type="void" overloaded="no">
- <autodoc>DrawBitmapXY(Bitmap bmp, int x, int y, bool useMask=False)</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="useMask" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="DrawBitmap" type="void" overloaded="no">
- <autodoc>DrawBitmap(Bitmap bmp, Point pt, bool useMask=False)</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="useMask" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="DrawTextXY" type="void" overloaded="no">
- <autodoc>DrawTextXY(String text, int x, int y)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawText" type="void" overloaded="no">
- <autodoc>DrawText(String text, Point pt)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawRotatedTextXY" type="void" overloaded="no">
- <autodoc>DrawRotatedTextXY(String text, int x, int y, double angle)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="angle" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawRotatedText" type="void" overloaded="no">
- <autodoc>DrawRotatedText(String text, Point pt, double angle)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="angle" type="double" default=""/>
- </paramlist>
- </method>
- <method name="BlitXY" type="bool" overloaded="no">
- <autodoc>BlitXY(int xdest, int ydest, int width, int height, DC source,
- int xsrc, int ysrc, int rop=COPY, bool useMask=False,
- int xsrcMask=-1, int ysrcMask=-1) -> bool</autodoc>
- <paramlist>
- <param name="xdest" type="int" default=""/>
- <param name="ydest" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="source" type="p.wxDC" default=""/>
- <param name="xsrc" type="int" default=""/>
- <param name="ysrc" type="int" default=""/>
- <param name="rop" type="int" default="wxCOPY"/>
- <param name="useMask" type="bool" default="False"/>
- <param name="xsrcMask" type="int" default="-1"/>
- <param name="ysrcMask" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="Blit" type="bool" overloaded="no">
- <autodoc>Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY,
- bool useMask=False, Point srcPtMask=DefaultPosition) -> bool</autodoc>
- <paramlist>
- <param name="destPt" type="r.q(const).wxPoint" default=""/>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- <param name="source" type="p.wxDC" default=""/>
- <param name="srcPt" type="r.q(const).wxPoint" default=""/>
- <param name="rop" type="int" default="wxCOPY"/>
- <param name="useMask" type="bool" default="False"/>
- <param name="srcPtMask" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </method>
- <method name="DrawLines" type="void" overloaded="no">
- <autodoc>DrawLines(int points, Point points_array, int xoffset=0, int yoffset=0)</autodoc>
- <paramlist>
- <param name="points" type="int" default=""/>
- <param name="points_array" type="p.wxPoint" default=""/>
- <param name="xoffset" type="int" default="0"/>
- <param name="yoffset" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="DrawPolygon" type="void" overloaded="no">
- <autodoc>DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0,
- int fillStyle=ODDEVEN_RULE)</autodoc>
- <paramlist>
- <param name="points" type="int" default=""/>
- <param name="points_array" type="p.wxPoint" default=""/>
- <param name="xoffset" type="int" default="0"/>
- <param name="yoffset" type="int" default="0"/>
- <param name="fillStyle" type="int" default="wxODDEVEN_RULE"/>
- </paramlist>
- </method>
- <method name="DrawLabel" type="void" overloaded="no">
- <autodoc>DrawLabel(String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP,
- int indexAccel=-1)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/>
- <param name="indexAccel" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="DrawImageLabel" type="wxRect" overloaded="no">
- <autodoc>DrawImageLabel(String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP,
- int indexAccel=-1) -> Rect</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="r.q(const).wxBitmap" default=""/>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="alignment" type="int" default="wxALIGN_LEFT|wxALIGN_TOP"/>
- <param name="indexAccel" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="DrawSpline" type="void" overloaded="no">
- <autodoc>DrawSpline(int points, Point points_array)</autodoc>
- <paramlist>
- <param name="points" type="int" default=""/>
- <param name="points_array" type="p.wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="StartDoc" type="bool" overloaded="no">
- <autodoc>StartDoc(String message) -> bool</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="EndDoc" type="void" overloaded="no">
- <autodoc>EndDoc()</autodoc>
- </method>
- <method name="StartPage" type="void" overloaded="no">
- <autodoc>StartPage()</autodoc>
- </method>
- <method name="EndPage" type="void" overloaded="no">
- <autodoc>EndPage()</autodoc>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetPen" type="void" overloaded="no">
- <autodoc>SetPen(Pen pen)</autodoc>
- <paramlist>
- <param name="pen" type="r.q(const).wxPen" default=""/>
- </paramlist>
- </method>
- <method name="SetBrush" type="void" overloaded="no">
- <autodoc>SetBrush(Brush brush)</autodoc>
- <paramlist>
- <param name="brush" type="r.q(const).wxBrush" default=""/>
- </paramlist>
- </method>
- <method name="SetBackground" type="void" overloaded="no">
- <autodoc>SetBackground(Brush brush)</autodoc>
- <paramlist>
- <param name="brush" type="r.q(const).wxBrush" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundMode" type="void" overloaded="no">
- <autodoc>SetBackgroundMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPalette" type="void" overloaded="no">
- <autodoc>SetPalette(Palette palette)</autodoc>
- <paramlist>
- <param name="palette" type="r.q(const).wxPalette" default=""/>
- </paramlist>
- </method>
- <method name="SetClippingRegionXY" type="void" overloaded="no">
- <autodoc>SetClippingRegionXY(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetClippingRegion" type="void" overloaded="no">
- <autodoc>SetClippingRegion(Point pt, Size sz)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetClippingRect" type="void" overloaded="no">
- <autodoc>SetClippingRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="SetClippingRegionAsRegion" type="void" overloaded="no">
- <autodoc>SetClippingRegionAsRegion(Region region)</autodoc>
- <paramlist>
- <param name="region" type="r.q(const).wxRegion" default=""/>
- </paramlist>
- </method>
- <method name="DestroyClippingRegion" type="void" overloaded="no">
- <autodoc>DestroyClippingRegion()</autodoc>
- </method>
- <method name="GetClippingBox" type="void" overloaded="no">
- <autodoc>GetClippingBox() -> (x, y, width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetClippingRect" type="wxRect" overloaded="no">
- <autodoc>GetClippingRect() -> Rect</autodoc>
- </method>
- <method name="GetCharHeight" type="int" overloaded="no">
- <autodoc>GetCharHeight() -> int</autodoc>
- </method>
- <method name="GetCharWidth" type="int" overloaded="no">
- <autodoc>GetCharWidth() -> int</autodoc>
- </method>
- <method name="GetTextExtent" type="void" overloaded="no">
- <autodoc>GetTextExtent(wxString string) -> (width, height)</autodoc>
- <docstring>Get the width and height of the text using the current font.
-Only works for single line strings.</docstring>
- <paramlist>
- <param name="string" type="r.q(const).wxString" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetFullTextExtent" type="void" overloaded="no">
- <autodoc>GetFullTextExtent(wxString string, Font font=None) ->
- (width, height, descent, externalLeading)</autodoc>
- <docstring>Get the width, height, decent and leading of the text using the current or specified font.
-Only works for single line strings.</docstring>
- <paramlist>
- <param name="string" type="r.q(const).wxString" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="font" type="p.wxFont" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetMultiLineTextExtent" type="void" overloaded="no">
- <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) ->
- (width, height, descent, externalLeading)</autodoc>
- <docstring>Get the width, height, decent and leading of the text using the current or specified font.
-Works for single as well as multi-line strings.</docstring>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="font" type="p.wxFont" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- <docstring>Get the DC size in device units.</docstring>
- </method>
- <method name="GetSizeTuple" type="void" overloaded="no">
- <autodoc>GetSizeTuple() -> (width, height)</autodoc>
- <docstring>Get the DC size in device units.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetSizeMM" type="wxSize" overloaded="no">
- <autodoc>GetSizeMM() -> Size</autodoc>
- <docstring>Get the DC size in milimeters.</docstring>
- </method>
- <method name="GetSizeMMTuple" type="void" overloaded="no">
- <autodoc>GetSizeMMTuple() -> (width, height)</autodoc>
- <docstring>Get the DC size in milimeters.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="DeviceToLogicalX" type="int" overloaded="no">
- <autodoc>DeviceToLogicalX(int x) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeviceToLogicalY" type="int" overloaded="no">
- <autodoc>DeviceToLogicalY(int y) -> int</autodoc>
- <paramlist>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeviceToLogicalXRel" type="int" overloaded="no">
- <autodoc>DeviceToLogicalXRel(int x) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeviceToLogicalYRel" type="int" overloaded="no">
- <autodoc>DeviceToLogicalYRel(int y) -> int</autodoc>
- <paramlist>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="LogicalToDeviceX" type="int" overloaded="no">
- <autodoc>LogicalToDeviceX(int x) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="LogicalToDeviceY" type="int" overloaded="no">
- <autodoc>LogicalToDeviceY(int y) -> int</autodoc>
- <paramlist>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="LogicalToDeviceXRel" type="int" overloaded="no">
- <autodoc>LogicalToDeviceXRel(int x) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="LogicalToDeviceYRel" type="int" overloaded="no">
- <autodoc>LogicalToDeviceYRel(int y) -> int</autodoc>
- <paramlist>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CanDrawBitmap" type="bool" overloaded="no">
- <autodoc>CanDrawBitmap() -> bool</autodoc>
- </method>
- <method name="CanGetTextExtent" type="bool" overloaded="no">
- <autodoc>CanGetTextExtent() -> bool</autodoc>
- </method>
- <method name="GetDepth" type="int" overloaded="no">
- <autodoc>GetDepth() -> int</autodoc>
- </method>
- <method name="GetPPI" type="wxSize" overloaded="no">
- <autodoc>GetPPI() -> Size</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="GetBackgroundMode" type="int" overloaded="no">
- <autodoc>GetBackgroundMode() -> int</autodoc>
- </method>
- <method name="GetBackground" type="q(const).wxBrush" overloaded="no">
- <autodoc>GetBackground() -> Brush</autodoc>
- </method>
- <method name="GetBrush" type="q(const).wxBrush" overloaded="no">
- <autodoc>GetBrush() -> Brush</autodoc>
- </method>
- <method name="GetFont" type="q(const).wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <method name="GetPen" type="q(const).wxPen" overloaded="no">
- <autodoc>GetPen() -> Pen</autodoc>
- </method>
- <method name="GetTextBackground" type="q(const).wxColour" overloaded="no">
- <autodoc>GetTextBackground() -> Colour</autodoc>
- </method>
- <method name="GetTextForeground" type="q(const).wxColour" overloaded="no">
- <autodoc>GetTextForeground() -> Colour</autodoc>
- </method>
- <method name="SetTextForeground" type="void" overloaded="no">
- <autodoc>SetTextForeground(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetTextBackground" type="void" overloaded="no">
- <autodoc>SetTextBackground(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetMapMode" type="int" overloaded="no">
- <autodoc>GetMapMode() -> int</autodoc>
- </method>
- <method name="SetMapMode" type="void" overloaded="no">
- <autodoc>SetMapMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetUserScale" type="void" overloaded="no">
- <autodoc>GetUserScale() -> (xScale, yScale)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="SetUserScale" type="void" overloaded="no">
- <autodoc>SetUserScale(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="GetLogicalScale" type="void" overloaded="no">
- <autodoc>GetLogicalScale() -> (xScale, yScale)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="SetLogicalScale" type="void" overloaded="no">
- <autodoc>SetLogicalScale(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="GetLogicalOrigin" type="wxPoint" overloaded="no">
- <autodoc>GetLogicalOrigin() -> Point</autodoc>
- </method>
- <method name="GetLogicalOriginTuple" type="void" overloaded="no">
- <autodoc>GetLogicalOriginTuple() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetLogicalOrigin" type="void" overloaded="no">
- <autodoc>SetLogicalOrigin(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDeviceOrigin" type="wxPoint" overloaded="no">
- <autodoc>GetDeviceOrigin() -> Point</autodoc>
- </method>
- <method name="GetDeviceOriginTuple" type="void" overloaded="no">
- <autodoc>GetDeviceOriginTuple() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetDeviceOrigin" type="void" overloaded="no">
- <autodoc>SetDeviceOrigin(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAxisOrientation" type="void" overloaded="no">
- <autodoc>SetAxisOrientation(bool xLeftRight, bool yBottomUp)</autodoc>
- <paramlist>
- <param name="xLeftRight" type="bool" default=""/>
- <param name="yBottomUp" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetLogicalFunction" type="int" overloaded="no">
- <autodoc>GetLogicalFunction() -> int</autodoc>
- </method>
- <method name="SetLogicalFunction" type="void" overloaded="no">
- <autodoc>SetLogicalFunction(int function)</autodoc>
- <paramlist>
- <param name="function" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetOptimization" type="void" overloaded="no">
- <autodoc>SetOptimization(bool opt)</autodoc>
- <paramlist>
- <param name="opt" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetOptimization" type="bool" overloaded="no">
- <autodoc>GetOptimization() -> bool</autodoc>
- </method>
- <method name="CalcBoundingBox" type="void" overloaded="no">
- <autodoc>CalcBoundingBox(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ResetBoundingBox" type="void" overloaded="no">
- <autodoc>ResetBoundingBox()</autodoc>
- </method>
- <method name="MinX" type="int" overloaded="no">
- <autodoc>MinX() -> int</autodoc>
- </method>
- <method name="MaxX" type="int" overloaded="no">
- <autodoc>MaxX() -> int</autodoc>
- </method>
- <method name="MinY" type="int" overloaded="no">
- <autodoc>MinY() -> int</autodoc>
- </method>
- <method name="MaxY" type="int" overloaded="no">
- <autodoc>MaxY() -> int</autodoc>
- </method>
- <method name="GetBoundingBox" type="void" overloaded="no">
- <autodoc>GetBoundingBox() -> (x1,y1, x2,y2)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="_DrawPointList" type="PyObject" overloaded="no">
- <autodoc>_DrawPointList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
- <paramlist>
- <param name="pyCoords" type="p.PyObject" default=""/>
- <param name="pyPens" type="p.PyObject" default=""/>
- <param name="pyBrushes" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="_DrawLineList" type="PyObject" overloaded="no">
- <autodoc>_DrawLineList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
- <paramlist>
- <param name="pyCoords" type="p.PyObject" default=""/>
- <param name="pyPens" type="p.PyObject" default=""/>
- <param name="pyBrushes" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="_DrawRectangleList" type="PyObject" overloaded="no">
- <autodoc>_DrawRectangleList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
- <paramlist>
- <param name="pyCoords" type="p.PyObject" default=""/>
- <param name="pyPens" type="p.PyObject" default=""/>
- <param name="pyBrushes" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="_DrawEllipseList" type="PyObject" overloaded="no">
- <autodoc>_DrawEllipseList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
- <paramlist>
- <param name="pyCoords" type="p.PyObject" default=""/>
- <param name="pyPens" type="p.PyObject" default=""/>
- <param name="pyBrushes" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="_DrawPolygonList" type="PyObject" overloaded="no">
- <autodoc>_DrawPolygonList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject</autodoc>
- <paramlist>
- <param name="pyCoords" type="p.PyObject" default=""/>
- <param name="pyPens" type="p.PyObject" default=""/>
- <param name="pyBrushes" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="_DrawTextList" type="PyObject" overloaded="no">
- <autodoc>_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList,
- PyObject backgroundList) -> PyObject</autodoc>
- <paramlist>
- <param name="textList" type="p.PyObject" default=""/>
- <param name="pyPoints" type="p.PyObject" default=""/>
- <param name="foregroundList" type="p.PyObject" default=""/>
- <param name="backgroundList" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="_windows">
+ <baseclass name="Window"/>
+ <method name="Maximize" type="" overloaded="no">
+ <autodoc>Maximize(self, bool maximize=True)</autodoc>
+ <paramlist>
+ <param name="maximize" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Restore" type="" overloaded="no">
+ <autodoc>Restore(self)</autodoc>
+ </method>
+ <method name="Iconize" type="" overloaded="no">
+ <autodoc>Iconize(self, bool iconize=True)</autodoc>
+ <paramlist>
+ <param name="iconize" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="IsMaximized" type="bool" overloaded="no">
+ <autodoc>IsMaximized(self) -> bool</autodoc>
+ </method>
+ <method name="IsIconized" type="bool" overloaded="no">
+ <autodoc>IsIconized(self) -> bool</autodoc>
+ </method>
+ <method name="GetIcon" type="Icon" overloaded="no">
+ <autodoc>GetIcon(self) -> Icon</autodoc>
+ </method>
+ <method name="SetIcon" type="" overloaded="no">
+ <autodoc>SetIcon(self, Icon icon)</autodoc>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetIcons" type="" overloaded="no">
+ <autodoc>SetIcons(self, wxIconBundle icons)</autodoc>
+ <paramlist>
+ <param name="icons" type="IconBundle" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowFullScreen" type="bool" overloaded="no">
+ <autodoc>ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ <param name="style" type="long" default="wxFULLSCREEN_ALL"/>
+ </paramlist>
+ </method>
+ <method name="IsFullScreen" type="bool" overloaded="no">
+ <autodoc>IsFullScreen(self) -> bool</autodoc>
+ </method>
+ <method name="SetTitle" type="" overloaded="no">
+ <autodoc>SetTitle(self, String title)</autodoc>
+ <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTitle" type="String" overloaded="no">
+ <autodoc>GetTitle(self) -> String</autodoc>
+ <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
+ </method>
+ <method name="SetShape" type="bool" overloaded="no">
+ <autodoc>SetShape(self, Region region) -> bool</autodoc>
+ <paramlist>
+ <param name="region" type="Region" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MemoryDC" oldname="wxMemoryDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="MemoryDC" overloaded="no">
- <autodoc>__init__() -> MemoryDC</autodoc>
- </constructor>
- <constructor name="MemoryDCFromDC" overloaded="no">
- <autodoc>MemoryDCFromDC(DC oldDC) -> MemoryDC</autodoc>
- <paramlist>
- <param name="oldDC" type="p.wxDC" default=""/>
- </paramlist>
- </constructor>
- <method name="SelectObject" type="void" overloaded="no">
- <autodoc>SelectObject(Bitmap bitmap)</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="Frame" oldname="wxFrame" module="_windows">
+ <baseclass name="TopLevelWindow"/>
+ <constructor name="Frame" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreFrame" overloaded="no">
+ <autodoc>PreFrame() -> Frame</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetClientAreaOrigin" type="Point" overloaded="no">
+ <autodoc>GetClientAreaOrigin(self) -> Point</autodoc>
+ <docstring>Get the origin of the client area of the window relative to the
+window's top left corner (the client area may be shifted because of
+the borders, scrollbars, other decorations...)</docstring>
+ </method>
+ <method name="SendSizeEvent" type="" overloaded="no">
+ <autodoc>SendSizeEvent(self)</autodoc>
+ </method>
+ <method name="SetMenuBar" type="" overloaded="no">
+ <autodoc>SetMenuBar(self, MenuBar menubar)</autodoc>
+ <paramlist>
+ <param name="menubar" type="MenuBar" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMenuBar" type="MenuBar" overloaded="no">
+ <autodoc>GetMenuBar(self) -> MenuBar</autodoc>
+ </method>
+ <method name="ProcessCommand" type="bool" overloaded="no">
+ <autodoc>ProcessCommand(self, int winid) -> bool</autodoc>
+ <paramlist>
+ <param name="winid" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateStatusBar" type="wxStatusBar" overloaded="no">
+ <autodoc>CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
+ int winid=0, String name=StatusLineNameStr) -> StatusBar</autodoc>
+ <paramlist>
+ <param name="number" type="int" default="1"/>
+ <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/>
+ <param name="winid" type="int" default="0"/>
+ <param name="name" type="String" default="wxPyStatusLineNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetStatusBar" type="wxStatusBar" overloaded="no">
+ <autodoc>GetStatusBar(self) -> StatusBar</autodoc>
+ </method>
+ <method name="SetStatusBar" type="" overloaded="no">
+ <autodoc>SetStatusBar(self, StatusBar statBar)</autodoc>
+ <paramlist>
+ <param name="statBar" type="wxStatusBar" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStatusText" type="" overloaded="no">
+ <autodoc>SetStatusText(self, String text, int number=0)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="number" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetStatusWidths" type="" overloaded="no">
+ <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc>
+ <paramlist>
+ <param name="widths" type="int" default=""/>
+ <param name="widths_field" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="PushStatusText" type="" overloaded="no">
+ <autodoc>PushStatusText(self, String text, int number=0)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="number" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="PopStatusText" type="" overloaded="no">
+ <autodoc>PopStatusText(self, int number=0)</autodoc>
+ <paramlist>
+ <param name="number" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetStatusBarPane" type="" overloaded="no">
+ <autodoc>SetStatusBarPane(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStatusBarPane" type="int" overloaded="no">
+ <autodoc>GetStatusBarPane(self) -> int</autodoc>
+ </method>
+ <method name="CreateToolBar" type="wxToolBar" overloaded="no">
+ <autodoc>CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar</autodoc>
+ <paramlist>
+ <param name="style" type="long" default="-1"/>
+ <param name="winid" type="int" default="-1"/>
+ <param name="name" type="String" default="wxPyToolBarNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetToolBar" type="wxToolBar" overloaded="no">
+ <autodoc>GetToolBar(self) -> wxToolBar</autodoc>
+ </method>
+ <method name="SetToolBar" type="" overloaded="no">
+ <autodoc>SetToolBar(self, wxToolBar toolbar)</autodoc>
+ <paramlist>
+ <param name="toolbar" type="wxToolBar" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoGiveHelp" type="" overloaded="no">
+ <autodoc>DoGiveHelp(self, String text, bool show)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoMenuUpdates" type="" overloaded="no">
+ <autodoc>DoMenuUpdates(self, Menu menu=None)</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default="NULL"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="BufferedDC" oldname="wxBufferedDC" module="gdi">
- <baseclass name="wxMemoryDC"/>
- <constructor name="BufferedDC" overloaded="no">
- <autodoc>__init__(DC dc, Bitmap buffer) -> BufferedDC</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default=""/>
- <param name="buffer" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </constructor>
- <constructor name="BufferedDCInternalBuffer" overloaded="no">
- <autodoc>BufferedDCInternalBuffer(DC dc, Size area) -> BufferedDC</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default=""/>
- <param name="area" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </constructor>
- <method name="UnMask" type="void" overloaded="no">
- <autodoc>UnMask()</autodoc>
- </method>
- </class>
- <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="gdi">
- <baseclass name="wxBufferedDC"/>
- <constructor name="BufferedPaintDC" overloaded="no">
- <autodoc>__init__(Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="buffer" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="Dialog" oldname="wxDialog" module="_windows">
+ <baseclass name="TopLevelWindow"/>
+ <constructor name="Dialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
+ <param name="name" type="String" default="wxPyDialogNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreDialog" overloaded="no">
+ <autodoc>PreDialog() -> Dialog</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
+ <param name="name" type="String" default="wxPyDialogNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetReturnCode" type="" overloaded="no">
+ <autodoc>SetReturnCode(self, int returnCode)</autodoc>
+ <paramlist>
+ <param name="returnCode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetReturnCode" type="int" overloaded="no">
+ <autodoc>GetReturnCode(self) -> int</autodoc>
+ </method>
+ <method name="CreateTextSizer" type="Sizer" overloaded="no">
+ <autodoc>CreateTextSizer(self, String message) -> Sizer</autodoc>
+ <paramlist>
+ <param name="message" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateButtonSizer" type="Sizer" overloaded="no">
+ <autodoc>CreateButtonSizer(self, long flags) -> Sizer</autodoc>
+ <paramlist>
+ <param name="flags" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsModal" type="bool" overloaded="no">
+ <autodoc>IsModal(self) -> bool</autodoc>
+ </method>
+ <method name="ShowModal" type="int" overloaded="no">
+ <autodoc>ShowModal(self) -> int</autodoc>
+ </method>
+ <method name="EndModal" type="" overloaded="no">
+ <autodoc>EndModal(self, int retCode)</autodoc>
+ <paramlist>
+ <param name="retCode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ScreenDC" oldname="wxScreenDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="ScreenDC" overloaded="no">
- <autodoc>__init__() -> ScreenDC</autodoc>
- </constructor>
- <method name="StartDrawingOnTopWin" type="bool" overloaded="no">
- <autodoc>StartDrawingOnTopWin(Window window) -> bool</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="StartDrawingOnTop" type="bool" overloaded="no">
- <autodoc>StartDrawingOnTop(Rect rect=None) -> bool</autodoc>
- <paramlist>
- <param name="rect" type="p.wxRect" default="NULL"/>
- </paramlist>
- </method>
- <method name="EndDrawingOnTop" type="bool" overloaded="no">
- <autodoc>EndDrawingOnTop() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="MiniFrame" oldname="wxMiniFrame" module="_windows">
+ <baseclass name="Frame"/>
+ <constructor name="MiniFrame" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreMiniFrame" overloaded="no">
+ <autodoc>PreMiniFrame() -> MiniFrame</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ClientDC" oldname="wxClientDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="ClientDC" overloaded="no">
- <autodoc>__init__(Window win) -> ClientDC</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="_windows">
+ <baseclass name="Window"/>
+ <constructor name="SplashScreenWindow" overloaded="no">
+ <autodoc>__init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxNO_BORDER"/>
+ </paramlist>
+ </constructor>
+ <method name="SetBitmap" type="" overloaded="no">
+ <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(self) -> Bitmap</autodoc>
+ </method>
+ </class>
+ <class name="SplashScreen" oldname="wxSplashScreen" module="_windows">
+ <baseclass name="Frame"/>
+ <constructor name="SplashScreen" overloaded="no">
+ <autodoc>__init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
+ Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ <param name="splashStyle" type="long" default=""/>
+ <param name="milliseconds" type="int" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/>
+ </paramlist>
+ </constructor>
+ <method name="GetSplashStyle" type="long" overloaded="no">
+ <autodoc>GetSplashStyle(self) -> long</autodoc>
+ </method>
+ <method name="GetSplashWindow" type="SplashScreenWindow" overloaded="no">
+ <autodoc>GetSplashWindow(self) -> SplashScreenWindow</autodoc>
+ </method>
+ <method name="GetTimeout" type="int" overloaded="no">
+ <autodoc>GetTimeout(self) -> int</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PaintDC" oldname="wxPaintDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="PaintDC" overloaded="no">
- <autodoc>__init__(Window win) -> PaintDC</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="StatusBar" oldname="wxStatusBar" module="_windows">
+ <baseclass name="Window"/>
+ <constructor name="StatusBar" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
+ String name=StatusLineNameStr) -> StatusBar</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="style" type="long" default="wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE"/>
+ <param name="name" type="String" default="wxPyStatusLineNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreStatusBar" overloaded="no">
+ <autodoc>PreStatusBar() -> StatusBar</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="style" type="long" default="wxST_SIZEGRIP"/>
+ <param name="name" type="String" default="wxPyStatusLineNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetFieldsCount" type="" overloaded="no">
+ <autodoc>SetFieldsCount(self, int number=1)</autodoc>
+ <paramlist>
+ <param name="number" type="int" default="1"/>
+ </paramlist>
+ </method>
+ <method name="GetFieldsCount" type="int" overloaded="no">
+ <autodoc>GetFieldsCount(self) -> int</autodoc>
+ </method>
+ <method name="SetStatusText" type="" overloaded="no">
+ <autodoc>SetStatusText(self, String text, int number=0)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="number" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetStatusText" type="String" overloaded="no">
+ <autodoc>GetStatusText(self, int number=0) -> String</autodoc>
+ <paramlist>
+ <param name="number" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="PushStatusText" type="" overloaded="no">
+ <autodoc>PushStatusText(self, String text, int number=0)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="number" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="PopStatusText" type="" overloaded="no">
+ <autodoc>PopStatusText(self, int number=0)</autodoc>
+ <paramlist>
+ <param name="number" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetStatusWidths" type="" overloaded="no">
+ <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc>
+ <paramlist>
+ <param name="widths" type="int" default=""/>
+ <param name="widths_field" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStatusStyles" type="" overloaded="no">
+ <autodoc>SetStatusStyles(self, int styles, int styles_field)</autodoc>
+ <paramlist>
+ <param name="styles" type="int" default=""/>
+ <param name="styles_field" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFieldRect" type="Rect" overloaded="no">
+ <autodoc>GetFieldRect(self, int i) -> Rect</autodoc>
+ <paramlist>
+ <param name="i" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinHeight" type="" overloaded="no">
+ <autodoc>SetMinHeight(self, int height)</autodoc>
+ <paramlist>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBorderX" type="int" overloaded="no">
+ <autodoc>GetBorderX(self) -> int</autodoc>
+ </method>
+ <method name="GetBorderY" type="int" overloaded="no">
+ <autodoc>GetBorderY(self) -> int</autodoc>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="WindowDC" oldname="wxWindowDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="WindowDC" overloaded="no">
- <autodoc>__init__(Window win) -> WindowDC</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="SplitterWindow" oldname="wxSplitterWindow" module="_windows">
+ <docstring>wx.SplitterWindow manages up to two subwindows or panes, with an
+optional vertical or horizontal split which can be used with the mouse
+or programmatically.
+
+Styles
+-------
+ ==================== ======================================
+ wx.SP_3D Draws a 3D effect border and sash.
+ wx.SP_3DSASH Draws a 3D effect sash.
+ wx.SP_3DBORDER Synonym for wxSP_BORDER.
+ wx.SP_BORDER Draws a standard border.
+ wx.SP_NOBORDER No border (default).
+ wx.SP_NO_XP_THEME Under Windows XP, switches off the
+ attempt to draw the splitter
+ using Windows XP theming, so the
+ borders and sash will take on the
+ pre-XP look.
+ wx.SP_PERMIT_UNSPLIT Always allow to unsplit, even with
+ the minimum pane size other than zero.
+ wx.SP_LIVE_UPDATE Don't draw XOR line but resize the
+ child windows immediately.
+ ==================== ======================================
+
+Events
+------
+ ============================== =======================================
+ EVT_SPLITTER_SASH_POS_CHANGING The sash position is in the
+ process of being changed. May be
+ used to modify the position of
+ the tracking bar to properly
+ reflect the position that would
+ be set if the drag were to be
+ completed at this point.
+
+ EVT_SPLITTER_SASH_POS_CHANGED
+ The sash position was
+ changed. May be used to modify
+ the sash position before it is
+ set, or to prevent the change
+ from taking place.
+
+ EVT_SPLITTER_UNSPLIT The splitter has been just unsplit.
+
+ EVT_SPLITTER_DCLICK The sash was double clicked. The
+ default behaviour is to unsplit
+ the window when this happens
+ (unless the minimum pane size has
+ been set to a value greater than
+ zero.)
+ ============================== =======================================
+
+</docstring>
+ <baseclass name="Window"/>
+ <constructor name="SplitterWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow</autodoc>
+ <docstring>Constructor. Creates and shows a SplitterWindow.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSP_3D"/>
+ <param name="name" type="String" default="wxPySplitterNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreSplitterWindow" overloaded="no">
+ <autodoc>PreSplitterWindow() -> SplitterWindow</autodoc>
+ <docstring>Precreate a SplitterWindow for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool</autodoc>
+ <docstring>Create the GUI part of the SplitterWindow for the 2-phase create.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSP_3D"/>
+ <param name="name" type="String" default="wxPySplitterNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetWindow1" type="Window" overloaded="no">
+ <autodoc>GetWindow1(self) -> Window</autodoc>
+ <docstring>Gets the only or left/top pane.</docstring>
+ </method>
+ <method name="GetWindow2" type="Window" overloaded="no">
+ <autodoc>GetWindow2(self) -> Window</autodoc>
+ <docstring>Gets the right/bottom pane.</docstring>
+ </method>
+ <method name="SetSplitMode" type="" overloaded="no">
+ <autodoc>SetSplitMode(self, int mode)</autodoc>
+ <docstring>Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
+wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
+update the display.</docstring>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSplitMode" type="wxSplitMode" overloaded="no">
+ <autodoc>GetSplitMode(self) -> int</autodoc>
+ <docstring>Gets the split mode</docstring>
+ </method>
+ <method name="Initialize" type="" overloaded="no">
+ <autodoc>Initialize(self, Window window)</autodoc>
+ <docstring>Initializes the splitter window to have one pane. This should be
+called if you wish to initially view only a single pane in the
+splitter window.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="SplitVertically" type="bool" overloaded="no">
+ <autodoc>SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool</autodoc>
+ <docstring>Initializes the left and right panes of the splitter window.
+ :param window1: The left pane.
+ :param window2: The right pane.
+ :param sashPosition: The initial position of the sash. If this
+ value is positive, it specifies the size of the left
+ pane. If it is negative, it is absolute value gives
+ the size of the right pane. Finally, specify 0
+ (default) to choose the default position (half of
+ the total window width).
+
+Returns True if successful, False otherwise (the window was already
+split).
+
+SplitVertically should be called if you wish to initially view two
+panes. It can also be called at any subsequent time, but the
+application should check that the window is not currently split using
+IsSplit.
+</docstring>
+ <paramlist>
+ <param name="window1" type="Window" default=""/>
+ <param name="window2" type="Window" default=""/>
+ <param name="sashPosition" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SplitHorizontally" type="bool" overloaded="no">
+ <autodoc>SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool</autodoc>
+ <docstring>Initializes the top and bottom panes of the splitter window.
+ :param window1: The top pane.
+ :param window2: The bottom pane.
+ :param sashPosition: The initial position of the sash. If this
+ value is positive, it specifies the size of the
+ upper pane. If it is negative, it is absolute value
+ gives the size of the lower pane. Finally, specify 0
+ (default) to choose the default position (half of
+ the total window height).
+
+Returns True if successful, False otherwise (the window was already
+split).
+
+SplitHorizontally should be called if you wish to initially view two
+panes. It can also be called at any subsequent time, but the
+application should check that the window is not currently split using
+IsSplit.
+</docstring>
+ <paramlist>
+ <param name="window1" type="Window" default=""/>
+ <param name="window2" type="Window" default=""/>
+ <param name="sashPosition" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Unsplit" type="bool" overloaded="no">
+ <autodoc>Unsplit(self, Window toRemove=None) -> bool</autodoc>
+ <docstring>Unsplits the window. Pass the pane to remove, or None to remove the
+right or bottom pane. Returns True if successful, False otherwise (the
+window was not split).
+
+This function will not actually delete the pane being
+removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
+for the desired behaviour. By default, the pane being
+removed is only hidden.</docstring>
+ <paramlist>
+ <param name="toRemove" type="Window" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="ReplaceWindow" type="bool" overloaded="no">
+ <autodoc>ReplaceWindow(self, Window winOld, Window winNew) -> bool</autodoc>
+ <docstring>This function replaces one of the windows managed by the
+SplitterWindow with another one. It is in general better to use it
+instead of calling Unsplit() and then resplitting the window back
+because it will provoke much less flicker. It is valid to call this
+function whether the splitter has two windows or only one.
+
+Both parameters should be non-None and winOld must specify one of the
+windows managed by the splitter. If the parameters are incorrect or
+the window couldn't be replaced, False is returned. Otherwise the
+function will return True, but please notice that it will not Destroy
+the replaced window and you may wish to do it yourself.</docstring>
+ <paramlist>
+ <param name="winOld" type="Window" default=""/>
+ <param name="winNew" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="UpdateSize" type="" overloaded="no">
+ <autodoc>UpdateSize(self)</autodoc>
+ <docstring>Causes any pending sizing of the sash and child panes to take place
+immediately.
+
+Such resizing normally takes place in idle time, in order to wait for
+layout to be completed. However, this can cause unacceptable flicker
+as the panes are resized after the window has been shown. To work
+around this, you can perform window layout (for example by sending a
+size event to the parent window), and then call this function, before
+showing the top-level window.</docstring>
+ </method>
+ <method name="IsSplit" type="bool" overloaded="no">
+ <autodoc>IsSplit(self) -> bool</autodoc>
+ <docstring>Is the window split?</docstring>
+ </method>
+ <method name="SetSashSize" type="" overloaded="no">
+ <autodoc>SetSashSize(self, int width)</autodoc>
+ <docstring>Sets the sash size</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBorderSize" type="" overloaded="no">
+ <autodoc>SetBorderSize(self, int width)</autodoc>
+ <docstring>Sets the border size</docstring>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSashSize" type="int" overloaded="no">
+ <autodoc>GetSashSize(self) -> int</autodoc>
+ <docstring>Gets the sash size</docstring>
+ </method>
+ <method name="GetBorderSize" type="int" overloaded="no">
+ <autodoc>GetBorderSize(self) -> int</autodoc>
+ <docstring>Gets the border size</docstring>
+ </method>
+ <method name="SetSashPosition" type="" overloaded="no">
+ <autodoc>SetSashPosition(self, int position, bool redraw=True)</autodoc>
+ <docstring>Sets the sash position, in pixels. If redraw is Ttrue then the panes
+are resized and the sash and border are redrawn.</docstring>
+ <paramlist>
+ <param name="position" type="int" default=""/>
+ <param name="redraw" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetSashPosition" type="int" overloaded="no">
+ <autodoc>GetSashPosition(self) -> int</autodoc>
+ <docstring>Returns the surrent sash position.</docstring>
+ </method>
+ <method name="SetMinimumPaneSize" type="" overloaded="no">
+ <autodoc>SetMinimumPaneSize(self, int min)</autodoc>
+ <docstring>Sets the minimum pane size in pixels.
+
+The default minimum pane size is zero, which means that either pane
+can be reduced to zero by dragging the sash, thus removing one of the
+panes. To prevent this behaviour (and veto out-of-range sash
+dragging), set a minimum size, for example 20 pixels. If the
+wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
+the window may be unsplit even if minimum size is non-zero.</docstring>
+ <paramlist>
+ <param name="min" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMinimumPaneSize" type="int" overloaded="no">
+ <autodoc>GetMinimumPaneSize(self) -> int</autodoc>
+ <docstring>Gets the minimum pane size in pixels.</docstring>
+ </method>
+ <method name="SashHitTest" type="bool" overloaded="no">
+ <autodoc>SashHitTest(self, int x, int y, int tolerance=5) -> bool</autodoc>
+ <docstring>Tests for x, y over the sash</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="tolerance" type="int" default="5"/>
+ </paramlist>
+ </method>
+ <method name="SizeWindows" type="" overloaded="no">
+ <autodoc>SizeWindows(self)</autodoc>
+ <docstring>Resizes subwindows</docstring>
+ </method>
+ <method name="SetNeedUpdating" type="" overloaded="no">
+ <autodoc>SetNeedUpdating(self, bool needUpdating)</autodoc>
+ <paramlist>
+ <param name="needUpdating" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNeedUpdating" type="bool" overloaded="no">
+ <autodoc>GetNeedUpdating(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="SplitterEvent" oldname="wxSplitterEvent" module="_windows">
+ <docstring>This class represents the events generated by a splitter control.</docstring>
+ <baseclass name="NotifyEvent"/>
+ <constructor name="SplitterEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent</autodoc>
+ <docstring>This class represents the events generated by a splitter control.</docstring>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="splitter" type="SplitterWindow" default="(wxSplitterWindow *) NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="SetSashPosition" type="" overloaded="no">
+ <autodoc>SetSashPosition(self, int pos)</autodoc>
+ <docstring>This funciton is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
+and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
+events, sets the the new sash position. In the case of _CHANGING
+events, sets the new tracking bar position so visual feedback during
+dragging will represent that change that will actually take place. Set
+to -1 from the event handler code to prevent repositioning.</docstring>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSashPosition" type="int" overloaded="no">
+ <autodoc>GetSashPosition(self) -> int</autodoc>
+ <docstring>Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
+and EVT_SPLITTER_SASH_POS_CHANGED events.</docstring>
+ </method>
+ <method name="GetWindowBeingRemoved" type="Window" overloaded="no">
+ <autodoc>GetWindowBeingRemoved(self) -> Window</autodoc>
+ <docstring>Returns a pointer to the window being removed when a splitter window
+is unsplit.</docstring>
+ </method>
+ <method name="GetX" type="int" overloaded="no">
+ <autodoc>GetX(self) -> int</autodoc>
+ <docstring>Returns the x coordinate of the double-click point in a
+EVT_SPLITTER_DCLICK event.</docstring>
+ </method>
+ <method name="GetY" type="int" overloaded="no">
+ <autodoc>GetY(self) -> int</autodoc>
+ <docstring>Returns the y coordinate of the double-click point in a
+EVT_SPLITTER_DCLICK event.</docstring>
+ </method>
+ </class>
+ <pythoncode>
+EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 )
+EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
+EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
+EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
+EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED
+</pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MirrorDC" oldname="wxMirrorDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="MirrorDC" overloaded="no">
- <autodoc>__init__(DC dc, bool mirror) -> MirrorDC</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="mirror" type="bool" default=""/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="SashWindow" oldname="wxSashWindow" module="_windows">
+ <baseclass name="Window"/>
+ <constructor name="SashWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
+ String name=SashNameStr) -> SashWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
+ <param name="name" type="String" default="wxPySashNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreSashWindow" overloaded="no">
+ <autodoc>PreSashWindow() -> SashWindow</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
+ String name=SashNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
+ <param name="name" type="String" default="wxPySashNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetSashVisible" type="" overloaded="no">
+ <autodoc>SetSashVisible(self, int edge, bool sash)</autodoc>
+ <paramlist>
+ <param name="edge" type="wxSashEdgePosition" default=""/>
+ <param name="sash" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSashVisible" type="bool" overloaded="no">
+ <autodoc>GetSashVisible(self, int edge) -> bool</autodoc>
+ <paramlist>
+ <param name="edge" type="wxSashEdgePosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSashBorder" type="" overloaded="no">
+ <autodoc>SetSashBorder(self, int edge, bool border)</autodoc>
+ <paramlist>
+ <param name="edge" type="wxSashEdgePosition" default=""/>
+ <param name="border" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasBorder" type="bool" overloaded="no">
+ <autodoc>HasBorder(self, int edge) -> bool</autodoc>
+ <paramlist>
+ <param name="edge" type="wxSashEdgePosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEdgeMargin" type="int" overloaded="no">
+ <autodoc>GetEdgeMargin(self, int edge) -> int</autodoc>
+ <paramlist>
+ <param name="edge" type="wxSashEdgePosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultBorderSize" type="" overloaded="no">
+ <autodoc>SetDefaultBorderSize(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultBorderSize" type="int" overloaded="no">
+ <autodoc>GetDefaultBorderSize(self) -> int</autodoc>
+ </method>
+ <method name="SetExtraBorderSize" type="" overloaded="no">
+ <autodoc>SetExtraBorderSize(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetExtraBorderSize" type="int" overloaded="no">
+ <autodoc>GetExtraBorderSize(self) -> int</autodoc>
+ </method>
+ <method name="SetMinimumSizeX" type="" overloaded="no">
+ <autodoc>SetMinimumSizeX(self, int min)</autodoc>
+ <paramlist>
+ <param name="min" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinimumSizeY" type="" overloaded="no">
+ <autodoc>SetMinimumSizeY(self, int min)</autodoc>
+ <paramlist>
+ <param name="min" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMinimumSizeX" type="int" overloaded="no">
+ <autodoc>GetMinimumSizeX(self) -> int</autodoc>
+ </method>
+ <method name="GetMinimumSizeY" type="int" overloaded="no">
+ <autodoc>GetMinimumSizeY(self) -> int</autodoc>
+ </method>
+ <method name="SetMaximumSizeX" type="" overloaded="no">
+ <autodoc>SetMaximumSizeX(self, int max)</autodoc>
+ <paramlist>
+ <param name="max" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMaximumSizeY" type="" overloaded="no">
+ <autodoc>SetMaximumSizeY(self, int max)</autodoc>
+ <paramlist>
+ <param name="max" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMaximumSizeX" type="int" overloaded="no">
+ <autodoc>GetMaximumSizeX(self) -> int</autodoc>
+ </method>
+ <method name="GetMaximumSizeY" type="int" overloaded="no">
+ <autodoc>GetMaximumSizeY(self) -> int</autodoc>
+ </method>
+ <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no">
+ <autodoc>SashHitTest(self, int x, int y, int tolerance=2) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="tolerance" type="int" default="2"/>
+ </paramlist>
+ </method>
+ <method name="SizeWindows" type="" overloaded="no">
+ <autodoc>SizeWindows(self)</autodoc>
+ </method>
+ </class>
+ <class name="SashEvent" oldname="wxSashEvent" module="_windows">
+ <baseclass name="CommandEvent"/>
+ <constructor name="SashEvent" overloaded="no">
+ <autodoc>__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/>
+ </paramlist>
+ </constructor>
+ <method name="SetEdge" type="" overloaded="no">
+ <autodoc>SetEdge(self, int edge)</autodoc>
+ <paramlist>
+ <param name="edge" type="wxSashEdgePosition" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEdge" type="wxSashEdgePosition" overloaded="no">
+ <autodoc>GetEdge(self) -> int</autodoc>
+ </method>
+ <method name="SetDragRect" type="" overloaded="no">
+ <autodoc>SetDragRect(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDragRect" type="Rect" overloaded="no">
+ <autodoc>GetDragRect(self) -> Rect</autodoc>
+ </method>
+ <method name="SetDragStatus" type="" overloaded="no">
+ <autodoc>SetDragStatus(self, int status)</autodoc>
+ <paramlist>
+ <param name="status" type="wxSashDragStatus" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no">
+ <autodoc>GetDragStatus(self) -> int</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+ EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 )
+ EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 )
+</pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PostScriptDC" oldname="wxPostScriptDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="PostScriptDC" overloaded="no">
- <autodoc>__init__(wxPrintData printData) -> PostScriptDC</autodoc>
- <paramlist>
- <param name="printData" type="r.q(const).wxPrintData" default=""/>
- </paramlist>
- </constructor>
- <method name="GetPrintData" type="wxPrintData" overloaded="no">
- <autodoc>GetPrintData() -> wxPrintData</autodoc>
- </method>
- <method name="SetPrintData" type="void" overloaded="no">
- <autodoc>SetPrintData(wxPrintData data)</autodoc>
- <paramlist>
- <param name="data" type="r.q(const).wxPrintData" default=""/>
- </paramlist>
- </method>
- <staticmethod name="SetResolution" type="void" overloaded="no">
- <autodoc>PostScriptDC.SetResolution(int ppi)</autodoc>
- <paramlist>
- <param name="ppi" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetResolution" type="int" overloaded="no">
- <autodoc>PostScriptDC.GetResolution() -> int</autodoc>
- </staticmethod>
- </class>
- <pythoncode>
+ <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="_windows">
+ <baseclass name="Event"/>
+ <constructor name="QueryLayoutInfoEvent" overloaded="no">
+ <autodoc>__init__(self, int id=0) -> QueryLayoutInfoEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="SetRequestedLength" type="" overloaded="no">
+ <autodoc>SetRequestedLength(self, int length)</autodoc>
+ <paramlist>
+ <param name="length" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRequestedLength" type="int" overloaded="no">
+ <autodoc>GetRequestedLength(self) -> int</autodoc>
+ </method>
+ <method name="SetFlags" type="" overloaded="no">
+ <autodoc>SetFlags(self, int flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFlags" type="int" overloaded="no">
+ <autodoc>GetFlags(self) -> int</autodoc>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ </method>
+ <method name="SetOrientation" type="" overloaded="no">
+ <autodoc>SetOrientation(self, int orient)</autodoc>
+ <paramlist>
+ <param name="orient" type="wxLayoutOrientation" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
+ <autodoc>GetOrientation(self) -> int</autodoc>
+ </method>
+ <method name="SetAlignment" type="" overloaded="no">
+ <autodoc>SetAlignment(self, int align)</autodoc>
+ <paramlist>
+ <param name="align" type="wxLayoutAlignment" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
+ <autodoc>GetAlignment(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="_windows">
+ <baseclass name="Event"/>
+ <constructor name="CalculateLayoutEvent" overloaded="no">
+ <autodoc>__init__(self, int id=0) -> CalculateLayoutEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="SetFlags" type="" overloaded="no">
+ <autodoc>SetFlags(self, int flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFlags" type="int" overloaded="no">
+ <autodoc>GetFlags(self) -> int</autodoc>
+ </method>
+ <method name="SetRect" type="" overloaded="no">
+ <autodoc>SetRect(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRect" type="Rect" overloaded="no">
+ <autodoc>GetRect(self) -> Rect</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
+ EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
+</pythoncode>
+ <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="_windows">
+ <baseclass name="SashWindow"/>
+ <constructor name="SashLayoutWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
+ String name=SashLayoutNameStr) -> SashLayoutWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
+ <param name="name" type="String" default="wxPySashLayoutNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreSashLayoutWindow" overloaded="no">
+ <autodoc>PreSashLayoutWindow() -> SashLayoutWindow</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
+ String name=SashLayoutNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
+ <param name="name" type="String" default="wxPySashLayoutNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
+ <autodoc>GetAlignment(self) -> int</autodoc>
+ </method>
+ <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
+ <autodoc>GetOrientation(self) -> int</autodoc>
+ </method>
+ <method name="SetAlignment" type="" overloaded="no">
+ <autodoc>SetAlignment(self, int alignment)</autodoc>
+ <paramlist>
+ <param name="alignment" type="wxLayoutAlignment" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultSize" type="" overloaded="no">
+ <autodoc>SetDefaultSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOrientation" type="" overloaded="no">
+ <autodoc>SetOrientation(self, int orientation)</autodoc>
+ <paramlist>
+ <param name="orientation" type="wxLayoutOrientation" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="_windows">
+ <baseclass name="Object"/>
+ <constructor name="LayoutAlgorithm" overloaded="no">
+ <autodoc>__init__(self) -> LayoutAlgorithm</autodoc>
+ </constructor>
+ <destructor name="~wxLayoutAlgorithm" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="LayoutMDIFrame" type="bool" overloaded="no">
+ <autodoc>LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool</autodoc>
+ <paramlist>
+ <param name="frame" type="wxMDIParentFrame" default=""/>
+ <param name="rect" type="Rect" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="LayoutFrame" type="bool" overloaded="no">
+ <autodoc>LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool</autodoc>
+ <paramlist>
+ <param name="frame" type="Frame" default=""/>
+ <param name="mainWindow" type="Window" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="LayoutWindow" type="bool" overloaded="no">
+ <autodoc>LayoutWindow(self, Window parent, Window mainWindow=None) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="mainWindow" type="Window" default="NULL"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MetaFile" oldname="wxMetaFile" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="MetaFile" overloaded="no">
- <autodoc>__init__(String filename=EmptyString) -> MetaFile</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- </class>
- <class name="MetaFileDC" oldname="wxMetaFileDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="MetaFileDC" overloaded="no">
- <autodoc>__init__(String filename=EmptyString, int width=0, int height=0,
- String description=EmptyString) -> MetaFileDC</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="width" type="int" default="0"/>
- <param name="height" type="int" default="0"/>
- <param name="description" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- </class>
- <class name="PrinterDC" oldname="wxPrinterDC" module="gdi">
- <baseclass name="wxDC"/>
- <constructor name="PrinterDC" overloaded="no">
- <autodoc>__init__(wxPrintData printData) -> PrinterDC</autodoc>
- <paramlist>
- <param name="printData" type="r.q(const).wxPrintData" default=""/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
+ <class name="PopupWindow" oldname="wxPopupWindow" module="_windows">
+ <baseclass name="Window"/>
+ <constructor name="PopupWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="flags" type="int" default="wxBORDER_NONE"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePopupWindow" overloaded="no">
+ <autodoc>PrePopupWindow() -> PopupWindow</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int flags=BORDER_NONE) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="flags" type="int" default="wxBORDER_NONE"/>
+ </paramlist>
+ </method>
+ <method name="Position" type="" overloaded="no">
+ <autodoc>Position(self, Point ptOrigin, Size size)</autodoc>
+ <paramlist>
+ <param name="ptOrigin" type="Point" default=""/>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ImageList" oldname="wxImageList" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="ImageList" overloaded="no">
- <autodoc>__init__(int width, int height, int mask=True, int initialCount=1) -> ImageList</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="mask" type="int" default="True"/>
- <param name="initialCount" type="int" default="1"/>
- </paramlist>
- </constructor>
- <destructor name="~wxImageList" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Add" type="int" overloaded="no">
- <autodoc>Add(Bitmap bitmap, Bitmap mask=NullBitmap) -> int</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="mask" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- </paramlist>
- </method>
- <method name="AddWithColourMask" type="int" overloaded="no">
- <autodoc>AddWithColourMask(Bitmap bitmap, Colour maskColour) -> int</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="maskColour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="AddIcon" type="int" overloaded="no">
- <autodoc>AddIcon(Icon icon) -> int</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- </paramlist>
- </method>
- <method name="Replace" type="bool" overloaded="no">
- <autodoc>Replace(int index, Bitmap bitmap) -> bool</autodoc>
- <paramlist>
- <param name="index" type="int" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="Draw" type="bool" overloaded="no">
- <autodoc>Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL,
- bool solidBackground=False) -> bool</autodoc>
- <paramlist>
- <param name="index" type="int" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="int" default=""/>
- <param name="x" type="int" default=""/>
- <param name="flags" type="int" default="wxIMAGELIST_DRAW_NORMAL"/>
- <param name="solidBackground" type="q(const).bool" default="False"/>
- </paramlist>
- </method>
- <method name="GetImageCount" type="int" overloaded="no">
- <autodoc>GetImageCount() -> int</autodoc>
- </method>
- <method name="Remove" type="bool" overloaded="no">
- <autodoc>Remove(int index) -> bool</autodoc>
- <paramlist>
- <param name="index" type="int" default=""/>
- </paramlist>
- </method>
- <method name="RemoveAll" type="bool" overloaded="no">
- <autodoc>RemoveAll() -> bool</autodoc>
- </method>
- <method name="GetSize" type="void" overloaded="no">
- <autodoc>GetSize() -> (width,height)</autodoc>
- <paramlist>
- <param name="index" type="int" default=""/>
- <param name="OUTPUT" type="r.int" default=""/>
- <param name="OUTPUT" type="r.int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="_windows">
+ <baseclass name="PopupWindow"/>
+ <constructor name="wxPyPopupTransientWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="style" type="int" default="wxBORDER_NONE"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePopupTransientWindow" overloaded="no">
+ <autodoc>PrePopupTransientWindow() -> PopupTransientWindow</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Popup" type="" overloaded="no">
+ <autodoc>Popup(self, Window focus=None)</autodoc>
+ <paramlist>
+ <param name="focus" type="Window" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Dismiss" type="" overloaded="no">
+ <autodoc>Dismiss(self)</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PenList" oldname="wxPenList" module="gdi">
- <baseclass name="wxObject"/>
- <method name="AddPen" type="void" overloaded="no">
- <autodoc>AddPen(Pen pen)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- </paramlist>
- </method>
- <method name="FindOrCreatePen" type="wxPen" overloaded="no">
- <autodoc>FindOrCreatePen(Colour colour, int width, int style) -> Pen</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- <param name="width" type="int" default=""/>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="RemovePen" type="void" overloaded="no">
- <autodoc>RemovePen(Pen pen)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- </paramlist>
- </method>
- <method name="GetCount" type="int" overloaded="no">
- <autodoc>GetCount() -> int</autodoc>
- </method>
- </class>
- <class name="BrushList" oldname="wxBrushList" module="gdi">
- <baseclass name="wxObject"/>
- <method name="AddBrush" type="void" overloaded="no">
- <autodoc>AddBrush(Brush brush)</autodoc>
- <paramlist>
- <param name="brush" type="p.wxBrush" default=""/>
- </paramlist>
- </method>
- <method name="FindOrCreateBrush" type="wxBrush" overloaded="no">
- <autodoc>FindOrCreateBrush(Colour colour, int style) -> Brush</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="RemoveBrush" type="void" overloaded="no">
- <autodoc>RemoveBrush(Brush brush)</autodoc>
- <paramlist>
- <param name="brush" type="p.wxBrush" default=""/>
- </paramlist>
- </method>
- <method name="GetCount" type="int" overloaded="no">
- <autodoc>GetCount() -> int</autodoc>
- </method>
- </class>
- <class name="ColourDatabase" oldname="wxColourDatabase" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="ColourDatabase" overloaded="no">
- <autodoc>__init__() -> ColourDatabase</autodoc>
- </constructor>
- <destructor name="~wxColourDatabase" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Find" type="wxColour" overloaded="no">
- <autodoc>Find(String name) -> Colour</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindName" type="wxString" overloaded="no">
- <autodoc>FindName(Colour colour) -> String</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="AddColour" type="void" overloaded="no">
- <autodoc>AddColour(String name, Colour colour)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="Append" type="void" overloaded="no">
- <autodoc>Append(String name, int red, int green, int blue)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="red" type="int" default=""/>
- <param name="green" type="int" default=""/>
- <param name="blue" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="FontList" oldname="wxFontList" module="gdi">
- <baseclass name="wxObject"/>
- <method name="AddFont" type="void" overloaded="no">
- <autodoc>AddFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="p.wxFont" default=""/>
- </paramlist>
- </method>
- <method name="FindOrCreateFont" type="wxFont" overloaded="no">
- <autodoc>FindOrCreateFont(int point_size, int family, int style, int weight,
- bool underline=False, String facename=EmptyString,
- int encoding=FONTENCODING_DEFAULT) -> Font</autodoc>
- <paramlist>
- <param name="point_size" type="int" default=""/>
- <param name="family" type="int" default=""/>
- <param name="style" type="int" default=""/>
- <param name="weight" type="int" default=""/>
- <param name="underline" type="bool" default="False"/>
- <param name="facename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_DEFAULT"/>
- </paramlist>
- </method>
- <method name="RemoveFont" type="void" overloaded="no">
- <autodoc>RemoveFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="p.wxFont" default=""/>
- </paramlist>
- </method>
- <method name="GetCount" type="int" overloaded="no">
- <autodoc>GetCount() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="TipWindow" oldname="wxTipWindow" module="_windows">
+ <baseclass name="PopupTransientWindow"/>
+ <constructor name="TipWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="maxLength" type="int" default="100"/>
+ <param name="rectBound" type="Rect" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="SetBoundingRect" type="" overloaded="no">
+ <autodoc>SetBoundingRect(self, Rect rectBound)</autodoc>
+ <paramlist>
+ <param name="rectBound" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="Close" type="" overloaded="no">
+ <autodoc>Close(self)</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="_windows">
+ <baseclass name="Panel"/>
+ <constructor name="wxPyVScrolledWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreVScrolledWindow" overloaded="no">
+ <autodoc>PreVScrolledWindow() -> VScrolledWindow</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetLineCount" type="" overloaded="no">
+ <autodoc>SetLineCount(self, size_t count)</autodoc>
+ <paramlist>
+ <param name="count" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollToLine" type="bool" overloaded="no">
+ <autodoc>ScrollToLine(self, size_t line) -> bool</autodoc>
+ <paramlist>
+ <param name="line" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollLines" type="bool" overloaded="no">
+ <autodoc>ScrollLines(self, int lines) -> bool</autodoc>
+ <docstring>If the platform and window class supports it, scrolls the window by
+the given number of lines down, if lines is positive, or up if lines
+is negative. Returns True if the window was scrolled, False if it was
+already on top/bottom and nothing was done.</docstring>
+ <paramlist>
+ <param name="lines" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollPages" type="bool" overloaded="no">
+ <autodoc>ScrollPages(self, int pages) -> bool</autodoc>
+ <docstring>If the platform and window class supports it, scrolls the window by
+the given number of pages down, if pages is positive, or up if pages
+is negative. Returns True if the window was scrolled, False if it was
+already on top/bottom and nothing was done.</docstring>
+ <paramlist>
+ <param name="pages" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="RefreshLine" type="" overloaded="no">
+ <autodoc>RefreshLine(self, size_t line)</autodoc>
+ <paramlist>
+ <param name="line" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="RefreshLines" type="" overloaded="no">
+ <autodoc>RefreshLines(self, size_t from, size_t to)</autodoc>
+ <paramlist>
+ <param name="from" type="size_t" default=""/>
+ <param name="to" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTestXY" type="int" overloaded="no">
+ <autodoc>HitTestXY(self, int x, int y) -> int</autodoc>
+ <docstring>Test where the given (in client coords) point lies</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="int" overloaded="no">
+ <autodoc>HitTest(self, Point pt) -> int</autodoc>
+ <docstring>Test where the given (in client coords) point lies</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="RefreshAll" type="" overloaded="no">
+ <autodoc>RefreshAll(self)</autodoc>
+ </method>
+ <method name="GetLineCount" type="size_t" overloaded="no">
+ <autodoc>GetLineCount(self) -> size_t</autodoc>
+ </method>
+ <method name="GetFirstVisibleLine" type="size_t" overloaded="no">
+ <autodoc>GetFirstVisibleLine(self) -> size_t</autodoc>
+ </method>
+ <method name="GetLastVisibleLine" type="size_t" overloaded="no">
+ <autodoc>GetLastVisibleLine(self) -> size_t</autodoc>
+ </method>
+ <method name="IsVisible" type="bool" overloaded="no">
+ <autodoc>IsVisible(self, size_t line) -> bool</autodoc>
+ <paramlist>
+ <param name="line" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="VListBox" oldname="wxPyVListBox" module="_windows">
+ <baseclass name="VScrolledWindow"/>
+ <constructor name="wxPyVListBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyVListBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreVListBox" overloaded="no">
+ <autodoc>PreVListBox() -> VListBox</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyVListBoxNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetItemCount" type="size_t" overloaded="no">
+ <autodoc>GetItemCount(self) -> size_t</autodoc>
+ </method>
+ <method name="HasMultipleSelection" type="bool" overloaded="no">
+ <autodoc>HasMultipleSelection(self) -> bool</autodoc>
+ </method>
+ <method name="GetSelection" type="int" overloaded="no">
+ <autodoc>GetSelection(self) -> int</autodoc>
+ </method>
+ <method name="IsCurrent" type="bool" overloaded="no">
+ <autodoc>IsCurrent(self, size_t item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSelected" type="bool" overloaded="no">
+ <autodoc>IsSelected(self, size_t item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectedCount" type="size_t" overloaded="no">
+ <autodoc>GetSelectedCount(self) -> size_t</autodoc>
+ </method>
+ <method name="GetFirstSelected" type="PyObject" overloaded="no">
+ <autodoc>GetFirstSelected(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetNextSelected" type="PyObject" overloaded="no">
+ <autodoc>GetNextSelected(self, unsigned long cookie) -> PyObject</autodoc>
+ <paramlist>
+ <param name="cookie" type="unsigned long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMargins" type="Point" overloaded="no">
+ <autodoc>GetMargins(self) -> Point</autodoc>
+ </method>
+ <method name="GetSelectionBackground" type="Colour" overloaded="no">
+ <autodoc>GetSelectionBackground(self) -> Colour</autodoc>
+ </method>
+ <method name="SetItemCount" type="" overloaded="no">
+ <autodoc>SetItemCount(self, size_t count)</autodoc>
+ <paramlist>
+ <param name="count" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int selection)</autodoc>
+ <paramlist>
+ <param name="selection" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Select" type="bool" overloaded="no">
+ <autodoc>Select(self, size_t item, bool select=True) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="size_t" default=""/>
+ <param name="select" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SelectRange" type="bool" overloaded="no">
+ <autodoc>SelectRange(self, size_t from, size_t to) -> bool</autodoc>
+ <paramlist>
+ <param name="from" type="size_t" default=""/>
+ <param name="to" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="Toggle" type="" overloaded="no">
+ <autodoc>Toggle(self, size_t item)</autodoc>
+ <paramlist>
+ <param name="item" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SelectAll" type="bool" overloaded="no">
+ <autodoc>SelectAll(self) -> bool</autodoc>
+ </method>
+ <method name="DeselectAll" type="bool" overloaded="no">
+ <autodoc>DeselectAll(self) -> bool</autodoc>
+ </method>
+ <method name="SetMargins" type="" overloaded="no">
+ <autodoc>SetMargins(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginsXY" type="" overloaded="no">
+ <autodoc>SetMarginsXY(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelectionBackground" type="" overloaded="no">
+ <autodoc>SetSelectionBackground(self, Colour col)</autodoc>
+ <paramlist>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="_windows">
+ <baseclass name="VListBox"/>
+ <constructor name="wxPyHtmlListBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyVListBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreHtmlListBox" overloaded="no">
+ <autodoc>PreHtmlListBox() -> HtmlListBox</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyVListBoxNameStr"/>
+ </paramlist>
+ </method>
+ <method name="RefreshAll" type="" overloaded="no">
+ <autodoc>RefreshAll(self)</autodoc>
+ </method>
+ <method name="SetItemCount" type="" overloaded="no">
+ <autodoc>SetItemCount(self, size_t count)</autodoc>
+ <paramlist>
+ <param name="count" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFileSystem" type="FileSystem" overloaded="no">
+ <autodoc>GetFileSystem(self) -> FileSystem</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Effects" oldname="wxEffects" module="gdi">
- <baseclass name="wxObject"/>
- <constructor name="Effects" overloaded="no">
- <autodoc>__init__() -> Effects</autodoc>
- </constructor>
- <method name="GetHighlightColour" type="wxColour" overloaded="no">
- <autodoc>GetHighlightColour() -> Colour</autodoc>
- </method>
- <method name="GetLightShadow" type="wxColour" overloaded="no">
- <autodoc>GetLightShadow() -> Colour</autodoc>
- </method>
- <method name="GetFaceColour" type="wxColour" overloaded="no">
- <autodoc>GetFaceColour() -> Colour</autodoc>
- </method>
- <method name="GetMediumShadow" type="wxColour" overloaded="no">
- <autodoc>GetMediumShadow() -> Colour</autodoc>
- </method>
- <method name="GetDarkShadow" type="wxColour" overloaded="no">
- <autodoc>GetDarkShadow() -> Colour</autodoc>
- </method>
- <method name="SetHighlightColour" type="void" overloaded="no">
- <autodoc>SetHighlightColour(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetLightShadow" type="void" overloaded="no">
- <autodoc>SetLightShadow(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetFaceColour" type="void" overloaded="no">
- <autodoc>SetFaceColour(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetMediumShadow" type="void" overloaded="no">
- <autodoc>SetMediumShadow(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetDarkShadow" type="void" overloaded="no">
- <autodoc>SetDarkShadow(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(Colour highlightColour, Colour lightShadow, Colour faceColour,
- Colour mediumShadow, Colour darkShadow)</autodoc>
- <paramlist>
- <param name="highlightColour" type="r.q(const).wxColour" default=""/>
- <param name="lightShadow" type="r.q(const).wxColour" default=""/>
- <param name="faceColour" type="r.q(const).wxColour" default=""/>
- <param name="mediumShadow" type="r.q(const).wxColour" default=""/>
- <param name="darkShadow" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="DrawSunkenEdge" type="void" overloaded="no">
- <autodoc>DrawSunkenEdge(DC dc, Rect rect, int borderSize=1)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="borderSize" type="int" default="1"/>
- </paramlist>
- </method>
- <method name="TileBitmap" type="bool" overloaded="no">
- <autodoc>TileBitmap(Rect rect, DC dc, Bitmap bitmap) -> bool</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="bitmap" type="r.wxBitmap" default=""/>
- </paramlist>
- </method>
- </class>
-</module><module name="windows">
- <import name="core"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
+ <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="_windows">
+ <baseclass name="EvtHandler"/>
+ <constructor name="TaskBarIcon" overloaded="no">
+ <autodoc>__init__(self) -> TaskBarIcon</autodoc>
+ </constructor>
+ <destructor name="~wxTaskBarIcon" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+ </method>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="IsIconInstalled" type="bool" overloaded="no">
+ <autodoc>IsIconInstalled(self) -> bool</autodoc>
+ </method>
+ <method name="SetIcon" type="bool" overloaded="no">
+ <autodoc>SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ <param name="tooltip" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="RemoveIcon" type="bool" overloaded="no">
+ <autodoc>RemoveIcon(self) -> bool</autodoc>
+ </method>
+ <method name="PopupMenu" type="bool" overloaded="no">
+ <autodoc>PopupMenu(self, Menu menu) -> bool</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="_windows">
+ <baseclass name="Event"/>
+ <constructor name="TaskBarIconEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent</autodoc>
+ <paramlist>
+ <param name="evtType" type="wxEventType" default=""/>
+ <param name="tbIcon" type="TaskBarIcon" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
+EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE )
+EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN )
+EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP )
+EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN )
+EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP )
+EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK )
+EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
+</pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Panel" oldname="wxPanel" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="Panel" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
- String name=PanelNameStr) -> Panel</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PrePanel" overloaded="no">
- <autodoc>PrePanel() -> Panel</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxTAB_TRAVERSAL|wxNO_BORDER,
- String name=PanelNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </method>
- <method name="InitDialog" type="void" overloaded="no">
- <autodoc>InitDialog()</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="ColourData" oldname="wxColourData" module="_windows">
+ <docstring>This class holds a variety of information related to the colour
+chooser dialog, used to transfer settings and results to and from the
+`wx.ColourDialog`.</docstring>
+ <baseclass name="Object"/>
+ <constructor name="ColourData" overloaded="no">
+ <autodoc>__init__(self) -> ColourData</autodoc>
+ <docstring>Constructor, sets default values.</docstring>
+ </constructor>
+ <destructor name="~wxColourData" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetChooseFull" type="bool" overloaded="no">
+ <autodoc>GetChooseFull(self) -> bool</autodoc>
+ <docstring>Under Windows, determines whether the Windows colour dialog will
+display the full dialog with custom colour selection controls. Has no
+meaning under other platforms. The default value is true.</docstring>
+ </method>
+ <method name="GetColour" type="Colour" overloaded="no">
+ <autodoc>GetColour(self) -> Colour</autodoc>
+ <docstring>Gets the colour (pre)selected by the dialog.</docstring>
+ </method>
+ <method name="GetCustomColour" type="Colour" overloaded="no">
+ <autodoc>GetCustomColour(self, int i) -> Colour</autodoc>
+ <docstring>Gets the i'th custom colour associated with the colour dialog. i
+should be an integer between 0 and 15. The default custom colours are
+all invalid colours.</docstring>
+ <paramlist>
+ <param name="i" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetChooseFull" type="" overloaded="no">
+ <autodoc>SetChooseFull(self, int flag)</autodoc>
+ <docstring>Under Windows, tells the Windows colour dialog to display the full
+dialog with custom colour selection controls. Under other platforms,
+has no effect. The default value is true.</docstring>
+ <paramlist>
+ <param name="flag" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, Colour colour)</autodoc>
+ <docstring>Sets the default colour for the colour dialog. The default colour is
+black.</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCustomColour" type="" overloaded="no">
+ <autodoc>SetCustomColour(self, int i, Colour colour)</autodoc>
+ <docstring>Sets the i'th custom colour for the colour dialog. i should be an
+integer between 0 and 15. The default custom colours are all invalid colours.</docstring>
+ <paramlist>
+ <param name="i" type="int" default=""/>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="ColourDialog" oldname="wxColourDialog" module="_windows">
+ <docstring>This class represents the colour chooser dialog.</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="ColourDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, ColourData data=None) -> ColourDialog</autodoc>
+ <docstring>Constructor. Pass a parent window, and optionally a `wx.ColourData`,
+which will be copied to the colour dialog's internal ColourData
+instance.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="data" type="ColourData" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetColourData" type="ColourData" overloaded="no">
+ <autodoc>GetColourData(self) -> ColourData</autodoc>
+ <docstring>Returns a reference to the `wx.ColourData` used by the dialog.</docstring>
+ </method>
+ </class>
+ <class name="DirDialog" oldname="wxDirDialog" module="_windows">
+ <docstring>wx.DirDialog allows the user to select a directory by browising the
+file system.
+
+Window Styles
+--------------
+ ==================== ==========================================
+ wx.DD_NEW_DIR_BUTTON Add 'Create new directory' button and allow
+ directory names to be editable. On Windows
+ the new directory button is only available
+ with recent versions of the common dialogs.
+ ==================== ==========================================
+</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="DirDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, String message=DirSelectorPromptStr,
+ String defaultPath=EmptyString, long style=0,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ String name=DirDialogNameStr) -> DirDialog</autodoc>
+ <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="message" type="String" default="wxPyDirSelectorPromptStr"/>
+ <param name="defaultPath" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="long" default="0"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="name" type="String" default="wxPyDirDialogNameStr"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPath" type="String" overloaded="no">
+ <autodoc>GetPath(self) -> String</autodoc>
+ <docstring>Returns the default or user-selected path.</docstring>
+ </method>
+ <method name="GetMessage" type="String" overloaded="no">
+ <autodoc>GetMessage(self) -> String</autodoc>
+ <docstring>Returns the message that will be displayed on the dialog.</docstring>
+ </method>
+ <method name="GetStyle" type="long" overloaded="no">
+ <autodoc>GetStyle(self) -> long</autodoc>
+ <docstring>Returns the dialog style.</docstring>
+ </method>
+ <method name="SetMessage" type="" overloaded="no">
+ <autodoc>SetMessage(self, String message)</autodoc>
+ <docstring>Sets the message that will be displayed on the dialog.</docstring>
+ <paramlist>
+ <param name="message" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPath" type="" overloaded="no">
+ <autodoc>SetPath(self, String path)</autodoc>
+ <docstring>Sets the default path.</docstring>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FileDialog" oldname="wxFileDialog" module="_windows">
+ <docstring>wx.FileDialog allows the user to select one or more files from the
+filesystem.
+
+In Windows, this is the common file selector dialog. On X based
+platforms a generic alternative is used. The path and filename are
+distinct elements of a full file pathname. If path is "", the
+current directory will be used. If filename is "", no default
+filename will be supplied. The wildcard determines what files are
+displayed in the file selector, and file extension supplies a type
+extension for the required filename.
+
+Both the X and Windows versions implement a wildcard filter. Typing a
+filename containing wildcards (\\*, ?) in the filename text item, and
+clicking on Ok, will result in only those files matching the pattern
+being displayed. The wildcard may be a specification for multiple
+types of file with a description for each, such as::
+
+ "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
+
+
+Window Styles
+--------------
+ =================== ==========================================
+ wx.OPEN This is an open dialog.
+
+ wx.SAVE This is a save dialog.
+
+ wx.HIDE_READONLY For open dialog only: hide the checkbox
+ allowing to open the file in read-only mode.
+
+ wx.OVERWRITE_PROMPT For save dialog only: prompt for a confirmation
+ if a file will be overwritten.
+
+ wx.MULTIPLE For open dialog only: allows selecting multiple
+ files.
+
+ wx.CHANGE_DIR Change the current working directory to the
+ directory where the file(s) chosen by the user
+ are.
+ =================== ==========================================
+</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="FileDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, String message=FileSelectorPromptStr,
+ String defaultDir=EmptyString, String defaultFile=EmptyString,
+ String wildcard=FileSelectorDefaultWildcardStr,
+ long style=0, Point pos=DefaultPosition) -> FileDialog</autodoc>
+ <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="message" type="String" default="wxPyFileSelectorPromptStr"/>
+ <param name="defaultDir" type="String" default="wxPyEmptyString"/>
+ <param name="defaultFile" type="String" default="wxPyEmptyString"/>
+ <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/>
+ <param name="style" type="long" default="0"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </constructor>
+ <method name="SetMessage" type="" overloaded="no">
+ <autodoc>SetMessage(self, String message)</autodoc>
+ <docstring>Sets the message that will be displayed on the dialog.</docstring>
+ <paramlist>
+ <param name="message" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPath" type="" overloaded="no">
+ <autodoc>SetPath(self, String path)</autodoc>
+ <docstring>Sets the path (the combined directory and filename that will be
+returned when the dialog is dismissed).</docstring>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDirectory" type="" overloaded="no">
+ <autodoc>SetDirectory(self, String dir)</autodoc>
+ <docstring>Sets the default directory.</docstring>
+ <paramlist>
+ <param name="dir" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFilename" type="" overloaded="no">
+ <autodoc>SetFilename(self, String name)</autodoc>
+ <docstring>Sets the default filename.</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWildcard" type="" overloaded="no">
+ <autodoc>SetWildcard(self, String wildCard)</autodoc>
+ <docstring>Sets the wildcard, which can contain multiple file types, for
+example::
+
+ "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
+</docstring>
+ <paramlist>
+ <param name="wildCard" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyle" type="" overloaded="no">
+ <autodoc>SetStyle(self, long style)</autodoc>
+ <docstring>Sets the dialog style.</docstring>
+ <paramlist>
+ <param name="style" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFilterIndex" type="" overloaded="no">
+ <autodoc>SetFilterIndex(self, int filterIndex)</autodoc>
+ <docstring>Sets the default filter index, starting from zero.</docstring>
+ <paramlist>
+ <param name="filterIndex" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMessage" type="String" overloaded="no">
+ <autodoc>GetMessage(self) -> String</autodoc>
+ <docstring>Returns the message that will be displayed on the dialog.</docstring>
+ </method>
+ <method name="GetPath" type="String" overloaded="no">
+ <autodoc>GetPath(self) -> String</autodoc>
+ <docstring>Returns the full path (directory and filename) of the selected file.</docstring>
+ </method>
+ <method name="GetDirectory" type="String" overloaded="no">
+ <autodoc>GetDirectory(self) -> String</autodoc>
+ <docstring>Returns the default directory.</docstring>
+ </method>
+ <method name="GetFilename" type="String" overloaded="no">
+ <autodoc>GetFilename(self) -> String</autodoc>
+ <docstring>Returns the default filename.</docstring>
+ </method>
+ <method name="GetWildcard" type="String" overloaded="no">
+ <autodoc>GetWildcard(self) -> String</autodoc>
+ <docstring>Returns the file dialog wildcard.</docstring>
+ </method>
+ <method name="GetStyle" type="long" overloaded="no">
+ <autodoc>GetStyle(self) -> long</autodoc>
+ <docstring>Returns the dialog style.</docstring>
+ </method>
+ <method name="GetFilterIndex" type="int" overloaded="no">
+ <autodoc>GetFilterIndex(self) -> int</autodoc>
+ <docstring>Returns the index into the list of filters supplied, optionally, in
+the wildcard parameter. Before the dialog is shown, this is the index
+which will be used when the dialog is first displayed. After the
+dialog is shown, this is the index selected by the user.</docstring>
+ </method>
+ <method name="GetFilenames" type="PyObject" overloaded="no">
+ <autodoc>GetFilenames(self) -> PyObject</autodoc>
+ <docstring>Returns a list of filenames chosen in the dialog. This function
+should only be used with the dialogs which have wx.MULTIPLE style, use
+GetFilename for the others.</docstring>
+ </method>
+ <method name="GetPaths" type="PyObject" overloaded="no">
+ <autodoc>GetPaths(self) -> PyObject</autodoc>
+ <docstring>Fills the array paths with the full paths of the files chosen. This
+function should only be used with the dialogs which have wx.MULTIPLE
+style, use GetPath for the others.</docstring>
+ </method>
+ </class>
+ <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="_windows">
+ <docstring>A simple dialog with a multi selection listbox.</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="MultiChoiceDialog" overloaded="no">
+ <autodoc>__init__(Window parent, String message, String caption,
+ List choices=[], long style=CHOICEDLG_STYLE,
+ Point pos=DefaultPosition) -> MultiChoiceDialog</autodoc>
+ <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default=""/>
+ <param name="choices" type="int" default="0"/>
+ <param name="choices_array" type="String" default="NULL"/>
+ <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </constructor>
+ <method name="SetSelections" type="" overloaded="no">
+ <autodoc>SetSelections(List selections)</autodoc>
+ <docstring>Specify the items in the list that should be selected, using a list of
+integers.</docstring>
+ <paramlist>
+ <param name="selections" type="wxArrayInt" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelections" type="PyObject" overloaded="no">
+ <autodoc>GetSelections() -> [selections]</autodoc>
+ <docstring>Returns a list of integers representing the items that are selected.</docstring>
+ </method>
+ </class>
+ <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="_windows">
+ <docstring>A simple dialog with a single selection listbox.</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="SingleChoiceDialog" overloaded="no">
+ <autodoc>__init__(Window parent, String message, String caption,
+ List choices=[], long style=CHOICEDLG_STYLE,
+ Point pos=DefaultPosition) -> SingleChoiceDialog</autodoc>
+ <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default=""/>
+ <param name="choices" type="int" default=""/>
+ <param name="choices_array" type="String" default=""/>
+ <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </constructor>
+ <method name="GetSelection" type="int" overloaded="no">
+ <autodoc>GetSelection(self) -> int</autodoc>
+ <docstring>Get the index of teh currently selected item.</docstring>
+ </method>
+ <method name="GetStringSelection" type="String" overloaded="no">
+ <autodoc>GetStringSelection(self) -> String</autodoc>
+ <docstring>Returns the string value of the currently selected item</docstring>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int sel)</autodoc>
+ <docstring>Set the current selected item to sel</docstring>
+ <paramlist>
+ <param name="sel" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="_windows">
+ <docstring>A dialog with text control, [ok] and [cancel] buttons</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="TextEntryDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
+ String defaultValue=EmptyString,
+ long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog</autodoc>
+ <docstring>Constructor. Use ShowModal method to show the dialog.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default="wxPyGetTextFromUserPromptStr"/>
+ <param name="defaultValue" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ <docstring>Returns the text that the user has entered if the user has pressed OK,
+or the original value if the user has pressed Cancel.</docstring>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, String value)</autodoc>
+ <docstring>Sets the default text value.</docstring>
+ <paramlist>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FontData" oldname="wxFontData" module="_windows">
+ <docstring>This class holds a variety of information related to font dialogs and
+is used to transfer settings to and results from a `wx.FontDialog`.</docstring>
+ <baseclass name="Object"/>
+ <constructor name="FontData" overloaded="no">
+ <autodoc>__init__(self) -> FontData</autodoc>
+ <docstring>This class holds a variety of information related to font dialogs and
+is used to transfer settings to and results from a `wx.FontDialog`.</docstring>
+ </constructor>
+ <destructor name="~wxFontData" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="EnableEffects" type="" overloaded="no">
+ <autodoc>EnableEffects(self, bool enable)</autodoc>
+ <docstring>Enables or disables 'effects' under MS Windows only. This refers to
+the controls for manipulating colour, strikeout and underline
+properties. The default value is true.</docstring>
+ <paramlist>
+ <param name="enable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAllowSymbols" type="bool" overloaded="no">
+ <autodoc>GetAllowSymbols(self) -> bool</autodoc>
+ <docstring>Under MS Windows, returns a flag determining whether symbol fonts can
+be selected. Has no effect on other platforms. The default value is
+true.</docstring>
+ </method>
+ <method name="GetColour" type="Colour" overloaded="no">
+ <autodoc>GetColour(self) -> Colour</autodoc>
+ <docstring>Gets the colour associated with the font dialog. The default value is
+black.</docstring>
+ </method>
+ <method name="GetChosenFont" type="Font" overloaded="no">
+ <autodoc>GetChosenFont(self) -> Font</autodoc>
+ <docstring>Gets the font chosen by the user.</docstring>
+ </method>
+ <method name="GetEnableEffects" type="bool" overloaded="no">
+ <autodoc>GetEnableEffects(self) -> bool</autodoc>
+ <docstring>Determines whether 'effects' are enabled under Windows.</docstring>
+ </method>
+ <method name="GetInitialFont" type="Font" overloaded="no">
+ <autodoc>GetInitialFont(self) -> Font</autodoc>
+ <docstring>Gets the font that will be initially used by the font dialog. This
+should have previously been set by the application.</docstring>
+ </method>
+ <method name="GetShowHelp" type="bool" overloaded="no">
+ <autodoc>GetShowHelp(self) -> bool</autodoc>
+ <docstring>Returns true if the Help button will be shown (Windows only). The
+default value is false.</docstring>
+ </method>
+ <method name="SetAllowSymbols" type="" overloaded="no">
+ <autodoc>SetAllowSymbols(self, bool allowSymbols)</autodoc>
+ <docstring>Under MS Windows, determines whether symbol fonts can be selected. Has
+no effect on other platforms. The default value is true.</docstring>
+ <paramlist>
+ <param name="allowSymbols" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetChosenFont" type="" overloaded="no">
+ <autodoc>SetChosenFont(self, Font font)</autodoc>
+ <docstring>Sets the font that will be returned to the user (normally for internal
+use only).</docstring>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, Colour colour)</autodoc>
+ <docstring>Sets the colour that will be used for the font foreground colour. The
+default colour is black.</docstring>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetInitialFont" type="" overloaded="no">
+ <autodoc>SetInitialFont(self, Font font)</autodoc>
+ <docstring>Sets the font that will be initially used by the font dialog.</docstring>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRange" type="" overloaded="no">
+ <autodoc>SetRange(self, int min, int max)</autodoc>
+ <docstring>Sets the valid range for the font point size (Windows only). The
+default is 0, 0 (unrestricted range).</docstring>
+ <paramlist>
+ <param name="min" type="int" default=""/>
+ <param name="max" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetShowHelp" type="" overloaded="no">
+ <autodoc>SetShowHelp(self, bool showHelp)</autodoc>
+ <docstring>Determines whether the Help button will be displayed in the font
+dialog (Windows only). The default value is false.</docstring>
+ <paramlist>
+ <param name="showHelp" type="bool" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FontDialog" oldname="wxFontDialog" module="_windows">
+ <docstring>wx.FontDialog allows the user to select a system font and its attributes.
+
+:see: `wx.FontData`
+</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="FontDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, FontData data) -> FontDialog</autodoc>
+ <docstring>Constructor. Pass a parent window and the `wx.FontData` object to be
+used to initialize the dialog controls. Call `ShowModal` to display
+the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
+results with via the `wx.FontData` returned by `GetFontData`.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="data" type="FontData" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="GetFontData" type="FontData" overloaded="no">
+ <autodoc>GetFontData(self) -> FontData</autodoc>
+ <docstring>Returns a reference to the internal `wx.FontData` used by the
+wx.FontDialog.</docstring>
+ </method>
+ </class>
+ <class name="MessageDialog" oldname="wxMessageDialog" module="_windows">
+ <docstring>This class provides a simple dialog that shows a single or multi-line
+message, with a choice of OK, Yes, No and/or Cancel buttons.
+
+Window Styles
+--------------
+ =================== =============================================
+ wx.OK Show an OK button.
+ wx.CANCEL Show a Cancel button.
+ wx.YES_NO Show Yes and No buttons.
+ wx.YES_DEFAULT Used with wxYES_NO, makes Yes button the
+ default - which is the default behaviour.
+ wx.NO_DEFAULT Used with wxYES_NO, makes No button the default.
+ wx.ICON_EXCLAMATION Shows an exclamation mark icon.
+ wx.ICON_HAND Shows an error icon.
+ wx.ICON_ERROR Shows an error icon - the same as wxICON_HAND.
+ wx.ICON_QUESTION Shows a question mark icon.
+ wx.ICON_INFORMATION Shows an information (i) icon.
+ wx.STAY_ON_TOP The message box stays on top of all other
+ window, even those of the other applications
+ (Windows only).
+ =================== =============================================
+</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="MessageDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
+ long style=wxOK|wxCANCEL|wxCENTRE,
+ Point pos=DefaultPosition) -> MessageDialog</autodoc>
+ <docstring>Constructor, use `ShowModal` to display the dialog.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default="wxPyMessageBoxCaptionStr"/>
+ <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="ProgressDialog" oldname="wxProgressDialog" module="_windows">
+ <docstring>A dialog that shows a short message and a progress bar. Optionally, it
+can display an ABORT button.
+
+Window Styles
+--------------
+ ==================== =============================================
+ wx.PD_APP_MODAL Make the progress dialog modal. If this flag is
+ not given, it is only "locally" modal -
+ that is the input to the parent window is
+ disabled, but not to the other ones.
+
+ wx.PD_AUTO_HIDE Causes the progress dialog to disappear from
+ screen as soon as the maximum value of the
+ progress meter has been reached.
+
+ wx.PD_CAN_ABORT This flag tells the dialog that it should have
+ a "Cancel" button which the user may press. If
+ this happens, the next call to Update() will
+ return false.
+
+ wx.PD_ELAPSED_TIME This flag tells the dialog that it should show
+ elapsed time (since creating the dialog).
+
+ wx.PD_ESTIMATED_TIME This flag tells the dialog that it should show
+ estimated time.
+
+ wx.PD_REMAINING_TIME This flag tells the dialog that it should show
+ remaining time.
+ ==================== =============================================
+</docstring>
+ <baseclass name="Frame"/>
+ <constructor name="ProgressDialog" overloaded="no">
+ <autodoc>__init__(self, String title, String message, int maximum=100, Window parent=None,
+ int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog</autodoc>
+ <docstring>Constructor. Creates the dialog, displays it and disables user input
+for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
+parent window only.</docstring>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="maximum" type="int" default="100"/>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="style" type="int" default="wxPD_AUTO_HIDE|wxPD_APP_MODAL"/>
+ </paramlist>
+ </constructor>
+ <method name="Update" type="bool" overloaded="no">
+ <autodoc>Update(self, int value, String newmsg=EmptyString) -> bool</autodoc>
+ <docstring>Updates the dialog, setting the progress bar to the new value and, if
+given changes the message above it. The value given should be less
+than or equal to the maximum value given to the constructor and the
+dialog is closed if it is equal to the maximum. Returns true unless
+the Cancel button has been pressed.
+
+If false is returned, the application can either immediately destroy
+the dialog or ask the user for the confirmation and if the abort is
+not confirmed the dialog may be resumed with Resume function.</docstring>
+ <paramlist>
+ <param name="value" type="int" default=""/>
+ <param name="newmsg" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="Resume" type="" overloaded="no">
+ <autodoc>Resume(self)</autodoc>
+ <docstring>Can be used to continue with the dialog, after the user had chosen to
+abort.</docstring>
+ </method>
+ </class>
+ <pythoncode>
+EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 )
+EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 )
+EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 )
+EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 )
+EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 )
+
+# For backwards compatibility. Should they be removed?
+EVT_COMMAND_FIND = EVT_FIND
+EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT
+EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE
+EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
+EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
+</pythoncode>
+ <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="_windows">
+ <docstring>Events for the FindReplaceDialog</docstring>
+ <baseclass name="CommandEvent"/>
+ <constructor name="FindDialogEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent</autodoc>
+ <docstring>Events for the FindReplaceDialog</docstring>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetFlags" type="int" overloaded="no">
+ <autodoc>GetFlags(self) -> int</autodoc>
+ <docstring>Get the currently selected flags: this is the combination of
+wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.</docstring>
+ </method>
+ <method name="GetFindString" type="String" overloaded="no">
+ <autodoc>GetFindString(self) -> String</autodoc>
+ <docstring>Return the string to find (never empty).</docstring>
+ </method>
+ <method name="GetReplaceString" type="String" overloaded="no">
+ <autodoc>GetReplaceString(self) -> String</autodoc>
+ <docstring>Return the string to replace the search string with (only for replace
+and replace all events).</docstring>
+ </method>
+ <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no">
+ <autodoc>GetDialog(self) -> FindReplaceDialog</autodoc>
+ <docstring>Return the pointer to the dialog which generated this event.</docstring>
+ </method>
+ <method name="SetFlags" type="" overloaded="no">
+ <autodoc>SetFlags(self, int flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFindString" type="" overloaded="no">
+ <autodoc>SetFindString(self, String str)</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetReplaceString" type="" overloaded="no">
+ <autodoc>SetReplaceString(self, String str)</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FindReplaceData" oldname="wxFindReplaceData" module="_windows">
+ <docstring>wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
+to initialize the dialog with the default values and will keep the
+last values from the dialog when it is closed. It is also updated each
+time a `wx.FindDialogEvent` is generated so instead of using the
+`wx.FindDialogEvent` methods you can also directly query this object.
+
+Note that all SetXXX() methods may only be called before showing the
+dialog and calling them has no effect later.
+
+Flags
+-----
+ ================ ===============================================
+ wx.FR_DOWN Downward search/replace selected (otherwise,
+ upwards)
+
+ wx.FR_WHOLEWORD Whole word search/replace selected
+
+ wx.FR_MATCHCASE Case sensitive search/replace selected
+ (otherwise, case insensitive)
+ ================ ===============================================
+</docstring>
+ <baseclass name="Object"/>
+ <constructor name="FindReplaceData" overloaded="no">
+ <autodoc>__init__(self, int flags=0) -> FindReplaceData</autodoc>
+ <docstring>Constuctor initializes the flags to default value (0).</docstring>
+ <paramlist>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxFindReplaceData" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetFindString" type="String" overloaded="no">
+ <autodoc>GetFindString(self) -> String</autodoc>
+ <docstring>Get the string to find.</docstring>
+ </method>
+ <method name="GetReplaceString" type="String" overloaded="no">
+ <autodoc>GetReplaceString(self) -> String</autodoc>
+ <docstring>Get the replacement string.</docstring>
+ </method>
+ <method name="GetFlags" type="int" overloaded="no">
+ <autodoc>GetFlags(self) -> int</autodoc>
+ <docstring>Get the combination of flag values.</docstring>
+ </method>
+ <method name="SetFlags" type="" overloaded="no">
+ <autodoc>SetFlags(self, int flags)</autodoc>
+ <docstring>Set the flags to use to initialize the controls of the dialog.</docstring>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFindString" type="" overloaded="no">
+ <autodoc>SetFindString(self, String str)</autodoc>
+ <docstring>Set the string to find (used as initial value by the dialog).</docstring>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetReplaceString" type="" overloaded="no">
+ <autodoc>SetReplaceString(self, String str)</autodoc>
+ <docstring>Set the replacement string (used as initial value by the dialog).</docstring>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="_windows">
+ <docstring>wx.FindReplaceDialog is a standard modeless dialog which is used to
+allow the user to search for some text (and possibly replace it with
+something else). The actual searching is supposed to be done in the
+owner window which is the parent of this dialog. Note that it means
+that unlike for the other standard dialogs this one must have a parent
+window. Also note that there is no way to use this dialog in a modal
+way; it is always, by design and implementation, modeless.
+
+
+Window Styles
+-------------
+
+ ===================== =========================================
+ wx.FR_REPLACEDIALOG replace dialog (otherwise find dialog)
+
+ wx.FR_NOUPDOWN don't allow changing the search direction
+
+ wx.FR_NOMATCHCASE don't allow case sensitive searching
+
+ wx.FR_NOWHOLEWORD don't allow whole word searching
+ ===================== =========================================
+</docstring>
+ <baseclass name="Dialog"/>
+ <constructor name="FindReplaceDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, FindReplaceData data, String title,
+ int style=0) -> FindReplaceDialog</autodoc>
+ <docstring>Create a FindReplaceDialog. The parent and data parameters must be
+non-None. Use Show to display the dialog.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="data" type="FindReplaceData" default=""/>
+ <param name="title" type="String" default=""/>
+ <param name="style" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreFindReplaceDialog" overloaded="no">
+ <autodoc>PreFindReplaceDialog() -> FindReplaceDialog</autodoc>
+ <docstring>Precreate a FindReplaceDialog for 2-phase creation</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, FindReplaceData data, String title,
+ int style=0) -> bool</autodoc>
+ <docstring>Create the dialog, for 2-phase create.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="data" type="FindReplaceData" default=""/>
+ <param name="title" type="String" default=""/>
+ <param name="style" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetData" type="FindReplaceData" overloaded="no">
+ <autodoc>GetData(self) -> FindReplaceData</autodoc>
+ <docstring>Get the FindReplaceData object used by this dialog.</docstring>
+ </method>
+ <method name="SetData" type="" overloaded="no">
+ <autodoc>SetData(self, FindReplaceData data)</autodoc>
+ <docstring>Set the FindReplaceData object used by this dialog.</docstring>
+ <paramlist>
+ <param name="data" type="FindReplaceData" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ScrolledWindow" oldname="wxScrolledWindow" module="windows">
- <baseclass name="wxPanel"/>
- <constructor name="ScrolledWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
- String name=PanelNameStr) -> ScrolledWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreScrolledWindow" overloaded="no">
- <autodoc>PreScrolledWindow() -> ScrolledWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
- String name=PanelNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxHSCROLL|wxVSCROLL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </method>
- <method name="SetScrollbars" type="void" overloaded="no">
- <autodoc>SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
- int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc>
- <paramlist>
- <param name="pixelsPerUnitX" type="int" default=""/>
- <param name="pixelsPerUnitY" type="int" default=""/>
- <param name="noUnitsX" type="int" default=""/>
- <param name="noUnitsY" type="int" default=""/>
- <param name="xPos" type="int" default="0"/>
- <param name="yPos" type="int" default="0"/>
- <param name="noRefresh" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="Scroll" type="void" overloaded="no">
- <autodoc>Scroll(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetScrollPageSize" type="int" overloaded="no">
- <autodoc>GetScrollPageSize(int orient) -> int</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetScrollPageSize" type="void" overloaded="no">
- <autodoc>SetScrollPageSize(int orient, int pageSize)</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- <param name="pageSize" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetScrollRate" type="void" overloaded="no">
- <autodoc>SetScrollRate(int xstep, int ystep)</autodoc>
- <paramlist>
- <param name="xstep" type="int" default=""/>
- <param name="ystep" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetScrollPixelsPerUnit" type="void" overloaded="no">
- <autodoc>GetScrollPixelsPerUnit() -> (xUnit, yUnit)</autodoc>
- <docstring>Get the size of one logical unit in physical units.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="EnableScrolling" type="void" overloaded="no">
- <autodoc>EnableScrolling(bool x_scrolling, bool y_scrolling)</autodoc>
- <paramlist>
- <param name="x_scrolling" type="bool" default=""/>
- <param name="y_scrolling" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetViewStart" type="void" overloaded="no">
- <autodoc>GetViewStart() -> (x,y)</autodoc>
- <docstring>Get the view start</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetScale" type="void" overloaded="no">
- <autodoc>SetScale(double xs, double ys)</autodoc>
- <paramlist>
- <param name="xs" type="double" default=""/>
- <param name="ys" type="double" default=""/>
- </paramlist>
- </method>
- <method name="GetScaleX" type="double" overloaded="no">
- <autodoc>GetScaleX() -> double</autodoc>
- </method>
- <method name="GetScaleY" type="double" overloaded="no">
- <autodoc>GetScaleY() -> double</autodoc>
- </method>
- <method name="CalcScrolledPosition" type="wxPoint" overloaded="yes">
- <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="CalcScrolledPosition" type="void" overloaded="yes">
- <autodoc>CalcScrolledPosition(Point pt) -> Point
-CalcScrolledPosition(int x, int y) -> (sx, sy)</autodoc>
- <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="CalcUnscrolledPosition" type="wxPoint" overloaded="yes">
- <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="CalcUnscrolledPosition" type="void" overloaded="yes">
- <autodoc>CalcUnscrolledPosition(Point pt) -> Point
-CalcUnscrolledPosition(int x, int y) -> (ux, uy)</autodoc>
- <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="AdjustScrollbars" type="void" overloaded="no">
- <autodoc>AdjustScrollbars()</autodoc>
- </method>
- <method name="CalcScrollInc" type="int" overloaded="no">
- <autodoc>CalcScrollInc(ScrollWinEvent event) -> int</autodoc>
- <paramlist>
- <param name="event" type="r.wxScrollWinEvent" default=""/>
- </paramlist>
- </method>
- <method name="SetTargetWindow" type="void" overloaded="no">
- <autodoc>SetTargetWindow(Window target)</autodoc>
- <paramlist>
- <param name="target" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetTargetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetTargetWindow() -> Window</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="_windows">
+ <baseclass name="Frame"/>
+ <constructor name="MDIParentFrame" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
+ String name=FrameNameStr) -> MDIParentFrame</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreMDIParentFrame" overloaded="no">
+ <autodoc>PreMDIParentFrame() -> MDIParentFrame</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
+ String name=FrameNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </method>
+ <method name="ActivateNext" type="" overloaded="no">
+ <autodoc>ActivateNext(self)</autodoc>
+ </method>
+ <method name="ActivatePrevious" type="" overloaded="no">
+ <autodoc>ActivatePrevious(self)</autodoc>
+ </method>
+ <method name="ArrangeIcons" type="" overloaded="no">
+ <autodoc>ArrangeIcons(self)</autodoc>
+ </method>
+ <method name="Cascade" type="" overloaded="no">
+ <autodoc>Cascade(self)</autodoc>
+ </method>
+ <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no">
+ <autodoc>GetActiveChild(self) -> MDIChildFrame</autodoc>
+ </method>
+ <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no">
+ <autodoc>GetClientWindow(self) -> MDIClientWindow</autodoc>
+ </method>
+ <method name="GetToolBar" type="Window" overloaded="no">
+ <autodoc>GetToolBar(self) -> Window</autodoc>
+ </method>
+ <method name="Tile" type="" overloaded="no">
+ <autodoc>Tile(self)</autodoc>
+ </method>
+ </class>
+ <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="_windows">
+ <baseclass name="Frame"/>
+ <constructor name="MDIChildFrame" overloaded="no">
+ <autodoc>__init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE,
+ String name=FrameNameStr) -> MDIChildFrame</autodoc>
+ <paramlist>
+ <param name="parent" type="MDIParentFrame" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreMDIChildFrame" overloaded="no">
+ <autodoc>PreMDIChildFrame() -> MDIChildFrame</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE,
+ String name=FrameNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="MDIParentFrame" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </method>
+ <method name="Activate" type="" overloaded="no">
+ <autodoc>Activate(self)</autodoc>
+ </method>
+ <method name="Maximize" type="" overloaded="no">
+ <autodoc>Maximize(self, bool maximize)</autodoc>
+ <paramlist>
+ <param name="maximize" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Restore" type="" overloaded="no">
+ <autodoc>Restore(self)</autodoc>
+ </method>
+ </class>
+ <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="_windows">
+ <baseclass name="Window"/>
+ <constructor name="MDIClientWindow" overloaded="no">
+ <autodoc>__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="MDIParentFrame" default=""/>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreMDIClientWindow" overloaded="no">
+ <autodoc>PreMDIClientWindow() -> MDIClientWindow</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, MDIParentFrame parent, long style=0) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="MDIParentFrame" default=""/>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="windows">
- <baseclass name="wxWindow"/>
- <method name="Maximize" type="void" overloaded="no">
- <autodoc>Maximize(bool maximize=True)</autodoc>
- <paramlist>
- <param name="maximize" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Restore" type="void" overloaded="no">
- <autodoc>Restore()</autodoc>
- </method>
- <method name="Iconize" type="void" overloaded="no">
- <autodoc>Iconize(bool iconize=True)</autodoc>
- <paramlist>
- <param name="iconize" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="IsMaximized" type="bool" overloaded="no">
- <autodoc>IsMaximized() -> bool</autodoc>
- </method>
- <method name="IsIconized" type="bool" overloaded="no">
- <autodoc>IsIconized() -> bool</autodoc>
- </method>
- <method name="GetIcon" type="wxIcon" overloaded="no">
- <autodoc>GetIcon() -> Icon</autodoc>
- </method>
- <method name="SetIcon" type="void" overloaded="no">
- <autodoc>SetIcon(Icon icon)</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- </paramlist>
- </method>
- <method name="SetIcons" type="void" overloaded="no">
- <autodoc>SetIcons(wxIconBundle icons)</autodoc>
- <paramlist>
- <param name="icons" type="r.q(const).wxIconBundle" default=""/>
- </paramlist>
- </method>
- <method name="ShowFullScreen" type="bool" overloaded="no">
- <autodoc>ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- <param name="style" type="long" default="wxFULLSCREEN_ALL"/>
- </paramlist>
- </method>
- <method name="IsFullScreen" type="bool" overloaded="no">
- <autodoc>IsFullScreen() -> bool</autodoc>
- </method>
- <method name="SetTitle" type="void" overloaded="no">
- <autodoc>SetTitle(String title)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTitle" type="wxString" overloaded="no">
- <autodoc>GetTitle() -> String</autodoc>
- </method>
- <method name="SetShape" type="bool" overloaded="no">
- <autodoc>SetShape(Region region) -> bool</autodoc>
- <paramlist>
- <param name="region" type="r.q(const).wxRegion" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="PyWindow" oldname="wxPyWindow" module="_windows">
+ <baseclass name="Window"/>
+ <constructor name="PyWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePyWindow" overloaded="no">
+ <autodoc>PrePyWindow() -> PyWindow</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBestSize" type="" overloaded="no">
+ <autodoc>SetBestSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoMoveWindow" type="" overloaded="no">
+ <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetSize" type="" overloaded="no">
+ <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetClientSize" type="" overloaded="no">
+ <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetVirtualSize" type="" overloaded="no">
+ <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetSize" type="" overloaded="no">
+ <autodoc>base_DoGetSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetClientSize" type="" overloaded="no">
+ <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetPosition" type="" overloaded="no">
+ <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_DoGetBestSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetBestSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_InitDialog" type="" overloaded="no">
+ <autodoc>base_InitDialog(self)</autodoc>
+ </method>
+ <method name="base_TransferDataToWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataToWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_Validate" type="bool" overloaded="no">
+ <autodoc>base_Validate(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocus" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocus(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc>
+ </method>
+ <method name="base_GetMaxSize" type="Size" overloaded="no">
+ <autodoc>base_GetMaxSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_AddChild" type="" overloaded="no">
+ <autodoc>base_AddChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_RemoveChild" type="" overloaded="no">
+ <autodoc>base_RemoveChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+ <autodoc>base_ShouldInheritColours(self) -> bool</autodoc>
+ </method>
+ <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+ <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc>
+ </method>
+ </class>
+ <class name="PyPanel" oldname="wxPyPanel" module="_windows">
+ <baseclass name="Panel"/>
+ <constructor name="PyPanel" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePyPanel" overloaded="no">
+ <autodoc>PrePyPanel() -> PyPanel</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBestSize" type="" overloaded="no">
+ <autodoc>SetBestSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoMoveWindow" type="" overloaded="no">
+ <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetSize" type="" overloaded="no">
+ <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetClientSize" type="" overloaded="no">
+ <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetVirtualSize" type="" overloaded="no">
+ <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetSize" type="" overloaded="no">
+ <autodoc>base_DoGetSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetClientSize" type="" overloaded="no">
+ <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetPosition" type="" overloaded="no">
+ <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_DoGetBestSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetBestSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_InitDialog" type="" overloaded="no">
+ <autodoc>base_InitDialog(self)</autodoc>
+ </method>
+ <method name="base_TransferDataToWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataToWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_Validate" type="bool" overloaded="no">
+ <autodoc>base_Validate(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocus" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocus(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc>
+ </method>
+ <method name="base_GetMaxSize" type="Size" overloaded="no">
+ <autodoc>base_GetMaxSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_AddChild" type="" overloaded="no">
+ <autodoc>base_AddChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_RemoveChild" type="" overloaded="no">
+ <autodoc>base_RemoveChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+ <autodoc>base_ShouldInheritColours(self) -> bool</autodoc>
+ </method>
+ <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+ <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc>
+ </method>
+ </class>
+ <class name="PyScrolledWindow" oldname="wxPyScrolledWindow" module="_windows">
+ <baseclass name="ScrolledWindow"/>
+ <constructor name="PyScrolledWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePyScrolledWindow" overloaded="no">
+ <autodoc>PrePyScrolledWindow() -> PyScrolledWindow</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBestSize" type="" overloaded="no">
+ <autodoc>SetBestSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoMoveWindow" type="" overloaded="no">
+ <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetSize" type="" overloaded="no">
+ <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetClientSize" type="" overloaded="no">
+ <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetVirtualSize" type="" overloaded="no">
+ <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetSize" type="" overloaded="no">
+ <autodoc>base_DoGetSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetClientSize" type="" overloaded="no">
+ <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetPosition" type="" overloaded="no">
+ <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_DoGetBestSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetBestSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_InitDialog" type="" overloaded="no">
+ <autodoc>base_InitDialog(self)</autodoc>
+ </method>
+ <method name="base_TransferDataToWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataToWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_Validate" type="bool" overloaded="no">
+ <autodoc>base_Validate(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocus" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocus(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc>
+ </method>
+ <method name="base_GetMaxSize" type="Size" overloaded="no">
+ <autodoc>base_GetMaxSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_AddChild" type="" overloaded="no">
+ <autodoc>base_AddChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_RemoveChild" type="" overloaded="no">
+ <autodoc>base_RemoveChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+ <autodoc>base_ShouldInheritColours(self) -> bool</autodoc>
+ </method>
+ <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+ <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Frame" oldname="wxFrame" module="windows">
- <baseclass name="wxTopLevelWindow"/>
- <constructor name="Frame" overloaded="no">
- <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
- String name=FrameNameStr) -> Frame</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreFrame" overloaded="no">
- <autodoc>PreFrame() -> Frame</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
- String name=FrameNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </method>
- <method name="GetClientAreaOrigin" type="wxPoint" overloaded="no">
- <autodoc>GetClientAreaOrigin() -> Point</autodoc>
- </method>
- <method name="SendSizeEvent" type="void" overloaded="no">
- <autodoc>SendSizeEvent()</autodoc>
- </method>
- <method name="SetMenuBar" type="void" overloaded="no">
- <autodoc>SetMenuBar(MenuBar menubar)</autodoc>
- <paramlist>
- <param name="menubar" type="p.wxMenuBar" default=""/>
- </paramlist>
- </method>
- <method name="GetMenuBar" type="wxMenuBar" overloaded="no">
- <autodoc>GetMenuBar() -> MenuBar</autodoc>
- </method>
- <method name="ProcessCommand" type="bool" overloaded="no">
- <autodoc>ProcessCommand(int winid) -> bool</autodoc>
- <paramlist>
- <param name="winid" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CreateStatusBar" type="wxStatusBar" overloaded="no">
- <autodoc>CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
- String name=StatusLineNameStr) -> StatusBar</autodoc>
- <paramlist>
- <param name="number" type="int" default="1"/>
- <param name="style" type="long" default="wxST_SIZEGRIP"/>
- <param name="winid" type="int" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStatusLineNameStr"/>
- </paramlist>
- </method>
- <method name="GetStatusBar" type="wxStatusBar" overloaded="no">
- <autodoc>GetStatusBar() -> StatusBar</autodoc>
- </method>
- <method name="SetStatusBar" type="void" overloaded="no">
- <autodoc>SetStatusBar(StatusBar statBar)</autodoc>
- <paramlist>
- <param name="statBar" type="p.wxStatusBar" default=""/>
- </paramlist>
- </method>
- <method name="SetStatusText" type="void" overloaded="no">
- <autodoc>SetStatusText(String text, int number=0)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="number" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetStatusWidths" type="void" overloaded="no">
- <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc>
- <paramlist>
- <param name="widths" type="int" default=""/>
- <param name="widths_field" type="p.q(const).int" default=""/>
- </paramlist>
- </method>
- <method name="PushStatusText" type="void" overloaded="no">
- <autodoc>PushStatusText(String text, int number=0)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="number" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="PopStatusText" type="void" overloaded="no">
- <autodoc>PopStatusText(int number=0)</autodoc>
- <paramlist>
- <param name="number" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetStatusBarPane" type="void" overloaded="no">
- <autodoc>SetStatusBarPane(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetStatusBarPane" type="int" overloaded="no">
- <autodoc>GetStatusBarPane() -> int</autodoc>
- </method>
- <method name="CreateToolBar" type="wxToolBar" overloaded="no">
- <autodoc>CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar</autodoc>
- <paramlist>
- <param name="style" type="long" default="-1"/>
- <param name="winid" type="int" default="-1"/>
- <param name="name" type="r.q(const).wxString" default="wxPyToolBarNameStr"/>
- </paramlist>
- </method>
- <method name="GetToolBar" type="wxToolBar" overloaded="no">
- <autodoc>GetToolBar() -> wxToolBar</autodoc>
- </method>
- <method name="SetToolBar" type="void" overloaded="no">
- <autodoc>SetToolBar(wxToolBar toolbar)</autodoc>
- <paramlist>
- <param name="toolbar" type="p.wxToolBar" default=""/>
- </paramlist>
- </method>
- <method name="DoGiveHelp" type="void" overloaded="no">
- <autodoc>DoGiveHelp(String text, bool show)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="DoMenuUpdates" type="void" overloaded="no">
- <autodoc>DoMenuUpdates(Menu menu=None)</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default="NULL"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="PrintData" oldname="wxPrintData" module="_windows">
+ <baseclass name="Object"/>
+ <constructor name="PrintData" overloaded="yes"/>
+ <constructor name="PrintData" overloaded="yes">
+ <autodoc>__init__(self) -> PrintData
+__init__(self, PrintData data) -> PrintData</autodoc>
+ <paramlist>
+ <param name="data" type="PrintData" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPrintData" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetNoCopies" type="int" overloaded="no">
+ <autodoc>GetNoCopies(self) -> int</autodoc>
+ </method>
+ <method name="GetCollate" type="bool" overloaded="no">
+ <autodoc>GetCollate(self) -> bool</autodoc>
+ </method>
+ <method name="GetOrientation" type="int" overloaded="no">
+ <autodoc>GetOrientation(self) -> int</autodoc>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="GetPrinterName" type="String" overloaded="no">
+ <autodoc>GetPrinterName(self) -> String</autodoc>
+ </method>
+ <method name="GetColour" type="bool" overloaded="no">
+ <autodoc>GetColour(self) -> bool</autodoc>
+ </method>
+ <method name="GetDuplex" type="wxDuplexMode" overloaded="no">
+ <autodoc>GetDuplex(self) -> int</autodoc>
+ </method>
+ <method name="GetPaperId" type="wxPaperSize" overloaded="no">
+ <autodoc>GetPaperId(self) -> int</autodoc>
+ </method>
+ <method name="GetPaperSize" type="Size" overloaded="no">
+ <autodoc>GetPaperSize(self) -> Size</autodoc>
+ </method>
+ <method name="GetQuality" type="int" overloaded="no">
+ <autodoc>GetQuality(self) -> int</autodoc>
+ </method>
+ <method name="SetNoCopies" type="" overloaded="no">
+ <autodoc>SetNoCopies(self, int v)</autodoc>
+ <paramlist>
+ <param name="v" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCollate" type="" overloaded="no">
+ <autodoc>SetCollate(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOrientation" type="" overloaded="no">
+ <autodoc>SetOrientation(self, int orient)</autodoc>
+ <paramlist>
+ <param name="orient" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterName" type="" overloaded="no">
+ <autodoc>SetPrinterName(self, String name)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, bool colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDuplex" type="" overloaded="no">
+ <autodoc>SetDuplex(self, int duplex)</autodoc>
+ <paramlist>
+ <param name="duplex" type="wxDuplexMode" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPaperId" type="" overloaded="no">
+ <autodoc>SetPaperId(self, int sizeId)</autodoc>
+ <paramlist>
+ <param name="sizeId" type="wxPaperSize" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPaperSize" type="" overloaded="no">
+ <autodoc>SetPaperSize(self, Size sz)</autodoc>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetQuality" type="" overloaded="no">
+ <autodoc>SetQuality(self, int quality)</autodoc>
+ <paramlist>
+ <param name="quality" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrinterCommand" type="String" overloaded="no">
+ <autodoc>GetPrinterCommand(self) -> String</autodoc>
+ </method>
+ <method name="GetPrinterOptions" type="String" overloaded="no">
+ <autodoc>GetPrinterOptions(self) -> String</autodoc>
+ </method>
+ <method name="GetPreviewCommand" type="String" overloaded="no">
+ <autodoc>GetPreviewCommand(self) -> String</autodoc>
+ </method>
+ <method name="GetFilename" type="String" overloaded="no">
+ <autodoc>GetFilename(self) -> String</autodoc>
+ </method>
+ <method name="GetFontMetricPath" type="String" overloaded="no">
+ <autodoc>GetFontMetricPath(self) -> String</autodoc>
+ </method>
+ <method name="GetPrinterScaleX" type="double" overloaded="no">
+ <autodoc>GetPrinterScaleX(self) -> double</autodoc>
+ </method>
+ <method name="GetPrinterScaleY" type="double" overloaded="no">
+ <autodoc>GetPrinterScaleY(self) -> double</autodoc>
+ </method>
+ <method name="GetPrinterTranslateX" type="long" overloaded="no">
+ <autodoc>GetPrinterTranslateX(self) -> long</autodoc>
+ </method>
+ <method name="GetPrinterTranslateY" type="long" overloaded="no">
+ <autodoc>GetPrinterTranslateY(self) -> long</autodoc>
+ </method>
+ <method name="GetPrintMode" type="wxPrintMode" overloaded="no">
+ <autodoc>GetPrintMode(self) -> int</autodoc>
+ </method>
+ <method name="SetPrinterCommand" type="" overloaded="no">
+ <autodoc>SetPrinterCommand(self, String command)</autodoc>
+ <paramlist>
+ <param name="command" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterOptions" type="" overloaded="no">
+ <autodoc>SetPrinterOptions(self, String options)</autodoc>
+ <paramlist>
+ <param name="options" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPreviewCommand" type="" overloaded="no">
+ <autodoc>SetPreviewCommand(self, String command)</autodoc>
+ <paramlist>
+ <param name="command" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFilename" type="" overloaded="no">
+ <autodoc>SetFilename(self, String filename)</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFontMetricPath" type="" overloaded="no">
+ <autodoc>SetFontMetricPath(self, String path)</autodoc>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterScaleX" type="" overloaded="no">
+ <autodoc>SetPrinterScaleX(self, double x)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterScaleY" type="" overloaded="no">
+ <autodoc>SetPrinterScaleY(self, double y)</autodoc>
+ <paramlist>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterScaling" type="" overloaded="no">
+ <autodoc>SetPrinterScaling(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterTranslateX" type="" overloaded="no">
+ <autodoc>SetPrinterTranslateX(self, long x)</autodoc>
+ <paramlist>
+ <param name="x" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterTranslateY" type="" overloaded="no">
+ <autodoc>SetPrinterTranslateY(self, long y)</autodoc>
+ <paramlist>
+ <param name="y" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrinterTranslation" type="" overloaded="no">
+ <autodoc>SetPrinterTranslation(self, long x, long y)</autodoc>
+ <paramlist>
+ <param name="x" type="long" default=""/>
+ <param name="y" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrintMode" type="" overloaded="no">
+ <autodoc>SetPrintMode(self, int printMode)</autodoc>
+ <paramlist>
+ <param name="printMode" type="wxPrintMode" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOutputStream" type="OutputStream" overloaded="no">
+ <autodoc>GetOutputStream(self) -> OutputStream</autodoc>
+ </method>
+ <method name="SetOutputStream" type="" overloaded="no">
+ <autodoc>SetOutputStream(self, OutputStream outputstream)</autodoc>
+ <paramlist>
+ <param name="outputstream" type="OutputStream" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="_windows">
+ <baseclass name="Object"/>
+ <constructor name="PageSetupDialogData" overloaded="yes"/>
+ <constructor name="PageSetupDialogData" overloaded="yes">
+ <autodoc>__init__(self) -> PageSetupDialogData
+__init__(self, PageSetupDialogData data) -> PageSetupDialogData</autodoc>
+ <paramlist>
+ <param name="data" type="PageSetupDialogData" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPageSetupDialogData" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="EnableHelp" type="" overloaded="no">
+ <autodoc>EnableHelp(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableMargins" type="" overloaded="no">
+ <autodoc>EnableMargins(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableOrientation" type="" overloaded="no">
+ <autodoc>EnableOrientation(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnablePaper" type="" overloaded="no">
+ <autodoc>EnablePaper(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnablePrinter" type="" overloaded="no">
+ <autodoc>EnablePrinter(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultMinMargins" type="bool" overloaded="no">
+ <autodoc>GetDefaultMinMargins(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnableMargins" type="bool" overloaded="no">
+ <autodoc>GetEnableMargins(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnableOrientation" type="bool" overloaded="no">
+ <autodoc>GetEnableOrientation(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnablePaper" type="bool" overloaded="no">
+ <autodoc>GetEnablePaper(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnablePrinter" type="bool" overloaded="no">
+ <autodoc>GetEnablePrinter(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnableHelp" type="bool" overloaded="no">
+ <autodoc>GetEnableHelp(self) -> bool</autodoc>
+ </method>
+ <method name="GetDefaultInfo" type="bool" overloaded="no">
+ <autodoc>GetDefaultInfo(self) -> bool</autodoc>
+ </method>
+ <method name="GetMarginTopLeft" type="Point" overloaded="no">
+ <autodoc>GetMarginTopLeft(self) -> Point</autodoc>
+ </method>
+ <method name="GetMarginBottomRight" type="Point" overloaded="no">
+ <autodoc>GetMarginBottomRight(self) -> Point</autodoc>
+ </method>
+ <method name="GetMinMarginTopLeft" type="Point" overloaded="no">
+ <autodoc>GetMinMarginTopLeft(self) -> Point</autodoc>
+ </method>
+ <method name="GetMinMarginBottomRight" type="Point" overloaded="no">
+ <autodoc>GetMinMarginBottomRight(self) -> Point</autodoc>
+ </method>
+ <method name="GetPaperId" type="wxPaperSize" overloaded="no">
+ <autodoc>GetPaperId(self) -> int</autodoc>
+ </method>
+ <method name="GetPaperSize" type="Size" overloaded="no">
+ <autodoc>GetPaperSize(self) -> Size</autodoc>
+ </method>
+ <method name="GetPrintData" type="PrintData" overloaded="no">
+ <autodoc>GetPrintData(self) -> PrintData</autodoc>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="SetDefaultInfo" type="" overloaded="no">
+ <autodoc>SetDefaultInfo(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultMinMargins" type="" overloaded="no">
+ <autodoc>SetDefaultMinMargins(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginTopLeft" type="" overloaded="no">
+ <autodoc>SetMarginTopLeft(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginBottomRight" type="" overloaded="no">
+ <autodoc>SetMarginBottomRight(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinMarginTopLeft" type="" overloaded="no">
+ <autodoc>SetMinMarginTopLeft(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinMarginBottomRight" type="" overloaded="no">
+ <autodoc>SetMinMarginBottomRight(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPaperId" type="" overloaded="no">
+ <autodoc>SetPaperId(self, int id)</autodoc>
+ <paramlist>
+ <param name="id" type="wxPaperSize" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPaperSize" type="" overloaded="no">
+ <autodoc>SetPaperSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrintData" type="" overloaded="no">
+ <autodoc>SetPrintData(self, PrintData printData)</autodoc>
+ <paramlist>
+ <param name="printData" type="PrintData" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="_windows">
+ <baseclass name="Dialog"/>
+ <constructor name="PageSetupDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="data" type="PageSetupDialogData" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
+ <autodoc>GetPageSetupData(self) -> PageSetupDialogData</autodoc>
+ </method>
+ <method name="ShowModal" type="int" overloaded="no">
+ <autodoc>ShowModal(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="PrintDialogData" oldname="wxPrintDialogData" module="_windows">
+ <baseclass name="Object"/>
+ <constructor name="PrintDialogData" overloaded="yes"/>
+ <constructor name="PrintDialogData" overloaded="yes">
+ <autodoc>__init__(self) -> PrintDialogData
+__init__(self, PrintData printData) -> PrintDialogData</autodoc>
+ <paramlist>
+ <param name="printData" type="PrintData" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPrintDialogData" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetFromPage" type="int" overloaded="no">
+ <autodoc>GetFromPage(self) -> int</autodoc>
+ </method>
+ <method name="GetToPage" type="int" overloaded="no">
+ <autodoc>GetToPage(self) -> int</autodoc>
+ </method>
+ <method name="GetMinPage" type="int" overloaded="no">
+ <autodoc>GetMinPage(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxPage" type="int" overloaded="no">
+ <autodoc>GetMaxPage(self) -> int</autodoc>
+ </method>
+ <method name="GetNoCopies" type="int" overloaded="no">
+ <autodoc>GetNoCopies(self) -> int</autodoc>
+ </method>
+ <method name="GetAllPages" type="bool" overloaded="no">
+ <autodoc>GetAllPages(self) -> bool</autodoc>
+ </method>
+ <method name="GetSelection" type="bool" overloaded="no">
+ <autodoc>GetSelection(self) -> bool</autodoc>
+ </method>
+ <method name="GetCollate" type="bool" overloaded="no">
+ <autodoc>GetCollate(self) -> bool</autodoc>
+ </method>
+ <method name="GetPrintToFile" type="bool" overloaded="no">
+ <autodoc>GetPrintToFile(self) -> bool</autodoc>
+ </method>
+ <method name="GetSetupDialog" type="bool" overloaded="no">
+ <autodoc>GetSetupDialog(self) -> bool</autodoc>
+ </method>
+ <method name="SetFromPage" type="" overloaded="no">
+ <autodoc>SetFromPage(self, int v)</autodoc>
+ <paramlist>
+ <param name="v" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToPage" type="" overloaded="no">
+ <autodoc>SetToPage(self, int v)</autodoc>
+ <paramlist>
+ <param name="v" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinPage" type="" overloaded="no">
+ <autodoc>SetMinPage(self, int v)</autodoc>
+ <paramlist>
+ <param name="v" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMaxPage" type="" overloaded="no">
+ <autodoc>SetMaxPage(self, int v)</autodoc>
+ <paramlist>
+ <param name="v" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNoCopies" type="" overloaded="no">
+ <autodoc>SetNoCopies(self, int v)</autodoc>
+ <paramlist>
+ <param name="v" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAllPages" type="" overloaded="no">
+ <autodoc>SetAllPages(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCollate" type="" overloaded="no">
+ <autodoc>SetCollate(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrintToFile" type="" overloaded="no">
+ <autodoc>SetPrintToFile(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSetupDialog" type="" overloaded="no">
+ <autodoc>SetSetupDialog(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnablePrintToFile" type="" overloaded="no">
+ <autodoc>EnablePrintToFile(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableSelection" type="" overloaded="no">
+ <autodoc>EnableSelection(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnablePageNumbers" type="" overloaded="no">
+ <autodoc>EnablePageNumbers(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableHelp" type="" overloaded="no">
+ <autodoc>EnableHelp(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEnablePrintToFile" type="bool" overloaded="no">
+ <autodoc>GetEnablePrintToFile(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnableSelection" type="bool" overloaded="no">
+ <autodoc>GetEnableSelection(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnablePageNumbers" type="bool" overloaded="no">
+ <autodoc>GetEnablePageNumbers(self) -> bool</autodoc>
+ </method>
+ <method name="GetEnableHelp" type="bool" overloaded="no">
+ <autodoc>GetEnableHelp(self) -> bool</autodoc>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="GetPrintData" type="PrintData" overloaded="no">
+ <autodoc>GetPrintData(self) -> PrintData</autodoc>
+ </method>
+ <method name="SetPrintData" type="" overloaded="no">
+ <autodoc>SetPrintData(self, PrintData printData)</autodoc>
+ <paramlist>
+ <param name="printData" type="PrintData" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PrintDialog" oldname="wxPrintDialog" module="_windows">
+ <baseclass name="Dialog"/>
+ <constructor name="PrintDialog" overloaded="no">
+ <autodoc>__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="data" type="PrintDialogData" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
+ <autodoc>GetPrintDialogData(self) -> PrintDialogData</autodoc>
+ </method>
+ <method name="GetPrintDC" type="DC" overloaded="no">
+ <autodoc>GetPrintDC(self) -> DC</autodoc>
+ </method>
+ <method name="ShowModal" type="int" overloaded="no">
+ <autodoc>ShowModal(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="Printer" oldname="wxPrinter" module="_windows">
+ <baseclass name="Object"/>
+ <constructor name="Printer" overloaded="no">
+ <autodoc>__init__(self, PrintDialogData data=None) -> Printer</autodoc>
+ <paramlist>
+ <param name="data" type="PrintDialogData" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPrinter" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="CreateAbortWindow" type="" overloaded="no">
+ <autodoc>CreateAbortWindow(self, Window parent, Printout printout)</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="printout" type="wxPyPrintout" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
+ <autodoc>GetPrintDialogData(self) -> PrintDialogData</autodoc>
+ </method>
+ <method name="Print" type="bool" overloaded="no">
+ <autodoc>Print(self, Window parent, Printout printout, int prompt=True) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="printout" type="wxPyPrintout" default=""/>
+ <param name="prompt" type="int" default="True"/>
+ </paramlist>
+ </method>
+ <method name="PrintDialog" type="DC" overloaded="no">
+ <autodoc>PrintDialog(self, Window parent) -> DC</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="ReportError" type="" overloaded="no">
+ <autodoc>ReportError(self, Window parent, Printout printout, String message)</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="printout" type="wxPyPrintout" default=""/>
+ <param name="message" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Setup" type="bool" overloaded="no">
+ <autodoc>Setup(self, Window parent) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAbort" type="bool" overloaded="no">
+ <autodoc>GetAbort(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no">
+ <autodoc>GetLastError() -> int</autodoc>
+ </staticmethod>
+ </class>
+ <class name="Printout" oldname="wxPyPrintout" module="_windows">
+ <baseclass name="Object"/>
+ <constructor name="wxPyPrintout" overloaded="no">
+ <autodoc>__init__(self, String title=PrintoutTitleStr) -> Printout</autodoc>
+ <paramlist>
+ <param name="title" type="String" default="wxPyPrintoutTitleStr"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTitle" type="String" overloaded="no">
+ <autodoc>GetTitle(self) -> String</autodoc>
+ </method>
+ <method name="GetDC" type="DC" overloaded="no">
+ <autodoc>GetDC(self) -> DC</autodoc>
+ </method>
+ <method name="SetDC" type="" overloaded="no">
+ <autodoc>SetDC(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPageSizePixels" type="" overloaded="no">
+ <autodoc>SetPageSizePixels(self, int w, int h)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPageSizePixels" type="" overloaded="no">
+ <autodoc>GetPageSizePixels() -> (w, h)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPageSizeMM" type="" overloaded="no">
+ <autodoc>SetPageSizeMM(self, int w, int h)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ <param name="h" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPageSizeMM" type="" overloaded="no">
+ <autodoc>GetPageSizeMM() -> (w, h)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPPIScreen" type="" overloaded="no">
+ <autodoc>SetPPIScreen(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPPIScreen" type="" overloaded="no">
+ <autodoc>GetPPIScreen() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPPIPrinter" type="" overloaded="no">
+ <autodoc>SetPPIPrinter(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPPIPrinter" type="" overloaded="no">
+ <autodoc>GetPPIPrinter() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsPreview" type="bool" overloaded="no">
+ <autodoc>IsPreview(self) -> bool</autodoc>
+ </method>
+ <method name="SetIsPreview" type="" overloaded="no">
+ <autodoc>SetIsPreview(self, bool p)</autodoc>
+ <paramlist>
+ <param name="p" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDocument" type="bool" overloaded="no">
+ <autodoc>base_OnBeginDocument(self, int startPage, int endPage) -> bool</autodoc>
+ <paramlist>
+ <param name="startPage" type="int" default=""/>
+ <param name="endPage" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDocument" type="" overloaded="no">
+ <autodoc>base_OnEndDocument(self)</autodoc>
+ </method>
+ <method name="base_OnBeginPrinting" type="" overloaded="no">
+ <autodoc>base_OnBeginPrinting(self)</autodoc>
+ </method>
+ <method name="base_OnEndPrinting" type="" overloaded="no">
+ <autodoc>base_OnEndPrinting(self)</autodoc>
+ </method>
+ <method name="base_OnPreparePrinting" type="" overloaded="no">
+ <autodoc>base_OnPreparePrinting(self)</autodoc>
+ </method>
+ <method name="base_HasPage" type="bool" overloaded="no">
+ <autodoc>base_HasPage(self, int page) -> bool</autodoc>
+ <paramlist>
+ <param name="page" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_GetPageInfo" type="" overloaded="no">
+ <autodoc>base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="_windows">
+ <baseclass name="ScrolledWindow"/>
+ <constructor name="PreviewCanvas" overloaded="no">
+ <autodoc>__init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0,
+ String name=PreviewCanvasNameStr) -> PreviewCanvas</autodoc>
+ <paramlist>
+ <param name="preview" type="wxPrintPreview" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPreviewCanvasNameStr"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="PreviewFrame" oldname="wxPreviewFrame" module="_windows">
+ <baseclass name="Frame"/>
+ <constructor name="PreviewFrame" overloaded="no">
+ <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
+ Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame</autodoc>
+ <paramlist>
+ <param name="preview" type="wxPrintPreview" default=""/>
+ <param name="parent" type="Frame" default=""/>
+ <param name="title" type="String" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </constructor>
+ <method name="Initialize" type="" overloaded="no">
+ <autodoc>Initialize(self)</autodoc>
+ </method>
+ <method name="CreateControlBar" type="" overloaded="no">
+ <autodoc>CreateControlBar(self)</autodoc>
+ </method>
+ <method name="CreateCanvas" type="" overloaded="no">
+ <autodoc>CreateCanvas(self)</autodoc>
+ </method>
+ <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no">
+ <autodoc>GetControlBar(self) -> PreviewControlBar</autodoc>
+ </method>
+ </class>
+ <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="_windows">
+ <baseclass name="Panel"/>
+ <constructor name="PreviewControlBar" overloaded="no">
+ <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar</autodoc>
+ <paramlist>
+ <param name="preview" type="wxPrintPreview" default=""/>
+ <param name="buttons" type="long" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTAB_TRAVERSAL"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <method name="GetZoomControl" type="int" overloaded="no">
+ <autodoc>GetZoomControl(self) -> int</autodoc>
+ </method>
+ <method name="SetZoomControl" type="" overloaded="no">
+ <autodoc>SetZoomControl(self, int zoom)</autodoc>
+ <paramlist>
+ <param name="zoom" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no">
+ <autodoc>GetPrintPreview(self) -> PrintPreview</autodoc>
+ </method>
+ <method name="OnNext" type="" overloaded="no">
+ <autodoc>OnNext(self)</autodoc>
+ </method>
+ <method name="OnPrevious" type="" overloaded="no">
+ <autodoc>OnPrevious(self)</autodoc>
+ </method>
+ <method name="OnFirst" type="" overloaded="no">
+ <autodoc>OnFirst(self)</autodoc>
+ </method>
+ <method name="OnLast" type="" overloaded="no">
+ <autodoc>OnLast(self)</autodoc>
+ </method>
+ <method name="OnGoto" type="" overloaded="no">
+ <autodoc>OnGoto(self)</autodoc>
+ </method>
+ </class>
+ <class name="PrintPreview" oldname="wxPrintPreview" module="_windows">
+ <baseclass name="Object"/>
+ <constructor name="PrintPreview" overloaded="yes">
+ <paramlist>
+ <param name="printout" type="Printout" default=""/>
+ <param name="printoutForPrinting" type="Printout" default=""/>
+ <param name="data" type="PrintDialogData" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrintPreview" overloaded="yes">
+ <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
+__init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview</autodoc>
+ <paramlist>
+ <param name="printout" type="Printout" default=""/>
+ <param name="printoutForPrinting" type="Printout" default=""/>
+ <param name="data" type="PrintData" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="SetCurrentPage" type="bool" overloaded="no">
+ <autodoc>SetCurrentPage(self, int pageNum) -> bool</autodoc>
+ <paramlist>
+ <param name="pageNum" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCurrentPage" type="int" overloaded="no">
+ <autodoc>GetCurrentPage(self) -> int</autodoc>
+ </method>
+ <method name="SetPrintout" type="" overloaded="no">
+ <autodoc>SetPrintout(self, Printout printout)</autodoc>
+ <paramlist>
+ <param name="printout" type="Printout" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintout" type="Printout" overloaded="no">
+ <autodoc>GetPrintout(self) -> Printout</autodoc>
+ </method>
+ <method name="GetPrintoutForPrinting" type="Printout" overloaded="no">
+ <autodoc>GetPrintoutForPrinting(self) -> Printout</autodoc>
+ </method>
+ <method name="SetFrame" type="" overloaded="no">
+ <autodoc>SetFrame(self, Frame frame)</autodoc>
+ <paramlist>
+ <param name="frame" type="Frame" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCanvas" type="" overloaded="no">
+ <autodoc>SetCanvas(self, PreviewCanvas canvas)</autodoc>
+ <paramlist>
+ <param name="canvas" type="PreviewCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFrame" type="Frame" overloaded="no">
+ <autodoc>GetFrame(self) -> Frame</autodoc>
+ </method>
+ <method name="GetCanvas" type="PreviewCanvas" overloaded="no">
+ <autodoc>GetCanvas(self) -> PreviewCanvas</autodoc>
+ </method>
+ <method name="PaintPage" type="bool" overloaded="no">
+ <autodoc>PaintPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc>
+ <paramlist>
+ <param name="canvas" type="PreviewCanvas" default=""/>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawBlankPage" type="bool" overloaded="no">
+ <autodoc>DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc>
+ <paramlist>
+ <param name="canvas" type="PreviewCanvas" default=""/>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="RenderPage" type="bool" overloaded="no">
+ <autodoc>RenderPage(self, int pageNum) -> bool</autodoc>
+ <paramlist>
+ <param name="pageNum" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdjustScrollbars" type="" overloaded="no">
+ <autodoc>AdjustScrollbars(self, PreviewCanvas canvas)</autodoc>
+ <paramlist>
+ <param name="canvas" type="PreviewCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
+ <autodoc>GetPrintDialogData(self) -> PrintDialogData</autodoc>
+ </method>
+ <method name="SetZoom" type="" overloaded="no">
+ <autodoc>SetZoom(self, int percent)</autodoc>
+ <paramlist>
+ <param name="percent" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetZoom" type="int" overloaded="no">
+ <autodoc>GetZoom(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxPage" type="int" overloaded="no">
+ <autodoc>GetMaxPage(self) -> int</autodoc>
+ </method>
+ <method name="GetMinPage" type="int" overloaded="no">
+ <autodoc>GetMinPage(self) -> int</autodoc>
+ </method>
+ <method name="Ok" type="bool" overloaded="no">
+ <autodoc>Ok(self) -> bool</autodoc>
+ </method>
+ <method name="SetOk" type="" overloaded="no">
+ <autodoc>SetOk(self, bool ok)</autodoc>
+ <paramlist>
+ <param name="ok" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Print" type="bool" overloaded="no">
+ <autodoc>Print(self, bool interactive) -> bool</autodoc>
+ <paramlist>
+ <param name="interactive" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="DetermineScaling" type="" overloaded="no">
+ <autodoc>DetermineScaling(self)</autodoc>
+ </method>
+ </class>
+ <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="_windows">
+ <baseclass name="PrintPreview"/>
+ <constructor name="PyPrintPreview" overloaded="yes">
+ <paramlist>
+ <param name="printout" type="Printout" default=""/>
+ <param name="printoutForPrinting" type="Printout" default=""/>
+ <param name="data" type="PrintDialogData" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PyPrintPreview" overloaded="yes">
+ <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
+__init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview</autodoc>
+ <paramlist>
+ <param name="printout" type="Printout" default=""/>
+ <param name="printoutForPrinting" type="Printout" default=""/>
+ <param name="data" type="PrintData" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetCurrentPage" type="bool" overloaded="no">
+ <autodoc>base_SetCurrentPage(self, int pageNum) -> bool</autodoc>
+ <paramlist>
+ <param name="pageNum" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_PaintPage" type="bool" overloaded="no">
+ <autodoc>base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc>
+ <paramlist>
+ <param name="canvas" type="PreviewCanvas" default=""/>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DrawBlankPage" type="bool" overloaded="no">
+ <autodoc>base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool</autodoc>
+ <paramlist>
+ <param name="canvas" type="PreviewCanvas" default=""/>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_RenderPage" type="bool" overloaded="no">
+ <autodoc>base_RenderPage(self, int pageNum) -> bool</autodoc>
+ <paramlist>
+ <param name="pageNum" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetZoom" type="" overloaded="no">
+ <autodoc>base_SetZoom(self, int percent)</autodoc>
+ <paramlist>
+ <param name="percent" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_Print" type="bool" overloaded="no">
+ <autodoc>base_Print(self, bool interactive) -> bool</autodoc>
+ <paramlist>
+ <param name="interactive" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DetermineScaling" type="" overloaded="no">
+ <autodoc>base_DetermineScaling(self)</autodoc>
+ </method>
+ </class>
+ <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="_windows">
+ <baseclass name="PreviewFrame"/>
+ <constructor name="PyPreviewFrame" overloaded="no">
+ <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
+ Size size=DefaultSize,
+ long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame</autodoc>
+ <paramlist>
+ <param name="preview" type="PrintPreview" default=""/>
+ <param name="parent" type="Frame" default=""/>
+ <param name="title" type="String" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
+ <param name="name" type="String" default="wxPyFrameNameStr"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPreviewCanvas" type="" overloaded="no">
+ <autodoc>SetPreviewCanvas(self, PreviewCanvas canvas)</autodoc>
+ <paramlist>
+ <param name="canvas" type="PreviewCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetControlBar" type="" overloaded="no">
+ <autodoc>SetControlBar(self, PreviewControlBar bar)</autodoc>
+ <paramlist>
+ <param name="bar" type="PreviewControlBar" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_Initialize" type="" overloaded="no">
+ <autodoc>base_Initialize(self)</autodoc>
+ </method>
+ <method name="base_CreateCanvas" type="" overloaded="no">
+ <autodoc>base_CreateCanvas(self)</autodoc>
+ </method>
+ <method name="base_CreateControlBar" type="" overloaded="no">
+ <autodoc>base_CreateControlBar(self)</autodoc>
+ </method>
+ </class>
+ <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="_windows">
+ <baseclass name="PreviewControlBar"/>
+ <constructor name="PyPreviewControlBar" overloaded="no">
+ <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=PanelNameStr) -> PyPreviewControlBar</autodoc>
+ <paramlist>
+ <param name="preview" type="PrintPreview" default=""/>
+ <param name="buttons" type="long" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrintPreview" type="" overloaded="no">
+ <autodoc>SetPrintPreview(self, PrintPreview preview)</autodoc>
+ <paramlist>
+ <param name="preview" type="PrintPreview" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_CreateButtons" type="" overloaded="no">
+ <autodoc>base_CreateButtons(self)</autodoc>
+ </method>
+ <method name="base_SetZoomControl" type="" overloaded="no">
+ <autodoc>base_SetZoomControl(self, int zoom)</autodoc>
+ <paramlist>
+ <param name="zoom" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ </module>
+ <module name="_controls">
+ <import name="_core"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="Dialog" oldname="wxDialog" module="windows">
- <baseclass name="wxTopLevelWindow"/>
- <constructor name="Dialog" overloaded="no">
- <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
- String name=DialogNameStr) -> Dialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyDialogNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreDialog" overloaded="no">
- <autodoc>PreDialog() -> Dialog</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
- String name=DialogNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyDialogNameStr"/>
- </paramlist>
- </method>
- <method name="SetReturnCode" type="void" overloaded="no">
- <autodoc>SetReturnCode(int returnCode)</autodoc>
- <paramlist>
- <param name="returnCode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetReturnCode" type="int" overloaded="no">
- <autodoc>GetReturnCode() -> int</autodoc>
- </method>
- <method name="CreateTextSizer" type="wxSizer" overloaded="no">
- <autodoc>CreateTextSizer(String message) -> Sizer</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="CreateButtonSizer" type="wxSizer" overloaded="no">
- <autodoc>CreateButtonSizer(long flags) -> Sizer</autodoc>
- <paramlist>
- <param name="flags" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetModal" type="void" overloaded="no">
- <autodoc>SetModal(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsModal" type="bool" overloaded="no">
- <autodoc>IsModal() -> bool</autodoc>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- <method name="EndModal" type="void" overloaded="no">
- <autodoc>EndModal(int retCode)</autodoc>
- <paramlist>
- <param name="retCode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsModalShowing" type="bool" overloaded="no">
- <autodoc>IsModalShowing() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="Button" oldname="wxButton" module="_controls">
+ <docstring>A button is a control that contains a text string, and is one of the most
+common elements of a GUI. It may be placed on a dialog box or panel, or
+indeed almost any other window.
+
+Window Styles
+-------------
+ ============== ==========================================
+ wx.BU_LEFT Left-justifies the label. Windows and GTK+ only.
+ wx.BU_TOP Aligns the label to the top of the button.
+ Windows and GTK+ only.
+ wx.BU_RIGHT Right-justifies the bitmap label. Windows and GTK+ only.
+ wx.BU_BOTTOM Aligns the label to the bottom of the button.
+ Windows and GTK+ only.
+ wx.BU_EXACTFIT Creates the button as small as possible
+ instead of making it of the standard size
+ (which is the default behaviour.)
+ ============== ==========================================
+
+Events
+------
+ ============ ==========================================
+ EVT_BUTTON Sent when the button is clicked.
+ ============ ==========================================
+
+:see: `wx.BitmapButton`
+</docstring>
+ <baseclass name="Control"/>
+ <constructor name="Button" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ButtonNameStr) -> Button</autodoc>
+ <docstring>Create and show a button. The preferred way to create standard
+buttons is to use a standard ID and an empty label. In this case
+wxWigets will automatically use a stock label that coresponds to the
+ID given. In additon, the button will be decorated with stock icons
+under GTK+ 2.
+
+The stock IDs and coresponding labels are
+
+ ================== ====================
+ wx.ID_ADD 'Add'
+ wx.ID_APPLY '\\&Apply'
+ wx.ID_BOLD '\\&Bold'
+ wx.ID_CANCEL '\\&Cancel'
+ wx.ID_CLEAR '\\&Clear'
+ wx.ID_CLOSE '\\&Close'
+ wx.ID_COPY '\\&Copy'
+ wx.ID_CUT 'Cu\\&t'
+ wx.ID_DELETE '\\&Delete'
+ wx.ID_FIND '\\&Find'
+ wx.ID_REPLACE 'Find and rep\\&lace'
+ wx.ID_BACKWARD '\\&Back'
+ wx.ID_DOWN '\\&Down'
+ wx.ID_FORWARD '\\&Forward'
+ wx.ID_UP '\\&Up'
+ wx.ID_HELP '\\&Help'
+ wx.ID_HOME '\\&Home'
+ wx.ID_INDENT 'Indent'
+ wx.ID_INDEX '\\&Index'
+ wx.ID_ITALIC '\\&Italic'
+ wx.ID_JUSTIFY_CENTER 'Centered'
+ wx.ID_JUSTIFY_FILL 'Justified'
+ wx.ID_JUSTIFY_LEFT 'Align Left'
+ wx.ID_JUSTIFY_RIGHT 'Align Right'
+ wx.ID_NEW '\\&New'
+ wx.ID_NO '\\&No'
+ wx.ID_OK '\\&OK'
+ wx.ID_OPEN '\\&Open'
+ wx.ID_PASTE '\\&Paste'
+ wx.ID_PREFERENCES '\\&Preferences'
+ wx.ID_PRINT '\\&Print'
+ wx.ID_PREVIEW 'Print previe\\&w'
+ wx.ID_PROPERTIES '\\&Properties'
+ wx.ID_EXIT '\\&Quit'
+ wx.ID_REDO '\\&Redo'
+ wx.ID_REFRESH 'Refresh'
+ wx.ID_REMOVE 'Remove'
+ wx.ID_REVERT_TO_SAVED 'Revert to Saved'
+ wx.ID_SAVE '\\&Save'
+ wx.ID_SAVEAS 'Save \\&As...'
+ wx.ID_STOP '\\&Stop'
+ wx.ID_UNDELETE 'Undelete'
+ wx.ID_UNDERLINE '\\&Underline'
+ wx.ID_UNDO '\\&Undo'
+ wx.ID_UNINDENT '\\&Unindent'
+ wx.ID_YES '\\&Yes'
+ wx.ID_ZOOM_100 '\\&Actual Size'
+ wx.ID_ZOOM_FIT 'Zoom to \\&Fit'
+ wx.ID_ZOOM_IN 'Zoom \\&In'
+ wx.ID_ZOOM_OUT 'Zoom \\&Out'
+ ================== ====================
+</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyButtonNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreButton" overloaded="no">
+ <autodoc>PreButton() -> Button</autodoc>
+ <docstring>Precreate a Button for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ButtonNameStr) -> bool</autodoc>
+ <docstring>Acutally create the GUI Button for 2-phase creation.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyButtonNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetDefault" type="" overloaded="no">
+ <autodoc>SetDefault(self)</autodoc>
+ <docstring>This sets the button to be the default item for the panel or dialog box.</docstring>
+ </method>
+ <staticmethod name="GetDefaultSize" type="Size" overloaded="no">
+ <autodoc>GetDefaultSize() -> Size</autodoc>
+ <docstring>Returns the default button size for this platform.</docstring>
+ </staticmethod>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="BitmapButton" oldname="wxBitmapButton" module="_controls">
+ <docstring>A Button that contains a bitmap. A bitmap button can be supplied with a
+single bitmap, and wxWidgets will draw all button states using this bitmap. If
+the application needs more control, additional bitmaps for the selected state,
+unpressed focused state, and greyed-out state may be supplied.
+
+Window Styles
+-------------
+ ============== =============================================
+ wx.BU_AUTODRAW If this is specified, the button will be drawn
+ automatically using the label bitmap only,
+ providing a 3D-look border. If this style is
+ not specified, the button will be drawn
+ without borders and using all provided
+ bitmaps. WIN32 only.
+ wx.BU_LEFT Left-justifies the label. WIN32 only.
+ wx.BU_TOP Aligns the label to the top of the button. WIN32
+ only.
+ wx.BU_RIGHT Right-justifies the bitmap label. WIN32 only.
+ wx.BU_BOTTOM Aligns the label to the bottom of the
+ button. WIN32 only.
+ wx.BU_EXACTFIT Creates the button as small as possible
+ instead of making it of the standard size
+ (which is the default behaviour.)
+ ============== =============================================
+
+Events
+------
+ =========== ==================================
+ EVT_BUTTON Sent when the button is clicked.
+ =========== ==================================
+
+:see: `wx.Button`, `wx.Bitmap`
+</docstring>
+ <baseclass name="Button"/>
+ <constructor name="BitmapButton" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=BU_AUTODRAW, Validator validator=DefaultValidator,
+ String name=ButtonNameStr) -> BitmapButton</autodoc>
+ <docstring>Create and show a button with a bitmap for the label.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxBU_AUTODRAW"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyButtonNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreBitmapButton" overloaded="no">
+ <autodoc>PreBitmapButton() -> BitmapButton</autodoc>
+ <docstring>Precreate a BitmapButton for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=BU_AUTODRAW, Validator validator=DefaultValidator,
+ String name=ButtonNameStr) -> bool</autodoc>
+ <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxBU_AUTODRAW"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyButtonNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetBitmapLabel" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmapLabel(self) -> Bitmap</autodoc>
+ <docstring>Returns the label bitmap (the one passed to the constructor).</docstring>
+ </method>
+ <method name="GetBitmapDisabled" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmapDisabled(self) -> Bitmap</autodoc>
+ <docstring>Returns the bitmap for the disabled state.</docstring>
+ </method>
+ <method name="GetBitmapFocus" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmapFocus(self) -> Bitmap</autodoc>
+ <docstring>Returns the bitmap for the focused state.</docstring>
+ </method>
+ <method name="GetBitmapSelected" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmapSelected(self) -> Bitmap</autodoc>
+ <docstring>Returns the bitmap for the selected state.</docstring>
+ </method>
+ <method name="SetBitmapDisabled" type="" overloaded="no">
+ <autodoc>SetBitmapDisabled(self, Bitmap bitmap)</autodoc>
+ <docstring>Sets the bitmap for the disabled button appearance.</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBitmapFocus" type="" overloaded="no">
+ <autodoc>SetBitmapFocus(self, Bitmap bitmap)</autodoc>
+ <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBitmapSelected" type="" overloaded="no">
+ <autodoc>SetBitmapSelected(self, Bitmap bitmap)</autodoc>
+ <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBitmapLabel" type="" overloaded="no">
+ <autodoc>SetBitmapLabel(self, Bitmap bitmap)</autodoc>
+ <docstring>Sets the bitmap label for the button. This is the bitmap used for the
+unselected state, and for all other states if no other bitmaps are provided.</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMargins" type="" overloaded="no">
+ <autodoc>SetMargins(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMarginX" type="int" overloaded="no">
+ <autodoc>GetMarginX(self) -> int</autodoc>
+ </method>
+ <method name="GetMarginY" type="int" overloaded="no">
+ <autodoc>GetMarginY(self) -> int</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MiniFrame" oldname="wxMiniFrame" module="windows">
- <baseclass name="wxFrame"/>
- <constructor name="MiniFrame" overloaded="no">
- <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
- String name=FrameNameStr) -> MiniFrame</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreMiniFrame" overloaded="no">
- <autodoc>PreMiniFrame() -> MiniFrame</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
- String name=FrameNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="CheckBox" oldname="wxCheckBox" module="_controls">
+ <docstring>A checkbox is a labelled box which by default is either on (the
+checkmark is visible) or off (no checkmark). Optionally (When the
+wx.CHK_3STATE style flag is set) it can have a third state, called the
+mixed or undetermined state. Often this is used as a "Does Not
+Apply" state.
+
+Window Styles
+-------------
+ ================================= ===============================
+ wx.CHK_2STATE Create a 2-state checkbox.
+ This is the default.
+ wx.CHK_3STATE Create a 3-state checkbox.
+ wx.CHK_ALLOW_3RD_STATE_FOR_USER By default a user can't set a
+ 3-state checkbox to the
+ third state. It can only be
+ done from code. Using this
+ flags allows the user to set
+ the checkbox to the third
+ state by clicking.
+ wx.ALIGN_RIGHT Makes the
+ text appear on the left of
+ the checkbox.
+ ================================= ===============================
+
+Events
+------
+ =============================== ===============================
+ EVT_CHECKBOX Sent when checkbox is clicked.
+ =============================== ===============================
+</docstring>
+ <baseclass name="Control"/>
+ <constructor name="CheckBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=CheckBoxNameStr) -> CheckBox</autodoc>
+ <docstring>Creates and shows a CheckBox control</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyCheckBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreCheckBox" overloaded="no">
+ <autodoc>PreCheckBox() -> CheckBox</autodoc>
+ <docstring>Precreate a CheckBox for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=CheckBoxNameStr) -> bool</autodoc>
+ <docstring>Actually create the GUI CheckBox for 2-phase creation.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyCheckBoxNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="bool" overloaded="no">
+ <autodoc>GetValue(self) -> bool</autodoc>
+ <docstring>Gets the state of a 2-state CheckBox. Returns True if it is checked,
+False otherwise.</docstring>
+ </method>
+ <method name="IsChecked" type="bool" overloaded="no">
+ <autodoc>IsChecked(self) -> bool</autodoc>
+ <docstring>Similar to GetValue, but raises an exception if it is not a 2-state
+CheckBox.</docstring>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, bool state)</autodoc>
+ <docstring>Set the state of a 2-state CheckBox. Pass True for checked, False for
+unchecked.</docstring>
+ <paramlist>
+ <param name="state" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no">
+ <autodoc>Get3StateValue(self) -> int</autodoc>
+ <docstring>Returns wx.CHK_UNCHECKED when the CheckBox is unchecked,
+wx.CHK_CHECKED when it is checked and wx.CHK_UNDETERMINED when it's in
+the undetermined state. Raises an exceptiion when the function is
+used with a 2-state CheckBox.</docstring>
+ </method>
+ <method name="Set3StateValue" type="" overloaded="no">
+ <autodoc>Set3StateValue(self, int state)</autodoc>
+ <docstring>Sets the CheckBox to the given state. The state parameter can be one
+of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED (the
+Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an
+exception when the CheckBox is a 2-state checkbox and setting the
+state to wx.CHK_UNDETERMINED.</docstring>
+ <paramlist>
+ <param name="state" type="wxCheckBoxState" default=""/>
+ </paramlist>
+ </method>
+ <method name="Is3State" type="bool" overloaded="no">
+ <autodoc>Is3State(self) -> bool</autodoc>
+ <docstring>Returns whether or not the CheckBox is a 3-state CheckBox.</docstring>
+ </method>
+ <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no">
+ <autodoc>Is3rdStateAllowedForUser(self) -> bool</autodoc>
+ <docstring>Returns whether or not the user can set the CheckBox to the third
+state.</docstring>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="SplashScreenWindow" overloaded="no">
- <autodoc>__init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxNO_BORDER"/>
- </paramlist>
- </constructor>
- <method name="SetBitmap" type="void" overloaded="no">
- <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmap() -> Bitmap</autodoc>
- </method>
- </class>
- <class name="SplashScreen" oldname="wxSplashScreen" module="windows">
- <baseclass name="wxFrame"/>
- <constructor name="SplashScreen" overloaded="no">
- <autodoc>__init__(Bitmap bitmap, long splashStyle, int milliseconds,
- Window parent, int id, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="splashStyle" type="long" default=""/>
- <param name="milliseconds" type="int" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/>
- </paramlist>
- </constructor>
- <method name="GetSplashStyle" type="long" overloaded="no">
- <autodoc>GetSplashStyle() -> long</autodoc>
- </method>
- <method name="GetSplashWindow" type="wxSplashScreenWindow" overloaded="no">
- <autodoc>GetSplashWindow() -> SplashScreenWindow</autodoc>
- </method>
- <method name="GetTimeout" type="int" overloaded="no">
- <autodoc>GetTimeout() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="Choice" oldname="wxChoice" module="_controls">
+ <docstring>A Choice control is used to select one of a list of strings.
+Unlike a `wx.ListBox`, only the selection is visible until the
+user pulls down the menu of choices.
+
+Events
+------
+ ================ ==========================================
+ EVT_CHOICE Sent when an item in the list is selected.
+ ================ ==========================================
+</docstring>
+ <baseclass name="ControlWithItems"/>
+ <constructor name="Choice" overloaded="no">
+ <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ List choices=[], long style=0, Validator validator=DefaultValidator,
+ String name=ChoiceNameStr) -> Choice</autodoc>
+ <docstring>Create and show a Choice control</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyChoiceNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreChoice" overloaded="no">
+ <autodoc>PreChoice() -> Choice</autodoc>
+ <docstring>Precreate a Choice control for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ List choices=[], long style=0, Validator validator=DefaultValidator,
+ String name=ChoiceNameStr) -> bool</autodoc>
+ <docstring>Actually create the GUI Choice control for 2-phase creation</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyChoiceNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int n)</autodoc>
+ <docstring>Select the n'th item (zero based) in the list.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStringSelection" type="bool" overloaded="no">
+ <autodoc>SetStringSelection(self, String string) -> bool</autodoc>
+ <docstring>Select the item with the specifed string</docstring>
+ <paramlist>
+ <param name="string" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetString" type="" overloaded="no">
+ <autodoc>SetString(self, int n, String string)</autodoc>
+ <docstring>Set the label for the n'th item (zero based) in the list.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="string" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="StatusBar" oldname="wxStatusBar" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="StatusBar" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="style" type="long" default="wxST_SIZEGRIP"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStatusLineNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreStatusBar" overloaded="no">
- <autodoc>PreStatusBar() -> StatusBar</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="style" type="long" default="wxST_SIZEGRIP"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStatusLineNameStr"/>
- </paramlist>
- </method>
- <method name="SetFieldsCount" type="void" overloaded="no">
- <autodoc>SetFieldsCount(int number=1)</autodoc>
- <paramlist>
- <param name="number" type="int" default="1"/>
- </paramlist>
- </method>
- <method name="GetFieldsCount" type="int" overloaded="no">
- <autodoc>GetFieldsCount() -> int</autodoc>
- </method>
- <method name="SetStatusText" type="void" overloaded="no">
- <autodoc>SetStatusText(String text, int number=0)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="number" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetStatusText" type="wxString" overloaded="no">
- <autodoc>GetStatusText(int number=0) -> String</autodoc>
- <paramlist>
- <param name="number" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="PushStatusText" type="void" overloaded="no">
- <autodoc>PushStatusText(String text, int number=0)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="number" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="PopStatusText" type="void" overloaded="no">
- <autodoc>PopStatusText(int number=0)</autodoc>
- <paramlist>
- <param name="number" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetStatusWidths" type="void" overloaded="no">
- <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc>
- <paramlist>
- <param name="widths" type="int" default=""/>
- <param name="widths_field" type="p.q(const).int" default=""/>
- </paramlist>
- </method>
- <method name="GetFieldRect" type="wxRect" overloaded="no">
- <autodoc>GetFieldRect(int i) -> Rect</autodoc>
- <paramlist>
- <param name="i" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMinHeight" type="void" overloaded="no">
- <autodoc>SetMinHeight(int height)</autodoc>
- <paramlist>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBorderX" type="int" overloaded="no">
- <autodoc>GetBorderX() -> int</autodoc>
- </method>
- <method name="GetBorderY" type="int" overloaded="no">
- <autodoc>GetBorderY() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="ComboBox" oldname="wxComboBox" module="_controls">
+ <docstring>A combobox is like a combination of an edit control and a
+listbox. It can be displayed as static list with editable or
+read-only text field; or a drop-down list with text field.
+
+A combobox permits a single selection only. Combobox items are
+numbered from zero.
+
+Styles
+------
+ ================ ===============================================
+ wx.CB_SIMPLE Creates a combobox with a permanently
+ displayed list. Windows only.
+
+ wx.CB_DROPDOWN Creates a combobox with a drop-down list.
+
+ wx.CB_READONLY Same as wxCB_DROPDOWN but only the strings
+ specified as the combobox choices can be
+ selected, it is impossible to select
+ (even from a program) a string which is
+ not in the choices list.
+
+ wx.CB_SORT Sorts the entries in the list alphabetically.
+ ================ ===============================================
+
+Events
+-------
+ ================ ===============================================
+ EVT_COMBOBOX Sent when an item on the list is selected.
+ EVT_TEXT Sent when the combobox text changes.
+ ================ ===============================================
+</docstring>
+ <baseclass name="Control"/>
+ <baseclass name="ItemContainer"/>
+ <constructor name="ComboBox" overloaded="no">
+ <autodoc>__init__(Window parent, int id, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ List choices=[], long style=0, Validator validator=DefaultValidator,
+ String name=ComboBoxNameStr) -> ComboBox</autodoc>
+ <docstring>Constructor, creates and shows a ComboBox control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyComboBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreComboBox" overloaded="no">
+ <autodoc>PreComboBox() -> ComboBox</autodoc>
+ <docstring>Precreate a ComboBox control for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(Window parent, int id, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ List choices=[], long style=0, Validator validator=DefaultValidator,
+ String name=ChoiceNameStr) -> bool</autodoc>
+ <docstring>Actually create the GUI wxComboBox control for 2-phase creation</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyChoiceNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ <docstring>Returns the current value in the combobox text field.</docstring>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, String value)</autodoc>
+ <paramlist>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Copy" type="" overloaded="no">
+ <autodoc>Copy(self)</autodoc>
+ <docstring>Copies the selected text to the clipboard.</docstring>
+ </method>
+ <method name="Cut" type="" overloaded="no">
+ <autodoc>Cut(self)</autodoc>
+ <docstring>Copies the selected text to the clipboard and removes the selection.</docstring>
+ </method>
+ <method name="Paste" type="" overloaded="no">
+ <autodoc>Paste(self)</autodoc>
+ <docstring>Pastes text from the clipboard to the text field.</docstring>
+ </method>
+ <method name="SetInsertionPoint" type="" overloaded="no">
+ <autodoc>SetInsertionPoint(self, long pos)</autodoc>
+ <docstring>Sets the insertion point in the combobox text field.</docstring>
+ <paramlist>
+ <param name="pos" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetInsertionPoint" type="long" overloaded="no">
+ <autodoc>GetInsertionPoint(self) -> long</autodoc>
+ <docstring>Returns the insertion point for the combobox's text field.</docstring>
+ </method>
+ <method name="GetLastPosition" type="long" overloaded="no">
+ <autodoc>GetLastPosition(self) -> long</autodoc>
+ <docstring>Returns the last position in the combobox text field.</docstring>
+ </method>
+ <method name="Replace" type="" overloaded="no">
+ <autodoc>Replace(self, long from, long to, String value)</autodoc>
+ <docstring>Replaces the text between two positions with the given text, in the
+combobox text field.</docstring>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int n)</autodoc>
+ <docstring>Sets the item at index 'n' to be the selected item.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMark" type="" overloaded="no">
+ <autodoc>SetMark(self, long from, long to)</autodoc>
+ <docstring>Selects the text between the two positions in the combobox text field.</docstring>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStringSelection" type="bool" overloaded="no">
+ <autodoc>SetStringSelection(self, String string) -> bool</autodoc>
+ <docstring>Select the item with the specifed string</docstring>
+ <paramlist>
+ <param name="string" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetString" type="" overloaded="no">
+ <autodoc>SetString(self, int n, String string)</autodoc>
+ <docstring>Set the label for the n'th item (zero based) in the list.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="string" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetEditable" type="" overloaded="no">
+ <autodoc>SetEditable(self, bool editable)</autodoc>
+ <paramlist>
+ <param name="editable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetInsertionPointEnd" type="" overloaded="no">
+ <autodoc>SetInsertionPointEnd(self)</autodoc>
+ <docstring>Sets the insertion point at the end of the combobox text field.</docstring>
+ </method>
+ <method name="Remove" type="" overloaded="no">
+ <autodoc>Remove(self, long from, long to)</autodoc>
+ <docstring>Removes the text between the two positions in the combobox text field.</docstring>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="SplitterWindow" oldname="wxSplitterWindow" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="SplitterWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point point=DefaultPosition,
- Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="point" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSP_3D"/>
- <param name="name" type="r.q(const).wxString" default="wxPySplitterNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreSplitterWindow" overloaded="no">
- <autodoc>PreSplitterWindow() -> SplitterWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point point=DefaultPosition,
- Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="point" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSP_3D"/>
- <param name="name" type="r.q(const).wxString" default="wxPySplitterNameStr"/>
- </paramlist>
- </method>
- <method name="GetWindow1" type="wxWindow" overloaded="no">
- <autodoc>GetWindow1() -> Window</autodoc>
- </method>
- <method name="GetWindow2" type="wxWindow" overloaded="no">
- <autodoc>GetWindow2() -> Window</autodoc>
- </method>
- <method name="SetSplitMode" type="void" overloaded="no">
- <autodoc>SetSplitMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSplitMode" type="wxSplitMode" overloaded="no">
- <autodoc>GetSplitMode() -> int</autodoc>
- </method>
- <method name="Initialize" type="void" overloaded="no">
- <autodoc>Initialize(Window window)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="SplitVertically" type="bool" overloaded="no">
- <autodoc>SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool</autodoc>
- <paramlist>
- <param name="window1" type="p.wxWindow" default=""/>
- <param name="window2" type="p.wxWindow" default=""/>
- <param name="sashPosition" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SplitHorizontally" type="bool" overloaded="no">
- <autodoc>SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool</autodoc>
- <paramlist>
- <param name="window1" type="p.wxWindow" default=""/>
- <param name="window2" type="p.wxWindow" default=""/>
- <param name="sashPosition" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Unsplit" type="bool" overloaded="no">
- <autodoc>Unsplit(Window toRemove=None) -> bool</autodoc>
- <paramlist>
- <param name="toRemove" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="ReplaceWindow" type="bool" overloaded="no">
- <autodoc>ReplaceWindow(Window winOld, Window winNew) -> bool</autodoc>
- <paramlist>
- <param name="winOld" type="p.wxWindow" default=""/>
- <param name="winNew" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="IsSplit" type="bool" overloaded="no">
- <autodoc>IsSplit() -> bool</autodoc>
- </method>
- <method name="SetSashSize" type="void" overloaded="no">
- <autodoc>SetSashSize(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetBorderSize" type="void" overloaded="no">
- <autodoc>SetBorderSize(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSashSize" type="int" overloaded="no">
- <autodoc>GetSashSize() -> int</autodoc>
- </method>
- <method name="GetBorderSize" type="int" overloaded="no">
- <autodoc>GetBorderSize() -> int</autodoc>
- </method>
- <method name="SetSashPosition" type="void" overloaded="no">
- <autodoc>SetSashPosition(int position, bool redraw=True)</autodoc>
- <paramlist>
- <param name="position" type="int" default=""/>
- <param name="redraw" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetSashPosition" type="int" overloaded="no">
- <autodoc>GetSashPosition() -> int</autodoc>
- </method>
- <method name="SetMinimumPaneSize" type="void" overloaded="no">
- <autodoc>SetMinimumPaneSize(int min)</autodoc>
- <paramlist>
- <param name="min" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMinimumPaneSize" type="int" overloaded="no">
- <autodoc>GetMinimumPaneSize() -> int</autodoc>
- </method>
- <method name="SashHitTest" type="bool" overloaded="no">
- <autodoc>SashHitTest(int x, int y, int tolerance=5) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="tolerance" type="int" default="5"/>
- </paramlist>
- </method>
- <method name="SizeWindows" type="void" overloaded="no">
- <autodoc>SizeWindows()</autodoc>
- </method>
- <method name="SetNeedUpdating" type="void" overloaded="no">
- <autodoc>SetNeedUpdating(bool needUpdating)</autodoc>
- <paramlist>
- <param name="needUpdating" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetNeedUpdating" type="bool" overloaded="no">
- <autodoc>GetNeedUpdating() -> bool</autodoc>
- </method>
- </class>
- <class name="SplitterEvent" oldname="wxSplitterEvent" module="windows">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="SplitterEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="splitter" type="p.wxSplitterWindow" default="(wxSplitterWindow *) NULL"/>
- </paramlist>
- </constructor>
- <method name="SetSashPosition" type="void" overloaded="no">
- <autodoc>SetSashPosition(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSashPosition" type="int" overloaded="no">
- <autodoc>GetSashPosition() -> int</autodoc>
- </method>
- <method name="GetWindowBeingRemoved" type="wxWindow" overloaded="no">
- <autodoc>GetWindowBeingRemoved() -> Window</autodoc>
- </method>
- <method name="GetX" type="int" overloaded="no">
- <autodoc>GetX() -> int</autodoc>
- </method>
- <method name="GetY" type="int" overloaded="no">
- <autodoc>GetY() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
-EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 )
-EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
-EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
-EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
+ <class name="Gauge" oldname="wxGauge" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="Gauge" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=GA_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ String name=GaugeNameStr) -> Gauge</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="range" type="int" default="100"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxGA_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyGaugeNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreGauge" overloaded="no">
+ <autodoc>PreGauge() -> Gauge</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=GA_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ String name=GaugeNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="range" type="int" default="100"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxGA_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyGaugeNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetRange" type="" overloaded="no">
+ <autodoc>SetRange(self, int range)</autodoc>
+ <paramlist>
+ <param name="range" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRange" type="int" overloaded="no">
+ <autodoc>GetRange(self) -> int</autodoc>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="int" overloaded="no">
+ <autodoc>GetValue(self) -> int</autodoc>
+ </method>
+ <method name="IsVertical" type="bool" overloaded="no">
+ <autodoc>IsVertical(self) -> bool</autodoc>
+ </method>
+ <method name="SetShadowWidth" type="" overloaded="no">
+ <autodoc>SetShadowWidth(self, int w)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetShadowWidth" type="int" overloaded="no">
+ <autodoc>GetShadowWidth(self) -> int</autodoc>
+ </method>
+ <method name="SetBezelFace" type="" overloaded="no">
+ <autodoc>SetBezelFace(self, int w)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBezelFace" type="int" overloaded="no">
+ <autodoc>GetBezelFace(self) -> int</autodoc>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <class name="StaticBox" oldname="wxStaticBox" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="StaticBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=StaticBoxNameStr) -> StaticBox</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyStaticBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreStaticBox" overloaded="no">
+ <autodoc>PreStaticBox() -> StaticBox</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=StaticBoxNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyStaticBoxNameStr"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="SashWindow" oldname="wxSashWindow" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="SashWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCLIP_CHILDREN|wxSW_3D,
- String name=SashNameStr) -> SashWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
- <param name="name" type="r.q(const).wxString" default="wxPySashNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreSashWindow" overloaded="no">
- <autodoc>PreSashWindow() -> SashWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCLIP_CHILDREN|wxSW_3D,
- String name=SashNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
- <param name="name" type="r.q(const).wxString" default="wxPySashNameStr"/>
- </paramlist>
- </method>
- <method name="SetSashVisible" type="void" overloaded="no">
- <autodoc>SetSashVisible(int edge, bool sash)</autodoc>
- <paramlist>
- <param name="edge" type="wxSashEdgePosition" default=""/>
- <param name="sash" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetSashVisible" type="bool" overloaded="no">
- <autodoc>GetSashVisible(int edge) -> bool</autodoc>
- <paramlist>
- <param name="edge" type="wxSashEdgePosition" default=""/>
- </paramlist>
- </method>
- <method name="SetSashBorder" type="void" overloaded="no">
- <autodoc>SetSashBorder(int edge, bool border)</autodoc>
- <paramlist>
- <param name="edge" type="wxSashEdgePosition" default=""/>
- <param name="border" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="HasBorder" type="bool" overloaded="no">
- <autodoc>HasBorder(int edge) -> bool</autodoc>
- <paramlist>
- <param name="edge" type="wxSashEdgePosition" default=""/>
- </paramlist>
- </method>
- <method name="GetEdgeMargin" type="int" overloaded="no">
- <autodoc>GetEdgeMargin(int edge) -> int</autodoc>
- <paramlist>
- <param name="edge" type="wxSashEdgePosition" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultBorderSize" type="void" overloaded="no">
- <autodoc>SetDefaultBorderSize(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultBorderSize" type="int" overloaded="no">
- <autodoc>GetDefaultBorderSize() -> int</autodoc>
- </method>
- <method name="SetExtraBorderSize" type="void" overloaded="no">
- <autodoc>SetExtraBorderSize(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetExtraBorderSize" type="int" overloaded="no">
- <autodoc>GetExtraBorderSize() -> int</autodoc>
- </method>
- <method name="SetMinimumSizeX" type="void" overloaded="no">
- <autodoc>SetMinimumSizeX(int min)</autodoc>
- <paramlist>
- <param name="min" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMinimumSizeY" type="void" overloaded="no">
- <autodoc>SetMinimumSizeY(int min)</autodoc>
- <paramlist>
- <param name="min" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMinimumSizeX" type="int" overloaded="no">
- <autodoc>GetMinimumSizeX() -> int</autodoc>
- </method>
- <method name="GetMinimumSizeY" type="int" overloaded="no">
- <autodoc>GetMinimumSizeY() -> int</autodoc>
- </method>
- <method name="SetMaximumSizeX" type="void" overloaded="no">
- <autodoc>SetMaximumSizeX(int max)</autodoc>
- <paramlist>
- <param name="max" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMaximumSizeY" type="void" overloaded="no">
- <autodoc>SetMaximumSizeY(int max)</autodoc>
- <paramlist>
- <param name="max" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMaximumSizeX" type="int" overloaded="no">
- <autodoc>GetMaximumSizeX() -> int</autodoc>
- </method>
- <method name="GetMaximumSizeY" type="int" overloaded="no">
- <autodoc>GetMaximumSizeY() -> int</autodoc>
- </method>
- <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no">
- <autodoc>SashHitTest(int x, int y, int tolerance=2) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="tolerance" type="int" default="2"/>
- </paramlist>
- </method>
- <method name="SizeWindows" type="void" overloaded="no">
- <autodoc>SizeWindows()</autodoc>
- </method>
- </class>
- <class name="SashEvent" oldname="wxSashEvent" module="windows">
- <baseclass name="wxCommandEvent"/>
- <constructor name="SashEvent" overloaded="no">
- <autodoc>__init__(int id=0, int edge=SASH_NONE) -> SashEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default="0"/>
- <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/>
- </paramlist>
- </constructor>
- <method name="SetEdge" type="void" overloaded="no">
- <autodoc>SetEdge(int edge)</autodoc>
- <paramlist>
- <param name="edge" type="wxSashEdgePosition" default=""/>
- </paramlist>
- </method>
- <method name="GetEdge" type="wxSashEdgePosition" overloaded="no">
- <autodoc>GetEdge() -> int</autodoc>
- </method>
- <method name="SetDragRect" type="void" overloaded="no">
- <autodoc>SetDragRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="GetDragRect" type="wxRect" overloaded="no">
- <autodoc>GetDragRect() -> Rect</autodoc>
- </method>
- <method name="SetDragStatus" type="void" overloaded="no">
- <autodoc>SetDragStatus(int status)</autodoc>
- <paramlist>
- <param name="status" type="wxSashDragStatus" default=""/>
- </paramlist>
- </method>
- <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no">
- <autodoc>GetDragStatus() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
- EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 )
- EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 )
+ <class name="StaticLine" oldname="wxStaticLine" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="StaticLine" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LI_HORIZONTAL,
+ String name=StaticTextNameStr) -> StaticLine</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLI_HORIZONTAL"/>
+ <param name="name" type="String" default="wxPyStaticTextNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreStaticLine" overloaded="no">
+ <autodoc>PreStaticLine() -> StaticLine</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LI_HORIZONTAL,
+ String name=StaticTextNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLI_HORIZONTAL"/>
+ <param name="name" type="String" default="wxPyStaticTextNameStr"/>
+ </paramlist>
+ </method>
+ <method name="IsVertical" type="bool" overloaded="no">
+ <autodoc>IsVertical(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="GetDefaultSize" type="int" overloaded="no">
+ <autodoc>GetDefaultSize() -> int</autodoc>
+ </staticmethod>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <class name="StaticText" oldname="wxStaticText" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="StaticText" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=StaticTextNameStr) -> StaticText</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyStaticTextNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreStaticText" overloaded="no">
+ <autodoc>PreStaticText() -> StaticText</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=StaticTextNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyStaticTextNameStr"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="windows">
- <baseclass name="wxEvent"/>
- <constructor name="QueryLayoutInfoEvent" overloaded="no">
- <autodoc>__init__(int id=0) -> QueryLayoutInfoEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="SetRequestedLength" type="void" overloaded="no">
- <autodoc>SetRequestedLength(int length)</autodoc>
- <paramlist>
- <param name="length" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetRequestedLength" type="int" overloaded="no">
- <autodoc>GetRequestedLength() -> int</autodoc>
- </method>
- <method name="SetFlags" type="void" overloaded="no">
- <autodoc>SetFlags(int flags)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFlags" type="int" overloaded="no">
- <autodoc>GetFlags() -> int</autodoc>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- </method>
- <method name="SetOrientation" type="void" overloaded="no">
- <autodoc>SetOrientation(int orient)</autodoc>
- <paramlist>
- <param name="orient" type="wxLayoutOrientation" default=""/>
- </paramlist>
- </method>
- <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
- <autodoc>GetOrientation() -> int</autodoc>
- </method>
- <method name="SetAlignment" type="void" overloaded="no">
- <autodoc>SetAlignment(int align)</autodoc>
- <paramlist>
- <param name="align" type="wxLayoutAlignment" default=""/>
- </paramlist>
- </method>
- <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
- <autodoc>GetAlignment() -> int</autodoc>
- </method>
- </class>
- <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="windows">
- <baseclass name="wxEvent"/>
- <constructor name="CalculateLayoutEvent" overloaded="no">
- <autodoc>__init__(int id=0) -> CalculateLayoutEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="SetFlags" type="void" overloaded="no">
- <autodoc>SetFlags(int flags)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFlags" type="int" overloaded="no">
- <autodoc>GetFlags() -> int</autodoc>
- </method>
- <method name="SetRect" type="void" overloaded="no">
- <autodoc>SetRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="GetRect" type="wxRect" overloaded="no">
- <autodoc>GetRect() -> Rect</autodoc>
- </method>
- </class>
- <pythoncode>
- EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
- EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
+ <class name="StaticBitmap" oldname="wxStaticBitmap" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="StaticBitmap" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=StaticBitmapNameStr) -> StaticBitmap</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyStaticBitmapNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreStaticBitmap" overloaded="no">
+ <autodoc>PreStaticBitmap() -> StaticBitmap</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=StaticBitmapNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyStaticBitmapNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(self) -> Bitmap</autodoc>
+ </method>
+ <method name="SetBitmap" type="" overloaded="no">
+ <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetIcon" type="" overloaded="no">
+ <autodoc>SetIcon(self, Icon icon)</autodoc>
+ <paramlist>
+ <param name="icon" type="Icon" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="windows">
- <baseclass name="wxSashWindow"/>
- <constructor name="SashLayoutWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCLIP_CHILDREN|wxSW_3D,
- String name=SashLayoutNameStr) -> SashLayoutWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
- <param name="name" type="r.q(const).wxString" default="wxPySashLayoutNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreSashLayoutWindow" overloaded="no">
- <autodoc>PreSashLayoutWindow() -> SashLayoutWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCLIP_CHILDREN|wxSW_3D,
- String name=SashLayoutNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
- <param name="name" type="r.q(const).wxString" default="wxPySashLayoutNameStr"/>
- </paramlist>
- </method>
- <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
- <autodoc>GetAlignment() -> int</autodoc>
- </method>
- <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
- <autodoc>GetOrientation() -> int</autodoc>
- </method>
- <method name="SetAlignment" type="void" overloaded="no">
- <autodoc>SetAlignment(int alignment)</autodoc>
- <paramlist>
- <param name="alignment" type="wxLayoutAlignment" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultSize" type="void" overloaded="no">
- <autodoc>SetDefaultSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetOrientation" type="void" overloaded="no">
- <autodoc>SetOrientation(int orientation)</autodoc>
- <paramlist>
- <param name="orientation" type="wxLayoutOrientation" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="LayoutAlgorithm" overloaded="no">
- <autodoc>__init__() -> LayoutAlgorithm</autodoc>
- </constructor>
- <destructor name="~wxLayoutAlgorithm" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="LayoutMDIFrame" type="bool" overloaded="no">
- <autodoc>LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool</autodoc>
- <paramlist>
- <param name="frame" type="p.wxMDIParentFrame" default=""/>
- <param name="rect" type="p.wxRect" default="NULL"/>
- </paramlist>
- </method>
- <method name="LayoutFrame" type="bool" overloaded="no">
- <autodoc>LayoutFrame(Frame frame, Window mainWindow=None) -> bool</autodoc>
- <paramlist>
- <param name="frame" type="p.wxFrame" default=""/>
- <param name="mainWindow" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="LayoutWindow" type="bool" overloaded="no">
- <autodoc>LayoutWindow(Window parent, Window mainWindow=None) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="mainWindow" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="ListBox" oldname="wxListBox" module="_controls">
+ <baseclass name="ControlWithItems"/>
+ <constructor name="ListBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ListBoxNameStr) -> ListBox</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreListBox" overloaded="no">
+ <autodoc>PreListBox() -> ListBox</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ListBoxNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListBoxNameStr"/>
+ </paramlist>
+ </method>
+ <method name="Insert" type="" overloaded="no">
+ <autodoc>Insert(self, String item, int pos, PyObject clientData=None)</autodoc>
+ <docstring>Insert an item into the control before the item at the ``pos`` index,
+optionally associating some data object with the item.</docstring>
+ <paramlist>
+ <param name="item" type="String" default=""/>
+ <param name="pos" type="int" default=""/>
+ <param name="clientData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="InsertItems" type="" overloaded="no">
+ <autodoc>InsertItems(self, wxArrayString items, int pos)</autodoc>
+ <paramlist>
+ <param name="items" type="wxArrayString" default=""/>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, wxArrayString items)</autodoc>
+ <paramlist>
+ <param name="items" type="wxArrayString" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSelected" type="bool" overloaded="no">
+ <autodoc>IsSelected(self, int n) -> bool</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int n, bool select=True)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="select" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Select" type="" overloaded="no">
+ <autodoc>Select(self, int n)</autodoc>
+ <docstring>Sets the item at index 'n' to be the selected item.</docstring>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Deselect" type="" overloaded="no">
+ <autodoc>Deselect(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeselectAll" type="" overloaded="no">
+ <autodoc>DeselectAll(self, int itemToLeaveSelected=-1)</autodoc>
+ <paramlist>
+ <param name="itemToLeaveSelected" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetStringSelection" type="bool" overloaded="no">
+ <autodoc>SetStringSelection(self, String s, bool select=True) -> bool</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ <param name="select" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetSelections" type="PyObject" overloaded="no">
+ <autodoc>GetSelections(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetFirstItem" type="" overloaded="no">
+ <autodoc>SetFirstItem(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFirstItemStr" type="" overloaded="no">
+ <autodoc>SetFirstItemStr(self, String s)</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnsureVisible" type="" overloaded="no">
+ <autodoc>EnsureVisible(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AppendAndEnsureVisible" type="" overloaded="no">
+ <autodoc>AppendAndEnsureVisible(self, String s)</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSorted" type="bool" overloaded="no">
+ <autodoc>IsSorted(self) -> bool</autodoc>
+ </method>
+ <method name="SetItemForegroundColour" type="" overloaded="no">
+ <autodoc>SetItemForegroundColour(self, int item, Colour c)</autodoc>
+ <paramlist>
+ <param name="item" type="int" default=""/>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemBackgroundColour" type="" overloaded="no">
+ <autodoc>SetItemBackgroundColour(self, int item, Colour c)</autodoc>
+ <paramlist>
+ <param name="item" type="int" default=""/>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemFont" type="" overloaded="no">
+ <autodoc>SetItemFont(self, int item, Font f)</autodoc>
+ <paramlist>
+ <param name="item" type="int" default=""/>
+ <param name="f" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PopupWindow" oldname="wxPopupWindow" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="PopupWindow" overloaded="no">
- <autodoc>__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="flags" type="int" default="wxBORDER_NONE"/>
- </paramlist>
- </constructor>
- <constructor name="PrePopupWindow" overloaded="no">
- <autodoc>PrePopupWindow() -> PopupWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int flags=BORDER_NONE) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="flags" type="int" default="wxBORDER_NONE"/>
- </paramlist>
- </method>
- <method name="Position" type="void" overloaded="no">
- <autodoc>Position(Point ptOrigin, Size size)</autodoc>
- <paramlist>
- <param name="ptOrigin" type="r.q(const).wxPoint" default=""/>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="CheckListBox" oldname="wxCheckListBox" module="_controls">
+ <baseclass name="ListBox"/>
+ <constructor name="CheckListBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ListBoxNameStr) -> CheckListBox</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreCheckListBox" overloaded="no">
+ <autodoc>PreCheckListBox() -> CheckListBox</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ListBoxNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListBoxNameStr"/>
+ </paramlist>
+ </method>
+ <method name="IsChecked" type="bool" overloaded="no">
+ <autodoc>IsChecked(self, int index) -> bool</autodoc>
+ <paramlist>
+ <param name="index" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Check" type="" overloaded="no">
+ <autodoc>Check(self, int index, int check=True)</autodoc>
+ <paramlist>
+ <param name="index" type="int" default=""/>
+ <param name="check" type="int" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetItemHeight" type="int" overloaded="no">
+ <autodoc>GetItemHeight(self) -> int</autodoc>
+ </method>
+ <method name="HitTest" type="int" overloaded="no">
+ <autodoc>HitTest(self, Point pt) -> int</autodoc>
+ <docstring>Test where the given (in client coords) point lies</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTestXY" type="int" overloaded="no">
+ <autodoc>HitTestXY(self, int x, int y) -> int</autodoc>
+ <docstring>Test where the given (in client coords) point lies</docstring>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="windows">
- <baseclass name="wxPopupWindow"/>
- <constructor name="wxPyPopupTransientWindow" overloaded="no">
- <autodoc>__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="style" type="int" default="wxBORDER_NONE"/>
- </paramlist>
- </constructor>
- <constructor name="PrePopupTransientWindow" overloaded="no">
- <autodoc>PrePopupTransientWindow() -> PopupTransientWindow</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Popup" type="void" overloaded="no">
- <autodoc>Popup(Window focus=None)</autodoc>
- <paramlist>
- <param name="focus" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="Dismiss" type="void" overloaded="no">
- <autodoc>Dismiss()</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="TextAttr" oldname="wxTextAttr" module="_controls">
+ <constructor name="TextAttr" overloaded="no">
+ <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,
+ Font font=wxNullFont, int alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr</autodoc>
+ <paramlist>
+ <param name="colText" type="Colour" default="wxNullColour"/>
+ <param name="colBack" type="Colour" default="wxNullColour"/>
+ <param name="font" type="Font" default="wxNullFont"/>
+ <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxTextAttr" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Init" type="" overloaded="no">
+ <autodoc>Init(self)</autodoc>
+ </method>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, Colour colText)</autodoc>
+ <paramlist>
+ <param name="colText" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
+ <paramlist>
+ <param name="colBack" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font, long flags=TEXT_ATTR_FONT)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/>
+ </paramlist>
+ </method>
+ <method name="SetAlignment" type="" overloaded="no">
+ <autodoc>SetAlignment(self, int alignment)</autodoc>
+ <paramlist>
+ <param name="alignment" type="wxTextAttrAlignment" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTabs" type="" overloaded="no">
+ <autodoc>SetTabs(self, wxArrayInt tabs)</autodoc>
+ <paramlist>
+ <param name="tabs" type="wxArrayInt" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLeftIndent" type="" overloaded="no">
+ <autodoc>SetLeftIndent(self, int indent, int subIndent=0)</autodoc>
+ <paramlist>
+ <param name="indent" type="int" default=""/>
+ <param name="subIndent" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetRightIndent" type="" overloaded="no">
+ <autodoc>SetRightIndent(self, int indent)</autodoc>
+ <paramlist>
+ <param name="indent" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFlags" type="" overloaded="no">
+ <autodoc>SetFlags(self, long flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasTextColour" type="bool" overloaded="no">
+ <autodoc>HasTextColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasBackgroundColour" type="bool" overloaded="no">
+ <autodoc>HasBackgroundColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasFont" type="bool" overloaded="no">
+ <autodoc>HasFont(self) -> bool</autodoc>
+ </method>
+ <method name="HasAlignment" type="bool" overloaded="no">
+ <autodoc>HasAlignment(self) -> bool</autodoc>
+ </method>
+ <method name="HasTabs" type="bool" overloaded="no">
+ <autodoc>HasTabs(self) -> bool</autodoc>
+ </method>
+ <method name="HasLeftIndent" type="bool" overloaded="no">
+ <autodoc>HasLeftIndent(self) -> bool</autodoc>
+ </method>
+ <method name="HasRightIndent" type="bool" overloaded="no">
+ <autodoc>HasRightIndent(self) -> bool</autodoc>
+ </method>
+ <method name="HasFlag" type="bool" overloaded="no">
+ <autodoc>HasFlag(self, long flag) -> bool</autodoc>
+ <paramlist>
+ <param name="flag" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTextColour" type="Colour" overloaded="no">
+ <autodoc>GetTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ </method>
+ <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no">
+ <autodoc>GetAlignment(self) -> int</autodoc>
+ </method>
+ <method name="GetTabs" type="wxArrayInt" overloaded="no">
+ <autodoc>GetTabs(self) -> wxArrayInt</autodoc>
+ </method>
+ <method name="GetLeftIndent" type="long" overloaded="no">
+ <autodoc>GetLeftIndent(self) -> long</autodoc>
+ </method>
+ <method name="GetLeftSubIndent" type="long" overloaded="no">
+ <autodoc>GetLeftSubIndent(self) -> long</autodoc>
+ </method>
+ <method name="GetRightIndent" type="long" overloaded="no">
+ <autodoc>GetRightIndent(self) -> long</autodoc>
+ </method>
+ <method name="GetFlags" type="long" overloaded="no">
+ <autodoc>GetFlags(self) -> long</autodoc>
+ </method>
+ <method name="IsDefault" type="bool" overloaded="no">
+ <autodoc>IsDefault(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="Combine" type="TextAttr" overloaded="no">
+ <autodoc>Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr</autodoc>
+ <paramlist>
+ <param name="attr" type="TextAttr" default=""/>
+ <param name="attrDef" type="TextAttr" default=""/>
+ <param name="text" type="wxTextCtrl" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="TextCtrl" oldname="wxTextCtrl" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="TextCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=TextCtrlNameStr) -> TextCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyTextCtrlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreTextCtrl" overloaded="no">
+ <autodoc>PreTextCtrl() -> TextCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=TextCtrlNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyTextCtrlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, String value)</autodoc>
+ <paramlist>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRange" type="String" overloaded="no">
+ <autodoc>GetRange(self, long from, long to) -> String</autodoc>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineLength" type="int" overloaded="no">
+ <autodoc>GetLineLength(self, long lineNo) -> int</autodoc>
+ <paramlist>
+ <param name="lineNo" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineText" type="String" overloaded="no">
+ <autodoc>GetLineText(self, long lineNo) -> String</autodoc>
+ <paramlist>
+ <param name="lineNo" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNumberOfLines" type="int" overloaded="no">
+ <autodoc>GetNumberOfLines(self) -> int</autodoc>
+ </method>
+ <method name="IsModified" type="bool" overloaded="no">
+ <autodoc>IsModified(self) -> bool</autodoc>
+ </method>
+ <method name="IsEditable" type="bool" overloaded="no">
+ <autodoc>IsEditable(self) -> bool</autodoc>
+ </method>
+ <method name="IsSingleLine" type="bool" overloaded="no">
+ <autodoc>IsSingleLine(self) -> bool</autodoc>
+ </method>
+ <method name="IsMultiLine" type="bool" overloaded="no">
+ <autodoc>IsMultiLine(self) -> bool</autodoc>
+ </method>
+ <method name="GetSelection" type="" overloaded="no">
+ <autodoc>GetSelection() -> (from, to)</autodoc>
+ <docstring>If the return values from and to are the same, there is no selection.</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="long" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStringSelection" type="String" overloaded="no">
+ <autodoc>GetStringSelection(self) -> String</autodoc>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ </method>
+ <method name="Replace" type="" overloaded="no">
+ <autodoc>Replace(self, long from, long to, String value)</autodoc>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Remove" type="" overloaded="no">
+ <autodoc>Remove(self, long from, long to)</autodoc>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadFile" type="bool" overloaded="no">
+ <autodoc>LoadFile(self, String file) -> bool</autodoc>
+ <paramlist>
+ <param name="file" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SaveFile" type="bool" overloaded="no">
+ <autodoc>SaveFile(self, String file=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="file" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="MarkDirty" type="" overloaded="no">
+ <autodoc>MarkDirty(self)</autodoc>
+ </method>
+ <method name="DiscardEdits" type="" overloaded="no">
+ <autodoc>DiscardEdits(self)</autodoc>
+ </method>
+ <method name="SetMaxLength" type="" overloaded="no">
+ <autodoc>SetMaxLength(self, unsigned long len)</autodoc>
+ <paramlist>
+ <param name="len" type="unsigned long" default=""/>
+ </paramlist>
+ </method>
+ <method name="WriteText" type="" overloaded="no">
+ <autodoc>WriteText(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AppendText" type="" overloaded="no">
+ <autodoc>AppendText(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="EmulateKeyPress" type="bool" overloaded="no">
+ <autodoc>EmulateKeyPress(self, KeyEvent event) -> bool</autodoc>
+ <paramlist>
+ <param name="event" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyle" type="bool" overloaded="no">
+ <autodoc>SetStyle(self, long start, long end, TextAttr style) -> bool</autodoc>
+ <paramlist>
+ <param name="start" type="long" default=""/>
+ <param name="end" type="long" default=""/>
+ <param name="style" type="TextAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStyle" type="bool" overloaded="no">
+ <autodoc>GetStyle(self, long position, TextAttr style) -> bool</autodoc>
+ <paramlist>
+ <param name="position" type="long" default=""/>
+ <param name="style" type="TextAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultStyle" type="bool" overloaded="no">
+ <autodoc>SetDefaultStyle(self, TextAttr style) -> bool</autodoc>
+ <paramlist>
+ <param name="style" type="TextAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultStyle" type="TextAttr" overloaded="no">
+ <autodoc>GetDefaultStyle(self) -> TextAttr</autodoc>
+ </method>
+ <method name="XYToPosition" type="long" overloaded="no">
+ <autodoc>XYToPosition(self, long x, long y) -> long</autodoc>
+ <paramlist>
+ <param name="x" type="long" default=""/>
+ <param name="y" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="PositionToXY" type="" overloaded="no">
+ <autodoc>PositionToXY(long pos) -> (x, y)</autodoc>
+ <paramlist>
+ <param name="pos" type="long" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowPosition" type="" overloaded="no">
+ <autodoc>ShowPosition(self, long pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="wxTextCtrlHitTestResult" overloaded="no">
+ <autodoc>HitTest(Point pt) -> (result, row, col)</autodoc>
+ <docstring>Find the row, col coresponding to the character at the point given in
+pixels. NB: pt is in device coords but is not adjusted for the client
+area origin nor scrolling.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTestPos" type="wxTextCtrlHitTestResult" overloaded="no">
+ <autodoc>HitTestPos(Point pt) -> (result, position)</autodoc>
+ <docstring>Find the character position in the text coresponding to the point
+given in pixels. NB: pt is in device coords but is not adjusted for
+the client area origin nor scrolling. </docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="Copy" type="" overloaded="no">
+ <autodoc>Copy(self)</autodoc>
+ </method>
+ <method name="Cut" type="" overloaded="no">
+ <autodoc>Cut(self)</autodoc>
+ </method>
+ <method name="Paste" type="" overloaded="no">
+ <autodoc>Paste(self)</autodoc>
+ </method>
+ <method name="CanCopy" type="bool" overloaded="no">
+ <autodoc>CanCopy(self) -> bool</autodoc>
+ </method>
+ <method name="CanCut" type="bool" overloaded="no">
+ <autodoc>CanCut(self) -> bool</autodoc>
+ </method>
+ <method name="CanPaste" type="bool" overloaded="no">
+ <autodoc>CanPaste(self) -> bool</autodoc>
+ </method>
+ <method name="Undo" type="" overloaded="no">
+ <autodoc>Undo(self)</autodoc>
+ </method>
+ <method name="Redo" type="" overloaded="no">
+ <autodoc>Redo(self)</autodoc>
+ </method>
+ <method name="CanUndo" type="bool" overloaded="no">
+ <autodoc>CanUndo(self) -> bool</autodoc>
+ </method>
+ <method name="CanRedo" type="bool" overloaded="no">
+ <autodoc>CanRedo(self) -> bool</autodoc>
+ </method>
+ <method name="SetInsertionPoint" type="" overloaded="no">
+ <autodoc>SetInsertionPoint(self, long pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetInsertionPointEnd" type="" overloaded="no">
+ <autodoc>SetInsertionPointEnd(self)</autodoc>
+ </method>
+ <method name="GetInsertionPoint" type="long" overloaded="no">
+ <autodoc>GetInsertionPoint(self) -> long</autodoc>
+ </method>
+ <method name="GetLastPosition" type="long" overloaded="no">
+ <autodoc>GetLastPosition(self) -> long</autodoc>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, long from, long to)</autodoc>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SelectAll" type="" overloaded="no">
+ <autodoc>SelectAll(self)</autodoc>
+ </method>
+ <method name="SetEditable" type="" overloaded="no">
+ <autodoc>SetEditable(self, bool editable)</autodoc>
+ <paramlist>
+ <param name="editable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="write" type="" overloaded="no">
+ <autodoc>write(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetString" type="String" overloaded="no">
+ <autodoc>GetString(self, long from, long to) -> String</autodoc>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="_controls">
+ <baseclass name="CommandEvent"/>
+ <constructor name="TextUrlEvent" overloaded="no">
+ <autodoc>__init__(self, int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent</autodoc>
+ <paramlist>
+ <param name="winid" type="int" default=""/>
+ <param name="evtMouse" type="MouseEvent" default=""/>
+ <param name="start" type="long" default=""/>
+ <param name="end" type="long" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="GetMouseEvent" type="MouseEvent" overloaded="no">
+ <autodoc>GetMouseEvent(self) -> MouseEvent</autodoc>
+ </method>
+ <method name="GetURLStart" type="long" overloaded="no">
+ <autodoc>GetURLStart(self) -> long</autodoc>
+ </method>
+ <method name="GetURLEnd" type="long" overloaded="no">
+ <autodoc>GetURLEnd(self) -> long</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1)
+EVT_TEXT_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER, 1)
+EVT_TEXT_URL = wx.PyEventBinder( wxEVT_COMMAND_TEXT_URL, 1)
+EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
+</pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="TipWindow" oldname="wxTipWindow" module="windows">
- <baseclass name="wxPyPopupTransientWindow"/>
- <constructor name="TipWindow" overloaded="no">
- <autodoc>__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="maxLength" type="int" default="100"/>
- <param name="rectBound" type="p.wxRect" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="SetBoundingRect" type="void" overloaded="no">
- <autodoc>SetBoundingRect(Rect rectBound)</autodoc>
- <paramlist>
- <param name="rectBound" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="Close" type="void" overloaded="no">
- <autodoc>Close()</autodoc>
- </method>
- </class>
- <pythoncode>
+ <class name="ScrollBar" oldname="wxScrollBar" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="ScrollBar" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SB_HORIZONTAL,
+ Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> ScrollBar</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSB_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyScrollBarNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreScrollBar" overloaded="no">
+ <autodoc>PreScrollBar() -> ScrollBar</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SB_HORIZONTAL,
+ Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> bool</autodoc>
+ <docstring>Do the 2nd phase and create the GUI control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSB_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyScrollBarNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetThumbPosition" type="int" overloaded="no">
+ <autodoc>GetThumbPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetThumbSize" type="int" overloaded="no">
+ <autodoc>GetThumbSize(self) -> int</autodoc>
+ </method>
+ <method name="GetPageSize" type="int" overloaded="no">
+ <autodoc>GetPageSize(self) -> int</autodoc>
+ </method>
+ <method name="GetRange" type="int" overloaded="no">
+ <autodoc>GetRange(self) -> int</autodoc>
+ </method>
+ <method name="IsVertical" type="bool" overloaded="no">
+ <autodoc>IsVertical(self) -> bool</autodoc>
+ </method>
+ <method name="SetThumbPosition" type="" overloaded="no">
+ <autodoc>SetThumbPosition(self, int viewStart)</autodoc>
+ <paramlist>
+ <param name="viewStart" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetScrollbar" type="" overloaded="no">
+ <autodoc>SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
+ bool refresh=True)</autodoc>
+ <docstring>Sets the scrollbar properties of a built-in scrollbar.
+ :param orientation: Determines the scrollbar whose page size is to
+ be set. May be wx.HORIZONTAL or wx.VERTICAL.
+
+ :param position: The position of the scrollbar in scroll units.
+
+ :param thumbSize: The size of the thumb, or visible portion of the
+ scrollbar, in scroll units.
+
+ :param range: The maximum position of the scrollbar.
+
+ :param refresh: True to redraw the scrollbar, false otherwise.
+</docstring>
+ <paramlist>
+ <param name="position" type="int" default=""/>
+ <param name="thumbSize" type="int" default=""/>
+ <param name="range" type="int" default=""/>
+ <param name="pageSize" type="int" default=""/>
+ <param name="refresh" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="windows">
- <baseclass name="wxPanel"/>
- <constructor name="wxPyVScrolledWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="wxID_ANY"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreVScrolledWindow" overloaded="no">
- <autodoc>PreVScrolledWindow() -> VScrolledWindow</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="wxID_ANY"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </method>
- <method name="SetLineCount" type="void" overloaded="no">
- <autodoc>SetLineCount(size_t count)</autodoc>
- <paramlist>
- <param name="count" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="ScrollToLine" type="bool" overloaded="no">
- <autodoc>ScrollToLine(size_t line) -> bool</autodoc>
- <paramlist>
- <param name="line" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="ScrollLines" type="bool" overloaded="no">
- <autodoc>ScrollLines(int lines) -> bool</autodoc>
- <paramlist>
- <param name="lines" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ScrollPages" type="bool" overloaded="no">
- <autodoc>ScrollPages(int pages) -> bool</autodoc>
- <paramlist>
- <param name="pages" type="int" default=""/>
- </paramlist>
- </method>
- <method name="RefreshLine" type="void" overloaded="no">
- <autodoc>RefreshLine(size_t line)</autodoc>
- <paramlist>
- <param name="line" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="RefreshLines" type="void" overloaded="no">
- <autodoc>RefreshLines(size_t from, size_t to)</autodoc>
- <paramlist>
- <param name="from" type="size_t" default=""/>
- <param name="to" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="HitTestXT" type="int" overloaded="no">
- <autodoc>HitTestXT(int x, int y) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="HitTest" type="int" overloaded="no">
- <autodoc>HitTest(Point pt) -> int</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="RefreshAll" type="void" overloaded="no">
- <autodoc>RefreshAll()</autodoc>
- </method>
- <method name="GetLineCount" type="size_t" overloaded="no">
- <autodoc>GetLineCount() -> size_t</autodoc>
- </method>
- <method name="GetFirstVisibleLine" type="size_t" overloaded="no">
- <autodoc>GetFirstVisibleLine() -> size_t</autodoc>
- </method>
- <method name="GetLastVisibleLine" type="size_t" overloaded="no">
- <autodoc>GetLastVisibleLine() -> size_t</autodoc>
- </method>
- <method name="IsVisible" type="bool" overloaded="no">
- <autodoc>IsVisible(size_t line) -> bool</autodoc>
- <paramlist>
- <param name="line" type="size_t" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="VListBox" oldname="wxPyVListBox" module="windows">
- <baseclass name="wxPyVScrolledWindow"/>
- <constructor name="wxPyVListBox" overloaded="no">
- <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="wxID_ANY"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyVListBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreVListBox" overloaded="no">
- <autodoc>PreVListBox() -> VListBox</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="wxID_ANY"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyVListBoxNameStr"/>
- </paramlist>
- </method>
- <method name="GetItemCount" type="size_t" overloaded="no">
- <autodoc>GetItemCount() -> size_t</autodoc>
- </method>
- <method name="HasMultipleSelection" type="bool" overloaded="no">
- <autodoc>HasMultipleSelection() -> bool</autodoc>
- </method>
- <method name="GetSelection" type="int" overloaded="no">
- <autodoc>GetSelection() -> int</autodoc>
- </method>
- <method name="IsCurrent" type="bool" overloaded="no">
- <autodoc>IsCurrent(size_t item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="IsSelected" type="bool" overloaded="no">
- <autodoc>IsSelected(size_t item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectedCount" type="size_t" overloaded="no">
- <autodoc>GetSelectedCount() -> size_t</autodoc>
- </method>
- <method name="GetFirstSelected" type="int" overloaded="no">
- <autodoc>GetFirstSelected(unsigned long cookie) -> int</autodoc>
- <paramlist>
- <param name="cookie" type="r.unsigned long" default=""/>
- </paramlist>
- </method>
- <method name="GetNextSelected" type="int" overloaded="no">
- <autodoc>GetNextSelected(unsigned long cookie) -> int</autodoc>
- <paramlist>
- <param name="cookie" type="r.unsigned long" default=""/>
- </paramlist>
- </method>
- <method name="GetMargins" type="wxPoint" overloaded="no">
- <autodoc>GetMargins() -> Point</autodoc>
- </method>
- <method name="GetSelectionBackground" type="q(const).wxColour" overloaded="no">
- <autodoc>GetSelectionBackground() -> Colour</autodoc>
- </method>
- <method name="SetItemCount" type="void" overloaded="no">
- <autodoc>SetItemCount(size_t count)</autodoc>
- <paramlist>
- <param name="count" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int selection)</autodoc>
- <paramlist>
- <param name="selection" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Select" type="bool" overloaded="no">
- <autodoc>Select(size_t item, bool select=True) -> bool</autodoc>
- <paramlist>
- <param name="item" type="size_t" default=""/>
- <param name="select" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SelectRange" type="bool" overloaded="no">
- <autodoc>SelectRange(size_t from, size_t to) -> bool</autodoc>
- <paramlist>
- <param name="from" type="size_t" default=""/>
- <param name="to" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="Toggle" type="void" overloaded="no">
- <autodoc>Toggle(size_t item)</autodoc>
- <paramlist>
- <param name="item" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SelectAll" type="bool" overloaded="no">
- <autodoc>SelectAll() -> bool</autodoc>
- </method>
- <method name="DeselectAll" type="bool" overloaded="no">
- <autodoc>DeselectAll() -> bool</autodoc>
- </method>
- <method name="SetMargins" type="void" overloaded="no">
- <autodoc>SetMargins(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginsXY" type="void" overloaded="no">
- <autodoc>SetMarginsXY(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetSelectionBackground" type="void" overloaded="no">
- <autodoc>SetSelectionBackground(Colour col)</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="windows">
- <baseclass name="wxPyVListBox"/>
- <constructor name="wxPyHtmlListBox" overloaded="no">
- <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="wxID_ANY"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyVListBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreHtmlListBox" overloaded="no">
- <autodoc>PreHtmlListBox() -> HtmlListBox</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="wxID_ANY"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyVListBoxNameStr"/>
- </paramlist>
- </method>
- <method name="RefreshAll" type="void" overloaded="no">
- <autodoc>RefreshAll()</autodoc>
- </method>
- <method name="SetItemCount" type="void" overloaded="no">
- <autodoc>SetItemCount(size_t count)</autodoc>
- <paramlist>
- <param name="count" type="size_t" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="SpinButton" oldname="wxSpinButton" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="SpinButton" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SP_HORIZONTAL,
+ String name=SPIN_BUTTON_NAME) -> SpinButton</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSP_HORIZONTAL"/>
+ <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreSpinButton" overloaded="no">
+ <autodoc>PreSpinButton() -> SpinButton</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SP_HORIZONTAL,
+ String name=SPIN_BUTTON_NAME) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSP_HORIZONTAL"/>
+ <param name="name" type="String" default="wxPySPIN_BUTTON_NAME"/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="int" overloaded="no">
+ <autodoc>GetValue(self) -> int</autodoc>
+ </method>
+ <method name="GetMin" type="int" overloaded="no">
+ <autodoc>GetMin(self) -> int</autodoc>
+ </method>
+ <method name="GetMax" type="int" overloaded="no">
+ <autodoc>GetMax(self) -> int</autodoc>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMin" type="" overloaded="no">
+ <autodoc>SetMin(self, int minVal)</autodoc>
+ <paramlist>
+ <param name="minVal" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMax" type="" overloaded="no">
+ <autodoc>SetMax(self, int maxVal)</autodoc>
+ <paramlist>
+ <param name="maxVal" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRange" type="" overloaded="no">
+ <autodoc>SetRange(self, int minVal, int maxVal)</autodoc>
+ <paramlist>
+ <param name="minVal" type="int" default=""/>
+ <param name="maxVal" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsVertical" type="bool" overloaded="no">
+ <autodoc>IsVertical(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="SpinCtrl" oldname="wxSpinCtrl" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="SpinCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=SP_ARROW_KEYS, int min=0, int max=100,
+ int initial=0, String name=SpinCtrlNameStr) -> SpinCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSP_ARROW_KEYS"/>
+ <param name="min" type="int" default="0"/>
+ <param name="max" type="int" default="100"/>
+ <param name="initial" type="int" default="0"/>
+ <param name="name" type="String" default="wxPySpinCtrlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreSpinCtrl" overloaded="no">
+ <autodoc>PreSpinCtrl() -> SpinCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=SP_ARROW_KEYS, int min=0, int max=100,
+ int initial=0, String name=SpinCtrlNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSP_ARROW_KEYS"/>
+ <param name="min" type="int" default="0"/>
+ <param name="max" type="int" default="100"/>
+ <param name="initial" type="int" default="0"/>
+ <param name="name" type="String" default="wxPySpinCtrlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="int" overloaded="no">
+ <autodoc>GetValue(self) -> int</autodoc>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, int value)</autodoc>
+ <paramlist>
+ <param name="value" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValueString" type="" overloaded="no">
+ <autodoc>SetValueString(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRange" type="" overloaded="no">
+ <autodoc>SetRange(self, int minVal, int maxVal)</autodoc>
+ <paramlist>
+ <param name="minVal" type="int" default=""/>
+ <param name="maxVal" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMin" type="int" overloaded="no">
+ <autodoc>GetMin(self) -> int</autodoc>
+ </method>
+ <method name="GetMax" type="int" overloaded="no">
+ <autodoc>GetMax(self) -> int</autodoc>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, long from, long to)</autodoc>
+ <paramlist>
+ <param name="from" type="long" default=""/>
+ <param name="to" type="long" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="SpinEvent" oldname="wxSpinEvent" module="_controls">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="SpinEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPosition" type="int" overloaded="no">
+ <autodoc>GetPosition(self) -> int</autodoc>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+EVT_SPIN_UP = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEUP, 1)
+EVT_SPIN_DOWN = wx.PyEventBinder( wx.wxEVT_SCROLL_LINEDOWN, 1)
+EVT_SPIN = wx.PyEventBinder( wx.wxEVT_SCROLL_THUMBTRACK, 1)
+EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
+</pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="windows">
- <baseclass name="wxEvtHandler"/>
- <constructor name="TaskBarIcon" overloaded="no">
- <autodoc>__init__() -> TaskBarIcon</autodoc>
- </constructor>
- <destructor name="~wxTaskBarIcon" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="IsIconInstalled" type="bool" overloaded="no">
- <autodoc>IsIconInstalled() -> bool</autodoc>
- </method>
- <method name="SetIcon" type="bool" overloaded="no">
- <autodoc>SetIcon(Icon icon, String tooltip=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- <param name="tooltip" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="RemoveIcon" type="bool" overloaded="no">
- <autodoc>RemoveIcon() -> bool</autodoc>
- </method>
- <method name="PopupMenu" type="bool" overloaded="no">
- <autodoc>PopupMenu(Menu menu) -> bool</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="windows">
- <baseclass name="wxEvent"/>
- <constructor name="TaskBarIconEvent" overloaded="no">
- <autodoc>__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent</autodoc>
- <paramlist>
- <param name="evtType" type="wxEventType" default=""/>
- <param name="tbIcon" type="p.wxTaskBarIcon" default=""/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
-EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE )
-EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN )
-EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP )
-EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN )
-EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP )
-EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK )
-EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
-</pythoncode>
- <pythoncode>
+ <class name="RadioBox" oldname="wxRadioBox" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="RadioBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ wxArrayString choices=wxPyEmptyStringArray,
+ int majorDimension=0, long style=RA_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ String name=RadioBoxNameStr) -> RadioBox</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="majorDimension" type="int" default="0"/>
+ <param name="style" type="long" default="wxRA_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyRadioBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreRadioBox" overloaded="no">
+ <autodoc>PreRadioBox() -> RadioBox</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ wxArrayString choices=wxPyEmptyStringArray,
+ int majorDimension=0, long style=RA_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ String name=RadioBoxNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
+ <param name="majorDimension" type="int" default="0"/>
+ <param name="style" type="long" default="wxRA_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyRadioBoxNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelection" type="int" overloaded="no">
+ <autodoc>GetSelection(self) -> int</autodoc>
+ </method>
+ <method name="GetStringSelection" type="String" overloaded="no">
+ <autodoc>GetStringSelection(self) -> String</autodoc>
+ </method>
+ <method name="SetStringSelection" type="bool" overloaded="no">
+ <autodoc>SetStringSelection(self, String s) -> bool</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="int" overloaded="no">
+ <autodoc>GetCount(self) -> int</autodoc>
+ </method>
+ <method name="FindString" type="int" overloaded="no">
+ <autodoc>FindString(self, String s) -> int</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetString" type="String" overloaded="no">
+ <autodoc>GetString(self, int n) -> String</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetString" type="" overloaded="no">
+ <autodoc>SetString(self, int n, String label)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableItem" type="" overloaded="no">
+ <autodoc>EnableItem(self, int n, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="ShowItem" type="" overloaded="no">
+ <autodoc>ShowItem(self, int n, bool show=True)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="show" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetColumnCount" type="int" overloaded="no">
+ <autodoc>GetColumnCount(self) -> int</autodoc>
+ </method>
+ <method name="GetRowCount" type="int" overloaded="no">
+ <autodoc>GetRowCount(self) -> int</autodoc>
+ </method>
+ <method name="GetNextItem" type="int" overloaded="no">
+ <autodoc>GetNextItem(self, int item, int dir, long style) -> int</autodoc>
+ <paramlist>
+ <param name="item" type="int" default=""/>
+ <param name="dir" type="wxDirection" default=""/>
+ <param name="style" type="long" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="ColourData" oldname="wxColourData" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="ColourData" overloaded="no">
- <autodoc>__init__() -> ColourData</autodoc>
- </constructor>
- <destructor name="~wxColourData" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetChooseFull" type="bool" overloaded="no">
- <autodoc>GetChooseFull() -> bool</autodoc>
- </method>
- <method name="GetColour" type="wxColour" overloaded="no">
- <autodoc>GetColour() -> Colour</autodoc>
- </method>
- <method name="GetCustomColour" type="wxColour" overloaded="no">
- <autodoc>GetCustomColour(int i) -> Colour</autodoc>
- <paramlist>
- <param name="i" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetChooseFull" type="void" overloaded="no">
- <autodoc>SetChooseFull(int flag)</autodoc>
- <paramlist>
- <param name="flag" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetCustomColour" type="void" overloaded="no">
- <autodoc>SetCustomColour(int i, Colour colour)</autodoc>
- <paramlist>
- <param name="i" type="int" default=""/>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="ColourDialog" oldname="wxColourDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="ColourDialog" overloaded="no">
- <autodoc>__init__(Window parent, ColourData data=None) -> ColourDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="data" type="p.wxColourData" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetColourData" type="wxColourData" overloaded="no">
- <autodoc>GetColourData() -> ColourData</autodoc>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="DirDialog" oldname="wxDirDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="DirDialog" overloaded="no">
- <autodoc>__init__(Window parent, String message=DirSelectorPromptStr,
- String defaultPath=EmptyString, long style=0,
+ <class name="RadioButton" oldname="wxRadioButton" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="RadioButton" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
- String name=DirDialogNameStr) -> DirDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="message" type="r.q(const).wxString" default="wxPyDirSelectorPromptStr"/>
- <param name="defaultPath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="long" default="0"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="name" type="r.q(const).wxString" default="wxPyDirDialogNameStr"/>
- </paramlist>
- </constructor>
- <method name="GetPath" type="wxString" overloaded="no">
- <autodoc>GetPath() -> String</autodoc>
- </method>
- <method name="GetMessage" type="wxString" overloaded="no">
- <autodoc>GetMessage() -> String</autodoc>
- </method>
- <method name="GetStyle" type="long" overloaded="no">
- <autodoc>GetStyle() -> long</autodoc>
- </method>
- <method name="SetMessage" type="void" overloaded="no">
- <autodoc>SetMessage(String message)</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetPath" type="void" overloaded="no">
- <autodoc>SetPath(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="FileDialog" oldname="wxFileDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="FileDialog" overloaded="no">
- <autodoc>__init__(Window parent, String message=FileSelectorPromptStr,
- String defaultDir=EmptyString, String defaultFile=EmptyString,
- String wildcard=FileSelectorDefaultWildcardStr,
- long style=0, Point pos=DefaultPosition) -> FileDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="message" type="r.q(const).wxString" default="wxPyFileSelectorPromptStr"/>
- <param name="defaultDir" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="defaultFile" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="wildcard" type="r.q(const).wxString" default="wxPyFileSelectorDefaultWildcardStr"/>
- <param name="style" type="long" default="0"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </constructor>
- <method name="SetMessage" type="void" overloaded="no">
- <autodoc>SetMessage(String message)</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetPath" type="void" overloaded="no">
- <autodoc>SetPath(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetDirectory" type="void" overloaded="no">
- <autodoc>SetDirectory(String dir)</autodoc>
- <paramlist>
- <param name="dir" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetFilename" type="void" overloaded="no">
- <autodoc>SetFilename(String name)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetWildcard" type="void" overloaded="no">
- <autodoc>SetWildcard(String wildCard)</autodoc>
- <paramlist>
- <param name="wildCard" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetStyle" type="void" overloaded="no">
- <autodoc>SetStyle(long style)</autodoc>
- <paramlist>
- <param name="style" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetFilterIndex" type="void" overloaded="no">
- <autodoc>SetFilterIndex(int filterIndex)</autodoc>
- <paramlist>
- <param name="filterIndex" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMessage" type="wxString" overloaded="no">
- <autodoc>GetMessage() -> String</autodoc>
- </method>
- <method name="GetPath" type="wxString" overloaded="no">
- <autodoc>GetPath() -> String</autodoc>
- </method>
- <method name="GetDirectory" type="wxString" overloaded="no">
- <autodoc>GetDirectory() -> String</autodoc>
- </method>
- <method name="GetFilename" type="wxString" overloaded="no">
- <autodoc>GetFilename() -> String</autodoc>
- </method>
- <method name="GetWildcard" type="wxString" overloaded="no">
- <autodoc>GetWildcard() -> String</autodoc>
- </method>
- <method name="GetStyle" type="long" overloaded="no">
- <autodoc>GetStyle() -> long</autodoc>
- </method>
- <method name="GetFilterIndex" type="int" overloaded="no">
- <autodoc>GetFilterIndex() -> int</autodoc>
- </method>
- <method name="GetFilenames" type="PyObject" overloaded="no">
- <autodoc>GetFilenames() -> PyObject</autodoc>
- </method>
- <method name="GetPaths" type="PyObject" overloaded="no">
- <autodoc>GetPaths() -> PyObject</autodoc>
- </method>
- </class>
- <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="MultiChoiceDialog" overloaded="no">
- <autodoc>__init__(Window parent, String message, String caption, int LCOUNT,
- String choices, long style=CHOICEDLG_STYLE,
- Point pos=DefaultPosition) -> MultiChoiceDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default=""/>
- <param name="LCOUNT" type="int" default=""/>
- <param name="choices" type="p.wxString" default=""/>
- <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </constructor>
- <method name="SetSelections" type="void" overloaded="no">
- <autodoc>SetSelections(wxArrayInt selections)</autodoc>
- <paramlist>
- <param name="selections" type="r.q(const).wxArrayInt" default=""/>
- </paramlist>
- </method>
- <method name="GetSelections" type="PyObject" overloaded="no">
- <autodoc>GetSelections() -> PyObject</autodoc>
- </method>
- </class>
- <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="SingleChoiceDialog" overloaded="no">
- <autodoc>__init__(Window parent, String message, String caption, int choices,
- String choices_array, long style=CHOICEDLG_STYLE,
- Point pos=DefaultPosition) -> SingleChoiceDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default=""/>
- <param name="choices" type="int" default=""/>
- <param name="choices_array" type="p.wxString" default=""/>
- <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </constructor>
- <method name="GetSelection" type="int" overloaded="no">
- <autodoc>GetSelection() -> int</autodoc>
- </method>
- <method name="GetStringSelection" type="wxString" overloaded="no">
- <autodoc>GetStringSelection() -> String</autodoc>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int sel)</autodoc>
- <paramlist>
- <param name="sel" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="TextEntryDialog" overloaded="no">
- <autodoc>__init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
- String defaultValue=EmptyString,
- long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default="wxPyGetTextFromUserPromptStr"/>
- <param name="defaultValue" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(String value)</autodoc>
- <paramlist>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="FontData" oldname="wxFontData" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="FontData" overloaded="no">
- <autodoc>__init__() -> FontData</autodoc>
- </constructor>
- <destructor name="~wxFontData" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="EnableEffects" type="void" overloaded="no">
- <autodoc>EnableEffects(bool enable)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetAllowSymbols" type="bool" overloaded="no">
- <autodoc>GetAllowSymbols() -> bool</autodoc>
- </method>
- <method name="GetColour" type="wxColour" overloaded="no">
- <autodoc>GetColour() -> Colour</autodoc>
- </method>
- <method name="GetChosenFont" type="wxFont" overloaded="no">
- <autodoc>GetChosenFont() -> Font</autodoc>
- </method>
- <method name="GetEnableEffects" type="bool" overloaded="no">
- <autodoc>GetEnableEffects() -> bool</autodoc>
- </method>
- <method name="GetInitialFont" type="wxFont" overloaded="no">
- <autodoc>GetInitialFont() -> Font</autodoc>
- </method>
- <method name="GetShowHelp" type="bool" overloaded="no">
- <autodoc>GetShowHelp() -> bool</autodoc>
- </method>
- <method name="SetAllowSymbols" type="void" overloaded="no">
- <autodoc>SetAllowSymbols(bool allowSymbols)</autodoc>
- <paramlist>
- <param name="allowSymbols" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetChosenFont" type="void" overloaded="no">
- <autodoc>SetChosenFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetInitialFont" type="void" overloaded="no">
- <autodoc>SetInitialFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetRange" type="void" overloaded="no">
- <autodoc>SetRange(int min, int max)</autodoc>
- <paramlist>
- <param name="min" type="int" default=""/>
- <param name="max" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetShowHelp" type="void" overloaded="no">
- <autodoc>SetShowHelp(bool showHelp)</autodoc>
- <paramlist>
- <param name="showHelp" type="bool" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="FontDialog" oldname="wxFontDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="FontDialog" overloaded="no">
- <autodoc>__init__(Window parent, FontData data) -> FontDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="data" type="r.q(const).wxFontData" default=""/>
- </paramlist>
- </constructor>
- <method name="GetFontData" type="wxFontData" overloaded="no">
- <autodoc>GetFontData() -> FontData</autodoc>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="MessageDialog" oldname="wxMessageDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="MessageDialog" overloaded="no">
- <autodoc>__init__(Window parent, String message, String caption=MessageBoxCaptionStr,
- long style=wxOK|wxCANCEL|wxCENTRE,
- Point pos=DefaultPosition) -> MessageDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default="wxPyMessageBoxCaptionStr"/>
- <param name="style" type="long" default="wxOK|wxCANCEL|wxCENTRE"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </constructor>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="ProgressDialog" oldname="wxProgressDialog" module="windows">
- <baseclass name="wxFrame"/>
- <constructor name="ProgressDialog" overloaded="no">
- <autodoc>__init__(String title, String message, int maximum=100, Window parent=None,
- int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="maximum" type="int" default="100"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="style" type="int" default="wxPD_AUTO_HIDE|wxPD_APP_MODAL"/>
- </paramlist>
- </constructor>
- <method name="Update" type="bool" overloaded="no">
- <autodoc>Update(int value, String newmsg=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="value" type="int" default=""/>
- <param name="newmsg" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="Resume" type="void" overloaded="no">
- <autodoc>Resume()</autodoc>
- </method>
- </class>
- <pythoncode>
-EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 )
-EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 )
-EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 )
-EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 )
-EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 )
+ long style=0, Validator validator=DefaultValidator,
+ String name=RadioButtonNameStr) -> RadioButton</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyRadioButtonNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreRadioButton" overloaded="no">
+ <autodoc>PreRadioButton() -> RadioButton</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=RadioButtonNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyRadioButtonNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="bool" overloaded="no">
+ <autodoc>GetValue(self) -> bool</autodoc>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, bool value)</autodoc>
+ <paramlist>
+ <param name="value" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
-# For backwards compatibility. Should they be removed?
-EVT_COMMAND_FIND = EVT_FIND
-EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT
-EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE
-EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
-EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
-</pythoncode>
- <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="windows">
- <baseclass name="wxCommandEvent"/>
- <constructor name="FindDialogEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetFlags" type="int" overloaded="no">
- <autodoc>GetFlags() -> int</autodoc>
- </method>
- <method name="GetFindString" type="q(const).wxString" overloaded="no">
- <autodoc>GetFindString() -> String</autodoc>
- </method>
- <method name="GetReplaceString" type="q(const).wxString" overloaded="no">
- <autodoc>GetReplaceString() -> String</autodoc>
- </method>
- <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no">
- <autodoc>GetDialog() -> FindReplaceDialog</autodoc>
- </method>
- <method name="SetFlags" type="void" overloaded="no">
- <autodoc>SetFlags(int flags)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFindString" type="void" overloaded="no">
- <autodoc>SetFindString(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetReplaceString" type="void" overloaded="no">
- <autodoc>SetReplaceString(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="FindReplaceData" oldname="wxFindReplaceData" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="FindReplaceData" overloaded="no">
- <autodoc>__init__(int flags=0) -> FindReplaceData</autodoc>
- <paramlist>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxFindReplaceData" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetFindString" type="q(const).wxString" overloaded="no">
- <autodoc>GetFindString() -> String</autodoc>
- </method>
- <method name="GetReplaceString" type="q(const).wxString" overloaded="no">
- <autodoc>GetReplaceString() -> String</autodoc>
- </method>
- <method name="GetFlags" type="int" overloaded="no">
- <autodoc>GetFlags() -> int</autodoc>
- </method>
- <method name="SetFlags" type="void" overloaded="no">
- <autodoc>SetFlags(int flags)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFindString" type="void" overloaded="no">
- <autodoc>SetFindString(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetReplaceString" type="void" overloaded="no">
- <autodoc>SetReplaceString(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="FindReplaceDialog" overloaded="no">
- <autodoc>__init__(Window parent, FindReplaceData data, String title,
- int style=0) -> FindReplaceDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="data" type="p.wxFindReplaceData" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="style" type="int" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="PreFindReplaceDialog" overloaded="no">
- <autodoc>PreFindReplaceDialog() -> FindReplaceDialog</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, FindReplaceData data, String title,
- int style=0) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="data" type="p.wxFindReplaceData" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="style" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetData" type="q(const).wxFindReplaceData" overloaded="no">
- <autodoc>GetData() -> FindReplaceData</autodoc>
- </method>
- <method name="SetData" type="void" overloaded="no">
- <autodoc>SetData(FindReplaceData data)</autodoc>
- <paramlist>
- <param name="data" type="p.wxFindReplaceData" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="windows">
- <baseclass name="wxFrame"/>
- <constructor name="MDIParentFrame" overloaded="no">
- <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
- String name=FrameNameStr) -> MDIParentFrame</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreMDIParentFrame" overloaded="no">
- <autodoc>PreMDIParentFrame() -> MDIParentFrame</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
- String name=FrameNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </method>
- <method name="ActivateNext" type="void" overloaded="no">
- <autodoc>ActivateNext()</autodoc>
- </method>
- <method name="ActivatePrevious" type="void" overloaded="no">
- <autodoc>ActivatePrevious()</autodoc>
- </method>
- <method name="ArrangeIcons" type="void" overloaded="no">
- <autodoc>ArrangeIcons()</autodoc>
- </method>
- <method name="Cascade" type="void" overloaded="no">
- <autodoc>Cascade()</autodoc>
- </method>
- <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no">
- <autodoc>GetActiveChild() -> MDIChildFrame</autodoc>
- </method>
- <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no">
- <autodoc>GetClientWindow() -> MDIClientWindow</autodoc>
- </method>
- <method name="GetToolBar" type="wxWindow" overloaded="no">
- <autodoc>GetToolBar() -> Window</autodoc>
- </method>
- <method name="Tile" type="void" overloaded="no">
- <autodoc>Tile()</autodoc>
- </method>
- </class>
- <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="windows">
- <baseclass name="wxFrame"/>
- <constructor name="MDIChildFrame" overloaded="no">
- <autodoc>__init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
- String name=FrameNameStr) -> MDIChildFrame</autodoc>
- <paramlist>
- <param name="parent" type="p.wxMDIParentFrame" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreMDIChildFrame" overloaded="no">
- <autodoc>PreMDIChildFrame() -> MDIChildFrame</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
- String name=FrameNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxMDIParentFrame" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </method>
- <method name="Activate" type="void" overloaded="no">
- <autodoc>Activate()</autodoc>
- </method>
- <method name="Maximize" type="void" overloaded="no">
- <autodoc>Maximize(bool maximize)</autodoc>
- <paramlist>
- <param name="maximize" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Restore" type="void" overloaded="no">
- <autodoc>Restore()</autodoc>
- </method>
- </class>
- <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="MDIClientWindow" overloaded="no">
- <autodoc>__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxMDIParentFrame" default=""/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="PreMDIClientWindow" overloaded="no">
- <autodoc>PreMDIClientWindow() -> MDIClientWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(MDIParentFrame parent, long style=0) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxMDIParentFrame" default=""/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="Slider" oldname="wxSlider" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="Slider" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, int value=0, int minValue=0,
+ int maxValue=100, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SL_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ String name=SliderNameStr) -> Slider</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="int" default="0"/>
+ <param name="minValue" type="int" default="0"/>
+ <param name="maxValue" type="int" default="100"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSL_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPySliderNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreSlider" overloaded="no">
+ <autodoc>PreSlider() -> Slider</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, int value=0, int minValue=0,
+ int maxValue=100, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=SL_HORIZONTAL,
+ Validator validator=DefaultValidator,
+ String name=SliderNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="value" type="int" default="0"/>
+ <param name="minValue" type="int" default="0"/>
+ <param name="maxValue" type="int" default="100"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSL_HORIZONTAL"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPySliderNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="int" overloaded="no">
+ <autodoc>GetValue(self) -> int</autodoc>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, int value)</autodoc>
+ <paramlist>
+ <param name="value" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRange" type="" overloaded="no">
+ <autodoc>SetRange(self, int minValue, int maxValue)</autodoc>
+ <paramlist>
+ <param name="minValue" type="int" default=""/>
+ <param name="maxValue" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMin" type="int" overloaded="no">
+ <autodoc>GetMin(self) -> int</autodoc>
+ </method>
+ <method name="GetMax" type="int" overloaded="no">
+ <autodoc>GetMax(self) -> int</autodoc>
+ </method>
+ <method name="SetMin" type="" overloaded="no">
+ <autodoc>SetMin(self, int minValue)</autodoc>
+ <paramlist>
+ <param name="minValue" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMax" type="" overloaded="no">
+ <autodoc>SetMax(self, int maxValue)</autodoc>
+ <paramlist>
+ <param name="maxValue" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLineSize" type="" overloaded="no">
+ <autodoc>SetLineSize(self, int lineSize)</autodoc>
+ <paramlist>
+ <param name="lineSize" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPageSize" type="" overloaded="no">
+ <autodoc>SetPageSize(self, int pageSize)</autodoc>
+ <paramlist>
+ <param name="pageSize" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineSize" type="int" overloaded="no">
+ <autodoc>GetLineSize(self) -> int</autodoc>
+ </method>
+ <method name="GetPageSize" type="int" overloaded="no">
+ <autodoc>GetPageSize(self) -> int</autodoc>
+ </method>
+ <method name="SetThumbLength" type="" overloaded="no">
+ <autodoc>SetThumbLength(self, int lenPixels)</autodoc>
+ <paramlist>
+ <param name="lenPixels" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetThumbLength" type="int" overloaded="no">
+ <autodoc>GetThumbLength(self) -> int</autodoc>
+ </method>
+ <method name="SetTickFreq" type="" overloaded="no">
+ <autodoc>SetTickFreq(self, int n, int pos=1)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ <param name="pos" type="int" default="1"/>
+ </paramlist>
+ </method>
+ <method name="GetTickFreq" type="int" overloaded="no">
+ <autodoc>GetTickFreq(self) -> int</autodoc>
+ </method>
+ <method name="ClearTicks" type="" overloaded="no">
+ <autodoc>ClearTicks(self)</autodoc>
+ </method>
+ <method name="SetTick" type="" overloaded="no">
+ <autodoc>SetTick(self, int tickPos)</autodoc>
+ <paramlist>
+ <param name="tickPos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearSel" type="" overloaded="no">
+ <autodoc>ClearSel(self)</autodoc>
+ </method>
+ <method name="GetSelEnd" type="int" overloaded="no">
+ <autodoc>GetSelEnd(self) -> int</autodoc>
+ </method>
+ <method name="GetSelStart" type="int" overloaded="no">
+ <autodoc>GetSelStart(self) -> int</autodoc>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int min, int max)</autodoc>
+ <paramlist>
+ <param name="min" type="int" default=""/>
+ <param name="max" type="int" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="PyWindow" oldname="wxPyWindow" module="windows">
- <baseclass name="wxWindow"/>
- <constructor name="PyWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=PanelNameStr) -> PyWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_DoMoveWindow" type="void" overloaded="no">
- <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetSize" type="void" overloaded="no">
- <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
- </paramlist>
- </method>
- <method name="base_DoSetClientSize" type="void" overloaded="no">
- <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetVirtualSize" type="void" overloaded="no">
- <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetSize" type="void" overloaded="no">
- <autodoc>base_DoGetSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetClientSize" type="void" overloaded="no">
- <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetPosition" type="void" overloaded="no">
- <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetVirtualSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetVirtualSize() -> Size</autodoc>
- </method>
- <method name="base_DoGetBestSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetBestSize() -> Size</autodoc>
- </method>
- <method name="base_InitDialog" type="void" overloaded="no">
- <autodoc>base_InitDialog()</autodoc>
- </method>
- <method name="base_TransferDataToWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataToWindow() -> bool</autodoc>
- </method>
- <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataFromWindow() -> bool</autodoc>
- </method>
- <method name="base_Validate" type="bool" overloaded="no">
- <autodoc>base_Validate() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocus" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocus() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc>
- </method>
- <method name="base_GetMaxSize" type="wxSize" overloaded="no">
- <autodoc>base_GetMaxSize() -> Size</autodoc>
- </method>
- <method name="base_AddChild" type="void" overloaded="no">
- <autodoc>base_AddChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="base_RemoveChild" type="void" overloaded="no">
- <autodoc>base_RemoveChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyPanel" oldname="wxPyPanel" module="windows">
- <baseclass name="wxPanel"/>
- <constructor name="PyPanel" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=PanelNameStr) -> PyPanel</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_DoMoveWindow" type="void" overloaded="no">
- <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetSize" type="void" overloaded="no">
- <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
- </paramlist>
- </method>
- <method name="base_DoSetClientSize" type="void" overloaded="no">
- <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetVirtualSize" type="void" overloaded="no">
- <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetSize" type="void" overloaded="no">
- <autodoc>base_DoGetSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetClientSize" type="void" overloaded="no">
- <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetPosition" type="void" overloaded="no">
- <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetVirtualSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetVirtualSize() -> Size</autodoc>
- </method>
- <method name="base_DoGetBestSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetBestSize() -> Size</autodoc>
- </method>
- <method name="base_InitDialog" type="void" overloaded="no">
- <autodoc>base_InitDialog()</autodoc>
- </method>
- <method name="base_TransferDataToWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataToWindow() -> bool</autodoc>
- </method>
- <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataFromWindow() -> bool</autodoc>
- </method>
- <method name="base_Validate" type="bool" overloaded="no">
- <autodoc>base_Validate() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocus" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocus() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc>
- </method>
- <method name="base_GetMaxSize" type="wxSize" overloaded="no">
- <autodoc>base_GetMaxSize() -> Size</autodoc>
- </method>
- <method name="base_AddChild" type="void" overloaded="no">
- <autodoc>base_AddChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="base_RemoveChild" type="void" overloaded="no">
- <autodoc>base_RemoveChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="PrintData" oldname="wxPrintData" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="PrintData" overloaded="no">
- <autodoc>__init__() -> PrintData</autodoc>
- </constructor>
- <destructor name="~wxPrintData" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetNoCopies" type="int" overloaded="no">
- <autodoc>GetNoCopies() -> int</autodoc>
- </method>
- <method name="GetCollate" type="bool" overloaded="no">
- <autodoc>GetCollate() -> bool</autodoc>
- </method>
- <method name="GetOrientation" type="int" overloaded="no">
- <autodoc>GetOrientation() -> int</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="GetPrinterName" type="q(const).wxString" overloaded="no">
- <autodoc>GetPrinterName() -> String</autodoc>
- </method>
- <method name="GetColour" type="bool" overloaded="no">
- <autodoc>GetColour() -> bool</autodoc>
- </method>
- <method name="GetDuplex" type="wxDuplexMode" overloaded="no">
- <autodoc>GetDuplex() -> int</autodoc>
- </method>
- <method name="GetPaperId" type="wxPaperSize" overloaded="no">
- <autodoc>GetPaperId() -> int</autodoc>
- </method>
- <method name="GetPaperSize" type="q(const).wxSize" overloaded="no">
- <autodoc>GetPaperSize() -> Size</autodoc>
- </method>
- <method name="GetQuality" type="int" overloaded="no">
- <autodoc>GetQuality() -> int</autodoc>
- </method>
- <method name="SetNoCopies" type="void" overloaded="no">
- <autodoc>SetNoCopies(int v)</autodoc>
- <paramlist>
- <param name="v" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetCollate" type="void" overloaded="no">
- <autodoc>SetCollate(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetOrientation" type="void" overloaded="no">
- <autodoc>SetOrientation(int orient)</autodoc>
- <paramlist>
- <param name="orient" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterName" type="void" overloaded="no">
- <autodoc>SetPrinterName(String name)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(bool colour)</autodoc>
- <paramlist>
- <param name="colour" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetDuplex" type="void" overloaded="no">
- <autodoc>SetDuplex(int duplex)</autodoc>
- <paramlist>
- <param name="duplex" type="wxDuplexMode" default=""/>
- </paramlist>
- </method>
- <method name="SetPaperId" type="void" overloaded="no">
- <autodoc>SetPaperId(int sizeId)</autodoc>
- <paramlist>
- <param name="sizeId" type="wxPaperSize" default=""/>
- </paramlist>
- </method>
- <method name="SetPaperSize" type="void" overloaded="no">
- <autodoc>SetPaperSize(Size sz)</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetQuality" type="void" overloaded="no">
- <autodoc>SetQuality(int quality)</autodoc>
- <paramlist>
- <param name="quality" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPrinterCommand" type="q(const).wxString" overloaded="no">
- <autodoc>GetPrinterCommand() -> String</autodoc>
- </method>
- <method name="GetPrinterOptions" type="q(const).wxString" overloaded="no">
- <autodoc>GetPrinterOptions() -> String</autodoc>
- </method>
- <method name="GetPreviewCommand" type="q(const).wxString" overloaded="no">
- <autodoc>GetPreviewCommand() -> String</autodoc>
- </method>
- <method name="GetFilename" type="q(const).wxString" overloaded="no">
- <autodoc>GetFilename() -> String</autodoc>
- </method>
- <method name="GetFontMetricPath" type="q(const).wxString" overloaded="no">
- <autodoc>GetFontMetricPath() -> String</autodoc>
- </method>
- <method name="GetPrinterScaleX" type="double" overloaded="no">
- <autodoc>GetPrinterScaleX() -> double</autodoc>
- </method>
- <method name="GetPrinterScaleY" type="double" overloaded="no">
- <autodoc>GetPrinterScaleY() -> double</autodoc>
- </method>
- <method name="GetPrinterTranslateX" type="long" overloaded="no">
- <autodoc>GetPrinterTranslateX() -> long</autodoc>
- </method>
- <method name="GetPrinterTranslateY" type="long" overloaded="no">
- <autodoc>GetPrinterTranslateY() -> long</autodoc>
- </method>
- <method name="GetPrintMode" type="wxPrintMode" overloaded="no">
- <autodoc>GetPrintMode() -> int</autodoc>
- </method>
- <method name="SetPrinterCommand" type="void" overloaded="no">
- <autodoc>SetPrinterCommand(String command)</autodoc>
- <paramlist>
- <param name="command" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterOptions" type="void" overloaded="no">
- <autodoc>SetPrinterOptions(String options)</autodoc>
- <paramlist>
- <param name="options" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetPreviewCommand" type="void" overloaded="no">
- <autodoc>SetPreviewCommand(String command)</autodoc>
- <paramlist>
- <param name="command" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetFilename" type="void" overloaded="no">
- <autodoc>SetFilename(String filename)</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetFontMetricPath" type="void" overloaded="no">
- <autodoc>SetFontMetricPath(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterScaleX" type="void" overloaded="no">
- <autodoc>SetPrinterScaleX(double x)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterScaleY" type="void" overloaded="no">
- <autodoc>SetPrinterScaleY(double y)</autodoc>
- <paramlist>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterScaling" type="void" overloaded="no">
- <autodoc>SetPrinterScaling(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterTranslateX" type="void" overloaded="no">
- <autodoc>SetPrinterTranslateX(long x)</autodoc>
- <paramlist>
- <param name="x" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterTranslateY" type="void" overloaded="no">
- <autodoc>SetPrinterTranslateY(long y)</autodoc>
- <paramlist>
- <param name="y" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetPrinterTranslation" type="void" overloaded="no">
- <autodoc>SetPrinterTranslation(long x, long y)</autodoc>
- <paramlist>
- <param name="x" type="long" default=""/>
- <param name="y" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetPrintMode" type="void" overloaded="no">
- <autodoc>SetPrintMode(int printMode)</autodoc>
- <paramlist>
- <param name="printMode" type="wxPrintMode" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="PageSetupDialogData" overloaded="no">
- <autodoc>__init__() -> PageSetupDialogData</autodoc>
- </constructor>
- <destructor name="~wxPageSetupDialogData" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="EnableHelp" type="void" overloaded="no">
- <autodoc>EnableHelp(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnableMargins" type="void" overloaded="no">
- <autodoc>EnableMargins(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnableOrientation" type="void" overloaded="no">
- <autodoc>EnableOrientation(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnablePaper" type="void" overloaded="no">
- <autodoc>EnablePaper(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnablePrinter" type="void" overloaded="no">
- <autodoc>EnablePrinter(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultMinMargins" type="bool" overloaded="no">
- <autodoc>GetDefaultMinMargins() -> bool</autodoc>
- </method>
- <method name="GetEnableMargins" type="bool" overloaded="no">
- <autodoc>GetEnableMargins() -> bool</autodoc>
- </method>
- <method name="GetEnableOrientation" type="bool" overloaded="no">
- <autodoc>GetEnableOrientation() -> bool</autodoc>
- </method>
- <method name="GetEnablePaper" type="bool" overloaded="no">
- <autodoc>GetEnablePaper() -> bool</autodoc>
- </method>
- <method name="GetEnablePrinter" type="bool" overloaded="no">
- <autodoc>GetEnablePrinter() -> bool</autodoc>
- </method>
- <method name="GetEnableHelp" type="bool" overloaded="no">
- <autodoc>GetEnableHelp() -> bool</autodoc>
- </method>
- <method name="GetDefaultInfo" type="bool" overloaded="no">
- <autodoc>GetDefaultInfo() -> bool</autodoc>
- </method>
- <method name="GetMarginTopLeft" type="wxPoint" overloaded="no">
- <autodoc>GetMarginTopLeft() -> Point</autodoc>
- </method>
- <method name="GetMarginBottomRight" type="wxPoint" overloaded="no">
- <autodoc>GetMarginBottomRight() -> Point</autodoc>
- </method>
- <method name="GetMinMarginTopLeft" type="wxPoint" overloaded="no">
- <autodoc>GetMinMarginTopLeft() -> Point</autodoc>
- </method>
- <method name="GetMinMarginBottomRight" type="wxPoint" overloaded="no">
- <autodoc>GetMinMarginBottomRight() -> Point</autodoc>
- </method>
- <method name="GetPaperId" type="wxPaperSize" overloaded="no">
- <autodoc>GetPaperId() -> int</autodoc>
- </method>
- <method name="GetPaperSize" type="wxSize" overloaded="no">
- <autodoc>GetPaperSize() -> Size</autodoc>
- </method>
- <method name="GetPrintData" type="wxPrintData" overloaded="no">
- <autodoc>GetPrintData() -> PrintData</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="SetDefaultInfo" type="void" overloaded="no">
- <autodoc>SetDefaultInfo(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultMinMargins" type="void" overloaded="no">
- <autodoc>SetDefaultMinMargins(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginTopLeft" type="void" overloaded="no">
- <autodoc>SetMarginTopLeft(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginBottomRight" type="void" overloaded="no">
- <autodoc>SetMarginBottomRight(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetMinMarginTopLeft" type="void" overloaded="no">
- <autodoc>SetMinMarginTopLeft(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetMinMarginBottomRight" type="void" overloaded="no">
- <autodoc>SetMinMarginBottomRight(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetPaperId" type="void" overloaded="no">
- <autodoc>SetPaperId(int id)</autodoc>
- <paramlist>
- <param name="id" type="wxPaperSize" default=""/>
- </paramlist>
- </method>
- <method name="SetPaperSize" type="void" overloaded="no">
- <autodoc>SetPaperSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetPrintData" type="void" overloaded="no">
- <autodoc>SetPrintData(PrintData printData)</autodoc>
- <paramlist>
- <param name="printData" type="r.q(const).wxPrintData" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="PageSetupDialog" overloaded="no">
- <autodoc>__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="data" type="p.wxPageSetupDialogData" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetPageSetupData" type="wxPageSetupDialogData" overloaded="no">
- <autodoc>GetPageSetupData() -> PageSetupDialogData</autodoc>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="PrintDialogData" oldname="wxPrintDialogData" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="PrintDialogData" overloaded="no">
- <autodoc>__init__() -> PrintDialogData</autodoc>
- </constructor>
- <destructor name="~wxPrintDialogData" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetFromPage" type="int" overloaded="no">
- <autodoc>GetFromPage() -> int</autodoc>
- </method>
- <method name="GetToPage" type="int" overloaded="no">
- <autodoc>GetToPage() -> int</autodoc>
- </method>
- <method name="GetMinPage" type="int" overloaded="no">
- <autodoc>GetMinPage() -> int</autodoc>
- </method>
- <method name="GetMaxPage" type="int" overloaded="no">
- <autodoc>GetMaxPage() -> int</autodoc>
- </method>
- <method name="GetNoCopies" type="int" overloaded="no">
- <autodoc>GetNoCopies() -> int</autodoc>
- </method>
- <method name="GetAllPages" type="bool" overloaded="no">
- <autodoc>GetAllPages() -> bool</autodoc>
- </method>
- <method name="GetSelection" type="bool" overloaded="no">
- <autodoc>GetSelection() -> bool</autodoc>
- </method>
- <method name="GetCollate" type="bool" overloaded="no">
- <autodoc>GetCollate() -> bool</autodoc>
- </method>
- <method name="GetPrintToFile" type="bool" overloaded="no">
- <autodoc>GetPrintToFile() -> bool</autodoc>
- </method>
- <method name="GetSetupDialog" type="bool" overloaded="no">
- <autodoc>GetSetupDialog() -> bool</autodoc>
- </method>
- <method name="SetFromPage" type="void" overloaded="no">
- <autodoc>SetFromPage(int v)</autodoc>
- <paramlist>
- <param name="v" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetToPage" type="void" overloaded="no">
- <autodoc>SetToPage(int v)</autodoc>
- <paramlist>
- <param name="v" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMinPage" type="void" overloaded="no">
- <autodoc>SetMinPage(int v)</autodoc>
- <paramlist>
- <param name="v" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMaxPage" type="void" overloaded="no">
- <autodoc>SetMaxPage(int v)</autodoc>
- <paramlist>
- <param name="v" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetNoCopies" type="void" overloaded="no">
- <autodoc>SetNoCopies(int v)</autodoc>
- <paramlist>
- <param name="v" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAllPages" type="void" overloaded="no">
- <autodoc>SetAllPages(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetCollate" type="void" overloaded="no">
- <autodoc>SetCollate(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetPrintToFile" type="void" overloaded="no">
- <autodoc>SetPrintToFile(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetSetupDialog" type="void" overloaded="no">
- <autodoc>SetSetupDialog(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnablePrintToFile" type="void" overloaded="no">
- <autodoc>EnablePrintToFile(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnableSelection" type="void" overloaded="no">
- <autodoc>EnableSelection(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnablePageNumbers" type="void" overloaded="no">
- <autodoc>EnablePageNumbers(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnableHelp" type="void" overloaded="no">
- <autodoc>EnableHelp(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetEnablePrintToFile" type="bool" overloaded="no">
- <autodoc>GetEnablePrintToFile() -> bool</autodoc>
- </method>
- <method name="GetEnableSelection" type="bool" overloaded="no">
- <autodoc>GetEnableSelection() -> bool</autodoc>
- </method>
- <method name="GetEnablePageNumbers" type="bool" overloaded="no">
- <autodoc>GetEnablePageNumbers() -> bool</autodoc>
- </method>
- <method name="GetEnableHelp" type="bool" overloaded="no">
- <autodoc>GetEnableHelp() -> bool</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="GetPrintData" type="wxPrintData" overloaded="no">
- <autodoc>GetPrintData() -> PrintData</autodoc>
- </method>
- <method name="SetPrintData" type="void" overloaded="no">
- <autodoc>SetPrintData(PrintData printData)</autodoc>
- <paramlist>
- <param name="printData" type="r.q(const).wxPrintData" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PrintDialog" oldname="wxPrintDialog" module="windows">
- <baseclass name="wxDialog"/>
- <constructor name="PrintDialog" overloaded="no">
- <autodoc>__init__(Window parent, PrintDialogData data=None) -> PrintDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="data" type="p.wxPrintDialogData" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetPrintDialogData" type="wxPrintDialogData" overloaded="no">
- <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc>
- </method>
- <method name="GetPrintDC" type="wxDC" overloaded="no">
- <autodoc>GetPrintDC() -> DC</autodoc>
- </method>
- <method name="ShowModal" type="int" overloaded="no">
- <autodoc>ShowModal() -> int</autodoc>
- </method>
- </class>
- <class name="Printer" oldname="wxPrinter" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="Printer" overloaded="no">
- <autodoc>__init__(PrintDialogData data=None) -> Printer</autodoc>
- <paramlist>
- <param name="data" type="p.wxPrintDialogData" default="NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPrinter" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="CreateAbortWindow" type="void" overloaded="no">
- <autodoc>CreateAbortWindow(Window parent, Printout printout)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="printout" type="p.wxPyPrintout" default=""/>
- </paramlist>
- </method>
- <method name="GetPrintDialogData" type="wxPrintDialogData" overloaded="no">
- <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc>
- </method>
- <method name="Print" type="bool" overloaded="no">
- <autodoc>Print(Window parent, Printout printout, int prompt=True) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="printout" type="p.wxPyPrintout" default=""/>
- <param name="prompt" type="int" default="True"/>
- </paramlist>
- </method>
- <method name="PrintDialog" type="wxDC" overloaded="no">
- <autodoc>PrintDialog(Window parent) -> DC</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="ReportError" type="void" overloaded="no">
- <autodoc>ReportError(Window parent, Printout printout, String message)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="printout" type="p.wxPyPrintout" default=""/>
- <param name="message" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Setup" type="bool" overloaded="no">
- <autodoc>Setup(Window parent) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetAbort" type="bool" overloaded="no">
- <autodoc>GetAbort() -> bool</autodoc>
- </method>
- <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no">
- <autodoc>Printer.GetLastError() -> int</autodoc>
- </staticmethod>
- </class>
- <class name="Printout" oldname="wxPyPrintout" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="wxPyPrintout" overloaded="no">
- <autodoc>__init__(String title=PrintoutTitleStr) -> Printout</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default="wxPyPrintoutTitleStr"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetTitle" type="wxString" overloaded="no">
- <autodoc>GetTitle() -> String</autodoc>
- </method>
- <method name="GetDC" type="wxDC" overloaded="no">
- <autodoc>GetDC() -> DC</autodoc>
- </method>
- <method name="SetDC" type="void" overloaded="no">
- <autodoc>SetDC(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="SetPageSizePixels" type="void" overloaded="no">
- <autodoc>SetPageSizePixels(int w, int h)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPageSizePixels" type="void" overloaded="no">
- <autodoc>GetPageSizePixels() -> (w, h)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetPageSizeMM" type="void" overloaded="no">
- <autodoc>SetPageSizeMM(int w, int h)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- <param name="h" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPageSizeMM" type="void" overloaded="no">
- <autodoc>GetPageSizeMM() -> (w, h)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetPPIScreen" type="void" overloaded="no">
- <autodoc>SetPPIScreen(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPPIScreen" type="void" overloaded="no">
- <autodoc>GetPPIScreen() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetPPIPrinter" type="void" overloaded="no">
- <autodoc>SetPPIPrinter(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPPIPrinter" type="void" overloaded="no">
- <autodoc>GetPPIPrinter() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="IsPreview" type="bool" overloaded="no">
- <autodoc>IsPreview() -> bool</autodoc>
- </method>
- <method name="SetIsPreview" type="void" overloaded="no">
- <autodoc>SetIsPreview(bool p)</autodoc>
- <paramlist>
- <param name="p" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="base_OnBeginDocument" type="bool" overloaded="no">
- <autodoc>base_OnBeginDocument(int startPage, int endPage) -> bool</autodoc>
- <paramlist>
- <param name="startPage" type="int" default=""/>
- <param name="endPage" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndDocument" type="void" overloaded="no">
- <autodoc>base_OnEndDocument()</autodoc>
- </method>
- <method name="base_OnBeginPrinting" type="void" overloaded="no">
- <autodoc>base_OnBeginPrinting()</autodoc>
- </method>
- <method name="base_OnEndPrinting" type="void" overloaded="no">
- <autodoc>base_OnEndPrinting()</autodoc>
- </method>
- <method name="base_OnPreparePrinting" type="void" overloaded="no">
- <autodoc>base_OnPreparePrinting()</autodoc>
- </method>
- <method name="base_HasPage" type="bool" overloaded="no">
- <autodoc>base_HasPage(int page) -> bool</autodoc>
- <paramlist>
- <param name="page" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_GetPageInfo" type="void" overloaded="no">
- <autodoc>base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="windows">
- <baseclass name="wxScrolledWindow"/>
- <constructor name="PreviewCanvas" overloaded="no">
- <autodoc>__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- String name=PreviewCanvasNameStr) -> PreviewCanvas</autodoc>
- <paramlist>
- <param name="preview" type="p.wxPrintPreview" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPreviewCanvasNameStr"/>
- </paramlist>
- </constructor>
- </class>
- <class name="PreviewFrame" oldname="wxPreviewFrame" module="windows">
- <baseclass name="wxFrame"/>
- <constructor name="PreviewFrame" overloaded="no">
- <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
- Size size=DefaultSize,
- long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame</autodoc>
- <paramlist>
- <param name="preview" type="p.wxPrintPreview" default=""/>
- <param name="parent" type="p.wxFrame" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </constructor>
- <method name="Initialize" type="void" overloaded="no">
- <autodoc>Initialize()</autodoc>
- </method>
- <method name="CreateControlBar" type="void" overloaded="no">
- <autodoc>CreateControlBar()</autodoc>
- </method>
- <method name="CreateCanvas" type="void" overloaded="no">
- <autodoc>CreateCanvas()</autodoc>
- </method>
- <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no">
- <autodoc>GetControlBar() -> PreviewControlBar</autodoc>
- </method>
- </class>
- <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="windows">
- <baseclass name="wxPanel"/>
- <constructor name="PreviewControlBar" overloaded="no">
- <autodoc>__init__(PrintPreview preview, long buttons, Window parent,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar</autodoc>
- <paramlist>
- <param name="preview" type="p.wxPrintPreview" default=""/>
- <param name="buttons" type="long" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTAB_TRAVERSAL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <method name="GetZoomControl" type="int" overloaded="no">
- <autodoc>GetZoomControl() -> int</autodoc>
- </method>
- <method name="SetZoomControl" type="void" overloaded="no">
- <autodoc>SetZoomControl(int zoom)</autodoc>
- <paramlist>
- <param name="zoom" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no">
- <autodoc>GetPrintPreview() -> PrintPreview</autodoc>
- </method>
- <method name="OnNext" type="void" overloaded="no">
- <autodoc>OnNext()</autodoc>
- </method>
- <method name="OnPrevious" type="void" overloaded="no">
- <autodoc>OnPrevious()</autodoc>
- </method>
- <method name="OnFirst" type="void" overloaded="no">
- <autodoc>OnFirst()</autodoc>
- </method>
- <method name="OnLast" type="void" overloaded="no">
- <autodoc>OnLast()</autodoc>
- </method>
- <method name="OnGoto" type="void" overloaded="no">
- <autodoc>OnGoto()</autodoc>
- </method>
- </class>
- <class name="PrintPreview" oldname="wxPrintPreview" module="windows">
- <baseclass name="wxObject"/>
- <constructor name="PrintPreview" overloaded="no">
- <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview</autodoc>
- <paramlist>
- <param name="printout" type="p.wxPyPrintout" default=""/>
- <param name="printoutForPrinting" type="p.wxPyPrintout" default=""/>
- <param name="data" type="p.wxPrintData" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="SetCurrentPage" type="bool" overloaded="no">
- <autodoc>SetCurrentPage(int pageNum) -> bool</autodoc>
- <paramlist>
- <param name="pageNum" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCurrentPage" type="int" overloaded="no">
- <autodoc>GetCurrentPage() -> int</autodoc>
- </method>
- <method name="SetPrintout" type="void" overloaded="no">
- <autodoc>SetPrintout(Printout printout)</autodoc>
- <paramlist>
- <param name="printout" type="p.wxPyPrintout" default=""/>
- </paramlist>
- </method>
- <method name="GetPrintout" type="wxPyPrintout" overloaded="no">
- <autodoc>GetPrintout() -> Printout</autodoc>
- </method>
- <method name="GetPrintoutForPrinting" type="wxPyPrintout" overloaded="no">
- <autodoc>GetPrintoutForPrinting() -> Printout</autodoc>
- </method>
- <method name="SetFrame" type="void" overloaded="no">
- <autodoc>SetFrame(Frame frame)</autodoc>
- <paramlist>
- <param name="frame" type="p.wxFrame" default=""/>
- </paramlist>
- </method>
- <method name="SetCanvas" type="void" overloaded="no">
- <autodoc>SetCanvas(PreviewCanvas canvas)</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPreviewCanvas" default=""/>
- </paramlist>
- </method>
- <method name="GetFrame" type="wxFrame" overloaded="no">
- <autodoc>GetFrame() -> Frame</autodoc>
- </method>
- <method name="GetCanvas" type="wxPreviewCanvas" overloaded="no">
- <autodoc>GetCanvas() -> PreviewCanvas</autodoc>
- </method>
- <method name="PaintPage" type="bool" overloaded="no">
- <autodoc>PaintPage(PreviewCanvas canvas, DC dc) -> bool</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPreviewCanvas" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="DrawBlankPage" type="bool" overloaded="no">
- <autodoc>DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPreviewCanvas" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="RenderPage" type="bool" overloaded="no">
- <autodoc>RenderPage(int pageNum) -> bool</autodoc>
- <paramlist>
- <param name="pageNum" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AdjustScrollbars" type="void" overloaded="no">
- <autodoc>AdjustScrollbars(PreviewCanvas canvas)</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPreviewCanvas" default=""/>
- </paramlist>
- </method>
- <method name="GetPrintDialogData" type="wxPrintDialogData" overloaded="no">
- <autodoc>GetPrintDialogData() -> PrintDialogData</autodoc>
- </method>
- <method name="SetZoom" type="void" overloaded="no">
- <autodoc>SetZoom(int percent)</autodoc>
- <paramlist>
- <param name="percent" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetZoom" type="int" overloaded="no">
- <autodoc>GetZoom() -> int</autodoc>
- </method>
- <method name="GetMaxPage" type="int" overloaded="no">
- <autodoc>GetMaxPage() -> int</autodoc>
- </method>
- <method name="GetMinPage" type="int" overloaded="no">
- <autodoc>GetMinPage() -> int</autodoc>
- </method>
- <method name="Ok" type="bool" overloaded="no">
- <autodoc>Ok() -> bool</autodoc>
- </method>
- <method name="SetOk" type="void" overloaded="no">
- <autodoc>SetOk(bool ok)</autodoc>
- <paramlist>
- <param name="ok" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Print" type="bool" overloaded="no">
- <autodoc>Print(bool interactive) -> bool</autodoc>
- <paramlist>
- <param name="interactive" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="DetermineScaling" type="void" overloaded="no">
- <autodoc>DetermineScaling()</autodoc>
- </method>
- </class>
- <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="windows">
- <baseclass name="wxPrintPreview"/>
- <constructor name="PyPrintPreview" overloaded="no">
- <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview</autodoc>
- <paramlist>
- <param name="printout" type="p.wxPyPrintout" default=""/>
- <param name="printoutForPrinting" type="p.wxPyPrintout" default=""/>
- <param name="data" type="p.wxPrintData" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_SetCurrentPage" type="bool" overloaded="no">
- <autodoc>base_SetCurrentPage(int pageNum) -> bool</autodoc>
- <paramlist>
- <param name="pageNum" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_PaintPage" type="bool" overloaded="no">
- <autodoc>base_PaintPage(PreviewCanvas canvas, DC dc) -> bool</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPreviewCanvas" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_DrawBlankPage" type="bool" overloaded="no">
- <autodoc>base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPreviewCanvas" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_RenderPage" type="bool" overloaded="no">
- <autodoc>base_RenderPage(int pageNum) -> bool</autodoc>
- <paramlist>
- <param name="pageNum" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_SetZoom" type="void" overloaded="no">
- <autodoc>base_SetZoom(int percent)</autodoc>
- <paramlist>
- <param name="percent" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_Print" type="bool" overloaded="no">
- <autodoc>base_Print(bool interactive) -> bool</autodoc>
- <paramlist>
- <param name="interactive" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="base_DetermineScaling" type="void" overloaded="no">
- <autodoc>base_DetermineScaling()</autodoc>
- </method>
- </class>
- <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="windows">
- <baseclass name="wxPreviewFrame"/>
- <constructor name="PyPreviewFrame" overloaded="no">
- <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
- Size size=DefaultSize,
- long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame</autodoc>
- <paramlist>
- <param name="preview" type="p.wxPrintPreview" default=""/>
- <param name="parent" type="p.wxFrame" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyFrameNameStr"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetPreviewCanvas" type="void" overloaded="no">
- <autodoc>SetPreviewCanvas(PreviewCanvas canvas)</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPreviewCanvas" default=""/>
- </paramlist>
- </method>
- <method name="SetControlBar" type="void" overloaded="no">
- <autodoc>SetControlBar(PreviewControlBar bar)</autodoc>
- <paramlist>
- <param name="bar" type="p.wxPreviewControlBar" default=""/>
- </paramlist>
- </method>
- <method name="base_Initialize" type="void" overloaded="no">
- <autodoc>base_Initialize()</autodoc>
- </method>
- <method name="base_CreateCanvas" type="void" overloaded="no">
- <autodoc>base_CreateCanvas()</autodoc>
- </method>
- <method name="base_CreateControlBar" type="void" overloaded="no">
- <autodoc>base_CreateControlBar()</autodoc>
- </method>
- </class>
- <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="windows">
- <baseclass name="wxPreviewControlBar"/>
- <constructor name="PyPreviewControlBar" overloaded="no">
- <autodoc>__init__(PrintPreview preview, long buttons, Window parent,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=PanelNameStr) -> PyPreviewControlBar</autodoc>
- <paramlist>
- <param name="preview" type="p.wxPrintPreview" default=""/>
- <param name="buttons" type="long" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetPrintPreview" type="void" overloaded="no">
- <autodoc>SetPrintPreview(PrintPreview preview)</autodoc>
- <paramlist>
- <param name="preview" type="p.wxPrintPreview" default=""/>
- </paramlist>
- </method>
- <method name="base_CreateButtons" type="void" overloaded="no">
- <autodoc>base_CreateButtons()</autodoc>
- </method>
- <method name="base_SetZoomControl" type="void" overloaded="no">
- <autodoc>base_SetZoomControl(int zoom)</autodoc>
- <paramlist>
- <param name="zoom" type="int" default=""/>
- </paramlist>
- </method>
- </class>
-</module><module name="controls">
- <import name="core"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Button" oldname="wxButton" module="controls">
- <docstring>A button is a control that contains a text string, and is one of the most
-common elements of a GUI. It may be placed on a dialog box or panel, or
-indeed almost any other window.</docstring>
- <refdoc>
- Styles
- wx.BU_LEFT: Left-justifies the label. WIN32 only.
- wx.BU_TOP: Aligns the label to the top of the button. WIN32 only.
- wx.BU_RIGHT: Right-justifies the bitmap label. WIN32 only.
- wx.BU_BOTTOM: Aligns the label to the bottom of the button. WIN32 only.
- wx.BU_EXACTFIT: Creates the button as small as possible instead of making
- it of the standard size (which is the default behaviour.)
-
- Events
- EVT_BUTTON: Sent when the button is clicked.
-</refdoc>
- <baseclass name="wxControl"/>
- <constructor name="Button" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=ButtonNameStr) -> Button</autodoc>
- <docstring>Create and show a button.</docstring>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyButtonNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreButton" overloaded="no">
- <autodoc>PreButton() -> Button</autodoc>
- <docstring>Precreate a Button for 2-phase creation.</docstring>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=ButtonNameStr) -> bool</autodoc>
- <docstring>Acutally create the GUI Button for 2-phase creation.</docstring>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyButtonNameStr"/>
- </paramlist>
- </method>
- <method name="SetDefault" type="void" overloaded="no">
- <autodoc>SetDefault()</autodoc>
- <docstring>This sets the button to be the default item for the panel or dialog box.</docstring>
- </method>
- <staticmethod name="GetDefaultSize" type="wxSize" overloaded="no">
- <autodoc>Button.GetDefaultSize() -> Size</autodoc>
- </staticmethod>
- </class>
- <class name="BitmapButton" oldname="wxBitmapButton" module="controls">
- <docstring>A Buttont that contains a bitmap.</docstring>
- <baseclass name="wxButton"/>
- <constructor name="BitmapButton" overloaded="no">
- <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=BU_AUTODRAW,
- Validator validator=DefaultValidator,
- String name=ButtonNameStr) -> BitmapButton</autodoc>
- <docstring>Create and show a button.</docstring>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxBU_AUTODRAW"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyButtonNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreBitmapButton" overloaded="no">
- <autodoc>PreBitmapButton() -> BitmapButton</autodoc>
- <docstring>Precreate a BitmapButton for 2-phase creation.</docstring>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=BU_AUTODRAW,
- Validator validator=DefaultValidator,
- String name=ButtonNameStr) -> bool</autodoc>
- <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxBU_AUTODRAW"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyButtonNameStr"/>
- </paramlist>
- </method>
- <method name="GetBitmapLabel" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmapLabel() -> Bitmap</autodoc>
- <docstring>Returns the label bitmap (the one passed to the constructor).</docstring>
- </method>
- <method name="GetBitmapDisabled" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmapDisabled() -> Bitmap</autodoc>
- <docstring>Returns the bitmap for the disabled state.</docstring>
- </method>
- <method name="GetBitmapFocus" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmapFocus() -> Bitmap</autodoc>
- <docstring>Returns the bitmap for the focused state.</docstring>
- </method>
- <method name="GetBitmapSelected" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmapSelected() -> Bitmap</autodoc>
- <docstring>Returns the bitmap for the selected state.</docstring>
- </method>
- <method name="SetBitmapDisabled" type="void" overloaded="no">
- <autodoc>SetBitmapDisabled(Bitmap bitmap)</autodoc>
- <docstring>Sets the bitmap for the disabled button appearance.</docstring>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetBitmapFocus" type="void" overloaded="no">
- <autodoc>SetBitmapFocus(Bitmap bitmap)</autodoc>
- <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetBitmapSelected" type="void" overloaded="no">
- <autodoc>SetBitmapSelected(Bitmap bitmap)</autodoc>
- <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetBitmapLabel" type="void" overloaded="no">
- <autodoc>SetBitmapLabel(Bitmap bitmap)</autodoc>
- <docstring>Sets the bitmap label for the button. This is the bitmap used for the
-unselected state, and for all other states if no other bitmaps are provided.</docstring>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetMargins" type="void" overloaded="no">
- <autodoc>SetMargins(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMarginX" type="int" overloaded="no">
- <autodoc>GetMarginX() -> int</autodoc>
- </method>
- <method name="GetMarginY" type="int" overloaded="no">
- <autodoc>GetMarginY() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="CheckBox" oldname="wxCheckBox" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="CheckBox" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> CheckBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyCheckBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreCheckBox" overloaded="no">
- <autodoc>PreCheckBox() -> CheckBox</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyCheckBoxNameStr"/>
- </paramlist>
- </method>
- <method name="GetValue" type="bool" overloaded="no">
- <autodoc>GetValue() -> bool</autodoc>
- </method>
- <method name="IsChecked" type="bool" overloaded="no">
- <autodoc>IsChecked() -> bool</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(bool state)</autodoc>
- <paramlist>
- <param name="state" type="q(const).bool" default=""/>
- </paramlist>
- </method>
- <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no">
- <autodoc>Get3StateValue() -> int</autodoc>
- </method>
- <method name="Set3StateValue" type="void" overloaded="no">
- <autodoc>Set3StateValue(int state)</autodoc>
- <paramlist>
- <param name="state" type="wxCheckBoxState" default=""/>
- </paramlist>
- </method>
- <method name="Is3State" type="bool" overloaded="no">
- <autodoc>Is3State() -> bool</autodoc>
- </method>
- <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no">
- <autodoc>Is3rdStateAllowedForUser() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Choice" oldname="wxChoice" module="controls">
- <baseclass name="wxControlWithItems"/>
- <constructor name="Choice" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ChoiceNameStr) -> Choice</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyChoiceNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreChoice" overloaded="no">
- <autodoc>PreChoice() -> Choice</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ChoiceNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyChoiceNameStr"/>
- </paramlist>
- </method>
- <method name="GetColumns" type="int" overloaded="no">
- <autodoc>GetColumns() -> int</autodoc>
- </method>
- <method name="SetColumns" type="void" overloaded="no">
- <autodoc>SetColumns(int n=1)</autodoc>
- <paramlist>
- <param name="n" type="q(const).int" default="1"/>
- </paramlist>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int n)</autodoc>
- <paramlist>
- <param name="n" type="q(const).int" default=""/>
- </paramlist>
- </method>
- <method name="SetStringSelection" type="void" overloaded="no">
- <autodoc>SetStringSelection(String string)</autodoc>
- <paramlist>
- <param name="string" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetString" type="void" overloaded="no">
- <autodoc>SetString(int n, String s)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ComboBox" oldname="wxComboBox" module="controls">
- <baseclass name="wxControl"/>
- <baseclass name="wxItemContainer"/>
- <constructor name="ComboBox" overloaded="no">
- <autodoc>__init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition,
- Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ComboBoxNameStr) -> ComboBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyComboBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreComboBox" overloaded="no">
- <autodoc>PreComboBox() -> ComboBox</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition,
- Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ComboBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyComboBoxNameStr"/>
- </paramlist>
- </method>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(String value)</autodoc>
- <paramlist>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Copy" type="void" overloaded="no">
- <autodoc>Copy()</autodoc>
- </method>
- <method name="Cut" type="void" overloaded="no">
- <autodoc>Cut()</autodoc>
- </method>
- <method name="Paste" type="void" overloaded="no">
- <autodoc>Paste()</autodoc>
- </method>
- <method name="SetInsertionPoint" type="void" overloaded="no">
- <autodoc>SetInsertionPoint(long pos)</autodoc>
- <paramlist>
- <param name="pos" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetInsertionPoint" type="long" overloaded="no">
- <autodoc>GetInsertionPoint() -> long</autodoc>
- </method>
- <method name="GetLastPosition" type="long" overloaded="no">
- <autodoc>GetLastPosition() -> long</autodoc>
- </method>
- <method name="Replace" type="void" overloaded="no">
- <autodoc>Replace(long from, long to, String value)</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMark" type="void" overloaded="no">
- <autodoc>SetMark(long from, long to)</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetEditable" type="void" overloaded="no">
- <autodoc>SetEditable(bool editable)</autodoc>
- <paramlist>
- <param name="editable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetInsertionPointEnd" type="void" overloaded="no">
- <autodoc>SetInsertionPointEnd()</autodoc>
- </method>
- <method name="Remove" type="void" overloaded="no">
- <autodoc>Remove(long from, long to)</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Gauge" oldname="wxGauge" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="Gauge" overloaded="no">
- <autodoc>__init__(Window parent, int id, int range, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=GA_HORIZONTAL,
- Validator validator=DefaultValidator,
- String name=GaugeNameStr) -> Gauge</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="range" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxGA_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyGaugeNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreGauge" overloaded="no">
- <autodoc>PreGauge() -> Gauge</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, int range, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=GA_HORIZONTAL,
- Validator validator=DefaultValidator,
- String name=GaugeNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="range" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxGA_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyGaugeNameStr"/>
- </paramlist>
- </method>
- <method name="SetRange" type="void" overloaded="no">
- <autodoc>SetRange(int range)</autodoc>
- <paramlist>
- <param name="range" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetRange" type="int" overloaded="no">
- <autodoc>GetRange() -> int</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetValue" type="int" overloaded="no">
- <autodoc>GetValue() -> int</autodoc>
- </method>
- <method name="IsVertical" type="bool" overloaded="no">
- <autodoc>IsVertical() -> bool</autodoc>
- </method>
- <method name="SetShadowWidth" type="void" overloaded="no">
- <autodoc>SetShadowWidth(int w)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetShadowWidth" type="int" overloaded="no">
- <autodoc>GetShadowWidth() -> int</autodoc>
- </method>
- <method name="SetBezelFace" type="void" overloaded="no">
- <autodoc>SetBezelFace(int w)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBezelFace" type="int" overloaded="no">
- <autodoc>GetBezelFace() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="StaticBox" oldname="wxStaticBox" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="StaticBox" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- String name=StaticBoxNameStr) -> StaticBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreStaticBox" overloaded="no">
- <autodoc>PreStaticBox() -> StaticBox</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- String name=StaticBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticBoxNameStr"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="StaticLine" oldname="wxStaticLine" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="StaticLine" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=LI_HORIZONTAL,
- String name=StaticTextNameStr) -> StaticLine</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLI_HORIZONTAL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticTextNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreStaticLine" overloaded="no">
- <autodoc>PreStaticLine() -> StaticLine</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=LI_HORIZONTAL,
- String name=StaticTextNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLI_HORIZONTAL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticTextNameStr"/>
- </paramlist>
- </method>
- <method name="IsVertical" type="bool" overloaded="no">
- <autodoc>IsVertical() -> bool</autodoc>
- </method>
- <staticmethod name="GetDefaultSize" type="int" overloaded="no">
- <autodoc>StaticLine.GetDefaultSize() -> int</autodoc>
- </staticmethod>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="StaticText" oldname="wxStaticText" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="StaticText" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- String name=StaticTextNameStr) -> StaticText</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticTextNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreStaticText" overloaded="no">
- <autodoc>PreStaticText() -> StaticText</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- String name=StaticTextNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticTextNameStr"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="StaticBitmap" oldname="wxStaticBitmap" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="StaticBitmap" overloaded="no">
- <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- String name=StaticBitmapNameStr) -> StaticBitmap</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticBitmapNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreStaticBitmap" overloaded="no">
- <autodoc>PreStaticBitmap() -> StaticBitmap</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- String name=StaticBitmapNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyStaticBitmapNameStr"/>
- </paramlist>
- </method>
- <method name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmap() -> Bitmap</autodoc>
- </method>
- <method name="SetBitmap" type="void" overloaded="no">
- <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetIcon" type="void" overloaded="no">
- <autodoc>SetIcon(Icon icon)</autodoc>
- <paramlist>
- <param name="icon" type="r.q(const).wxIcon" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ListBox" oldname="wxListBox" module="controls">
- <baseclass name="wxControlWithItems"/>
- <constructor name="ListBox" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ListBoxNameStr) -> ListBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreListBox" overloaded="no">
- <autodoc>PreListBox() -> ListBox</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ListBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListBoxNameStr"/>
- </paramlist>
- </method>
- <method name="Insert" type="void" overloaded="no">
- <autodoc>Insert(String item, int pos, PyObject clientData=None)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxString" default=""/>
- <param name="pos" type="int" default=""/>
- <param name="clientData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="InsertItems" type="void" overloaded="no">
- <autodoc>InsertItems(wxArrayString items, int pos)</autodoc>
- <paramlist>
- <param name="items" type="r.q(const).wxArrayString" default=""/>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(wxArrayString items)</autodoc>
- <paramlist>
- <param name="items" type="r.q(const).wxArrayString" default=""/>
- </paramlist>
- </method>
- <method name="IsSelected" type="bool" overloaded="no">
- <autodoc>IsSelected(int n) -> bool</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int n, bool select=True)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="select" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Select" type="void" overloaded="no">
- <autodoc>Select(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Deselect" type="void" overloaded="no">
- <autodoc>Deselect(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeselectAll" type="void" overloaded="no">
- <autodoc>DeselectAll(int itemToLeaveSelected=-1)</autodoc>
- <paramlist>
- <param name="itemToLeaveSelected" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="SetStringSelection" type="bool" overloaded="no">
- <autodoc>SetStringSelection(String s, bool select=True) -> bool</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- <param name="select" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetSelections" type="PyObject" overloaded="no">
- <autodoc>GetSelections() -> PyObject</autodoc>
- </method>
- <method name="SetFirstItem" type="void" overloaded="no">
- <autodoc>SetFirstItem(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFirstItemStr" type="void" overloaded="no">
- <autodoc>SetFirstItemStr(String s)</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="EnsureVisible" type="void" overloaded="no">
- <autodoc>EnsureVisible(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AppendAndEnsureVisible" type="void" overloaded="no">
- <autodoc>AppendAndEnsureVisible(String s)</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="IsSorted" type="bool" overloaded="no">
- <autodoc>IsSorted() -> bool</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="CheckListBox" oldname="wxCheckListBox" module="controls">
- <baseclass name="wxListBox"/>
- <constructor name="CheckListBox" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ListBoxNameStr) -> CheckListBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreCheckListBox" overloaded="no">
- <autodoc>PreCheckListBox() -> CheckListBox</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- int choices=0, String choices_array=None,
- long style=0, Validator validator=DefaultValidator,
- String name=ListBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListBoxNameStr"/>
- </paramlist>
- </method>
- <method name="IsChecked" type="bool" overloaded="no">
- <autodoc>IsChecked(int index) -> bool</autodoc>
- <paramlist>
- <param name="index" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Check" type="void" overloaded="no">
- <autodoc>Check(int index, int check=True)</autodoc>
- <paramlist>
- <param name="index" type="int" default=""/>
- <param name="check" type="int" default="True"/>
- </paramlist>
- </method>
- <method name="GetItemHeight" type="int" overloaded="no">
- <autodoc>GetItemHeight() -> int</autodoc>
- </method>
- <method name="HitTest" type="int" overloaded="no">
- <autodoc>HitTest(Point pt) -> int</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="HitTestXY" type="int" overloaded="no">
- <autodoc>HitTestXY(int x, int y) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="TextAttr" oldname="wxTextAttr" module="controls">
- <constructor name="TextAttr" overloaded="yes"/>
- <constructor name="TextAttr" overloaded="yes">
- <autodoc>__init__() -> TextAttr
-__init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
- int alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default=""/>
- <param name="colBack" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="font" type="r.q(const).wxFont" default="wxNullFont"/>
- <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/>
- </paramlist>
- </constructor>
- <method name="Init" type="void" overloaded="no">
- <autodoc>Init()</autodoc>
- </method>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(Colour colText)</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="void" overloaded="no">
- <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
- <paramlist>
- <param name="colBack" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font, long flags=TEXT_ATTR_FONT)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/>
- </paramlist>
- </method>
- <method name="SetAlignment" type="void" overloaded="no">
- <autodoc>SetAlignment(int alignment)</autodoc>
- <paramlist>
- <param name="alignment" type="wxTextAttrAlignment" default=""/>
- </paramlist>
- </method>
- <method name="SetTabs" type="void" overloaded="no">
- <autodoc>SetTabs(wxArrayInt tabs)</autodoc>
- <paramlist>
- <param name="tabs" type="r.q(const).wxArrayInt" default=""/>
- </paramlist>
- </method>
- <method name="SetLeftIndent" type="void" overloaded="no">
- <autodoc>SetLeftIndent(int indent)</autodoc>
- <paramlist>
- <param name="indent" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRightIndent" type="void" overloaded="no">
- <autodoc>SetRightIndent(int indent)</autodoc>
- <paramlist>
- <param name="indent" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFlags" type="void" overloaded="no">
- <autodoc>SetFlags(long flags)</autodoc>
- <paramlist>
- <param name="flags" type="long" default=""/>
- </paramlist>
- </method>
- <method name="HasTextColour" type="bool" overloaded="no">
- <autodoc>HasTextColour() -> bool</autodoc>
- </method>
- <method name="HasBackgroundColour" type="bool" overloaded="no">
- <autodoc>HasBackgroundColour() -> bool</autodoc>
- </method>
- <method name="HasFont" type="bool" overloaded="no">
- <autodoc>HasFont() -> bool</autodoc>
- </method>
- <method name="HasAlignment" type="bool" overloaded="no">
- <autodoc>HasAlignment() -> bool</autodoc>
- </method>
- <method name="HasTabs" type="bool" overloaded="no">
- <autodoc>HasTabs() -> bool</autodoc>
- </method>
- <method name="HasLeftIndent" type="bool" overloaded="no">
- <autodoc>HasLeftIndent() -> bool</autodoc>
- </method>
- <method name="HasRightIndent" type="bool" overloaded="no">
- <autodoc>HasRightIndent() -> bool</autodoc>
- </method>
- <method name="HasFlag" type="bool" overloaded="no">
- <autodoc>HasFlag(long flag) -> bool</autodoc>
- <paramlist>
- <param name="flag" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetTextColour" type="q(const).wxColour" overloaded="no">
- <autodoc>GetTextColour() -> Colour</autodoc>
- </method>
- <method name="GetBackgroundColour" type="q(const).wxColour" overloaded="no">
- <autodoc>GetBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetFont" type="q(const).wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no">
- <autodoc>GetAlignment() -> int</autodoc>
- </method>
- <method name="GetTabs" type="q(const).wxArrayInt" overloaded="no">
- <autodoc>GetTabs() -> wxArrayInt</autodoc>
- </method>
- <method name="GetLeftIndent" type="long" overloaded="no">
- <autodoc>GetLeftIndent() -> long</autodoc>
- </method>
- <method name="GetRightIndent" type="long" overloaded="no">
- <autodoc>GetRightIndent() -> long</autodoc>
- </method>
- <method name="GetFlags" type="long" overloaded="no">
- <autodoc>GetFlags() -> long</autodoc>
- </method>
- <method name="IsDefault" type="bool" overloaded="no">
- <autodoc>IsDefault() -> bool</autodoc>
- </method>
- <staticmethod name="Combine" type="wxTextAttr" overloaded="no">
- <autodoc>TextAttr.Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr</autodoc>
- <paramlist>
- <param name="attr" type="r.q(const).wxTextAttr" default=""/>
- <param name="attrDef" type="r.q(const).wxTextAttr" default=""/>
- <param name="text" type="p.q(const).wxTextCtrl" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <class name="TextCtrl" oldname="wxTextCtrl" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="TextCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition,
- Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- String name=TextCtrlNameStr) -> TextCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTextCtrlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreTextCtrl" overloaded="no">
- <autodoc>PreTextCtrl() -> TextCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition,
- Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- String name=TextCtrlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTextCtrlNameStr"/>
- </paramlist>
- </method>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(String value)</autodoc>
- <paramlist>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetRange" type="wxString" overloaded="no">
- <autodoc>GetRange(long from, long to) -> String</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetLineLength" type="int" overloaded="no">
- <autodoc>GetLineLength(long lineNo) -> int</autodoc>
- <paramlist>
- <param name="lineNo" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetLineText" type="wxString" overloaded="no">
- <autodoc>GetLineText(long lineNo) -> String</autodoc>
- <paramlist>
- <param name="lineNo" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetNumberOfLines" type="int" overloaded="no">
- <autodoc>GetNumberOfLines() -> int</autodoc>
- </method>
- <method name="IsModified" type="bool" overloaded="no">
- <autodoc>IsModified() -> bool</autodoc>
- </method>
- <method name="IsEditable" type="bool" overloaded="no">
- <autodoc>IsEditable() -> bool</autodoc>
- </method>
- <method name="IsSingleLine" type="bool" overloaded="no">
- <autodoc>IsSingleLine() -> bool</autodoc>
- </method>
- <method name="IsMultiLine" type="bool" overloaded="no">
- <autodoc>IsMultiLine() -> bool</autodoc>
- </method>
- <method name="GetSelection" type="void" overloaded="no">
- <autodoc>GetSelection() -> (from, to)</autodoc>
- <docstring>If the return values from and to are the same, there is no selection.</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.long" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- </paramlist>
- </method>
- <method name="GetStringSelection" type="wxString" overloaded="no">
- <autodoc>GetStringSelection() -> String</autodoc>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="Replace" type="void" overloaded="no">
- <autodoc>Replace(long from, long to, String value)</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Remove" type="void" overloaded="no">
- <autodoc>Remove(long from, long to)</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- </paramlist>
- </method>
- <method name="LoadFile" type="bool" overloaded="no">
- <autodoc>LoadFile(String file) -> bool</autodoc>
- <paramlist>
- <param name="file" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SaveFile" type="bool" overloaded="no">
- <autodoc>SaveFile(String file=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="file" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="MarkDirty" type="void" overloaded="no">
- <autodoc>MarkDirty()</autodoc>
- </method>
- <method name="DiscardEdits" type="void" overloaded="no">
- <autodoc>DiscardEdits()</autodoc>
- </method>
- <method name="SetMaxLength" type="void" overloaded="no">
- <autodoc>SetMaxLength(unsigned long len)</autodoc>
- <paramlist>
- <param name="len" type="unsigned long" default=""/>
- </paramlist>
- </method>
- <method name="WriteText" type="void" overloaded="no">
- <autodoc>WriteText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AppendText" type="void" overloaded="no">
- <autodoc>AppendText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="EmulateKeyPress" type="bool" overloaded="no">
- <autodoc>EmulateKeyPress(KeyEvent event) -> bool</autodoc>
- <paramlist>
- <param name="event" type="r.q(const).wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="SetStyle" type="bool" overloaded="no">
- <autodoc>SetStyle(long start, long end, TextAttr style) -> bool</autodoc>
- <paramlist>
- <param name="start" type="long" default=""/>
- <param name="end" type="long" default=""/>
- <param name="style" type="r.q(const).wxTextAttr" default=""/>
- </paramlist>
- </method>
- <method name="GetStyle" type="bool" overloaded="no">
- <autodoc>GetStyle(long position, TextAttr style) -> bool</autodoc>
- <paramlist>
- <param name="position" type="long" default=""/>
- <param name="style" type="r.wxTextAttr" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultStyle" type="bool" overloaded="no">
- <autodoc>SetDefaultStyle(TextAttr style) -> bool</autodoc>
- <paramlist>
- <param name="style" type="r.q(const).wxTextAttr" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultStyle" type="q(const).wxTextAttr" overloaded="no">
- <autodoc>GetDefaultStyle() -> TextAttr</autodoc>
- </method>
- <method name="XYToPosition" type="long" overloaded="no">
- <autodoc>XYToPosition(long x, long y) -> long</autodoc>
- <paramlist>
- <param name="x" type="long" default=""/>
- <param name="y" type="long" default=""/>
- </paramlist>
- </method>
- <method name="PositionToXY" type="void" overloaded="no">
- <autodoc>PositionToXY(long pos) -> (x, y)</autodoc>
- <paramlist>
- <param name="pos" type="long" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- </paramlist>
- </method>
- <method name="ShowPosition" type="void" overloaded="no">
- <autodoc>ShowPosition(long pos)</autodoc>
- <paramlist>
- <param name="pos" type="long" default=""/>
- </paramlist>
- </method>
- <method name="Copy" type="void" overloaded="no">
- <autodoc>Copy()</autodoc>
- </method>
- <method name="Cut" type="void" overloaded="no">
- <autodoc>Cut()</autodoc>
- </method>
- <method name="Paste" type="void" overloaded="no">
- <autodoc>Paste()</autodoc>
- </method>
- <method name="CanCopy" type="bool" overloaded="no">
- <autodoc>CanCopy() -> bool</autodoc>
- </method>
- <method name="CanCut" type="bool" overloaded="no">
- <autodoc>CanCut() -> bool</autodoc>
- </method>
- <method name="CanPaste" type="bool" overloaded="no">
- <autodoc>CanPaste() -> bool</autodoc>
- </method>
- <method name="Undo" type="void" overloaded="no">
- <autodoc>Undo()</autodoc>
- </method>
- <method name="Redo" type="void" overloaded="no">
- <autodoc>Redo()</autodoc>
- </method>
- <method name="CanUndo" type="bool" overloaded="no">
- <autodoc>CanUndo() -> bool</autodoc>
- </method>
- <method name="CanRedo" type="bool" overloaded="no">
- <autodoc>CanRedo() -> bool</autodoc>
- </method>
- <method name="SetInsertionPoint" type="void" overloaded="no">
- <autodoc>SetInsertionPoint(long pos)</autodoc>
- <paramlist>
- <param name="pos" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetInsertionPointEnd" type="void" overloaded="no">
- <autodoc>SetInsertionPointEnd()</autodoc>
- </method>
- <method name="GetInsertionPoint" type="long" overloaded="no">
- <autodoc>GetInsertionPoint() -> long</autodoc>
- </method>
- <method name="GetLastPosition" type="long" overloaded="no">
- <autodoc>GetLastPosition() -> long</autodoc>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(long from, long to)</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SelectAll" type="void" overloaded="no">
- <autodoc>SelectAll()</autodoc>
- </method>
- <method name="SetEditable" type="void" overloaded="no">
- <autodoc>SetEditable(bool editable)</autodoc>
- <paramlist>
- <param name="editable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="write" type="void" overloaded="no">
- <autodoc>write(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetString" type="wxString" overloaded="no">
- <autodoc>GetString(long from, long to) -> String</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="controls">
- <baseclass name="wxCommandEvent"/>
- <constructor name="TextUrlEvent" overloaded="no">
- <autodoc>__init__(int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent</autodoc>
- <paramlist>
- <param name="winid" type="int" default=""/>
- <param name="evtMouse" type="r.q(const).wxMouseEvent" default=""/>
- <param name="start" type="long" default=""/>
- <param name="end" type="long" default=""/>
- </paramlist>
- </constructor>
- <method name="GetMouseEvent" type="q(const).wxMouseEvent" overloaded="no">
- <autodoc>GetMouseEvent() -> MouseEvent</autodoc>
- </method>
- <method name="GetURLStart" type="long" overloaded="no">
- <autodoc>GetURLStart() -> long</autodoc>
- </method>
- <method name="GetURLEnd" type="long" overloaded="no">
- <autodoc>GetURLEnd() -> long</autodoc>
- </method>
- </class>
- <pythoncode>
-EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1)
-EVT_TEXT_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER, 1)
-EVT_TEXT_URL = wx.PyEventBinder( wxEVT_COMMAND_TEXT_URL, 1)
-EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ScrollBar" oldname="wxScrollBar" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="ScrollBar" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SB_HORIZONTAL,
- Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> ScrollBar</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSB_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyScrollBarNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreScrollBar" overloaded="no">
- <autodoc>PreScrollBar() -> ScrollBar</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SB_HORIZONTAL,
- Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSB_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyScrollBarNameStr"/>
- </paramlist>
- </method>
- <method name="GetThumbPosition" type="int" overloaded="no">
- <autodoc>GetThumbPosition() -> int</autodoc>
- </method>
- <method name="GetThumbSize" type="int" overloaded="no">
- <autodoc>GetThumbSize() -> int</autodoc>
- </method>
- <method name="GetPageSize" type="int" overloaded="no">
- <autodoc>GetPageSize() -> int</autodoc>
- </method>
- <method name="GetRange" type="int" overloaded="no">
- <autodoc>GetRange() -> int</autodoc>
- </method>
- <method name="IsVertical" type="bool" overloaded="no">
- <autodoc>IsVertical() -> bool</autodoc>
- </method>
- <method name="SetThumbPosition" type="void" overloaded="no">
- <autodoc>SetThumbPosition(int viewStart)</autodoc>
- <paramlist>
- <param name="viewStart" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetScrollbar" type="void" overloaded="no">
- <autodoc>SetScrollbar(int position, int thumbSize, int range, int pageSize,
- bool refresh=True)</autodoc>
- <paramlist>
- <param name="position" type="int" default=""/>
- <param name="thumbSize" type="int" default=""/>
- <param name="range" type="int" default=""/>
- <param name="pageSize" type="int" default=""/>
- <param name="refresh" type="bool" default="True"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="SpinButton" oldname="wxSpinButton" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="SpinButton" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SP_HORIZONTAL,
- String name=SPIN_BUTTON_NAME) -> SpinButton</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSP_HORIZONTAL"/>
- <param name="name" type="r.q(const).wxString" default="wxPySPIN_BUTTON_NAME"/>
- </paramlist>
- </constructor>
- <constructor name="PreSpinButton" overloaded="no">
- <autodoc>PreSpinButton() -> SpinButton</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=SP_HORIZONTAL,
- String name=SPIN_BUTTON_NAME) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSP_HORIZONTAL"/>
- <param name="name" type="r.q(const).wxString" default="wxPySPIN_BUTTON_NAME"/>
- </paramlist>
- </method>
- <method name="GetValue" type="int" overloaded="no">
- <autodoc>GetValue() -> int</autodoc>
- </method>
- <method name="GetMin" type="int" overloaded="no">
- <autodoc>GetMin() -> int</autodoc>
- </method>
- <method name="GetMax" type="int" overloaded="no">
- <autodoc>GetMax() -> int</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMin" type="void" overloaded="no">
- <autodoc>SetMin(int minVal)</autodoc>
- <paramlist>
- <param name="minVal" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMax" type="void" overloaded="no">
- <autodoc>SetMax(int maxVal)</autodoc>
- <paramlist>
- <param name="maxVal" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRange" type="void" overloaded="no">
- <autodoc>SetRange(int minVal, int maxVal)</autodoc>
- <paramlist>
- <param name="minVal" type="int" default=""/>
- <param name="maxVal" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsVertical" type="bool" overloaded="no">
- <autodoc>IsVertical() -> bool</autodoc>
- </method>
- </class>
- <class name="SpinCtrl" oldname="wxSpinCtrl" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="SpinCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, String value=EmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=SP_ARROW_KEYS, int min=0, int max=100,
- int initial=0, String name=SpinCtrlNameStr) -> SpinCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSP_ARROW_KEYS"/>
- <param name="min" type="int" default="0"/>
- <param name="max" type="int" default="100"/>
- <param name="initial" type="int" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPySpinCtrlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreSpinCtrl" overloaded="no">
- <autodoc>PreSpinCtrl() -> SpinCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, String value=EmptyString,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=SP_ARROW_KEYS, int min=0, int max=100,
- int initial=0, String name=SpinCtrlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSP_ARROW_KEYS"/>
- <param name="min" type="int" default="0"/>
- <param name="max" type="int" default="100"/>
- <param name="initial" type="int" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPySpinCtrlNameStr"/>
- </paramlist>
- </method>
- <method name="GetValue" type="int" overloaded="no">
- <autodoc>GetValue() -> int</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(int value)</autodoc>
- <paramlist>
- <param name="value" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetValueString" type="void" overloaded="no">
- <autodoc>SetValueString(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetRange" type="void" overloaded="no">
- <autodoc>SetRange(int minVal, int maxVal)</autodoc>
- <paramlist>
- <param name="minVal" type="int" default=""/>
- <param name="maxVal" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMin" type="int" overloaded="no">
- <autodoc>GetMin() -> int</autodoc>
- </method>
- <method name="GetMax" type="int" overloaded="no">
- <autodoc>GetMax() -> int</autodoc>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(long from, long to)</autodoc>
- <paramlist>
- <param name="from" type="long" default=""/>
- <param name="to" type="long" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="RadioBox" oldname="wxRadioBox" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="RadioBox" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point point=DefaultPosition,
- Size size=DefaultSize, int choices=0,
- String choices_array=None, int majorDimension=0,
- long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
- String name=RadioBoxNameStr) -> RadioBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="point" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="majorDimension" type="int" default="0"/>
- <param name="style" type="long" default="wxRA_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyRadioBoxNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreRadioBox" overloaded="no">
- <autodoc>PreRadioBox() -> RadioBox</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String label, Point point=DefaultPosition,
- Size size=DefaultSize, int choices=0,
- String choices_array=None, int majorDimension=0,
- long style=RA_HORIZONTAL, Validator validator=DefaultValidator,
- String name=RadioBoxNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="point" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.wxString" default="NULL"/>
- <param name="majorDimension" type="int" default="0"/>
- <param name="style" type="long" default="wxRA_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyRadioBoxNameStr"/>
- </paramlist>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSelection" type="int" overloaded="no">
- <autodoc>GetSelection() -> int</autodoc>
- </method>
- <method name="GetStringSelection" type="wxString" overloaded="no">
- <autodoc>GetStringSelection() -> String</autodoc>
- </method>
- <method name="SetStringSelection" type="bool" overloaded="no">
- <autodoc>SetStringSelection(String s) -> bool</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetCount" type="int" overloaded="no">
- <autodoc>GetCount() -> int</autodoc>
- </method>
- <method name="FindString" type="int" overloaded="no">
- <autodoc>FindString(String s) -> int</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetString" type="wxString" overloaded="no">
- <autodoc>GetString(int n) -> String</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetString" type="void" overloaded="no">
- <autodoc>SetString(int n, String label)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="EnableItem" type="void" overloaded="no">
- <autodoc>EnableItem(int n, bool enable=True)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="ShowItem" type="void" overloaded="no">
- <autodoc>ShowItem(int n, bool show=True)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="show" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetColumnCount" type="int" overloaded="no">
- <autodoc>GetColumnCount() -> int</autodoc>
- </method>
- <method name="GetRowCount" type="int" overloaded="no">
- <autodoc>GetRowCount() -> int</autodoc>
- </method>
- <method name="GetNextItem" type="int" overloaded="no">
- <autodoc>GetNextItem(int item, int dir, long style) -> int</autodoc>
- <paramlist>
- <param name="item" type="int" default=""/>
- <param name="dir" type="wxDirection" default=""/>
- <param name="style" type="long" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="RadioButton" oldname="wxRadioButton" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="RadioButton" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> RadioButton</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyRadioButtonNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreRadioButton" overloaded="no">
- <autodoc>PreRadioButton() -> RadioButton</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyRadioButtonNameStr"/>
- </paramlist>
- </method>
- <method name="GetValue" type="bool" overloaded="no">
- <autodoc>GetValue() -> bool</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(bool value)</autodoc>
- <paramlist>
- <param name="value" type="bool" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Slider" oldname="wxSlider" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="Slider" overloaded="no">
- <autodoc>__init__(Window parent, int id, int value, int minValue, int maxValue,
- Point point=DefaultPosition, Size size=DefaultSize,
- long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
- String name=SliderNameStr) -> Slider</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="value" type="int" default=""/>
- <param name="minValue" type="int" default=""/>
- <param name="maxValue" type="int" default=""/>
- <param name="point" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSL_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPySliderNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreSlider" overloaded="no">
- <autodoc>PreSlider() -> Slider</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, int value, int minValue, int maxValue,
- Point point=DefaultPosition, Size size=DefaultSize,
- long style=SL_HORIZONTAL, Validator validator=DefaultValidator,
- String name=SliderNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="value" type="int" default=""/>
- <param name="minValue" type="int" default=""/>
- <param name="maxValue" type="int" default=""/>
- <param name="point" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSL_HORIZONTAL"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPySliderNameStr"/>
- </paramlist>
- </method>
- <method name="GetValue" type="int" overloaded="no">
- <autodoc>GetValue() -> int</autodoc>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(int value)</autodoc>
- <paramlist>
- <param name="value" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRange" type="void" overloaded="no">
- <autodoc>SetRange(int minValue, int maxValue)</autodoc>
- <paramlist>
- <param name="minValue" type="int" default=""/>
- <param name="maxValue" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMin" type="int" overloaded="no">
- <autodoc>GetMin() -> int</autodoc>
- </method>
- <method name="GetMax" type="int" overloaded="no">
- <autodoc>GetMax() -> int</autodoc>
- </method>
- <method name="SetMin" type="void" overloaded="no">
- <autodoc>SetMin(int minValue)</autodoc>
- <paramlist>
- <param name="minValue" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMax" type="void" overloaded="no">
- <autodoc>SetMax(int maxValue)</autodoc>
- <paramlist>
- <param name="maxValue" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLineSize" type="void" overloaded="no">
- <autodoc>SetLineSize(int lineSize)</autodoc>
- <paramlist>
- <param name="lineSize" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPageSize" type="void" overloaded="no">
- <autodoc>SetPageSize(int pageSize)</autodoc>
- <paramlist>
- <param name="pageSize" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLineSize" type="int" overloaded="no">
- <autodoc>GetLineSize() -> int</autodoc>
- </method>
- <method name="GetPageSize" type="int" overloaded="no">
- <autodoc>GetPageSize() -> int</autodoc>
- </method>
- <method name="SetThumbLength" type="void" overloaded="no">
- <autodoc>SetThumbLength(int lenPixels)</autodoc>
- <paramlist>
- <param name="lenPixels" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetThumbLength" type="int" overloaded="no">
- <autodoc>GetThumbLength() -> int</autodoc>
- </method>
- <method name="SetTickFreq" type="void" overloaded="no">
- <autodoc>SetTickFreq(int n, int pos)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetTickFreq" type="int" overloaded="no">
- <autodoc>GetTickFreq() -> int</autodoc>
- </method>
- <method name="ClearTicks" type="void" overloaded="no">
- <autodoc>ClearTicks()</autodoc>
- </method>
- <method name="SetTick" type="void" overloaded="no">
- <autodoc>SetTick(int tickPos)</autodoc>
- <paramlist>
- <param name="tickPos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ClearSel" type="void" overloaded="no">
- <autodoc>ClearSel()</autodoc>
- </method>
- <method name="GetSelEnd" type="int" overloaded="no">
- <autodoc>GetSelEnd() -> int</autodoc>
- </method>
- <method name="GetSelStart" type="int" overloaded="no">
- <autodoc>GetSelStart() -> int</autodoc>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int min, int max)</autodoc>
- <paramlist>
- <param name="min" type="int" default=""/>
- <param name="max" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <pythoncode>
- EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
-</pythoncode>
- <class name="ToggleButton" oldname="wxToggleButton" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="ToggleButton" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> ToggleButton</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyToggleButtonNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreToggleButton" overloaded="no">
- <autodoc>PreToggleButton() -> ToggleButton</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0,
- Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyToggleButtonNameStr"/>
- </paramlist>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(bool value)</autodoc>
- <paramlist>
- <param name="value" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetValue" type="bool" overloaded="no">
- <autodoc>GetValue() -> bool</autodoc>
- </method>
- <method name="SetLabel" type="void" overloaded="no">
- <autodoc>SetLabel(String label)</autodoc>
- <paramlist>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="BookCtrl" oldname="wxBookCtrl" module="controls">
- <baseclass name="wxControl"/>
- <method name="GetPageCount" type="size_t" overloaded="no">
- <autodoc>GetPageCount() -> size_t</autodoc>
- </method>
- <method name="GetPage" type="wxWindow" overloaded="no">
- <autodoc>GetPage(size_t n) -> Window</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="GetSelection" type="int" overloaded="no">
- <autodoc>GetSelection() -> int</autodoc>
- </method>
- <method name="SetPageText" type="bool" overloaded="no">
- <autodoc>SetPageText(size_t n, String strText) -> bool</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- <param name="strText" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetPageText" type="wxString" overloaded="no">
- <autodoc>GetPageText(size_t n) -> String</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SetImageList" type="void" overloaded="no">
- <autodoc>SetImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
- </method>
- <method name="AssignImageList" type="void" overloaded="no">
- <autodoc>AssignImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
- </method>
- <method name="GetImageList" type="wxImageList" overloaded="no">
- <autodoc>GetImageList() -> ImageList</autodoc>
- </method>
- <method name="GetPageImage" type="int" overloaded="no">
- <autodoc>GetPageImage(size_t n) -> int</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SetPageImage" type="bool" overloaded="no">
- <autodoc>SetPageImage(size_t n, int imageId) -> bool</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- <param name="imageId" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPageSize" type="void" overloaded="no">
- <autodoc>SetPageSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="CalcSizeFromPage" type="wxSize" overloaded="no">
- <autodoc>CalcSizeFromPage(Size sizePage) -> Size</autodoc>
- <paramlist>
- <param name="sizePage" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="DeletePage" type="bool" overloaded="no">
- <autodoc>DeletePage(size_t n) -> bool</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="RemovePage" type="bool" overloaded="no">
- <autodoc>RemovePage(size_t n) -> bool</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="DeleteAllPages" type="bool" overloaded="no">
- <autodoc>DeleteAllPages() -> bool</autodoc>
- </method>
- <method name="AddPage" type="bool" overloaded="no">
- <autodoc>AddPage(Window page, String text, bool select=False, int imageId=-1) -> bool</autodoc>
- <paramlist>
- <param name="page" type="p.wxWindow" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="select" type="bool" default="False"/>
- <param name="imageId" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="InsertPage" type="bool" overloaded="no">
- <autodoc>InsertPage(size_t n, Window page, String text, bool select=False,
- int imageId=-1) -> bool</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- <param name="page" type="p.wxWindow" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="select" type="bool" default="False"/>
- <param name="imageId" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="SetSelection" type="int" overloaded="no">
- <autodoc>SetSelection(size_t n) -> int</autodoc>
- <paramlist>
- <param name="n" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="AdvanceSelection" type="void" overloaded="no">
- <autodoc>AdvanceSelection(bool forward=True)</autodoc>
- <paramlist>
- <param name="forward" type="bool" default="True"/>
- </paramlist>
- </method>
- </class>
- <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="controls">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="BookCtrlEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
- int nOldSel=-1) -> BookCtrlEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="0"/>
- <param name="nSel" type="int" default="-1"/>
- <param name="nOldSel" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <method name="GetSelection" type="int" overloaded="no">
- <autodoc>GetSelection() -> int</autodoc>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int nSel)</autodoc>
- <paramlist>
- <param name="nSel" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetOldSelection" type="int" overloaded="no">
- <autodoc>GetOldSelection() -> int</autodoc>
- </method>
- <method name="SetOldSelection" type="void" overloaded="no">
- <autodoc>SetOldSelection(int nOldSel)</autodoc>
- <paramlist>
- <param name="nOldSel" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Notebook" oldname="wxNotebook" module="controls">
- <baseclass name="wxBookCtrl"/>
- <constructor name="Notebook" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=NOTEBOOK_NAME) -> Notebook</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyNOTEBOOK_NAME"/>
- </paramlist>
- </constructor>
- <constructor name="PreNotebook" overloaded="no">
- <autodoc>PreNotebook() -> Notebook</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=NOTEBOOK_NAME) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyNOTEBOOK_NAME"/>
- </paramlist>
- </method>
- <method name="GetRowCount" type="int" overloaded="no">
- <autodoc>GetRowCount() -> int</autodoc>
- </method>
- <method name="SetPadding" type="void" overloaded="no">
- <autodoc>SetPadding(Size padding)</autodoc>
- <paramlist>
- <param name="padding" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetTabSize" type="void" overloaded="no">
- <autodoc>SetTabSize(Size sz)</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="HitTest" type="int" overloaded="no">
- <autodoc>HitTest(Point pt) -> (tab, where)</autodoc>
- <docstring>Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags.</docstring>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- </paramlist>
- </method>
- <method name="CalcSizeFromPage" type="wxSize" overloaded="no">
- <autodoc>CalcSizeFromPage(Size sizePage) -> Size</autodoc>
- <paramlist>
- <param name="sizePage" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="NotebookEvent" oldname="wxNotebookEvent" module="controls">
- <baseclass name="wxBookCtrlEvent"/>
- <constructor name="NotebookEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
- int nOldSel=-1) -> NotebookEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="0"/>
- <param name="nSel" type="int" default="-1"/>
- <param name="nOldSel" type="int" default="-1"/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
- # wxNotebook events
- EVT_NOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 1 )
- EVT_NOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 1 )
-</pythoncode>
- <pythoncode>
-#----------------------------------------------------------------------------
-
-class NotebookPage(wx.Panel):
- """
- There is an old (and apparently unsolvable) bug when placing a
- window with a nonstandard background colour in a wxNotebook on
- wxGTK, as the notbooks's background colour would always be used
- when the window is refreshed. The solution is to place a panel in
- the notbook and the coloured window on the panel, sized to cover
- the panel. This simple class does that for you, just put an
- instance of this in the notebook and make your regular window a
- child of this one and it will handle the resize for you.
- """
- def __init__(self, parent, id=-1,
- pos=wx.DefaultPosition, size=wx.DefaultSize,
- style=wx.TAB_TRAVERSAL, name="panel"):
- wx.Panel.__init__(self, parent, id, pos, size, style, name)
- self.child = None
- EVT_SIZE(self, self.OnSize)
-
- def OnSize(self, evt):
- if self.child is None:
- children = self.GetChildren()
- if len(children):
- self.child = children[0]
- if self.child:
- self.child.SetPosition((0,0))
- self.child.SetSize(self.GetSize())
-
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Listbook" oldname="wxListbook" module="controls">
- <baseclass name="wxBookCtrl"/>
- <constructor name="Listbook" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=EmptyString) -> Listbook</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <constructor name="PreListbook" overloaded="no">
- <autodoc>PreListbook() -> Listbook</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="IsVertical" type="bool" overloaded="no">
- <autodoc>IsVertical() -> bool</autodoc>
- </method>
- </class>
- <class name="ListbookEvent" oldname="wxListbookEvent" module="controls">
- <baseclass name="wxBookCtrlEvent"/>
- <constructor name="ListbookEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
- int nOldSel=-1) -> ListbookEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="0"/>
- <param name="nSel" type="int" default="-1"/>
- <param name="nOldSel" type="int" default="-1"/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
- EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 )
- EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 )
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="controls">
- <baseclass name="wxSizer"/>
- <constructor name="BookCtrlSizer" overloaded="no">
- <autodoc>__init__(BookCtrl nb) -> BookCtrlSizer</autodoc>
- <paramlist>
- <param name="nb" type="p.wxBookCtrl" default=""/>
- </paramlist>
- </constructor>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- <method name="GetControl" type="wxBookCtrl" overloaded="no">
- <autodoc>GetControl() -> BookCtrl</autodoc>
- </method>
- </class>
- <class name="NotebookSizer" oldname="wxNotebookSizer" module="controls">
- <baseclass name="wxSizer"/>
- <constructor name="NotebookSizer" overloaded="no">
- <autodoc>__init__(Notebook nb) -> NotebookSizer</autodoc>
- <paramlist>
- <param name="nb" type="p.wxNotebook" default=""/>
- </paramlist>
- </constructor>
- <method name="RecalcSizes" type="void" overloaded="no">
- <autodoc>RecalcSizes()</autodoc>
- </method>
- <method name="CalcMin" type="wxSize" overloaded="no">
- <autodoc>CalcMin() -> Size</autodoc>
- </method>
- <method name="GetNotebook" type="wxNotebook" overloaded="no">
- <autodoc>GetNotebook() -> Notebook</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="controls">
- <baseclass name="wxObject"/>
- <method name="GetId" type="int" overloaded="no">
- <autodoc>GetId() -> int</autodoc>
- </method>
- <method name="GetControl" type="wxControl" overloaded="no">
- <autodoc>GetControl() -> Control</autodoc>
- </method>
- <method name="GetToolBar" type="wxToolBarBase" overloaded="no">
- <autodoc>GetToolBar() -> ToolBarBase</autodoc>
- </method>
- <method name="IsButton" type="int" overloaded="no">
- <autodoc>IsButton() -> int</autodoc>
- </method>
- <method name="IsControl" type="int" overloaded="no">
- <autodoc>IsControl() -> int</autodoc>
- </method>
- <method name="IsSeparator" type="int" overloaded="no">
- <autodoc>IsSeparator() -> int</autodoc>
- </method>
- <method name="GetStyle" type="int" overloaded="no">
- <autodoc>GetStyle() -> int</autodoc>
- </method>
- <method name="GetKind" type="wxItemKind" overloaded="no">
- <autodoc>GetKind() -> int</autodoc>
- </method>
- <method name="IsEnabled" type="bool" overloaded="no">
- <autodoc>IsEnabled() -> bool</autodoc>
- </method>
- <method name="IsToggled" type="bool" overloaded="no">
- <autodoc>IsToggled() -> bool</autodoc>
- </method>
- <method name="CanBeToggled" type="bool" overloaded="no">
- <autodoc>CanBeToggled() -> bool</autodoc>
- </method>
- <method name="GetNormalBitmap" type="q(const).wxBitmap" overloaded="no">
- <autodoc>GetNormalBitmap() -> Bitmap</autodoc>
- </method>
- <method name="GetDisabledBitmap" type="q(const).wxBitmap" overloaded="no">
- <autodoc>GetDisabledBitmap() -> Bitmap</autodoc>
- </method>
- <method name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmap() -> Bitmap</autodoc>
- </method>
- <method name="GetLabel" type="wxString" overloaded="no">
- <autodoc>GetLabel() -> String</autodoc>
- </method>
- <method name="GetShortHelp" type="wxString" overloaded="no">
- <autodoc>GetShortHelp() -> String</autodoc>
- </method>
- <method name="GetLongHelp" type="wxString" overloaded="no">
- <autodoc>GetLongHelp() -> String</autodoc>
- </method>
- <method name="Enable" type="bool" overloaded="no">
- <autodoc>Enable(bool enable) -> bool</autodoc>
- <paramlist>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Toggle" type="void" overloaded="no">
- <autodoc>Toggle()</autodoc>
- </method>
- <method name="SetToggle" type="bool" overloaded="no">
- <autodoc>SetToggle(bool toggle) -> bool</autodoc>
- <paramlist>
- <param name="toggle" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetShortHelp" type="bool" overloaded="no">
- <autodoc>SetShortHelp(String help) -> bool</autodoc>
- <paramlist>
- <param name="help" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetLongHelp" type="bool" overloaded="no">
- <autodoc>SetLongHelp(String help) -> bool</autodoc>
- <paramlist>
- <param name="help" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetNormalBitmap" type="void" overloaded="no">
- <autodoc>SetNormalBitmap(Bitmap bmp)</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetDisabledBitmap" type="void" overloaded="no">
- <autodoc>SetDisabledBitmap(Bitmap bmp)</autodoc>
- <paramlist>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetLabel" type="void" overloaded="no">
- <autodoc>SetLabel(String label)</autodoc>
- <paramlist>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Detach" type="void" overloaded="no">
- <autodoc>Detach()</autodoc>
- </method>
- <method name="Attach" type="void" overloaded="no">
- <autodoc>Attach(ToolBarBase tbar)</autodoc>
- <paramlist>
- <param name="tbar" type="p.wxToolBarBase" default=""/>
- </paramlist>
- </method>
- <method name="GetClientData" type="PyObject" overloaded="no">
- <autodoc>GetClientData() -> PyObject</autodoc>
- </method>
- <method name="SetClientData" type="void" overloaded="no">
- <autodoc>SetClientData(PyObject clientData)</autodoc>
- <paramlist>
- <param name="clientData" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="ToolBarBase" oldname="wxToolBarBase" module="controls">
- <baseclass name="wxControl"/>
- <method name="DoAddTool" type="wxToolBarToolBase" overloaded="no">
- <autodoc>DoAddTool(int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,
- int kind=ITEM_NORMAL, String shortHelp=EmptyString,
- String longHelp=EmptyString,
- PyObject clientData=None) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="bmpDisabled" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
- <param name="shortHelp" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="longHelp" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="clientData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="DoInsertTool" type="wxToolBarToolBase" overloaded="no">
- <autodoc>DoInsertTool(size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,
- int kind=ITEM_NORMAL,
- String shortHelp=EmptyString, String longHelp=EmptyString,
- PyObject clientData=None) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- <param name="bmpDisabled" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
- <param name="shortHelp" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="longHelp" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="clientData" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="AddToolItem" type="wxToolBarToolBase" overloaded="no">
- <autodoc>AddToolItem(ToolBarToolBase tool) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="tool" type="p.wxToolBarToolBase" default=""/>
- </paramlist>
- </method>
- <method name="InsertToolItem" type="wxToolBarToolBase" overloaded="no">
- <autodoc>InsertToolItem(size_t pos, ToolBarToolBase tool) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="tool" type="p.wxToolBarToolBase" default=""/>
- </paramlist>
- </method>
- <method name="AddControl" type="wxToolBarToolBase" overloaded="no">
- <autodoc>AddControl(Control control) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="control" type="p.wxControl" default=""/>
- </paramlist>
- </method>
- <method name="InsertControl" type="wxToolBarToolBase" overloaded="no">
- <autodoc>InsertControl(size_t pos, Control control) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="control" type="p.wxControl" default=""/>
- </paramlist>
- </method>
- <method name="FindControl" type="wxControl" overloaded="no">
- <autodoc>FindControl(int id) -> Control</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AddSeparator" type="wxToolBarToolBase" overloaded="no">
- <autodoc>AddSeparator() -> ToolBarToolBase</autodoc>
- </method>
- <method name="InsertSeparator" type="wxToolBarToolBase" overloaded="no">
- <autodoc>InsertSeparator(size_t pos) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="RemoveTool" type="wxToolBarToolBase" overloaded="no">
- <autodoc>RemoveTool(int id) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeleteToolByPos" type="bool" overloaded="no">
- <autodoc>DeleteToolByPos(size_t pos) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="DeleteTool" type="bool" overloaded="no">
- <autodoc>DeleteTool(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ClearTools" type="void" overloaded="no">
- <autodoc>ClearTools()</autodoc>
- </method>
- <method name="Realize" type="bool" overloaded="no">
- <autodoc>Realize() -> bool</autodoc>
- </method>
- <method name="EnableTool" type="void" overloaded="no">
- <autodoc>EnableTool(int id, bool enable)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="ToggleTool" type="void" overloaded="no">
- <autodoc>ToggleTool(int id, bool toggle)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="toggle" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetToggle" type="void" overloaded="no">
- <autodoc>SetToggle(int id, bool toggle)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="toggle" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetToolClientData" type="PyObject" overloaded="no">
- <autodoc>GetToolClientData(int id) -> PyObject</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetToolClientData" type="void" overloaded="no">
- <autodoc>SetToolClientData(int id, PyObject clientData)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="clientData" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetToolPos" type="int" overloaded="no">
- <autodoc>GetToolPos(int id) -> int</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetToolState" type="bool" overloaded="no">
- <autodoc>GetToolState(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetToolEnabled" type="bool" overloaded="no">
- <autodoc>GetToolEnabled(int id) -> bool</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetToolShortHelp" type="void" overloaded="no">
- <autodoc>SetToolShortHelp(int id, String helpString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="helpString" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetToolShortHelp" type="wxString" overloaded="no">
- <autodoc>GetToolShortHelp(int id) -> String</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetToolLongHelp" type="void" overloaded="no">
- <autodoc>SetToolLongHelp(int id, String helpString)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="helpString" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetToolLongHelp" type="wxString" overloaded="no">
- <autodoc>GetToolLongHelp(int id) -> String</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginsXY" type="void" overloaded="no">
- <autodoc>SetMarginsXY(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMargins" type="void" overloaded="no">
- <autodoc>SetMargins(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="SetToolPacking" type="void" overloaded="no">
- <autodoc>SetToolPacking(int packing)</autodoc>
- <paramlist>
- <param name="packing" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetToolSeparation" type="void" overloaded="no">
- <autodoc>SetToolSeparation(int separation)</autodoc>
- <paramlist>
- <param name="separation" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetToolMargins" type="wxSize" overloaded="no">
- <autodoc>GetToolMargins() -> Size</autodoc>
- </method>
- <method name="GetMargins" type="wxSize" overloaded="no">
- <autodoc>GetMargins() -> Size</autodoc>
- </method>
- <method name="GetToolPacking" type="int" overloaded="no">
- <autodoc>GetToolPacking() -> int</autodoc>
- </method>
- <method name="GetToolSeparation" type="int" overloaded="no">
- <autodoc>GetToolSeparation() -> int</autodoc>
- </method>
- <method name="SetRows" type="void" overloaded="no">
- <autodoc>SetRows(int nRows)</autodoc>
- <paramlist>
- <param name="nRows" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMaxRowsCols" type="void" overloaded="no">
- <autodoc>SetMaxRowsCols(int rows, int cols)</autodoc>
- <paramlist>
- <param name="rows" type="int" default=""/>
- <param name="cols" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMaxRows" type="int" overloaded="no">
- <autodoc>GetMaxRows() -> int</autodoc>
- </method>
- <method name="GetMaxCols" type="int" overloaded="no">
- <autodoc>GetMaxCols() -> int</autodoc>
- </method>
- <method name="SetToolBitmapSize" type="void" overloaded="no">
- <autodoc>SetToolBitmapSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="GetToolBitmapSize" type="wxSize" overloaded="no">
- <autodoc>GetToolBitmapSize() -> Size</autodoc>
- </method>
- <method name="GetToolSize" type="wxSize" overloaded="no">
- <autodoc>GetToolSize() -> Size</autodoc>
- </method>
- <method name="FindToolForPosition" type="wxToolBarToolBase" overloaded="no">
- <autodoc>FindToolForPosition(int x, int y) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="FindById" type="wxToolBarToolBase" overloaded="no">
- <autodoc>FindById(int toolid) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="toolid" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsVertical" type="bool" overloaded="no">
- <autodoc>IsVertical() -> bool</autodoc>
- </method>
- </class>
- <class name="ToolBar" oldname="wxToolBar" module="controls">
- <baseclass name="wxToolBarBase"/>
- <constructor name="ToolBar" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxNO_BORDER|wxTB_HORIZONTAL,
- String name=wxPyToolBarNameStr) -> ToolBar</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyToolBarNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreToolBar" overloaded="no">
- <autodoc>PreToolBar() -> ToolBar</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxNO_BORDER|wxTB_HORIZONTAL,
- String name=wxPyToolBarNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
- <param name="name" type="r.q(const).wxString" default="wxPyToolBarNameStr"/>
- </paramlist>
- </method>
- <method name="FindToolForPosition" type="wxToolBarToolBase" overloaded="no">
- <autodoc>FindToolForPosition(int x, int y) -> ToolBarToolBase</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ListItemAttr" oldname="wxListItemAttr" module="controls">
- <constructor name="ListItemAttr" overloaded="no">
- <autodoc>__init__(Colour colText=wxNullColour, Colour colBack=wxNullColour,
- Font font=wxNullFont) -> ListItemAttr</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="colBack" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="font" type="r.q(const).wxFont" default="wxNullFont"/>
- </paramlist>
- </constructor>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(Colour colText)</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="void" overloaded="no">
- <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
- <paramlist>
- <param name="colBack" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="HasTextColour" type="bool" overloaded="no">
- <autodoc>HasTextColour() -> bool</autodoc>
- </method>
- <method name="HasBackgroundColour" type="bool" overloaded="no">
- <autodoc>HasBackgroundColour() -> bool</autodoc>
- </method>
- <method name="HasFont" type="bool" overloaded="no">
- <autodoc>HasFont() -> bool</autodoc>
- </method>
- <method name="GetTextColour" type="wxColour" overloaded="no">
- <autodoc>GetTextColour() -> Colour</autodoc>
- </method>
- <method name="GetBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ListItem" oldname="wxListItem" module="controls">
- <baseclass name="wxObject"/>
- <constructor name="ListItem" overloaded="no">
- <autodoc>__init__() -> ListItem</autodoc>
- </constructor>
- <destructor name="~wxListItem" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="ClearAttributes" type="void" overloaded="no">
- <autodoc>ClearAttributes()</autodoc>
- </method>
- <method name="SetMask" type="void" overloaded="no">
- <autodoc>SetMask(long mask)</autodoc>
- <paramlist>
- <param name="mask" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(long id)</autodoc>
- <paramlist>
- <param name="id" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetColumn" type="void" overloaded="no">
- <autodoc>SetColumn(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetState" type="void" overloaded="no">
- <autodoc>SetState(long state)</autodoc>
- <paramlist>
- <param name="state" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetStateMask" type="void" overloaded="no">
- <autodoc>SetStateMask(long stateMask)</autodoc>
- <paramlist>
- <param name="stateMask" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetImage" type="void" overloaded="no">
- <autodoc>SetImage(int image)</autodoc>
- <paramlist>
- <param name="image" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetData" type="void" overloaded="no">
- <autodoc>SetData(long data)</autodoc>
- <paramlist>
- <param name="data" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAlign" type="void" overloaded="no">
- <autodoc>SetAlign(int align)</autodoc>
- <paramlist>
- <param name="align" type="wxListColumnFormat" default=""/>
- </paramlist>
- </method>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(Colour colText)</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="void" overloaded="no">
- <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
- <paramlist>
- <param name="colBack" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="GetMask" type="long" overloaded="no">
- <autodoc>GetMask() -> long</autodoc>
- </method>
- <method name="GetId" type="long" overloaded="no">
- <autodoc>GetId() -> long</autodoc>
- </method>
- <method name="GetColumn" type="int" overloaded="no">
- <autodoc>GetColumn() -> int</autodoc>
- </method>
- <method name="GetState" type="long" overloaded="no">
- <autodoc>GetState() -> long</autodoc>
- </method>
- <method name="GetText" type="q(const).wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <method name="GetImage" type="int" overloaded="no">
- <autodoc>GetImage() -> int</autodoc>
- </method>
- <method name="GetData" type="long" overloaded="no">
- <autodoc>GetData() -> long</autodoc>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="GetAlign" type="wxListColumnFormat" overloaded="no">
- <autodoc>GetAlign() -> int</autodoc>
- </method>
- <method name="GetAttributes" type="wxListItemAttr" overloaded="no">
- <autodoc>GetAttributes() -> ListItemAttr</autodoc>
- </method>
- <method name="HasAttributes" type="bool" overloaded="no">
- <autodoc>HasAttributes() -> bool</autodoc>
- </method>
- <method name="GetTextColour" type="wxColour" overloaded="no">
- <autodoc>GetTextColour() -> Colour</autodoc>
- </method>
- <method name="GetBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <property name="m_mask" type="long" readonly="no"/>
- <property name="m_itemId" type="long" readonly="no"/>
- <property name="m_col" type="int" readonly="no"/>
- <property name="m_state" type="long" readonly="no"/>
- <property name="m_stateMask" type="long" readonly="no"/>
- <property name="m_text" type="wxString" readonly="no"/>
- <property name="m_image" type="int" readonly="no"/>
- <property name="m_data" type="long" readonly="no"/>
- <property name="m_format" type="int" readonly="no"/>
- <property name="m_width" type="int" readonly="no"/>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ListEvent" oldname="wxListEvent" module="controls">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="ListEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <property name="m_code" type="int" readonly="no"/>
- <property name="m_oldItemIndex" type="long" readonly="no"/>
- <property name="m_itemIndex" type="long" readonly="no"/>
- <property name="m_col" type="int" readonly="no"/>
- <property name="m_pointDrag" type="wxPoint" readonly="no"/>
- <property name="m_item" type="wxListItem" readonly="yes"/>
- <method name="GetKeyCode" type="int" overloaded="no">
- <autodoc>GetKeyCode() -> int</autodoc>
- </method>
- <method name="GetIndex" type="long" overloaded="no">
- <autodoc>GetIndex() -> long</autodoc>
- </method>
- <method name="GetColumn" type="int" overloaded="no">
- <autodoc>GetColumn() -> int</autodoc>
- </method>
- <method name="GetPoint" type="wxPoint" overloaded="no">
- <autodoc>GetPoint() -> Point</autodoc>
- </method>
- <method name="GetLabel" type="q(const).wxString" overloaded="no">
- <autodoc>GetLabel() -> String</autodoc>
- </method>
- <method name="GetText" type="q(const).wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <method name="GetImage" type="int" overloaded="no">
- <autodoc>GetImage() -> int</autodoc>
- </method>
- <method name="GetData" type="long" overloaded="no">
- <autodoc>GetData() -> long</autodoc>
- </method>
- <method name="GetMask" type="long" overloaded="no">
- <autodoc>GetMask() -> long</autodoc>
- </method>
- <method name="GetItem" type="q(const).wxListItem" overloaded="no">
- <autodoc>GetItem() -> ListItem</autodoc>
- </method>
- <method name="GetCacheFrom" type="long" overloaded="no">
- <autodoc>GetCacheFrom() -> long</autodoc>
- </method>
- <method name="GetCacheTo" type="long" overloaded="no">
- <autodoc>GetCacheTo() -> long</autodoc>
- </method>
- <method name="IsEditCancelled" type="bool" overloaded="no">
- <autodoc>IsEditCancelled() -> bool</autodoc>
- </method>
- <method name="SetEditCanceled" type="void" overloaded="no">
- <autodoc>SetEditCanceled(bool editCancelled)</autodoc>
- <paramlist>
- <param name="editCancelled" type="bool" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-
-EVT_LIST_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_DRAG , 1)
-EVT_LIST_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_RDRAG , 1)
-EVT_LIST_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT , 1)
-EVT_LIST_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_END_LABEL_EDIT , 1)
-EVT_LIST_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ITEM , 1)
-EVT_LIST_DELETE_ALL_ITEMS = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS , 1)
-EVT_LIST_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_GET_INFO , 1)
-EVT_LIST_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_SET_INFO , 1)
-EVT_LIST_ITEM_SELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_SELECTED , 1)
-EVT_LIST_ITEM_DESELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_DESELECTED , 1)
-EVT_LIST_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_LIST_KEY_DOWN , 1)
-EVT_LIST_INSERT_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_INSERT_ITEM , 1)
-EVT_LIST_COL_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_CLICK , 1)
-EVT_LIST_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK , 1)
-EVT_LIST_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 1)
-EVT_LIST_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_ACTIVATED , 1)
-EVT_LIST_CACHE_HINT = wx.PyEventBinder(wxEVT_COMMAND_LIST_CACHE_HINT , 1)
-EVT_LIST_COL_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK , 1)
-EVT_LIST_COL_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG , 1)
-EVT_LIST_COL_DRAGGING = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING , 1)
-EVT_LIST_COL_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG , 1)
-EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED , 1)
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ListCtrl" oldname="wxPyListCtrl" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="wxPyListCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_ICON,
- Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLC_ICON"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListCtrlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreListCtrl" overloaded="no">
- <autodoc>PreListCtrl() -> ListCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_ICON,
- Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLC_ICON"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListCtrlNameStr"/>
- </paramlist>
- </method>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetForegroundColour" type="bool" overloaded="no">
- <autodoc>SetForegroundColour(Colour col) -> bool</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="bool" overloaded="no">
- <autodoc>SetBackgroundColour(Colour col) -> bool</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetColumn" type="wxListItem" overloaded="no">
- <autodoc>GetColumn(int col) -> ListItem</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColumn" type="bool" overloaded="no">
- <autodoc>SetColumn(int col, ListItem item) -> bool</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="item" type="r.wxListItem" default=""/>
- </paramlist>
- </method>
- <method name="GetColumnWidth" type="int" overloaded="no">
- <autodoc>GetColumnWidth(int col) -> int</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColumnWidth" type="bool" overloaded="no">
- <autodoc>SetColumnWidth(int col, int width) -> bool</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCountPerPage" type="int" overloaded="no">
- <autodoc>GetCountPerPage() -> int</autodoc>
- </method>
- <method name="GetViewRect" type="wxRect" overloaded="no">
- <autodoc>GetViewRect() -> Rect</autodoc>
- </method>
- <method name="GetItem" type="wxListItem" overloaded="no">
- <autodoc>GetItem(long itemId, int col=0) -> ListItem</autodoc>
- <paramlist>
- <param name="itemId" type="long" default=""/>
- <param name="col" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetItem" type="bool" overloaded="no">
- <autodoc>SetItem(ListItem info) -> bool</autodoc>
- <paramlist>
- <param name="info" type="r.wxListItem" default=""/>
- </paramlist>
- </method>
- <method name="SetStringItem" type="long" overloaded="no">
- <autodoc>SetStringItem(long index, int col, String label, int imageId=-1) -> long</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- <param name="col" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="imageId" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="GetItemState" type="int" overloaded="no">
- <autodoc>GetItemState(long item, long stateMask) -> int</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="stateMask" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetItemState" type="bool" overloaded="no">
- <autodoc>SetItemState(long item, long state, long stateMask) -> bool</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="state" type="long" default=""/>
- <param name="stateMask" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetItemImage" type="bool" overloaded="no">
- <autodoc>SetItemImage(long item, int image, int selImage) -> bool</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="image" type="int" default=""/>
- <param name="selImage" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetItemText" type="wxString" overloaded="no">
- <autodoc>GetItemText(long item) -> String</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetItemText" type="void" overloaded="no">
- <autodoc>SetItemText(long item, String str)</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetItemData" type="long" overloaded="no">
- <autodoc>GetItemData(long item) -> long</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetItemData" type="bool" overloaded="no">
- <autodoc>SetItemData(long item, long data) -> bool</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="data" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetItemPosition" type="wxPoint" overloaded="no">
- <autodoc>GetItemPosition(long item) -> Point</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetItemRect" type="wxRect" overloaded="no">
- <autodoc>GetItemRect(long item, int code=LIST_RECT_BOUNDS) -> Rect</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/>
- </paramlist>
- </method>
- <method name="SetItemPosition" type="bool" overloaded="no">
- <autodoc>SetItemPosition(long item, Point pos) -> bool</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetItemCount" type="int" overloaded="no">
- <autodoc>GetItemCount() -> int</autodoc>
- </method>
- <method name="GetColumnCount" type="int" overloaded="no">
- <autodoc>GetColumnCount() -> int</autodoc>
- </method>
- <method name="GetItemSpacing" type="wxSize" overloaded="no">
- <autodoc>GetItemSpacing() -> Size</autodoc>
- </method>
- <method name="SetItemSpacing" type="void" overloaded="no">
- <autodoc>SetItemSpacing(int spacing, bool isSmall=False)</autodoc>
- <paramlist>
- <param name="spacing" type="int" default=""/>
- <param name="isSmall" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="GetSelectedItemCount" type="int" overloaded="no">
- <autodoc>GetSelectedItemCount() -> int</autodoc>
- </method>
- <method name="GetTextColour" type="wxColour" overloaded="no">
- <autodoc>GetTextColour() -> Colour</autodoc>
- </method>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(Colour col)</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetTopItem" type="long" overloaded="no">
- <autodoc>GetTopItem() -> long</autodoc>
- </method>
- <method name="SetSingleStyle" type="void" overloaded="no">
- <autodoc>SetSingleStyle(long style, bool add=True)</autodoc>
- <paramlist>
- <param name="style" type="long" default=""/>
- <param name="add" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetWindowStyleFlag" type="void" overloaded="no">
- <autodoc>SetWindowStyleFlag(long style)</autodoc>
- <paramlist>
- <param name="style" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetNextItem" type="long" overloaded="no">
- <autodoc>GetNextItem(long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/>
- <param name="state" type="int" default="wxLIST_STATE_DONTCARE"/>
- </paramlist>
- </method>
- <method name="GetImageList" type="wxImageList" overloaded="no">
- <autodoc>GetImageList(int which) -> ImageList</autodoc>
- <paramlist>
- <param name="which" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetImageList" type="void" overloaded="no">
- <autodoc>SetImageList(ImageList imageList, int which)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- <param name="which" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AssignImageList" type="void" overloaded="no">
- <autodoc>AssignImageList(ImageList imageList, int which)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- <param name="which" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsVirtual" type="bool" overloaded="no">
- <autodoc>IsVirtual() -> bool</autodoc>
- </method>
- <method name="RefreshItem" type="void" overloaded="no">
- <autodoc>RefreshItem(long item)</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="RefreshItems" type="void" overloaded="no">
- <autodoc>RefreshItems(long itemFrom, long itemTo)</autodoc>
- <paramlist>
- <param name="itemFrom" type="long" default=""/>
- <param name="itemTo" type="long" default=""/>
- </paramlist>
- </method>
- <method name="Arrange" type="bool" overloaded="no">
- <autodoc>Arrange(int flag=LIST_ALIGN_DEFAULT) -> bool</autodoc>
- <paramlist>
- <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/>
- </paramlist>
- </method>
- <method name="DeleteItem" type="bool" overloaded="no">
- <autodoc>DeleteItem(long item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="DeleteAllItems" type="bool" overloaded="no">
- <autodoc>DeleteAllItems() -> bool</autodoc>
- </method>
- <method name="DeleteColumn" type="bool" overloaded="no">
- <autodoc>DeleteColumn(int col) -> bool</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeleteAllColumns" type="bool" overloaded="no">
- <autodoc>DeleteAllColumns() -> bool</autodoc>
- </method>
- <method name="ClearAll" type="void" overloaded="no">
- <autodoc>ClearAll()</autodoc>
- </method>
- <method name="EditLabel" type="void" overloaded="no">
- <autodoc>EditLabel(long item)</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="EnsureVisible" type="bool" overloaded="no">
- <autodoc>EnsureVisible(long item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="FindItem" type="long" overloaded="no">
- <autodoc>FindItem(long start, String str, bool partial=False) -> long</autodoc>
- <paramlist>
- <param name="start" type="long" default=""/>
- <param name="str" type="r.q(const).wxString" default=""/>
- <param name="partial" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="FindItemData" type="long" overloaded="no">
- <autodoc>FindItemData(long start, long data) -> long</autodoc>
- <paramlist>
- <param name="start" type="long" default=""/>
- <param name="data" type="long" default=""/>
- </paramlist>
- </method>
- <method name="FindItemAtPos" type="long" overloaded="no">
- <autodoc>FindItemAtPos(long start, Point pt, int direction) -> long</autodoc>
- <paramlist>
- <param name="start" type="long" default=""/>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- <param name="direction" type="int" default=""/>
- </paramlist>
- </method>
- <method name="HitTest" type="long" overloaded="no">
- <autodoc>HitTest(Point point) -> (item, where)</autodoc>
- <docstring>Determines which item (if any) is at the specified point,
-giving details in the second return value (see wxLIST_HITTEST_... flags.)</docstring>
- <paramlist>
- <param name="point" type="r.q(const).wxPoint" default=""/>
- <param name="OUTPUT" type="r.int" default=""/>
- </paramlist>
- </method>
- <method name="InsertItem" type="long" overloaded="no">
- <autodoc>InsertItem(ListItem info) -> long</autodoc>
- <paramlist>
- <param name="info" type="r.wxListItem" default=""/>
- </paramlist>
- </method>
- <method name="InsertStringItem" type="long" overloaded="no">
- <autodoc>InsertStringItem(long index, String label) -> long</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="InsertImageItem" type="long" overloaded="no">
- <autodoc>InsertImageItem(long index, int imageIndex) -> long</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- <param name="imageIndex" type="int" default=""/>
- </paramlist>
- </method>
- <method name="InsertImageStringItem" type="long" overloaded="no">
- <autodoc>InsertImageStringItem(long index, String label, int imageIndex) -> long</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="imageIndex" type="int" default=""/>
- </paramlist>
- </method>
- <method name="InsertColumnInfo" type="long" overloaded="no">
- <autodoc>InsertColumnInfo(long col, ListItem info) -> long</autodoc>
- <paramlist>
- <param name="col" type="long" default=""/>
- <param name="info" type="r.wxListItem" default=""/>
- </paramlist>
- </method>
- <method name="InsertColumn" type="long" overloaded="no">
- <autodoc>InsertColumn(long col, String heading, int format=LIST_FORMAT_LEFT,
- int width=-1) -> long</autodoc>
- <paramlist>
- <param name="col" type="long" default=""/>
- <param name="heading" type="r.q(const).wxString" default=""/>
- <param name="format" type="int" default="wxLIST_FORMAT_LEFT"/>
- <param name="width" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="SetItemCount" type="void" overloaded="no">
- <autodoc>SetItemCount(long count)</autodoc>
- <paramlist>
- <param name="count" type="long" default=""/>
- </paramlist>
- </method>
- <method name="ScrollList" type="bool" overloaded="no">
- <autodoc>ScrollList(int dx, int dy) -> bool</autodoc>
- <paramlist>
- <param name="dx" type="int" default=""/>
- <param name="dy" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetItemTextColour" type="void" overloaded="no">
- <autodoc>SetItemTextColour(long item, Colour col)</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetItemTextColour" type="wxColour" overloaded="no">
- <autodoc>GetItemTextColour(long item) -> Colour</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetItemBackgroundColour" type="void" overloaded="no">
- <autodoc>SetItemBackgroundColour(long item, Colour col)</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetItemBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetItemBackgroundColour(long item) -> Colour</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SortItems" type="bool" overloaded="no">
- <autodoc>SortItems(PyObject func) -> bool</autodoc>
- <paramlist>
- <param name="func" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetMainWindow" type="wxWindow" overloaded="no">
- <autodoc>GetMainWindow() -> Window</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ListView" oldname="wxListView" module="controls">
- <baseclass name="wxPyListCtrl"/>
- <constructor name="ListView" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_REPORT,
- Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListView</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLC_REPORT"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListCtrlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreListView" overloaded="no">
- <autodoc>PreListView() -> ListView</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=LC_REPORT,
- Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLC_REPORT"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyListCtrlNameStr"/>
- </paramlist>
- </method>
- <method name="Select" type="void" overloaded="no">
- <autodoc>Select(long n, bool on=True)</autodoc>
- <paramlist>
- <param name="n" type="long" default=""/>
- <param name="on" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Focus" type="void" overloaded="no">
- <autodoc>Focus(long index)</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetFocusedItem" type="long" overloaded="no">
- <autodoc>GetFocusedItem() -> long</autodoc>
- </method>
- <method name="GetNextSelected" type="long" overloaded="no">
- <autodoc>GetNextSelected(long item) -> long</autodoc>
- <paramlist>
- <param name="item" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetFirstSelected" type="long" overloaded="no">
- <autodoc>GetFirstSelected() -> long</autodoc>
- </method>
- <method name="IsSelected" type="bool" overloaded="no">
- <autodoc>IsSelected(long index) -> bool</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetColumnImage" type="void" overloaded="no">
- <autodoc>SetColumnImage(int col, int image)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="image" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ClearColumnImage" type="void" overloaded="no">
- <autodoc>ClearColumnImage(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="TreeItemId" oldname="wxTreeItemId" module="controls">
- <constructor name="TreeItemId" overloaded="no">
- <autodoc>__init__() -> TreeItemId</autodoc>
- </constructor>
- <destructor name="~wxTreeItemId" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(TreeItemId other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="p.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(TreeItemId other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="p.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <property name="m_pItem" type="wxTreeItemIdValue" readonly="no"/>
- </class>
- <class name="TreeItemData" oldname="wxPyTreeItemData" module="controls">
- <constructor name="wxPyTreeItemData" overloaded="no">
- <autodoc>__init__(PyObject obj=None) -> TreeItemData</autodoc>
- <paramlist>
- <param name="obj" type="p.PyObject" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetData" type="PyObject" overloaded="no">
- <autodoc>GetData() -> PyObject</autodoc>
- </method>
- <method name="SetData" type="void" overloaded="no">
- <autodoc>SetData(PyObject obj)</autodoc>
- <paramlist>
- <param name="obj" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetId" type="q(const).wxTreeItemId" overloaded="no">
- <autodoc>GetId() -> TreeItemId</autodoc>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(TreeItemId id)</autodoc>
- <paramlist>
- <param name="id" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <pythoncode>
-
-EVT_TREE_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG , 1)
-EVT_TREE_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG , 1)
-EVT_TREE_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT , 1)
-EVT_TREE_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_LABEL_EDIT , 1)
-EVT_TREE_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_TREE_DELETE_ITEM , 1)
-EVT_TREE_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_GET_INFO , 1)
-EVT_TREE_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_SET_INFO , 1)
-EVT_TREE_ITEM_EXPANDED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDED , 1)
-EVT_TREE_ITEM_EXPANDING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDING , 1)
-EVT_TREE_ITEM_COLLAPSED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSED , 1)
-EVT_TREE_ITEM_COLLAPSING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSING , 1)
-EVT_TREE_SEL_CHANGED = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGED , 1)
-EVT_TREE_SEL_CHANGING = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGING , 1)
-EVT_TREE_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_TREE_KEY_DOWN , 1)
-EVT_TREE_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_ACTIVATED , 1)
-EVT_TREE_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK , 1)
-EVT_TREE_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 1)
-EVT_TREE_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG , 1)
-EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1)
-EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1)
-</pythoncode>
- <class name="TreeEvent" oldname="wxTreeEvent" module="controls">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="TreeEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetItem" type="wxTreeItemId" overloaded="no">
- <autodoc>GetItem() -> TreeItemId</autodoc>
- </method>
- <method name="SetItem" type="void" overloaded="no">
- <autodoc>SetItem(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetOldItem" type="wxTreeItemId" overloaded="no">
- <autodoc>GetOldItem() -> TreeItemId</autodoc>
- </method>
- <method name="SetOldItem" type="void" overloaded="no">
- <autodoc>SetOldItem(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetPoint" type="wxPoint" overloaded="no">
- <autodoc>GetPoint() -> Point</autodoc>
- </method>
- <method name="SetPoint" type="void" overloaded="no">
- <autodoc>SetPoint(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetKeyEvent" type="q(const).wxKeyEvent" overloaded="no">
- <autodoc>GetKeyEvent() -> KeyEvent</autodoc>
- </method>
- <method name="GetKeyCode" type="int" overloaded="no">
- <autodoc>GetKeyCode() -> int</autodoc>
- </method>
- <method name="SetKeyEvent" type="void" overloaded="no">
- <autodoc>SetKeyEvent(KeyEvent evt)</autodoc>
- <paramlist>
- <param name="evt" type="r.q(const).wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="GetLabel" type="q(const).wxString" overloaded="no">
- <autodoc>GetLabel() -> String</autodoc>
- </method>
- <method name="SetLabel" type="void" overloaded="no">
- <autodoc>SetLabel(String label)</autodoc>
- <paramlist>
- <param name="label" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="IsEditCancelled" type="bool" overloaded="no">
- <autodoc>IsEditCancelled() -> bool</autodoc>
- </method>
- <method name="SetEditCanceled" type="void" overloaded="no">
- <autodoc>SetEditCanceled(bool editCancelled)</autodoc>
- <paramlist>
- <param name="editCancelled" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetToolTip" type="void" overloaded="no">
- <autodoc>SetToolTip(String toolTip)</autodoc>
- <paramlist>
- <param name="toolTip" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="wxPyTreeCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
- Validator validator=DefaultValidator,
- String name=TreeCtrlNameStr) -> TreeCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTreeCtrlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreTreeCtrl" overloaded="no">
- <autodoc>PreTreeCtrl() -> TreeCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
- Validator validator=DefaultValidator,
- String name=TreeCtrlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTreeCtrlNameStr"/>
- </paramlist>
- </method>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetCount" type="size_t" overloaded="no">
- <autodoc>GetCount() -> size_t</autodoc>
- </method>
- <method name="GetIndent" type="unsigned int" overloaded="no">
- <autodoc>GetIndent() -> unsigned int</autodoc>
- </method>
- <method name="SetIndent" type="void" overloaded="no">
- <autodoc>SetIndent(unsigned int indent)</autodoc>
- <paramlist>
- <param name="indent" type="unsigned int" default=""/>
- </paramlist>
- </method>
- <method name="GetSpacing" type="unsigned int" overloaded="no">
- <autodoc>GetSpacing() -> unsigned int</autodoc>
- </method>
- <method name="SetSpacing" type="void" overloaded="no">
- <autodoc>SetSpacing(unsigned int spacing)</autodoc>
- <paramlist>
- <param name="spacing" type="unsigned int" default=""/>
- </paramlist>
- </method>
- <method name="GetImageList" type="wxImageList" overloaded="no">
- <autodoc>GetImageList() -> ImageList</autodoc>
- </method>
- <method name="GetStateImageList" type="wxImageList" overloaded="no">
- <autodoc>GetStateImageList() -> ImageList</autodoc>
- </method>
- <method name="SetImageList" type="void" overloaded="no">
- <autodoc>SetImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
- </method>
- <method name="SetStateImageList" type="void" overloaded="no">
- <autodoc>SetStateImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
- </method>
- <method name="AssignImageList" type="void" overloaded="no">
- <autodoc>AssignImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
- </method>
- <method name="AssignStateImageList" type="void" overloaded="no">
- <autodoc>AssignStateImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
- </method>
- <method name="GetItemText" type="wxString" overloaded="no">
- <autodoc>GetItemText(TreeItemId item) -> String</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetItemImage" type="int" overloaded="no">
- <autodoc>GetItemImage(TreeItemId item, int which=TreeItemIcon_Normal) -> int</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
- </paramlist>
- </method>
- <method name="GetItemData" type="wxPyTreeItemData" overloaded="no">
- <autodoc>GetItemData(TreeItemId item) -> TreeItemData</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetItemPyData" type="PyObject" overloaded="no">
- <autodoc>GetItemPyData(TreeItemId item) -> PyObject</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetItemTextColour" type="wxColour" overloaded="no">
- <autodoc>GetItemTextColour(TreeItemId item) -> Colour</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetItemBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetItemBackgroundColour(TreeItemId item) -> Colour</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetItemFont" type="wxFont" overloaded="no">
- <autodoc>GetItemFont(TreeItemId item) -> Font</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="SetItemText" type="void" overloaded="no">
- <autodoc>SetItemText(TreeItemId item, String text)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetItemImage" type="void" overloaded="no">
- <autodoc>SetItemImage(TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="image" type="int" default=""/>
- <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
- </paramlist>
- </method>
- <method name="SetItemData" type="void" overloaded="no">
- <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="data" type="p.wxPyTreeItemData" default=""/>
- </paramlist>
- </method>
- <method name="SetItemPyData" type="void" overloaded="no">
- <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="obj" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetItemHasChildren" type="void" overloaded="no">
- <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="has" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetItemBold" type="void" overloaded="no">
- <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="bold" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetItemTextColour" type="void" overloaded="no">
- <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetItemBackgroundColour" type="void" overloaded="no">
- <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetItemFont" type="void" overloaded="no">
- <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="IsVisible" type="bool" overloaded="no">
- <autodoc>IsVisible(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="ItemHasChildren" type="bool" overloaded="no">
- <autodoc>ItemHasChildren(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="IsExpanded" type="bool" overloaded="no">
- <autodoc>IsExpanded(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="IsSelected" type="bool" overloaded="no">
- <autodoc>IsSelected(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="IsBold" type="bool" overloaded="no">
- <autodoc>IsBold(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetChildrenCount" type="size_t" overloaded="no">
- <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="recursively" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetRootItem" type="wxTreeItemId" overloaded="no">
- <autodoc>GetRootItem() -> TreeItemId</autodoc>
- </method>
- <method name="GetSelection" type="wxTreeItemId" overloaded="no">
- <autodoc>GetSelection() -> TreeItemId</autodoc>
- </method>
- <method name="GetSelections" type="PyObject" overloaded="no">
- <autodoc>GetSelections() -> PyObject</autodoc>
- </method>
- <method name="GetItemParent" type="wxTreeItemId" overloaded="no">
- <autodoc>GetItemParent(TreeItemId item) -> TreeItemId</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetFirstChild" type="PyObject" overloaded="no">
- <autodoc>GetFirstChild(TreeItemId item) -> PyObject</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetNextChild" type="PyObject" overloaded="no">
- <autodoc>GetNextChild(TreeItemId item, wxTreeItemIdValue cookie) -> PyObject</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="cookie" type="r.wxTreeItemIdValue" default=""/>
- </paramlist>
- </method>
- <method name="GetLastChild" type="wxTreeItemId" overloaded="no">
- <autodoc>GetLastChild(TreeItemId item) -> TreeItemId</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetNextSibling" type="wxTreeItemId" overloaded="no">
- <autodoc>GetNextSibling(TreeItemId item) -> TreeItemId</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetPrevSibling" type="wxTreeItemId" overloaded="no">
- <autodoc>GetPrevSibling(TreeItemId item) -> TreeItemId</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetFirstVisibleItem" type="wxTreeItemId" overloaded="no">
- <autodoc>GetFirstVisibleItem() -> TreeItemId</autodoc>
- </method>
- <method name="GetNextVisible" type="wxTreeItemId" overloaded="no">
- <autodoc>GetNextVisible(TreeItemId item) -> TreeItemId</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetPrevVisible" type="wxTreeItemId" overloaded="no">
- <autodoc>GetPrevVisible(TreeItemId item) -> TreeItemId</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="AddRoot" type="wxTreeItemId" overloaded="no">
- <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="PrependItem" type="wxTreeItemId" overloaded="no">
- <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
- TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="InsertItem" type="wxTreeItemId" overloaded="no">
- <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text,
- int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="idPrevious" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="InsertItemBefore" type="wxTreeItemId" overloaded="no">
- <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1,
- int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="index" type="size_t" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="AppendItem" type="wxTreeItemId" overloaded="no">
- <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
- TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="Delete" type="void" overloaded="no">
- <autodoc>Delete(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="DeleteChildren" type="void" overloaded="no">
- <autodoc>DeleteChildren(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="DeleteAllItems" type="void" overloaded="no">
- <autodoc>DeleteAllItems()</autodoc>
- </method>
- <method name="Expand" type="void" overloaded="no">
- <autodoc>Expand(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Collapse" type="void" overloaded="no">
- <autodoc>Collapse(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="CollapseAndReset" type="void" overloaded="no">
- <autodoc>CollapseAndReset(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Toggle" type="void" overloaded="no">
- <autodoc>Toggle(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Unselect" type="void" overloaded="no">
- <autodoc>Unselect()</autodoc>
- </method>
- <method name="UnselectAll" type="void" overloaded="no">
- <autodoc>UnselectAll()</autodoc>
- </method>
- <method name="SelectItem" type="void" overloaded="no">
- <autodoc>SelectItem(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="EnsureVisible" type="void" overloaded="no">
- <autodoc>EnsureVisible(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="ScrollTo" type="void" overloaded="no">
- <autodoc>ScrollTo(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="EditLabel" type="void" overloaded="no">
- <autodoc>EditLabel(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetEditControl" type="wxTextCtrl" overloaded="no">
- <autodoc>GetEditControl() -> TextCtrl</autodoc>
- </method>
- <method name="SortChildren" type="void" overloaded="no">
- <autodoc>SortChildren(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="HitTest" type="wxTreeItemId" overloaded="no">
- <autodoc>HitTest(Point point) -> (item, where)</autodoc>
- <docstring>Determine which item (if any) belongs the given point. The
-coordinates specified are relative to the client area of tree ctrl
-and the where return value is set to a bitmask of wxTREE_HITTEST_xxx
-constants.
-</docstring>
- <paramlist>
- <param name="point" type="r.q(const).wxPoint" default=""/>
- <param name="OUTPUT" type="r.int" default=""/>
- </paramlist>
- </method>
- <method name="GetBoundingRect" type="PyObject" overloaded="no">
- <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="textOnly" type="bool" default="False"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="GenericDirCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
- String filter=EmptyString,
- int defaultFilter=0, String name=TreeCtrlNameStr) -> GenericDirCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default="-1"/>
- <param name="dir" type="r.q(const).wxString" default="wxPyDirDialogDefaultFolderStr"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/>
- <param name="filter" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="defaultFilter" type="int" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTreeCtrlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreGenericDirCtrl" overloaded="no">
- <autodoc>PreGenericDirCtrl() -> GenericDirCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
- String filter=EmptyString,
- int defaultFilter=0, String name=TreeCtrlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default="-1"/>
- <param name="dir" type="r.q(const).wxString" default="wxPyDirDialogDefaultFolderStr"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/>
- <param name="filter" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="defaultFilter" type="int" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTreeCtrlNameStr"/>
- </paramlist>
- </method>
- <method name="ExpandPath" type="bool" overloaded="no">
- <autodoc>ExpandPath(String path) -> bool</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultPath" type="wxString" overloaded="no">
- <autodoc>GetDefaultPath() -> String</autodoc>
- </method>
- <method name="SetDefaultPath" type="void" overloaded="no">
- <autodoc>SetDefaultPath(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetPath" type="wxString" overloaded="no">
- <autodoc>GetPath() -> String</autodoc>
- </method>
- <method name="GetFilePath" type="wxString" overloaded="no">
- <autodoc>GetFilePath() -> String</autodoc>
- </method>
- <method name="SetPath" type="void" overloaded="no">
- <autodoc>SetPath(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ShowHidden" type="void" overloaded="no">
- <autodoc>ShowHidden(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetShowHidden" type="bool" overloaded="no">
- <autodoc>GetShowHidden() -> bool</autodoc>
- </method>
- <method name="GetFilter" type="wxString" overloaded="no">
- <autodoc>GetFilter() -> String</autodoc>
- </method>
- <method name="SetFilter" type="void" overloaded="no">
- <autodoc>SetFilter(String filter)</autodoc>
- <paramlist>
- <param name="filter" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetFilterIndex" type="int" overloaded="no">
- <autodoc>GetFilterIndex() -> int</autodoc>
- </method>
- <method name="SetFilterIndex" type="void" overloaded="no">
- <autodoc>SetFilterIndex(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetRootId" type="wxTreeItemId" overloaded="no">
- <autodoc>GetRootId() -> TreeItemId</autodoc>
- </method>
- <method name="GetTreeCtrl" type="wxPyTreeCtrl" overloaded="no">
- <autodoc>GetTreeCtrl() -> TreeCtrl</autodoc>
- </method>
- <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no">
- <autodoc>GetFilterListCtrl() -> DirFilterListCtrl</autodoc>
- </method>
- <method name="FindChild" type="wxTreeItemId" overloaded="no">
- <autodoc>FindChild(wxTreeItemId parentId, wxString path) -> (item, done)</autodoc>
- <docstring>Find the child that matches the first part of 'path'. E.g. if a child path is
-"/usr" and 'path' is "/usr/include" then the child for /usr is returned.
-If the path string has been used (we're at the leaf), done is set to True
-</docstring>
- <paramlist>
- <param name="parentId" type="wxTreeItemId" default=""/>
- <param name="path" type="r.q(const).wxString" default=""/>
- <param name="OUTPUT" type="r.bool" default=""/>
- </paramlist>
- </method>
- <method name="DoResize" type="void" overloaded="no">
- <autodoc>DoResize()</autodoc>
- </method>
- <method name="ReCreateTree" type="void" overloaded="no">
- <autodoc>ReCreateTree()</autodoc>
- </method>
- </class>
- <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="controls">
- <baseclass name="wxChoice"/>
- <constructor name="DirFilterListCtrl" overloaded="no">
- <autodoc>__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0) -> DirFilterListCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxGenericDirCtrl" default=""/>
- <param name="id" type="q(const).int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="PreDirFilterListCtrl" overloaded="no">
- <autodoc>PreDirFilterListCtrl() -> DirFilterListCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxGenericDirCtrl" default=""/>
- <param name="id" type="q(const).int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </method>
- <method name="FillFilterList" type="void" overloaded="no">
- <autodoc>FillFilterList(String filter, int defaultFilter)</autodoc>
- <paramlist>
- <param name="filter" type="r.q(const).wxString" default=""/>
- <param name="defaultFilter" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="PyControl" oldname="wxPyControl" module="controls">
- <baseclass name="wxControl"/>
- <constructor name="PyControl" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, Validator validator=DefaultValidator,
- String name=ControlNameStr) -> PyControl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="q(const).int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyControlNameStr"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_DoMoveWindow" type="void" overloaded="no">
- <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetSize" type="void" overloaded="no">
- <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
- </paramlist>
- </method>
- <method name="base_DoSetClientSize" type="void" overloaded="no">
- <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetVirtualSize" type="void" overloaded="no">
- <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetSize" type="void" overloaded="no">
- <autodoc>base_DoGetSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetClientSize" type="void" overloaded="no">
- <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetPosition" type="void" overloaded="no">
- <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetVirtualSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetVirtualSize() -> Size</autodoc>
- </method>
- <method name="base_DoGetBestSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetBestSize() -> Size</autodoc>
- </method>
- <method name="base_InitDialog" type="void" overloaded="no">
- <autodoc>base_InitDialog()</autodoc>
- </method>
- <method name="base_TransferDataToWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataToWindow() -> bool</autodoc>
- </method>
- <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataFromWindow() -> bool</autodoc>
- </method>
- <method name="base_Validate" type="bool" overloaded="no">
- <autodoc>base_Validate() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocus" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocus() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc>
- </method>
- <method name="base_GetMaxSize" type="wxSize" overloaded="no">
- <autodoc>base_GetMaxSize() -> Size</autodoc>
- </method>
- <method name="base_AddChild" type="void" overloaded="no">
- <autodoc>base_AddChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="base_RemoveChild" type="void" overloaded="no">
- <autodoc>base_RemoveChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <pythoncode>
-EVT_HELP = wx.PyEventBinder( wxEVT_HELP, 1)
-EVT_HELP_RANGE = wx.PyEventBinder( wxEVT_HELP, 2)
-EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1)
-EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
-</pythoncode>
- <class name="HelpEvent" oldname="wxHelpEvent" module="controls">
- <baseclass name="wxCommandEvent"/>
- <constructor name="HelpEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="winid" type="int" default="0"/>
- <param name="pt" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </constructor>
- <method name="GetPosition" type="q(const).wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(Point pos)</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetLink" type="q(const).wxString" overloaded="no">
- <autodoc>GetLink() -> String</autodoc>
- </method>
- <method name="SetLink" type="void" overloaded="no">
- <autodoc>SetLink(String link)</autodoc>
- <paramlist>
- <param name="link" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTarget" type="q(const).wxString" overloaded="no">
- <autodoc>GetTarget() -> String</autodoc>
- </method>
- <method name="SetTarget" type="void" overloaded="no">
- <autodoc>SetTarget(String target)</autodoc>
- <paramlist>
- <param name="target" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="ContextHelp" oldname="wxContextHelp" module="controls">
- <baseclass name="wxObject"/>
- <constructor name="ContextHelp" overloaded="no">
- <autodoc>__init__(Window window=None, bool doNow=True) -> ContextHelp</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default="NULL"/>
- <param name="doNow" type="bool" default="True"/>
- </paramlist>
- </constructor>
- <destructor name="~wxContextHelp" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="BeginContextHelp" type="bool" overloaded="no">
- <autodoc>BeginContextHelp(Window window=None) -> bool</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="EndContextHelp" type="bool" overloaded="no">
- <autodoc>EndContextHelp() -> bool</autodoc>
- </method>
- </class>
- <class name="ContextHelpButton" oldname="wxContextHelpButton" module="controls">
- <baseclass name="wxBitmapButton"/>
- <constructor name="ContextHelpButton" overloaded="no">
- <autodoc>__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="wxID_CONTEXT_HELP"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxBU_AUTODRAW"/>
- </paramlist>
- </constructor>
- </class>
- <class name="HelpProvider" oldname="wxHelpProvider" module="controls">
- <staticmethod name="Set" type="wxHelpProvider" overloaded="no">
- <autodoc>HelpProvider.Set(HelpProvider helpProvider) -> HelpProvider</autodoc>
- <paramlist>
- <param name="helpProvider" type="p.wxHelpProvider" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Get" type="wxHelpProvider" overloaded="no">
- <autodoc>HelpProvider.Get() -> HelpProvider</autodoc>
- </staticmethod>
- <method name="GetHelp" type="wxString" overloaded="no">
- <autodoc>GetHelp(Window window) -> String</autodoc>
- <paramlist>
- <param name="window" type="p.q(const).wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="ShowHelp" type="bool" overloaded="no">
- <autodoc>ShowHelp(Window window) -> bool</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="AddHelp" type="void" overloaded="no">
- <autodoc>AddHelp(Window window, String text)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AddHelpById" type="void" overloaded="no">
- <autodoc>AddHelpById(int id, String text)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- </method>
- </class>
- <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="controls">
- <baseclass name="wxHelpProvider"/>
- <constructor name="SimpleHelpProvider" overloaded="no">
- <autodoc>__init__() -> SimpleHelpProvider</autodoc>
- </constructor>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="DragImage" oldname="wxGenericDragImage" module="controls">
- <baseclass name="wxObject"/>
- <constructor name="wxGenericDragImage" overloaded="no">
- <autodoc>__init__(Bitmap image, Cursor cursor=wxNullCursor) -> DragImage</autodoc>
- <paramlist>
- <param name="image" type="r.q(const).wxBitmap" default=""/>
- <param name="cursor" type="r.q(const).wxCursor" default="wxNullCursor"/>
- </paramlist>
- </constructor>
- <constructor name="DragIcon" overloaded="no">
- <autodoc>DragIcon(Icon image, Cursor cursor=wxNullCursor) -> DragImage</autodoc>
- <paramlist>
- <param name="image" type="r.q(const).wxIcon" default=""/>
- <param name="cursor" type="r.q(const).wxCursor" default="wxNullCursor"/>
- </paramlist>
- </constructor>
- <constructor name="DragString" overloaded="no">
- <autodoc>DragString(String str, Cursor cursor=wxNullCursor) -> DragImage</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- <param name="cursor" type="r.q(const).wxCursor" default="wxNullCursor"/>
- </paramlist>
- </constructor>
- <constructor name="DragTreeItem" overloaded="no">
- <autodoc>DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage</autodoc>
- <paramlist>
- <param name="treeCtrl" type="r.q(const).wxPyTreeCtrl" default=""/>
- <param name="id" type="r.wxTreeItemId" default=""/>
- </paramlist>
- </constructor>
- <constructor name="DragListItem" overloaded="no">
- <autodoc>DragListItem(ListCtrl listCtrl, long id) -> DragImage</autodoc>
- <paramlist>
- <param name="listCtrl" type="r.q(const).wxPyListCtrl" default=""/>
- <param name="id" type="long" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxGenericDragImage" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetBackingBitmap" type="void" overloaded="no">
- <autodoc>SetBackingBitmap(Bitmap bitmap)</autodoc>
- <paramlist>
- <param name="bitmap" type="p.wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="BeginDrag" type="bool" overloaded="no">
- <autodoc>BeginDrag(Point hotspot, Window window, bool fullScreen=False,
- Rect rect=None) -> bool</autodoc>
- <paramlist>
- <param name="hotspot" type="r.q(const).wxPoint" default=""/>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="fullScreen" type="bool" default="False"/>
- <param name="rect" type="p.wxRect" default="NULL"/>
- </paramlist>
- </method>
- <method name="BeginDragBounded" type="bool" overloaded="no">
- <autodoc>BeginDragBounded(Point hotspot, Window window, Window boundingWindow) -> bool</autodoc>
- <paramlist>
- <param name="hotspot" type="r.q(const).wxPoint" default=""/>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="boundingWindow" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="EndDrag" type="bool" overloaded="no">
- <autodoc>EndDrag() -> bool</autodoc>
- </method>
- <method name="Move" type="bool" overloaded="no">
- <autodoc>Move(Point pt) -> bool</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="Show" type="bool" overloaded="no">
- <autodoc>Show() -> bool</autodoc>
- </method>
- <method name="Hide" type="bool" overloaded="no">
- <autodoc>Hide() -> bool</autodoc>
- </method>
- <method name="GetImageRect" type="wxRect" overloaded="no">
- <autodoc>GetImageRect(Point pos) -> Rect</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DoDrawImage" type="bool" overloaded="no">
- <autodoc>DoDrawImage(DC dc, Point pos) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="UpdateBackingFromWindow" type="bool" overloaded="no">
- <autodoc>UpdateBackingFromWindow(DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -> bool</autodoc>
- <paramlist>
- <param name="windowDC" type="r.wxDC" default=""/>
- <param name="destDC" type="r.wxMemoryDC" default=""/>
- <param name="sourceRect" type="r.q(const).wxRect" default=""/>
- <param name="destRect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="RedrawImage" type="bool" overloaded="no">
- <autodoc>RedrawImage(Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool</autodoc>
- <paramlist>
- <param name="oldPos" type="r.q(const).wxPoint" default=""/>
- <param name="newPos" type="r.q(const).wxPoint" default=""/>
- <param name="eraseOld" type="bool" default=""/>
- <param name="drawNew" type="bool" default=""/>
- </paramlist>
- </method>
- </class>
-</module><module name="misc">
- <import name="core"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="SystemSettings" oldname="wxSystemSettings" module="misc">
- <staticmethod name="GetColour" type="wxColour" overloaded="no">
- <autodoc>SystemSettings.GetColour(int index) -> Colour</autodoc>
- <paramlist>
- <param name="index" type="wxSystemColour" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetFont" type="wxFont" overloaded="no">
- <autodoc>SystemSettings.GetFont(int index) -> Font</autodoc>
- <paramlist>
- <param name="index" type="wxSystemFont" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetMetric" type="int" overloaded="no">
- <autodoc>SystemSettings.GetMetric(int index) -> int</autodoc>
- <paramlist>
- <param name="index" type="wxSystemMetric" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="HasFeature" type="bool" overloaded="no">
- <autodoc>SystemSettings.HasFeature(int index) -> bool</autodoc>
- <paramlist>
- <param name="index" type="wxSystemFeature" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetScreenType" type="wxSystemScreenType" overloaded="no">
- <autodoc>SystemSettings.GetScreenType() -> int</autodoc>
- </staticmethod>
- <staticmethod name="SetScreenType" type="void" overloaded="no">
- <autodoc>SystemSettings.SetScreenType(int screen)</autodoc>
- <paramlist>
- <param name="screen" type="wxSystemScreenType" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <pythoncode>
-# backwards compatibility aliasses
-SystemSettings_GetSystemColour = SystemSettings_GetColour
-SystemSettings_GetSystemFont = SystemSettings_GetFont
-SystemSettings_GetSystemMetric = SystemSettings_GetMetric
-</pythoncode>
- <class name="SystemOptions" oldname="wxSystemOptions" module="misc">
- <baseclass name="wxObject"/>
- <constructor name="SystemOptions" overloaded="no">
- <autodoc>__init__() -> SystemOptions</autodoc>
- </constructor>
- <staticmethod name="SetOption" type="void" overloaded="no">
- <autodoc>SystemOptions.SetOption(String name, String value)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="SetOptionInt" type="void" overloaded="no">
- <autodoc>SystemOptions.SetOptionInt(String name, int value)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="value" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetOption" type="wxString" overloaded="no">
- <autodoc>SystemOptions.GetOption(String name) -> String</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetOptionInt" type="int" overloaded="no">
- <autodoc>SystemOptions.GetOptionInt(String name) -> int</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="HasOption" type="bool" overloaded="no">
- <autodoc>SystemOptions.HasOption(String name) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <method name="NewId" oldname="wxNewId" type="long" overloaded="no">
- <autodoc>NewId() -> long</autodoc>
- </method>
- <method name="RegisterId" oldname="wxRegisterId" type="void" overloaded="no">
- <autodoc>RegisterId(long id)</autodoc>
- <paramlist>
- <param name="id" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetCurrentId" oldname="wxGetCurrentId" type="long" overloaded="no">
- <autodoc>GetCurrentId() -> long</autodoc>
- </method>
- <method name="Bell" oldname="wxBell" type="void" overloaded="no">
- <autodoc>Bell()</autodoc>
- </method>
- <method name="EndBusyCursor" oldname="wxEndBusyCursor" type="void" overloaded="no">
- <autodoc>EndBusyCursor()</autodoc>
- </method>
- <method name="GetElapsedTime" oldname="wxGetElapsedTime" type="long" overloaded="no">
- <autodoc>GetElapsedTime(bool resetTimer=True) -> long</autodoc>
- <paramlist>
- <param name="resetTimer" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetMousePosition" oldname="wxGetMousePosition" type="void" overloaded="no">
- <autodoc>GetMousePosition() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="IsBusy" oldname="wxIsBusy" type="bool" overloaded="no">
- <autodoc>IsBusy() -> bool</autodoc>
- </method>
- <method name="Now" oldname="wxNow" type="wxString" overloaded="no">
- <autodoc>Now() -> String</autodoc>
- </method>
- <method name="Shell" oldname="wxShell" type="bool" overloaded="no">
- <autodoc>Shell(String command=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="command" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="StartTimer" oldname="wxStartTimer" type="void" overloaded="no">
- <autodoc>StartTimer()</autodoc>
- </method>
- <method name="GetOsVersion" oldname="wxGetOsVersion" type="int" overloaded="no">
- <autodoc>GetOsVersion() -> (platform, major, minor)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetOsDescription" oldname="wxGetOsDescription" type="wxString" overloaded="no">
- <autodoc>GetOsDescription() -> String</autodoc>
- </method>
- <method name="GetFreeMemory" oldname="wxGetFreeMemory" type="long" overloaded="no">
- <autodoc>GetFreeMemory() -> long</autodoc>
- </method>
- <method name="Shutdown" oldname="wxShutdown" type="bool" overloaded="no">
- <autodoc>Shutdown(int wFlags) -> bool</autodoc>
- <paramlist>
- <param name="wFlags" type="wxShutdownFlags" default=""/>
- </paramlist>
- </method>
- <method name="Sleep" oldname="wxSleep" type="void" overloaded="no">
- <autodoc>Sleep(int secs)</autodoc>
- <paramlist>
- <param name="secs" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Usleep" oldname="wxUsleep" type="void" overloaded="no">
- <autodoc>Usleep(unsigned long milliseconds)</autodoc>
- <paramlist>
- <param name="milliseconds" type="unsigned long" default=""/>
- </paramlist>
- </method>
- <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="void" overloaded="no">
- <autodoc>EnableTopLevelWindows(bool enable)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="StripMenuCodes" oldname="wxStripMenuCodes" type="wxString" overloaded="no">
- <autodoc>StripMenuCodes(String in) -> String</autodoc>
- <paramlist>
- <param name="in" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetEmailAddress" oldname="wxGetEmailAddress" type="wxString" overloaded="no">
- <autodoc>GetEmailAddress() -> String</autodoc>
- </method>
- <method name="GetHostName" oldname="wxGetHostName" type="wxString" overloaded="no">
- <autodoc>GetHostName() -> String</autodoc>
- </method>
- <method name="GetFullHostName" oldname="wxGetFullHostName" type="wxString" overloaded="no">
- <autodoc>GetFullHostName() -> String</autodoc>
- </method>
- <method name="GetUserId" oldname="wxGetUserId" type="wxString" overloaded="no">
- <autodoc>GetUserId() -> String</autodoc>
- </method>
- <method name="GetUserName" oldname="wxGetUserName" type="wxString" overloaded="no">
- <autodoc>GetUserName() -> String</autodoc>
- </method>
- <method name="GetHomeDir" oldname="wxGetHomeDir" type="wxString" overloaded="no">
- <autodoc>GetHomeDir() -> String</autodoc>
- </method>
- <method name="GetUserHome" oldname="wxGetUserHome" type="wxString" overloaded="no">
- <autodoc>GetUserHome(String user=EmptyString) -> String</autodoc>
- <paramlist>
- <param name="user" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetProcessId" oldname="wxGetProcessId" type="unsigned long" overloaded="no">
- <autodoc>GetProcessId() -> unsigned long</autodoc>
- </method>
- <method name="Trap" oldname="wxTrap" type="void" overloaded="no">
- <autodoc>Trap()</autodoc>
- </method>
- <method name="FileSelector" oldname="wxFileSelector" type="wxString" overloaded="no">
- <autodoc>FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString,
- String default_filename=EmptyString,
- String default_extension=EmptyString,
- String wildcard=FileSelectorDefaultWildcardStr,
- int flags=0, Window parent=None, int x=-1,
- int y=-1) -> String</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default="wxPyFileSelectorPromptStr"/>
- <param name="default_path" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="default_filename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="default_extension" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="wildcard" type="r.q(const).wxString" default="wxPyFileSelectorDefaultWildcardStr"/>
- <param name="flags" type="int" default="0"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="x" type="int" default="-1"/>
- <param name="y" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="LoadFileSelector" oldname="wxLoadFileSelector" type="wxString" overloaded="no">
- <autodoc>LoadFileSelector(String what, String extension, String default_name=EmptyString,
- Window parent=None) -> String</autodoc>
- <paramlist>
- <param name="what" type="r.q(const).wxString" default=""/>
- <param name="extension" type="r.q(const).wxString" default=""/>
- <param name="default_name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="SaveFileSelector" oldname="wxSaveFileSelector" type="wxString" overloaded="no">
- <autodoc>SaveFileSelector(String what, String extension, String default_name=EmptyString,
- Window parent=None) -> String</autodoc>
- <paramlist>
- <param name="what" type="r.q(const).wxString" default=""/>
- <param name="extension" type="r.q(const).wxString" default=""/>
- <param name="default_name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="DirSelector" oldname="wxDirSelector" type="wxString" overloaded="no">
- <autodoc>DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString,
- long style=DD_DEFAULT_STYLE,
- Point pos=DefaultPosition, Window parent=None) -> String</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default="wxPyDirSelectorPromptStr"/>
- <param name="defaultPath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="long" default="wxDD_DEFAULT_STYLE"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetTextFromUser" oldname="wxGetTextFromUser" type="wxString" overloaded="no">
- <autodoc>GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString,
- Window parent=None,
- int x=-1, int y=-1, bool centre=True) -> String</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="default_value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="x" type="int" default="-1"/>
- <param name="y" type="int" default="-1"/>
- <param name="centre" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetPasswordFromUser" oldname="wxGetPasswordFromUser" type="wxString" overloaded="no">
- <autodoc>GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString,
- Window parent=None) -> String</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="default_value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetSingleChoice" oldname="wxGetSingleChoice" type="wxString" overloaded="no">
- <autodoc>GetSingleChoice(String message, String caption, int choices, String choices_array,
- Window parent=None, int x=-1,
- int y=-1, bool centre=True, int width=150, int height=200) -> String</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default=""/>
- <param name="choices" type="int" default=""/>
- <param name="choices_array" type="p.wxString" default=""/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="x" type="int" default="-1"/>
- <param name="y" type="int" default="-1"/>
- <param name="centre" type="bool" default="True"/>
- <param name="width" type="int" default="150"/>
- <param name="height" type="int" default="200"/>
- </paramlist>
- </method>
- <method name="GetSingleChoiceIndex" oldname="wxGetSingleChoiceIndex" type="int" overloaded="no">
- <autodoc>GetSingleChoiceIndex(String message, String caption, int choices, String choices_array,
- Window parent=None, int x=-1,
- int y=-1, bool centre=True, int width=150, int height=200) -> int</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default=""/>
- <param name="choices" type="int" default=""/>
- <param name="choices_array" type="p.wxString" default=""/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="x" type="int" default="-1"/>
- <param name="y" type="int" default="-1"/>
- <param name="centre" type="bool" default="True"/>
- <param name="width" type="int" default="150"/>
- <param name="height" type="int" default="200"/>
- </paramlist>
- </method>
- <method name="MessageBox" oldname="wxMessageBox" type="int" overloaded="no">
- <autodoc>MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE,
- Window parent=None, int x=-1,
- int y=-1) -> int</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="int" default="wxOK|wxCENTRE"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="x" type="int" default="-1"/>
- <param name="y" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="GetNumberFromUser" oldname="wxGetNumberFromUser" type="long" overloaded="no">
- <autodoc>GetNumberFromUser(String message, String prompt, String caption, long value,
- long min=0, long max=100, Window parent=None,
- Point pos=DefaultPosition) -> long</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- <param name="prompt" type="r.q(const).wxString" default=""/>
- <param name="caption" type="r.q(const).wxString" default=""/>
- <param name="value" type="long" default=""/>
- <param name="min" type="long" default="0"/>
- <param name="max" type="long" default="100"/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </method>
- <method name="ColourDisplay" oldname="wxColourDisplay" type="bool" overloaded="no">
- <autodoc>ColourDisplay() -> bool</autodoc>
- </method>
- <method name="DisplayDepth" oldname="wxDisplayDepth" type="int" overloaded="no">
- <autodoc>DisplayDepth() -> int</autodoc>
- </method>
- <method name="GetDisplayDepth" oldname="wxGetDisplayDepth" type="int" overloaded="no">
- <autodoc>GetDisplayDepth() -> int</autodoc>
- </method>
- <method name="DisplaySize" oldname="wxDisplaySize" type="void" overloaded="no">
- <autodoc>DisplaySize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetDisplaySize" oldname="wxGetDisplaySize" type="wxSize" overloaded="no">
- <autodoc>GetDisplaySize() -> Size</autodoc>
- </method>
- <method name="DisplaySizeMM" oldname="wxDisplaySizeMM" type="void" overloaded="no">
- <autodoc>DisplaySizeMM() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetDisplaySizeMM" oldname="wxGetDisplaySizeMM" type="wxSize" overloaded="no">
- <autodoc>GetDisplaySizeMM() -> Size</autodoc>
- </method>
- <method name="ClientDisplayRect" oldname="wxClientDisplayRect" type="void" overloaded="no">
- <autodoc>ClientDisplayRect() -> (x, y, width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetClientDisplayRect" oldname="wxGetClientDisplayRect" type="wxRect" overloaded="no">
- <autodoc>GetClientDisplayRect() -> Rect</autodoc>
- </method>
- <method name="SetCursor" oldname="wxSetCursor" type="void" overloaded="no">
- <autodoc>SetCursor(Cursor cursor)</autodoc>
- <paramlist>
- <param name="cursor" type="r.wxCursor" default=""/>
- </paramlist>
- </method>
- <method name="BeginBusyCursor" oldname="wxBeginBusyCursor" type="void" overloaded="no">
- <autodoc>BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)</autodoc>
- <paramlist>
- <param name="cursor" type="p.wxCursor" default="wxHOURGLASS_CURSOR"/>
- </paramlist>
- </method>
- <method name="GetActiveWindow" oldname="wxGetActiveWindow" type="wxWindow" overloaded="no">
- <autodoc>GetActiveWindow() -> Window</autodoc>
- </method>
- <method name="GenericFindWindowAtPoint" oldname="wxGenericFindWindowAtPoint" type="wxWindow" overloaded="no">
- <autodoc>GenericFindWindowAtPoint(Point pt) -> Window</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="FindWindowAtPoint" oldname="wxFindWindowAtPoint" type="wxWindow" overloaded="no">
- <autodoc>FindWindowAtPoint(Point pt) -> Window</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetTopLevelParent" oldname="wxGetTopLevelParent" type="wxWindow" overloaded="no">
- <autodoc>GetTopLevelParent(Window win) -> Window</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no">
- <autodoc>GetKeyState(int key) -> bool</autodoc>
- <paramlist>
- <param name="key" type="wxKeyCode" default=""/>
- </paramlist>
- </method>
- <method name="WakeUpMainThread" oldname="wxWakeUpMainThread" type="void" overloaded="no">
- <autodoc>WakeUpMainThread()</autodoc>
- </method>
- <method name="MutexGuiEnter" oldname="wxMutexGuiEnter" type="void" overloaded="no">
- <autodoc>MutexGuiEnter()</autodoc>
- </method>
- <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="void" overloaded="no">
- <autodoc>MutexGuiLeave()</autodoc>
- </method>
- <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="misc">
- <constructor name="MutexGuiLocker" overloaded="no">
- <autodoc>__init__() -> MutexGuiLocker</autodoc>
- </constructor>
- <destructor name="~wxMutexGuiLocker" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no">
- <autodoc>Thread_IsMain() -> bool</autodoc>
- </method>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ToolTip" oldname="wxToolTip" module="misc">
- <baseclass name="wxObject"/>
- <constructor name="ToolTip" overloaded="no">
- <autodoc>__init__(String tip) -> ToolTip</autodoc>
- <paramlist>
- <param name="tip" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <method name="SetTip" type="void" overloaded="no">
- <autodoc>SetTip(String tip)</autodoc>
- <paramlist>
- <param name="tip" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTip" type="wxString" overloaded="no">
- <autodoc>GetTip() -> String</autodoc>
- </method>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- <staticmethod name="Enable" type="void" overloaded="no">
- <autodoc>ToolTip.Enable(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="SetDelay" type="void" overloaded="no">
- <autodoc>ToolTip.SetDelay(long milliseconds)</autodoc>
- <paramlist>
- <param name="milliseconds" type="long" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <class name="Caret" oldname="wxCaret" module="misc">
- <constructor name="Caret" overloaded="no">
- <autodoc>__init__(Window window, Size size) -> Caret</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxCaret" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="IsVisible" type="bool" overloaded="no">
- <autodoc>IsVisible() -> bool</autodoc>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="GetPositionTuple" type="void" overloaded="no">
- <autodoc>GetPositionTuple() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize() -> Size</autodoc>
- </method>
- <method name="GetSizeTuple" type="void" overloaded="no">
- <autodoc>GetSizeTuple() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- <method name="MoveXY" type="void" overloaded="no">
- <autodoc>MoveXY(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Move" type="void" overloaded="no">
- <autodoc>Move(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetSizeWH" type="void" overloaded="no">
- <autodoc>SetSizeWH(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="Show" type="void" overloaded="no">
- <autodoc>Show(int show=True)</autodoc>
- <paramlist>
- <param name="show" type="int" default="True"/>
- </paramlist>
- </method>
- <method name="Hide" type="void" overloaded="no">
- <autodoc>Hide()</autodoc>
- </method>
- </class>
- <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no">
- <autodoc>Caret_GetBlinkTime() -> int</autodoc>
- </method>
- <method name="Caret_SetBlinkTime" oldname="wxCaret_SetBlinkTime" type="void" overloaded="no">
- <autodoc>Caret_SetBlinkTime(int milliseconds)</autodoc>
- <paramlist>
- <param name="milliseconds" type="int" default=""/>
- </paramlist>
- </method>
- <class name="BusyCursor" oldname="wxBusyCursor" module="misc">
- <constructor name="BusyCursor" overloaded="no">
- <autodoc>__init__(Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor</autodoc>
- <paramlist>
- <param name="cursor" type="p.wxCursor" default="wxHOURGLASS_CURSOR"/>
- </paramlist>
- </constructor>
- <destructor name="~wxBusyCursor" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <class name="WindowDisabler" oldname="wxWindowDisabler" module="misc">
- <constructor name="WindowDisabler" overloaded="no">
- <autodoc>__init__(Window winToSkip=None) -> WindowDisabler</autodoc>
- <paramlist>
- <param name="winToSkip" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxWindowDisabler" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <class name="BusyInfo" oldname="wxBusyInfo" module="misc">
- <baseclass name="wxObject"/>
- <constructor name="BusyInfo" overloaded="no">
- <autodoc>__init__(String message) -> BusyInfo</autodoc>
- <paramlist>
- <param name="message" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxBusyInfo" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <class name="StopWatch" oldname="wxStopWatch" module="misc">
- <constructor name="StopWatch" overloaded="no">
- <autodoc>__init__() -> StopWatch</autodoc>
- </constructor>
- <method name="Start" type="void" overloaded="no">
- <autodoc>Start(long t0=0)</autodoc>
- <paramlist>
- <param name="t0" type="long" default="0"/>
- </paramlist>
- </method>
- <method name="Pause" type="void" overloaded="no">
- <autodoc>Pause()</autodoc>
- </method>
- <method name="Resume" type="void" overloaded="no">
- <autodoc>Resume()</autodoc>
- </method>
- <method name="Time" type="long" overloaded="no">
- <autodoc>Time() -> long</autodoc>
- </method>
- </class>
- <class name="FileHistory" oldname="wxFileHistory" module="misc">
- <baseclass name="wxObject"/>
- <constructor name="FileHistory" overloaded="no">
- <autodoc>__init__(int maxFiles=9) -> FileHistory</autodoc>
- <paramlist>
- <param name="maxFiles" type="int" default="9"/>
- </paramlist>
- </constructor>
- <destructor name="~wxFileHistory" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="AddFileToHistory" type="void" overloaded="no">
- <autodoc>AddFileToHistory(String file)</autodoc>
- <paramlist>
- <param name="file" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="RemoveFileFromHistory" type="void" overloaded="no">
- <autodoc>RemoveFileFromHistory(int i)</autodoc>
- <paramlist>
- <param name="i" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMaxFiles" type="int" overloaded="no">
- <autodoc>GetMaxFiles() -> int</autodoc>
- </method>
- <method name="UseMenu" type="void" overloaded="no">
- <autodoc>UseMenu(Menu menu)</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- </paramlist>
- </method>
- <method name="RemoveMenu" type="void" overloaded="no">
- <autodoc>RemoveMenu(Menu menu)</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- </paramlist>
- </method>
- <method name="Load" type="void" overloaded="no">
- <autodoc>Load(ConfigBase config)</autodoc>
- <paramlist>
- <param name="config" type="r.wxConfigBase" default=""/>
- </paramlist>
- </method>
- <method name="Save" type="void" overloaded="no">
- <autodoc>Save(ConfigBase config)</autodoc>
- <paramlist>
- <param name="config" type="r.wxConfigBase" default=""/>
- </paramlist>
- </method>
- <method name="AddFilesToMenu" type="void" overloaded="no">
- <autodoc>AddFilesToMenu()</autodoc>
- </method>
- <method name="AddFilesToThisMenu" type="void" overloaded="no">
- <autodoc>AddFilesToThisMenu(Menu menu)</autodoc>
- <paramlist>
- <param name="menu" type="p.wxMenu" default=""/>
- </paramlist>
- </method>
- <method name="GetHistoryFile" type="wxString" overloaded="no">
- <autodoc>GetHistoryFile(int i) -> String</autodoc>
- <paramlist>
- <param name="i" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCount" type="int" overloaded="no">
- <autodoc>GetCount() -> int</autodoc>
- </method>
- </class>
- <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="misc">
- <constructor name="SingleInstanceChecker" overloaded="no">
- <autodoc>__init__(String name, String path=EmptyString) -> SingleInstanceChecker</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="path" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <constructor name="PreSingleInstanceChecker" overloaded="no">
- <autodoc>PreSingleInstanceChecker() -> SingleInstanceChecker</autodoc>
- </constructor>
- <destructor name="~wxSingleInstanceChecker" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(String name, String path=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="path" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="IsAnotherRunning" type="bool" overloaded="no">
- <autodoc>IsAnotherRunning() -> bool</autodoc>
- </method>
- </class>
- <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="void" overloaded="no">
- <autodoc>DrawWindowOnDC(Window window, DC dc, int method)</autodoc>
- <paramlist>
- <param name="window" type="p.wxWindow" default=""/>
- <param name="dc" type="r.q(const).wxDC" default=""/>
- <param name="method" type="int" default=""/>
- </paramlist>
- </method>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="TipProvider" oldname="wxTipProvider" module="misc">
- <destructor name="~wxTipProvider" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetTip" type="wxString" overloaded="no">
- <autodoc>GetTip() -> String</autodoc>
- </method>
- <method name="GetCurrentTip" type="size_t" overloaded="no">
- <autodoc>GetCurrentTip() -> size_t</autodoc>
- </method>
- <method name="PreprocessTip" type="wxString" overloaded="no">
- <autodoc>PreprocessTip(String tip) -> String</autodoc>
- <paramlist>
- <param name="tip" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyTipProvider" oldname="wxPyTipProvider" module="misc">
- <baseclass name="wxTipProvider"/>
- <constructor name="PyTipProvider" overloaded="no">
- <autodoc>__init__(size_t currentTip) -> PyTipProvider</autodoc>
- <paramlist>
- <param name="currentTip" type="size_t" default=""/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <method name="ShowTip" oldname="wxShowTip" type="bool" overloaded="no">
- <autodoc>ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="tipProvider" type="p.wxTipProvider" default=""/>
- <param name="showAtStartup" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="CreateFileTipProvider" oldname="wxCreateFileTipProvider" type="wxTipProvider" overloaded="no">
- <autodoc>CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="currentTip" type="size_t" default=""/>
- </paramlist>
- </method>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Timer" oldname="wxPyTimer" module="misc">
- <baseclass name="wxEvtHandler"/>
- <constructor name="wxPyTimer" overloaded="no">
- <autodoc>__init__(EvtHandler owner=None, int id=-1) -> Timer</autodoc>
- <paramlist>
- <param name="owner" type="p.wxEvtHandler" default="NULL"/>
- <param name="id" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPyTimer" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetOwner" type="void" overloaded="no">
- <autodoc>SetOwner(EvtHandler owner, int id=-1)</autodoc>
- <paramlist>
- <param name="owner" type="p.wxEvtHandler" default=""/>
- <param name="id" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="Start" type="bool" overloaded="no">
- <autodoc>Start(int milliseconds=-1, bool oneShot=False) -> bool</autodoc>
- <paramlist>
- <param name="milliseconds" type="int" default="-1"/>
- <param name="oneShot" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="Stop" type="void" overloaded="no">
- <autodoc>Stop()</autodoc>
- </method>
- <method name="IsRunning" type="bool" overloaded="no">
- <autodoc>IsRunning() -> bool</autodoc>
- </method>
- <method name="GetInterval" type="int" overloaded="no">
- <autodoc>GetInterval() -> int</autodoc>
- </method>
- <method name="IsOneShot" type="bool" overloaded="no">
- <autodoc>IsOneShot() -> bool</autodoc>
- </method>
- <method name="GetId" type="int" overloaded="no">
- <autodoc>GetId() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
-# For backwards compatibility with 2.4
-class PyTimer(Timer):
- def __init__(self, notify):
- Timer.__init__(self)
- self.notify = notify
-
- def Notify(self):
- if self.notify:
- self.notify()
-
-
-EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
-
-</pythoncode>
- <class name="TimerEvent" oldname="wxTimerEvent" module="misc">
- <baseclass name="wxEvent"/>
- <constructor name="TimerEvent" overloaded="no">
- <autodoc>__init__(int timerid=0, int interval=0) -> TimerEvent</autodoc>
- <paramlist>
- <param name="timerid" type="int" default="0"/>
- <param name="interval" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetInterval" type="int" overloaded="no">
- <autodoc>GetInterval() -> int</autodoc>
- </method>
- </class>
- <class name="TimerRunner" oldname="wxTimerRunner" module="misc">
- <constructor name="TimerRunner" overloaded="yes">
- <paramlist>
- <param name="timer" type="r.wxTimer" default=""/>
- </paramlist>
- </constructor>
- <constructor name="TimerRunner" overloaded="yes">
- <autodoc>__init__(wxTimer timer) -> TimerRunner
-__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner</autodoc>
- <paramlist>
- <param name="timer" type="r.wxTimer" default=""/>
- <param name="milli" type="int" default=""/>
- <param name="oneShot" type="bool" default="False"/>
- </paramlist>
- </constructor>
- <destructor name="~wxTimerRunner" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Start" type="void" overloaded="no">
- <autodoc>Start(int milli, bool oneShot=False)</autodoc>
- <paramlist>
- <param name="milli" type="int" default=""/>
- <param name="oneShot" type="bool" default="False"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Log" oldname="wxLog" module="misc">
- <constructor name="Log" overloaded="no">
- <autodoc>__init__() -> Log</autodoc>
- </constructor>
- <staticmethod name="IsEnabled" type="bool" overloaded="no">
- <autodoc>Log.IsEnabled() -> bool</autodoc>
- </staticmethod>
- <staticmethod name="EnableLogging" type="bool" overloaded="no">
- <autodoc>Log.EnableLogging(bool doIt=True) -> bool</autodoc>
- <paramlist>
- <param name="doIt" type="bool" default="True"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="OnLog" type="void" overloaded="no">
- <autodoc>Log.OnLog(wxLogLevel level, wxChar szString, time_t t)</autodoc>
- <paramlist>
- <param name="level" type="wxLogLevel" default=""/>
- <param name="szString" type="p.q(const).wxChar" default=""/>
- <param name="t" type="time_t" default=""/>
- </paramlist>
- </staticmethod>
- <method name="Flush" type="void" overloaded="no">
- <autodoc>Flush()</autodoc>
- </method>
- <staticmethod name="FlushActive" type="void" overloaded="no">
- <autodoc>Log.FlushActive()</autodoc>
- </staticmethod>
- <staticmethod name="GetActiveTarget" type="wxLog" overloaded="no">
- <autodoc>Log.GetActiveTarget() -> Log</autodoc>
- </staticmethod>
- <staticmethod name="SetActiveTarget" type="wxLog" overloaded="no">
- <autodoc>Log.SetActiveTarget(Log pLogger) -> Log</autodoc>
- <paramlist>
- <param name="pLogger" type="p.wxLog" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Suspend" type="void" overloaded="no">
- <autodoc>Log.Suspend()</autodoc>
- </staticmethod>
- <staticmethod name="Resume" type="void" overloaded="no">
- <autodoc>Log.Resume()</autodoc>
- </staticmethod>
- <staticmethod name="SetVerbose" type="void" overloaded="no">
- <autodoc>Log.SetVerbose(bool bVerbose=True)</autodoc>
- <paramlist>
- <param name="bVerbose" type="bool" default="True"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="SetLogLevel" type="void" overloaded="no">
- <autodoc>Log.SetLogLevel(wxLogLevel logLevel)</autodoc>
- <paramlist>
- <param name="logLevel" type="wxLogLevel" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="DontCreateOnDemand" type="void" overloaded="no">
- <autodoc>Log.DontCreateOnDemand()</autodoc>
- </staticmethod>
- <staticmethod name="SetTraceMask" type="void" overloaded="no">
- <autodoc>Log.SetTraceMask(wxTraceMask ulMask)</autodoc>
- <paramlist>
- <param name="ulMask" type="wxTraceMask" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="AddTraceMask" type="void" overloaded="no">
- <autodoc>Log.AddTraceMask(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="RemoveTraceMask" type="void" overloaded="no">
- <autodoc>Log.RemoveTraceMask(String str)</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="ClearTraceMasks" type="void" overloaded="no">
- <autodoc>Log.ClearTraceMasks()</autodoc>
- </staticmethod>
- <staticmethod name="GetTraceMasks" type="q(const).wxArrayString" overloaded="no">
- <autodoc>Log.GetTraceMasks() -> wxArrayString</autodoc>
- </staticmethod>
- <staticmethod name="SetTimestamp" type="void" overloaded="no">
- <autodoc>Log.SetTimestamp(wxChar ts)</autodoc>
- <paramlist>
- <param name="ts" type="p.q(const).wxChar" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetVerbose" type="bool" overloaded="no">
- <autodoc>Log.GetVerbose() -> bool</autodoc>
- </staticmethod>
- <staticmethod name="GetTraceMask" type="wxTraceMask" overloaded="no">
- <autodoc>Log.GetTraceMask() -> wxTraceMask</autodoc>
- </staticmethod>
- <staticmethod name="IsAllowedTraceMask" type="bool" overloaded="no">
- <autodoc>Log.IsAllowedTraceMask(wxChar mask) -> bool</autodoc>
- <paramlist>
- <param name="mask" type="p.q(const).wxChar" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetLogLevel" type="wxLogLevel" overloaded="no">
- <autodoc>Log.GetLogLevel() -> wxLogLevel</autodoc>
- </staticmethod>
- <staticmethod name="GetTimestamp" type="q(const).wxChar" overloaded="no">
- <autodoc>Log.GetTimestamp() -> wxChar</autodoc>
- </staticmethod>
- <staticmethod name="TimeStamp" type="wxString" overloaded="no">
- <autodoc>Log.TimeStamp() -> String</autodoc>
- </staticmethod>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- </method>
- </class>
- <class name="LogStderr" oldname="wxLogStderr" module="misc">
- <baseclass name="wxLog"/>
- <constructor name="LogStderr" overloaded="no">
- <autodoc>__init__() -> LogStderr</autodoc>
- </constructor>
- </class>
- <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="misc">
- <baseclass name="wxLog"/>
- <constructor name="LogTextCtrl" overloaded="no">
- <autodoc>__init__(wxTextCtrl pTextCtrl) -> LogTextCtrl</autodoc>
- <paramlist>
- <param name="pTextCtrl" type="p.wxTextCtrl" default=""/>
- </paramlist>
- </constructor>
- </class>
- <class name="LogGui" oldname="wxLogGui" module="misc">
- <baseclass name="wxLog"/>
- <constructor name="LogGui" overloaded="no">
- <autodoc>__init__() -> LogGui</autodoc>
- </constructor>
- </class>
- <class name="LogWindow" oldname="wxLogWindow" module="misc">
- <baseclass name="wxLog"/>
- <constructor name="LogWindow" overloaded="no">
- <autodoc>__init__(wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow</autodoc>
- <paramlist>
- <param name="pParent" type="p.wxFrame" default=""/>
- <param name="szTitle" type="r.q(const).wxString" default=""/>
- <param name="bShow" type="bool" default="True"/>
- <param name="bPassToOld" type="bool" default="True"/>
- </paramlist>
- </constructor>
- <method name="Show" type="void" overloaded="no">
- <autodoc>Show(bool bShow=True)</autodoc>
- <paramlist>
- <param name="bShow" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetFrame" type="wxFrame" overloaded="no">
- <autodoc>GetFrame() -> wxFrame</autodoc>
- </method>
- <method name="GetOldLog" type="wxLog" overloaded="no">
- <autodoc>GetOldLog() -> Log</autodoc>
- </method>
- <method name="IsPassingMessages" type="bool" overloaded="no">
- <autodoc>IsPassingMessages() -> bool</autodoc>
- </method>
- <method name="PassMessages" type="void" overloaded="no">
- <autodoc>PassMessages(bool bDoPass)</autodoc>
- <paramlist>
- <param name="bDoPass" type="bool" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="LogChain" oldname="wxLogChain" module="misc">
- <baseclass name="wxLog"/>
- <constructor name="LogChain" overloaded="no">
- <autodoc>__init__(Log logger) -> LogChain</autodoc>
- <paramlist>
- <param name="logger" type="p.wxLog" default=""/>
- </paramlist>
- </constructor>
- <method name="SetLog" type="void" overloaded="no">
- <autodoc>SetLog(Log logger)</autodoc>
- <paramlist>
- <param name="logger" type="p.wxLog" default=""/>
- </paramlist>
- </method>
- <method name="PassMessages" type="void" overloaded="no">
- <autodoc>PassMessages(bool bDoPass)</autodoc>
- <paramlist>
- <param name="bDoPass" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsPassingMessages" type="bool" overloaded="no">
- <autodoc>IsPassingMessages() -> bool</autodoc>
- </method>
- <method name="GetOldLog" type="wxLog" overloaded="no">
- <autodoc>GetOldLog() -> Log</autodoc>
- </method>
- </class>
- <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no">
- <autodoc>SysErrorCode() -> unsigned long</autodoc>
- </method>
- <method name="SysErrorMsg" oldname="wxSysErrorMsg" type="q(const).wxString" overloaded="no">
- <autodoc>SysErrorMsg(unsigned long nErrCode=0) -> String</autodoc>
- <paramlist>
- <param name="nErrCode" type="unsigned long" default="0"/>
- </paramlist>
- </method>
- <method name="LogFatalError" oldname="wxLogFatalError" type="void" overloaded="no">
- <autodoc>LogFatalError(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogError" oldname="wxLogError" type="void" overloaded="no">
- <autodoc>LogError(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogWarning" oldname="wxLogWarning" type="void" overloaded="no">
- <autodoc>LogWarning(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogMessage" oldname="wxLogMessage" type="void" overloaded="no">
- <autodoc>LogMessage(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogInfo" oldname="wxLogInfo" type="void" overloaded="no">
- <autodoc>LogInfo(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogDebug" oldname="wxLogDebug" type="void" overloaded="no">
- <autodoc>LogDebug(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogVerbose" oldname="wxLogVerbose" type="void" overloaded="no">
- <autodoc>LogVerbose(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogStatus" oldname="wxLogStatus" type="void" overloaded="no">
- <autodoc>LogStatus(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogStatusFrame" oldname="wxLogStatus" type="void" overloaded="no">
- <autodoc>LogStatusFrame(wxFrame pFrame, String msg)</autodoc>
- <paramlist>
- <param name="pFrame" type="p.wxFrame" default=""/>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogSysError" oldname="wxLogSysError" type="void" overloaded="no">
- <autodoc>LogSysError(String msg)</autodoc>
- <paramlist>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogTrace" oldname="wxLogTrace" type="void" overloaded="yes">
- <paramlist>
- <param name="mask" type="unsigned long" default=""/>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogTrace" oldname="wxLogTrace" type="void" overloaded="yes">
- <autodoc>LogTrace(unsigned long mask, String msg)
-LogTrace(String mask, String msg)</autodoc>
- <paramlist>
- <param name="mask" type="r.q(const).wxString" default=""/>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LogGeneric" oldname="wxLogGeneric" type="void" overloaded="no">
- <autodoc>LogGeneric(unsigned long level, String msg)</autodoc>
- <paramlist>
- <param name="level" type="unsigned long" default=""/>
- <param name="msg" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SafeShowMessage" oldname="wxSafeShowMessage" type="void" overloaded="no">
- <autodoc>SafeShowMessage(String title, String text)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <class name="LogNull" oldname="wxLogNull" module="misc">
- <constructor name="LogNull" overloaded="no">
- <autodoc>__init__() -> LogNull</autodoc>
- </constructor>
- <destructor name="~wxLogNull" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <class name="PyLog" oldname="wxPyLog" module="misc">
- <baseclass name="wxLog"/>
- <constructor name="PyLog" overloaded="no">
- <autodoc>__init__() -> PyLog</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Process" oldname="wxPyProcess" module="misc">
- <baseclass name="wxEvtHandler"/>
- <constructor name="wxPyProcess" overloaded="no">
- <autodoc>__init__(EvtHandler parent=None, int id=-1) -> Process</autodoc>
- <paramlist>
- <param name="parent" type="p.wxEvtHandler" default="NULL"/>
- <param name="id" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <staticmethod name="Kill" type="wxKillError" overloaded="no">
- <autodoc>Process.Kill(int pid, int sig=SIGTERM) -> int</autodoc>
- <paramlist>
- <param name="pid" type="int" default=""/>
- <param name="sig" type="wxSignal" default="wxSIGTERM"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Exists" type="bool" overloaded="no">
- <autodoc>Process.Exists(int pid) -> bool</autodoc>
- <paramlist>
- <param name="pid" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Open" type="wxPyProcess" overloaded="no">
- <autodoc>Process.Open(String cmd, int flags=EXEC_ASYNC) -> Process</autodoc>
- <paramlist>
- <param name="cmd" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="wxEXEC_ASYNC"/>
- </paramlist>
- </staticmethod>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_OnTerminate" type="void" overloaded="no">
- <autodoc>base_OnTerminate(int pid, int status)</autodoc>
- <paramlist>
- <param name="pid" type="int" default=""/>
- <param name="status" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Redirect" type="void" overloaded="no">
- <autodoc>Redirect()</autodoc>
- </method>
- <method name="IsRedirected" type="bool" overloaded="no">
- <autodoc>IsRedirected() -> bool</autodoc>
- </method>
- <method name="Detach" type="void" overloaded="no">
- <autodoc>Detach()</autodoc>
- </method>
- <method name="GetInputStream" type="wxInputStream" overloaded="no">
- <autodoc>GetInputStream() -> InputStream</autodoc>
- </method>
- <method name="GetErrorStream" type="wxInputStream" overloaded="no">
- <autodoc>GetErrorStream() -> InputStream</autodoc>
- </method>
- <method name="GetOutputStream" type="wxOutputStream" overloaded="no">
- <autodoc>GetOutputStream() -> OutputStream</autodoc>
- </method>
- <method name="CloseOutput" type="void" overloaded="no">
- <autodoc>CloseOutput()</autodoc>
- </method>
- <method name="IsInputOpened" type="bool" overloaded="no">
- <autodoc>IsInputOpened() -> bool</autodoc>
- </method>
- <method name="IsInputAvailable" type="bool" overloaded="no">
- <autodoc>IsInputAvailable() -> bool</autodoc>
- </method>
- <method name="IsErrorAvailable" type="bool" overloaded="no">
- <autodoc>IsErrorAvailable() -> bool</autodoc>
- </method>
- </class>
- <class name="ProcessEvent" oldname="wxProcessEvent" module="misc">
- <baseclass name="wxEvent"/>
- <constructor name="ProcessEvent" overloaded="no">
- <autodoc>__init__(int id=0, int pid=0, int exitcode=0) -> ProcessEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default="0"/>
- <param name="pid" type="int" default="0"/>
- <param name="exitcode" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="GetPid" type="int" overloaded="no">
- <autodoc>GetPid() -> int</autodoc>
- </method>
- <method name="GetExitCode" type="int" overloaded="no">
- <autodoc>GetExitCode() -> int</autodoc>
- </method>
- <property name="m_pid" type="int" readonly="no"/>
- <property name="m_exitcode" type="int" readonly="no"/>
- </class>
- <pythoncode>
-EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )
-</pythoncode>
- <method name="Execute" oldname="wxExecute" type="long" overloaded="no">
- <autodoc>Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long</autodoc>
- <paramlist>
- <param name="command" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="wxEXEC_ASYNC"/>
- <param name="process" type="p.wxPyProcess" default="NULL"/>
- </paramlist>
- </method>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Joystick" oldname="wxJoystick" module="misc">
- <constructor name="Joystick" overloaded="no">
- <autodoc>__init__(int joystick=JOYSTICK1) -> Joystick</autodoc>
- <paramlist>
- <param name="joystick" type="int" default="wxJOYSTICK1"/>
- </paramlist>
- </constructor>
- <destructor name="~wxJoystick" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="GetZPosition" type="int" overloaded="no">
- <autodoc>GetZPosition() -> int</autodoc>
- </method>
- <method name="GetButtonState" type="int" overloaded="no">
- <autodoc>GetButtonState() -> int</autodoc>
- </method>
- <method name="GetPOVPosition" type="int" overloaded="no">
- <autodoc>GetPOVPosition() -> int</autodoc>
- </method>
- <method name="GetPOVCTSPosition" type="int" overloaded="no">
- <autodoc>GetPOVCTSPosition() -> int</autodoc>
- </method>
- <method name="GetRudderPosition" type="int" overloaded="no">
- <autodoc>GetRudderPosition() -> int</autodoc>
- </method>
- <method name="GetUPosition" type="int" overloaded="no">
- <autodoc>GetUPosition() -> int</autodoc>
- </method>
- <method name="GetVPosition" type="int" overloaded="no">
- <autodoc>GetVPosition() -> int</autodoc>
- </method>
- <method name="GetMovementThreshold" type="int" overloaded="no">
- <autodoc>GetMovementThreshold() -> int</autodoc>
- </method>
- <method name="SetMovementThreshold" type="void" overloaded="no">
- <autodoc>SetMovementThreshold(int threshold)</autodoc>
- <paramlist>
- <param name="threshold" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="GetNumberJoysticks" type="int" overloaded="no">
- <autodoc>GetNumberJoysticks() -> int</autodoc>
- </method>
- <method name="GetManufacturerId" type="int" overloaded="no">
- <autodoc>GetManufacturerId() -> int</autodoc>
- </method>
- <method name="GetProductId" type="int" overloaded="no">
- <autodoc>GetProductId() -> int</autodoc>
- </method>
- <method name="GetProductName" type="wxString" overloaded="no">
- <autodoc>GetProductName() -> String</autodoc>
- </method>
- <method name="GetXMin" type="int" overloaded="no">
- <autodoc>GetXMin() -> int</autodoc>
- </method>
- <method name="GetYMin" type="int" overloaded="no">
- <autodoc>GetYMin() -> int</autodoc>
- </method>
- <method name="GetZMin" type="int" overloaded="no">
- <autodoc>GetZMin() -> int</autodoc>
- </method>
- <method name="GetXMax" type="int" overloaded="no">
- <autodoc>GetXMax() -> int</autodoc>
- </method>
- <method name="GetYMax" type="int" overloaded="no">
- <autodoc>GetYMax() -> int</autodoc>
- </method>
- <method name="GetZMax" type="int" overloaded="no">
- <autodoc>GetZMax() -> int</autodoc>
- </method>
- <method name="GetNumberButtons" type="int" overloaded="no">
- <autodoc>GetNumberButtons() -> int</autodoc>
- </method>
- <method name="GetNumberAxes" type="int" overloaded="no">
- <autodoc>GetNumberAxes() -> int</autodoc>
- </method>
- <method name="GetMaxButtons" type="int" overloaded="no">
- <autodoc>GetMaxButtons() -> int</autodoc>
- </method>
- <method name="GetMaxAxes" type="int" overloaded="no">
- <autodoc>GetMaxAxes() -> int</autodoc>
- </method>
- <method name="GetPollingMin" type="int" overloaded="no">
- <autodoc>GetPollingMin() -> int</autodoc>
- </method>
- <method name="GetPollingMax" type="int" overloaded="no">
- <autodoc>GetPollingMax() -> int</autodoc>
- </method>
- <method name="GetRudderMin" type="int" overloaded="no">
- <autodoc>GetRudderMin() -> int</autodoc>
- </method>
- <method name="GetRudderMax" type="int" overloaded="no">
- <autodoc>GetRudderMax() -> int</autodoc>
- </method>
- <method name="GetUMin" type="int" overloaded="no">
- <autodoc>GetUMin() -> int</autodoc>
- </method>
- <method name="GetUMax" type="int" overloaded="no">
- <autodoc>GetUMax() -> int</autodoc>
- </method>
- <method name="GetVMin" type="int" overloaded="no">
- <autodoc>GetVMin() -> int</autodoc>
- </method>
- <method name="GetVMax" type="int" overloaded="no">
- <autodoc>GetVMax() -> int</autodoc>
- </method>
- <method name="HasRudder" type="bool" overloaded="no">
- <autodoc>HasRudder() -> bool</autodoc>
- </method>
- <method name="HasZ" type="bool" overloaded="no">
- <autodoc>HasZ() -> bool</autodoc>
- </method>
- <method name="HasU" type="bool" overloaded="no">
- <autodoc>HasU() -> bool</autodoc>
- </method>
- <method name="HasV" type="bool" overloaded="no">
- <autodoc>HasV() -> bool</autodoc>
- </method>
- <method name="HasPOV" type="bool" overloaded="no">
- <autodoc>HasPOV() -> bool</autodoc>
- </method>
- <method name="HasPOV4Dir" type="bool" overloaded="no">
- <autodoc>HasPOV4Dir() -> bool</autodoc>
- </method>
- <method name="HasPOVCTS" type="bool" overloaded="no">
- <autodoc>HasPOVCTS() -> bool</autodoc>
- </method>
- <method name="SetCapture" type="bool" overloaded="no">
- <autodoc>SetCapture(Window win, int pollingFreq=0) -> bool</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default=""/>
- <param name="pollingFreq" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="ReleaseCapture" type="bool" overloaded="no">
- <autodoc>ReleaseCapture() -> bool</autodoc>
- </method>
- </class>
- <class name="JoystickEvent" oldname="wxJoystickEvent" module="misc">
- <baseclass name="wxEvent"/>
- <constructor name="JoystickEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
- int change=0) -> JoystickEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="state" type="int" default="0"/>
- <param name="joystick" type="int" default="wxJOYSTICK1"/>
- <param name="change" type="int" default="0"/>
- </paramlist>
- </constructor>
- <property name="m_pos" type="wxPoint" readonly="no"/>
- <property name="m_zPosition" type="int" readonly="no"/>
- <property name="m_buttonChange" type="int" readonly="no"/>
- <property name="m_buttonState" type="int" readonly="no"/>
- <property name="m_joyStick" type="int" readonly="no"/>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="GetZPosition" type="int" overloaded="no">
- <autodoc>GetZPosition() -> int</autodoc>
- </method>
- <method name="GetButtonState" type="int" overloaded="no">
- <autodoc>GetButtonState() -> int</autodoc>
- </method>
- <method name="GetButtonChange" type="int" overloaded="no">
- <autodoc>GetButtonChange() -> int</autodoc>
- </method>
- <method name="GetJoystick" type="int" overloaded="no">
- <autodoc>GetJoystick() -> int</autodoc>
- </method>
- <method name="SetJoystick" type="void" overloaded="no">
- <autodoc>SetJoystick(int stick)</autodoc>
- <paramlist>
- <param name="stick" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetButtonState" type="void" overloaded="no">
- <autodoc>SetButtonState(int state)</autodoc>
- <paramlist>
- <param name="state" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetButtonChange" type="void" overloaded="no">
- <autodoc>SetButtonChange(int change)</autodoc>
- <paramlist>
- <param name="change" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(Point pos)</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetZPosition" type="void" overloaded="no">
- <autodoc>SetZPosition(int zPos)</autodoc>
- <paramlist>
- <param name="zPos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsButton" type="bool" overloaded="no">
- <autodoc>IsButton() -> bool</autodoc>
- </method>
- <method name="IsMove" type="bool" overloaded="no">
- <autodoc>IsMove() -> bool</autodoc>
- </method>
- <method name="IsZMove" type="bool" overloaded="no">
- <autodoc>IsZMove() -> bool</autodoc>
- </method>
- <method name="ButtonDown" type="bool" overloaded="no">
- <autodoc>ButtonDown(int but=JOY_BUTTON_ANY) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
- </paramlist>
- </method>
- <method name="ButtonUp" type="bool" overloaded="no">
- <autodoc>ButtonUp(int but=JOY_BUTTON_ANY) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
- </paramlist>
- </method>
- <method name="ButtonIsDown" type="bool" overloaded="no">
- <autodoc>ButtonIsDown(int but=JOY_BUTTON_ANY) -> bool</autodoc>
- <paramlist>
- <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN )
-EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP )
-EVT_JOY_MOVE = wx.PyEventBinder( wxEVT_JOY_MOVE )
-EVT_JOY_ZMOVE = wx.PyEventBinder( wxEVT_JOY_ZMOVE )
-
-EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
- wxEVT_JOY_BUTTON_UP,
- wxEVT_JOY_MOVE,
- wxEVT_JOY_ZMOVE,
- ])
-
-</pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Wave" oldname="wxWave" module="misc">
- <constructor name="Wave" overloaded="no">
- <autodoc>__init__(String fileName, bool isResource=False) -> Wave</autodoc>
- <paramlist>
- <param name="fileName" type="r.q(const).wxString" default=""/>
- <param name="isResource" type="bool" default="False"/>
- </paramlist>
- </constructor>
- <constructor name="WaveData" overloaded="no">
- <autodoc>WaveData(String data) -> Wave</autodoc>
- <paramlist>
- <param name="data" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxWave" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="Play" type="bool" overloaded="no">
- <autodoc>Play(bool async=True, bool looped=False) -> bool</autodoc>
- <paramlist>
- <param name="async" type="bool" default="True"/>
- <param name="looped" type="bool" default="False"/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="misc">
- <constructor name="FileTypeInfo" overloaded="no">
- <autodoc>__init__(String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo</autodoc>
- <paramlist>
- <param name="mimeType" type="r.q(const).wxString" default=""/>
- <param name="openCmd" type="r.q(const).wxString" default=""/>
- <param name="printCmd" type="r.q(const).wxString" default=""/>
- <param name="desc" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <constructor name="FileTypeInfoSequence" overloaded="no">
- <autodoc>FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo</autodoc>
- <paramlist>
- <param name="sArray" type="r.q(const).wxArrayString" default=""/>
- </paramlist>
- </constructor>
- <constructor name="NullFileTypeInfo" overloaded="no">
- <autodoc>NullFileTypeInfo() -> FileTypeInfo</autodoc>
- </constructor>
- <method name="IsValid" type="bool" overloaded="no">
- <autodoc>IsValid() -> bool</autodoc>
- </method>
- <method name="SetIcon" type="void" overloaded="no">
- <autodoc>SetIcon(String iconFile, int iconIndex=0)</autodoc>
- <paramlist>
- <param name="iconFile" type="r.q(const).wxString" default=""/>
- <param name="iconIndex" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetShortDesc" type="void" overloaded="no">
- <autodoc>SetShortDesc(String shortDesc)</autodoc>
- <paramlist>
- <param name="shortDesc" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetMimeType" type="q(const).wxString" overloaded="no">
- <autodoc>GetMimeType() -> String</autodoc>
- </method>
- <method name="GetOpenCommand" type="q(const).wxString" overloaded="no">
- <autodoc>GetOpenCommand() -> String</autodoc>
- </method>
- <method name="GetPrintCommand" type="q(const).wxString" overloaded="no">
- <autodoc>GetPrintCommand() -> String</autodoc>
- </method>
- <method name="GetShortDesc" type="q(const).wxString" overloaded="no">
- <autodoc>GetShortDesc() -> String</autodoc>
- </method>
- <method name="GetDescription" type="q(const).wxString" overloaded="no">
- <autodoc>GetDescription() -> String</autodoc>
- </method>
- <method name="GetExtensions" type="q(const).wxArrayString" overloaded="no">
- <autodoc>GetExtensions() -> wxArrayString</autodoc>
- </method>
- <method name="GetExtensionsCount" type="int" overloaded="no">
- <autodoc>GetExtensionsCount() -> int</autodoc>
- </method>
- <method name="GetIconFile" type="q(const).wxString" overloaded="no">
- <autodoc>GetIconFile() -> String</autodoc>
- </method>
- <method name="GetIconIndex" type="int" overloaded="no">
- <autodoc>GetIconIndex() -> int</autodoc>
- </method>
- </class>
- <class name="FileType" oldname="wxFileType" module="misc">
- <constructor name="FileType" overloaded="no">
- <autodoc>__init__(FileTypeInfo ftInfo) -> FileType</autodoc>
- <paramlist>
- <param name="ftInfo" type="r.q(const).wxFileTypeInfo" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxFileType" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetMimeType" type="PyObject" overloaded="no">
- <autodoc>GetMimeType() -> PyObject</autodoc>
- </method>
- <method name="GetMimeTypes" type="PyObject" overloaded="no">
- <autodoc>GetMimeTypes() -> PyObject</autodoc>
- </method>
- <method name="GetExtensions" type="PyObject" overloaded="no">
- <autodoc>GetExtensions() -> PyObject</autodoc>
- </method>
- <method name="GetIcon" type="wxIcon" overloaded="no">
- <autodoc>GetIcon() -> Icon</autodoc>
- </method>
- <method name="GetIconInfo" type="PyObject" overloaded="no">
- <autodoc>GetIconInfo() -> PyObject</autodoc>
- </method>
- <method name="GetDescription" type="PyObject" overloaded="no">
- <autodoc>GetDescription() -> PyObject</autodoc>
- </method>
- <method name="GetOpenCommand" type="PyObject" overloaded="no">
- <autodoc>GetOpenCommand(String filename, String mimetype=EmptyString) -> PyObject</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetPrintCommand" type="PyObject" overloaded="no">
- <autodoc>GetPrintCommand(String filename, String mimetype=EmptyString) -> PyObject</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetAllCommands" type="PyObject" overloaded="no">
- <autodoc>GetAllCommands(String filename, String mimetype=EmptyString) -> PyObject</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="SetCommand" type="bool" overloaded="no">
- <autodoc>SetCommand(String cmd, String verb, bool overwriteprompt=True) -> bool</autodoc>
- <paramlist>
- <param name="cmd" type="r.q(const).wxString" default=""/>
- <param name="verb" type="r.q(const).wxString" default=""/>
- <param name="overwriteprompt" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetDefaultIcon" type="bool" overloaded="no">
- <autodoc>SetDefaultIcon(String cmd=EmptyString, int index=0) -> bool</autodoc>
- <paramlist>
- <param name="cmd" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="index" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Unassociate" type="bool" overloaded="no">
- <autodoc>Unassociate() -> bool</autodoc>
- </method>
- <staticmethod name="ExpandCommand" type="wxString" overloaded="no">
- <autodoc>FileType.ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String</autodoc>
- <paramlist>
- <param name="command" type="r.q(const).wxString" default=""/>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="mimetype" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </staticmethod>
- </class>
- <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="misc">
- <constructor name="MimeTypesManager" overloaded="no">
- <autodoc>__init__() -> MimeTypesManager</autodoc>
- </constructor>
- <destructor name="~wxMimeTypesManager" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <staticmethod name="IsOfType" type="bool" overloaded="no">
- <autodoc>MimeTypesManager.IsOfType(String mimeType, String wildcard) -> bool</autodoc>
- <paramlist>
- <param name="mimeType" type="r.q(const).wxString" default=""/>
- <param name="wildcard" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <method name="Initialize" type="void" overloaded="no">
- <autodoc>Initialize(int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc>
- <paramlist>
- <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/>
- <param name="extraDir" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="ClearData" type="void" overloaded="no">
- <autodoc>ClearData()</autodoc>
- </method>
- <method name="GetFileTypeFromExtension" type="wxFileType" overloaded="no">
- <autodoc>GetFileTypeFromExtension(String ext) -> FileType</autodoc>
- <paramlist>
- <param name="ext" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetFileTypeFromMimeType" type="wxFileType" overloaded="no">
- <autodoc>GetFileTypeFromMimeType(String mimeType) -> FileType</autodoc>
- <paramlist>
- <param name="mimeType" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ReadMailcap" type="bool" overloaded="no">
- <autodoc>ReadMailcap(String filename, bool fallback=False) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="fallback" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="ReadMimeTypes" type="bool" overloaded="no">
- <autodoc>ReadMimeTypes(String filename) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="EnumAllFileTypes" type="PyObject" overloaded="no">
- <autodoc>EnumAllFileTypes() -> PyObject</autodoc>
- </method>
- <method name="AddFallback" type="void" overloaded="no">
- <autodoc>AddFallback(FileTypeInfo ft)</autodoc>
- <paramlist>
- <param name="ft" type="r.q(const).wxFileTypeInfo" default=""/>
- </paramlist>
- </method>
- <method name="Associate" type="wxFileType" overloaded="no">
- <autodoc>Associate(FileTypeInfo ftInfo) -> FileType</autodoc>
- <paramlist>
- <param name="ftInfo" type="r.q(const).wxFileTypeInfo" default=""/>
- </paramlist>
- </method>
- <method name="Unassociate" type="bool" overloaded="no">
- <autodoc>Unassociate(FileType ft) -> bool</autodoc>
- <paramlist>
- <param name="ft" type="p.wxFileType" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ArtProvider" oldname="wxPyArtProvider" module="misc">
- <constructor name="wxPyArtProvider" overloaded="no">
- <autodoc>__init__() -> ArtProvider</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <staticmethod name="PushProvider" type="void" overloaded="no">
- <autodoc>ArtProvider.PushProvider(ArtProvider provider)</autodoc>
- <docstring>Add new provider to the top of providers stack.</docstring>
- <paramlist>
- <param name="provider" type="p.wxPyArtProvider" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="PopProvider" type="bool" overloaded="no">
- <autodoc>ArtProvider.PopProvider() -> bool</autodoc>
- <docstring>Remove latest added provider and delete it.</docstring>
- </staticmethod>
- <staticmethod name="RemoveProvider" type="bool" overloaded="no">
- <autodoc>ArtProvider.RemoveProvider(ArtProvider provider) -> bool</autodoc>
- <docstring>Remove provider. The provider must have been added previously!
-The provider is _not_ deleted.</docstring>
- <paramlist>
- <param name="provider" type="p.wxPyArtProvider" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>ArtProvider.GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap</autodoc>
- <docstring>Query the providers for bitmap with given ID and return it. Return
-wx.NullBitmap if no provider provides it.</docstring>
- <paramlist>
- <param name="id" type="r.q(const).wxString" default=""/>
- <param name="client" type="r.q(const).wxString" default="wxPyART_OTHER"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetIcon" type="wxIcon" overloaded="no">
- <autodoc>ArtProvider.GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon</autodoc>
- <docstring>Query the providers for icon with given ID and return it. Return
-wx.NullIcon if no provider provides it.</docstring>
- <paramlist>
- <param name="id" type="r.q(const).wxString" default=""/>
- <param name="client" type="r.q(const).wxString" default="wxPyART_OTHER"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- </paramlist>
- </staticmethod>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ConfigBase" oldname="wxConfigBase" module="misc">
- <destructor name="~wxConfigBase" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <staticmethod name="Set" type="wxConfigBase" overloaded="no">
- <autodoc>ConfigBase.Set(ConfigBase pConfig) -> ConfigBase</autodoc>
- <paramlist>
- <param name="pConfig" type="p.wxConfigBase" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Get" type="wxConfigBase" overloaded="no">
- <autodoc>ConfigBase.Get(bool createOnDemand=True) -> ConfigBase</autodoc>
- <paramlist>
- <param name="createOnDemand" type="bool" default="True"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Create" type="wxConfigBase" overloaded="no">
- <autodoc>ConfigBase.Create() -> ConfigBase</autodoc>
- </staticmethod>
- <staticmethod name="DontCreateOnDemand" type="void" overloaded="no">
- <autodoc>ConfigBase.DontCreateOnDemand()</autodoc>
- </staticmethod>
- <method name="SetPath" type="void" overloaded="no">
- <autodoc>SetPath(String strPath)</autodoc>
- <paramlist>
- <param name="strPath" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetPath" type="q(const).wxString" overloaded="no">
- <autodoc>GetPath() -> String</autodoc>
- </method>
- <method name="GetFirstGroup" type="PyObject" overloaded="no">
- <autodoc>GetFirstGroup() -> PyObject</autodoc>
- </method>
- <method name="GetNextGroup" type="PyObject" overloaded="no">
- <autodoc>GetNextGroup(long index) -> PyObject</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetFirstEntry" type="PyObject" overloaded="no">
- <autodoc>GetFirstEntry() -> PyObject</autodoc>
- </method>
- <method name="GetNextEntry" type="PyObject" overloaded="no">
- <autodoc>GetNextEntry(long index) -> PyObject</autodoc>
- <paramlist>
- <param name="index" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetNumberOfEntries" type="size_t" overloaded="no">
- <autodoc>GetNumberOfEntries(bool bRecursive=False) -> size_t</autodoc>
- <paramlist>
- <param name="bRecursive" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="GetNumberOfGroups" type="size_t" overloaded="no">
- <autodoc>GetNumberOfGroups(bool bRecursive=False) -> size_t</autodoc>
- <paramlist>
- <param name="bRecursive" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="HasGroup" type="bool" overloaded="no">
- <autodoc>HasGroup(String strName) -> bool</autodoc>
- <paramlist>
- <param name="strName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="HasEntry" type="bool" overloaded="no">
- <autodoc>HasEntry(String strName) -> bool</autodoc>
- <paramlist>
- <param name="strName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Exists" type="bool" overloaded="no">
- <autodoc>Exists(String strName) -> bool</autodoc>
- <paramlist>
- <param name="strName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no">
- <autodoc>GetEntryType(String name) -> int</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Read" type="wxString" overloaded="no">
- <autodoc>Read(String key, String defaultVal=EmptyString) -> String</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="defaultVal" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="ReadInt" type="long" overloaded="no">
- <autodoc>ReadInt(String key, long defaultVal=0) -> long</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="defaultVal" type="long" default="0"/>
- </paramlist>
- </method>
- <method name="ReadFloat" type="double" overloaded="no">
- <autodoc>ReadFloat(String key, double defaultVal=0.0) -> double</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="defaultVal" type="double" default="0.0"/>
- </paramlist>
- </method>
- <method name="ReadBool" type="bool" overloaded="no">
- <autodoc>ReadBool(String key, bool defaultVal=False) -> bool</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="defaultVal" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="Write" type="bool" overloaded="no">
- <autodoc>Write(String key, String value) -> bool</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="WriteInt" type="bool" overloaded="no">
- <autodoc>WriteInt(String key, long value) -> bool</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="value" type="long" default=""/>
- </paramlist>
- </method>
- <method name="WriteFloat" type="bool" overloaded="no">
- <autodoc>WriteFloat(String key, double value) -> bool</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="value" type="double" default=""/>
- </paramlist>
- </method>
- <method name="WriteBool" type="bool" overloaded="no">
- <autodoc>WriteBool(String key, bool value) -> bool</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="value" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Flush" type="bool" overloaded="no">
- <autodoc>Flush(bool bCurrentOnly=False) -> bool</autodoc>
- <paramlist>
- <param name="bCurrentOnly" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="RenameEntry" type="bool" overloaded="no">
- <autodoc>RenameEntry(String oldName, String newName) -> bool</autodoc>
- <paramlist>
- <param name="oldName" type="r.q(const).wxString" default=""/>
- <param name="newName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="RenameGroup" type="bool" overloaded="no">
- <autodoc>RenameGroup(String oldName, String newName) -> bool</autodoc>
- <paramlist>
- <param name="oldName" type="r.q(const).wxString" default=""/>
- <param name="newName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DeleteEntry" type="bool" overloaded="no">
- <autodoc>DeleteEntry(String key, bool bDeleteGroupIfEmpty=True) -> bool</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="bDeleteGroupIfEmpty" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DeleteGroup" type="bool" overloaded="no">
- <autodoc>DeleteGroup(String key) -> bool</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DeleteAll" type="bool" overloaded="no">
- <autodoc>DeleteAll() -> bool</autodoc>
- </method>
- <method name="IsExpandingEnvVars" type="bool" overloaded="no">
- <autodoc>IsExpandingEnvVars() -> bool</autodoc>
- </method>
- <method name="SetExpandEnvVars" type="void" overloaded="no">
- <autodoc>SetExpandEnvVars(bool bDoIt=True)</autodoc>
- <paramlist>
- <param name="bDoIt" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetRecordDefaults" type="void" overloaded="no">
- <autodoc>SetRecordDefaults(bool bDoIt=True)</autodoc>
- <paramlist>
- <param name="bDoIt" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="IsRecordingDefaults" type="bool" overloaded="no">
- <autodoc>IsRecordingDefaults() -> bool</autodoc>
- </method>
- <method name="ExpandEnvVars" type="wxString" overloaded="no">
- <autodoc>ExpandEnvVars(String str) -> String</autodoc>
- <paramlist>
- <param name="str" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetAppName" type="wxString" overloaded="no">
- <autodoc>GetAppName() -> String</autodoc>
- </method>
- <method name="GetVendorName" type="wxString" overloaded="no">
- <autodoc>GetVendorName() -> String</autodoc>
- </method>
- <method name="SetAppName" type="void" overloaded="no">
- <autodoc>SetAppName(String appName)</autodoc>
- <paramlist>
- <param name="appName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetVendorName" type="void" overloaded="no">
- <autodoc>SetVendorName(String vendorName)</autodoc>
- <paramlist>
- <param name="vendorName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetStyle" type="void" overloaded="no">
- <autodoc>SetStyle(long style)</autodoc>
- <paramlist>
- <param name="style" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetStyle" type="long" overloaded="no">
- <autodoc>GetStyle() -> long</autodoc>
- </method>
- </class>
- <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="misc">
- <constructor name="ConfigPathChanger" overloaded="no">
- <autodoc>__init__(ConfigBase pContainer, String strEntry) -> ConfigPathChanger</autodoc>
- <paramlist>
- <param name="pContainer" type="p.q(const).wxConfigBase" default=""/>
- <param name="strEntry" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxConfigPathChanger" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Name" type="q(const).wxString" overloaded="no">
- <autodoc>Name() -> String</autodoc>
- </method>
- </class>
- <class name="Config" oldname="wxConfig" module="misc">
- <baseclass name="wxConfigBase"/>
- <constructor name="Config" overloaded="no">
- <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString,
- String localFilename=EmptyString, String globalFilename=EmptyString,
- long style=0) -> Config</autodoc>
- <paramlist>
- <param name="appName" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="vendorName" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="localFilename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="globalFilename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxConfig" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <class name="FileConfig" oldname="wxFileConfig" module="misc">
- <baseclass name="wxConfigBase"/>
- <constructor name="FileConfig" overloaded="no">
- <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString,
- String localFilename=EmptyString, String globalFilename=EmptyString,
- long style=0) -> FileConfig</autodoc>
- <paramlist>
- <param name="appName" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="vendorName" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="localFilename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="globalFilename" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxFileConfig" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- </class>
- <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="wxString" overloaded="no">
- <autodoc>ExpandEnvVars(String sz) -> String</autodoc>
- <paramlist>
- <param name="sz" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="DateTime" oldname="wxDateTime" module="misc">
- <constructor name="DateTime" overloaded="no">
- <autodoc>__init__() -> DateTime</autodoc>
- </constructor>
- <constructor name="DateTimeFromTimeT" overloaded="no">
- <autodoc>DateTimeFromTimeT(time_t timet) -> DateTime</autodoc>
- <paramlist>
- <param name="timet" type="time_t" default=""/>
- </paramlist>
- </constructor>
- <constructor name="DateTimeFromJDN" overloaded="no">
- <autodoc>DateTimeFromJDN(double jdn) -> DateTime</autodoc>
- <paramlist>
- <param name="jdn" type="double" default=""/>
- </paramlist>
- </constructor>
- <constructor name="DateTimeFromHMS" overloaded="no">
- <autodoc>DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
- <paramlist>
- <param name="hour" type="int" default=""/>
- <param name="minute" type="int" default="0"/>
- <param name="second" type="int" default="0"/>
- <param name="millisec" type="int" default="0"/>
- </paramlist>
- </constructor>
- <constructor name="DateTimeFromDMY" overloaded="no">
- <autodoc>DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0,
- int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
- <paramlist>
- <param name="day" type="int" default=""/>
- <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- <param name="hour" type="int" default="0"/>
- <param name="minute" type="int" default="0"/>
- <param name="second" type="int" default="0"/>
- <param name="millisec" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxDateTime" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <staticmethod name="SetCountry" type="void" overloaded="no">
- <autodoc>DateTime.SetCountry(int country)</autodoc>
- <paramlist>
- <param name="country" type="wxDateTime::Country" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetCountry" type="wxDateTime::Country" overloaded="no">
- <autodoc>DateTime.GetCountry() -> int</autodoc>
- </staticmethod>
- <staticmethod name="IsWestEuropeanCountry" type="bool" overloaded="no">
- <autodoc>DateTime.IsWestEuropeanCountry(int country=Country_Default) -> bool</autodoc>
- <paramlist>
- <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetCurrentYear" type="int" overloaded="no">
- <autodoc>DateTime.GetCurrentYear(int cal=Gregorian) -> int</autodoc>
- <paramlist>
- <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="ConvertYearToBC" type="int" overloaded="no">
- <autodoc>DateTime.ConvertYearToBC(int year) -> int</autodoc>
- <paramlist>
- <param name="year" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetCurrentMonth" type="wxDateTime::Month" overloaded="no">
- <autodoc>DateTime.GetCurrentMonth(int cal=Gregorian) -> int</autodoc>
- <paramlist>
- <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="IsLeapYear" type="bool" overloaded="no">
- <autodoc>DateTime.IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool</autodoc>
- <paramlist>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetCentury" type="int" overloaded="no">
- <autodoc>DateTime.GetCentury(int year=Inv_Year) -> int</autodoc>
- <paramlist>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetNumberOfDaysinYear" type="int" overloaded="no">
- <autodoc>DateTime.GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int</autodoc>
- <paramlist>
- <param name="year" type="int" default=""/>
- <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetNumberOfDaysInMonth" type="int" overloaded="no">
- <autodoc>DateTime.GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int</autodoc>
- <paramlist>
- <param name="month" type="wxDateTime::Month" default=""/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetMonthName" type="wxString" overloaded="no">
- <autodoc>DateTime.GetMonthName(int month, int flags=Name_Full) -> String</autodoc>
- <paramlist>
- <param name="month" type="wxDateTime::Month" default=""/>
- <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetWeekDayName" type="wxString" overloaded="no">
- <autodoc>DateTime.GetWeekDayName(int weekday, int flags=Name_Full) -> String</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetAmPmStrings" type="void" overloaded="no">
- <autodoc>GetAmPmStrings() -> (am, pm)</autodoc>
- <docstring>Get the AM and PM strings in the current locale (may be empty)</docstring>
- <paramlist>
- <param name="OUTPUT" type="p.wxString" default=""/>
- <param name="OUTPUT" type="p.wxString" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="IsDSTApplicable" type="bool" overloaded="no">
- <autodoc>DateTime.IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool</autodoc>
- <paramlist>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetBeginDST" type="wxDateTime" overloaded="no">
- <autodoc>DateTime.GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc>
- <paramlist>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="GetEndDST" type="wxDateTime" overloaded="no">
- <autodoc>DateTime.GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc>
- <paramlist>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Now" type="wxDateTime" overloaded="no">
- <autodoc>DateTime.Now() -> DateTime</autodoc>
- </staticmethod>
- <staticmethod name="UNow" type="wxDateTime" overloaded="no">
- <autodoc>DateTime.UNow() -> DateTime</autodoc>
- </staticmethod>
- <staticmethod name="Today" type="wxDateTime" overloaded="no">
- <autodoc>DateTime.Today() -> DateTime</autodoc>
- </staticmethod>
- <method name="SetToCurrent" type="wxDateTime" overloaded="no">
- <autodoc>SetToCurrent() -> DateTime</autodoc>
- </method>
- <method name="SetTimeT" type="wxDateTime" overloaded="no">
- <autodoc>SetTimeT(time_t timet) -> DateTime</autodoc>
- <paramlist>
- <param name="timet" type="time_t" default=""/>
- </paramlist>
- </method>
- <method name="SetJDN" type="wxDateTime" overloaded="no">
- <autodoc>SetJDN(double jdn) -> DateTime</autodoc>
- <paramlist>
- <param name="jdn" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetHMS" type="wxDateTime" overloaded="no">
- <autodoc>SetHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
- <paramlist>
- <param name="hour" type="int" default=""/>
- <param name="minute" type="int" default="0"/>
- <param name="second" type="int" default="0"/>
- <param name="millisec" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Set" type="wxDateTime" overloaded="no">
- <autodoc>Set(int day, int month=Inv_Month, int year=Inv_Year, int hour=0,
- int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
- <paramlist>
- <param name="day" type="int" default=""/>
- <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- <param name="hour" type="int" default="0"/>
- <param name="minute" type="int" default="0"/>
- <param name="second" type="int" default="0"/>
- <param name="millisec" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="ResetTime" type="wxDateTime" overloaded="no">
- <autodoc>ResetTime() -> DateTime</autodoc>
- </method>
- <method name="SetYear" type="wxDateTime" overloaded="no">
- <autodoc>SetYear(int year) -> DateTime</autodoc>
- <paramlist>
- <param name="year" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMonth" type="wxDateTime" overloaded="no">
- <autodoc>SetMonth(int month) -> DateTime</autodoc>
- <paramlist>
- <param name="month" type="wxDateTime::Month" default=""/>
- </paramlist>
- </method>
- <method name="SetDay" type="wxDateTime" overloaded="no">
- <autodoc>SetDay(int day) -> DateTime</autodoc>
- <paramlist>
- <param name="day" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetHour" type="wxDateTime" overloaded="no">
- <autodoc>SetHour(int hour) -> DateTime</autodoc>
- <paramlist>
- <param name="hour" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMinute" type="wxDateTime" overloaded="no">
- <autodoc>SetMinute(int minute) -> DateTime</autodoc>
- <paramlist>
- <param name="minute" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetSecond" type="wxDateTime" overloaded="no">
- <autodoc>SetSecond(int second) -> DateTime</autodoc>
- <paramlist>
- <param name="second" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMillisecond" type="wxDateTime" overloaded="no">
- <autodoc>SetMillisecond(int millisecond) -> DateTime</autodoc>
- <paramlist>
- <param name="millisecond" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetToWeekDayInSameWeek" type="wxDateTime" overloaded="no">
- <autodoc>SetToWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
- </paramlist>
- </method>
- <method name="GetWeekDayInSameWeek" type="wxDateTime" overloaded="no">
- <autodoc>GetWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
- </paramlist>
- </method>
- <method name="SetToNextWeekDay" type="wxDateTime" overloaded="no">
- <autodoc>SetToNextWeekDay(int weekday) -> DateTime</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- </paramlist>
- </method>
- <method name="GetNextWeekDay" type="wxDateTime" overloaded="no">
- <autodoc>GetNextWeekDay(int weekday) -> DateTime</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- </paramlist>
- </method>
- <method name="SetToPrevWeekDay" type="wxDateTime" overloaded="no">
- <autodoc>SetToPrevWeekDay(int weekday) -> DateTime</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- </paramlist>
- </method>
- <method name="GetPrevWeekDay" type="wxDateTime" overloaded="no">
- <autodoc>GetPrevWeekDay(int weekday) -> DateTime</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- </paramlist>
- </method>
- <method name="SetToWeekDay" type="bool" overloaded="no">
- <autodoc>SetToWeekDay(int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- <param name="n" type="int" default="1"/>
- <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- </paramlist>
- </method>
- <method name="SetToLastWeekDay" type="bool" overloaded="no">
- <autodoc>SetToLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- </paramlist>
- </method>
- <method name="GetLastWeekDay" type="wxDateTime" overloaded="no">
- <autodoc>GetLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc>
- <paramlist>
- <param name="weekday" type="wxDateTime::WeekDay" default=""/>
- <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- </paramlist>
- </method>
- <method name="SetToTheWeek" type="bool" overloaded="no">
- <autodoc>SetToTheWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> bool</autodoc>
- <paramlist>
- <param name="numWeek" type="int" default=""/>
- <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
- <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
- </paramlist>
- </method>
- <method name="GetWeek" type="wxDateTime" overloaded="no">
- <autodoc>GetWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime</autodoc>
- <paramlist>
- <param name="numWeek" type="int" default=""/>
- <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
- <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
- </paramlist>
- </method>
- <method name="SetToLastMonthDay" type="wxDateTime" overloaded="no">
- <autodoc>SetToLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc>
- <paramlist>
- <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- </paramlist>
- </method>
- <method name="GetLastMonthDay" type="wxDateTime" overloaded="no">
- <autodoc>GetLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc>
- <paramlist>
- <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
- <param name="year" type="int" default="wxDateTime::Inv_Year"/>
- </paramlist>
- </method>
- <method name="SetToYearDay" type="wxDateTime" overloaded="no">
- <autodoc>SetToYearDay(int yday) -> DateTime</autodoc>
- <paramlist>
- <param name="yday" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetYearDay" type="wxDateTime" overloaded="no">
- <autodoc>GetYearDay(int yday) -> DateTime</autodoc>
- <paramlist>
- <param name="yday" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetJulianDayNumber" type="double" overloaded="no">
- <autodoc>GetJulianDayNumber() -> double</autodoc>
- </method>
- <method name="GetJDN" type="double" overloaded="no">
- <autodoc>GetJDN() -> double</autodoc>
- </method>
- <method name="GetModifiedJulianDayNumber" type="double" overloaded="no">
- <autodoc>GetModifiedJulianDayNumber() -> double</autodoc>
- </method>
- <method name="GetMJD" type="double" overloaded="no">
- <autodoc>GetMJD() -> double</autodoc>
- </method>
- <method name="GetRataDie" type="double" overloaded="no">
- <autodoc>GetRataDie() -> double</autodoc>
- </method>
- <method name="ToTimezone" type="wxDateTime" overloaded="no">
- <autodoc>ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default=""/>
- <param name="noDST" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="MakeTimezone" type="wxDateTime" overloaded="no">
- <autodoc>MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default=""/>
- <param name="noDST" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="ToGMT" type="wxDateTime" overloaded="no">
- <autodoc>ToGMT(bool noDST=False) -> DateTime</autodoc>
- <paramlist>
- <param name="noDST" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="MakeGMT" type="wxDateTime" overloaded="no">
- <autodoc>MakeGMT(bool noDST=False) -> DateTime</autodoc>
- <paramlist>
- <param name="noDST" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="IsDST" type="int" overloaded="no">
- <autodoc>IsDST(int country=Country_Default) -> int</autodoc>
- <paramlist>
- <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
- </paramlist>
- </method>
- <method name="IsValid" type="bool" overloaded="no">
- <autodoc>IsValid() -> bool</autodoc>
- </method>
- <method name="GetTicks" type="time_t" overloaded="no">
- <autodoc>GetTicks() -> time_t</autodoc>
- </method>
- <method name="GetYear" type="int" overloaded="no">
- <autodoc>GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetMonth" type="wxDateTime::Month" overloaded="no">
- <autodoc>GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetDay" type="int" overloaded="no">
- <autodoc>GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
- <autodoc>GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetHour" type="int" overloaded="no">
- <autodoc>GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetMinute" type="int" overloaded="no">
- <autodoc>GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetSecond" type="int" overloaded="no">
- <autodoc>GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetMillisecond" type="int" overloaded="no">
- <autodoc>GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetDayOfYear" type="int" overloaded="no">
- <autodoc>GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetWeekOfYear" type="int" overloaded="no">
- <autodoc>GetWeekOfYear(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="GetWeekOfMonth" type="int" overloaded="no">
- <autodoc>GetWeekOfMonth(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
- <paramlist>
- <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="IsWorkDay" type="bool" overloaded="no">
- <autodoc>IsWorkDay(int country=Country_Default) -> bool</autodoc>
- <paramlist>
- <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
- </paramlist>
- </method>
- <method name="IsEqualTo" type="bool" overloaded="no">
- <autodoc>IsEqualTo(DateTime datetime) -> bool</autodoc>
- <paramlist>
- <param name="datetime" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="IsEarlierThan" type="bool" overloaded="no">
- <autodoc>IsEarlierThan(DateTime datetime) -> bool</autodoc>
- <paramlist>
- <param name="datetime" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="IsLaterThan" type="bool" overloaded="no">
- <autodoc>IsLaterThan(DateTime datetime) -> bool</autodoc>
- <paramlist>
- <param name="datetime" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="IsStrictlyBetween" type="bool" overloaded="no">
- <autodoc>IsStrictlyBetween(DateTime t1, DateTime t2) -> bool</autodoc>
- <paramlist>
- <param name="t1" type="r.q(const).wxDateTime" default=""/>
- <param name="t2" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="IsBetween" type="bool" overloaded="no">
- <autodoc>IsBetween(DateTime t1, DateTime t2) -> bool</autodoc>
- <paramlist>
- <param name="t1" type="r.q(const).wxDateTime" default=""/>
- <param name="t2" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="IsSameDate" type="bool" overloaded="no">
- <autodoc>IsSameDate(DateTime dt) -> bool</autodoc>
- <paramlist>
- <param name="dt" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="IsSameTime" type="bool" overloaded="no">
- <autodoc>IsSameTime(DateTime dt) -> bool</autodoc>
- <paramlist>
- <param name="dt" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="IsEqualUpTo" type="bool" overloaded="no">
- <autodoc>IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool</autodoc>
- <paramlist>
- <param name="dt" type="r.q(const).wxDateTime" default=""/>
- <param name="ts" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="AddTS" type="wxDateTime" overloaded="no">
- <autodoc>AddTS(TimeSpan diff) -> DateTime</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="AddDS" type="wxDateTime" overloaded="no">
- <autodoc>AddDS(DateSpan diff) -> DateTime</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="SubtractTS" type="wxDateTime" overloaded="no">
- <autodoc>SubtractTS(TimeSpan diff) -> DateTime</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="SubtractDS" type="wxDateTime" overloaded="no">
- <autodoc>SubtractDS(DateSpan diff) -> DateTime</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="Subtract" type="wxTimeSpan" overloaded="no">
- <autodoc>Subtract(DateTime dt) -> TimeSpan</autodoc>
- <paramlist>
- <param name="dt" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="__iadd__" type="wxDateTime" overloaded="yes">
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__iadd__" type="wxDateTime" overloaded="yes">
- <autodoc>__iadd__(TimeSpan diff) -> DateTime
-__iadd__(DateSpan diff) -> DateTime</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__isub__" type="wxDateTime" overloaded="yes">
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__isub__" type="wxDateTime" overloaded="yes">
- <autodoc>__isub__(TimeSpan diff) -> DateTime
-__isub__(DateSpan diff) -> DateTime</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__add__" type="wxDateTime" overloaded="yes">
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__add__" type="wxDateTime" overloaded="yes">
- <autodoc>__add__(TimeSpan other) -> DateTime
-__add__(DateSpan other) -> DateTime</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxTimeSpan" overloaded="yes">
- <paramlist>
- <param name="other" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxDateTime" overloaded="yes">
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxDateTime" overloaded="yes">
- <autodoc>__sub__(DateTime other) -> TimeSpan
-__sub__(TimeSpan other) -> DateTime
-__sub__(DateSpan other) -> DateTime</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__lt__" type="bool" overloaded="no">
- <autodoc>__lt__(DateTime other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="__le__" type="bool" overloaded="no">
- <autodoc>__le__(DateTime other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="__gt__" type="bool" overloaded="no">
- <autodoc>__gt__(DateTime other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="__ge__" type="bool" overloaded="no">
- <autodoc>__ge__(DateTime other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(DateTime other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(DateTime other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="ParseRfc822Date" type="int" overloaded="no">
- <autodoc>ParseRfc822Date(String date) -> int</autodoc>
- <paramlist>
- <param name="date" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ParseFormat" type="int" overloaded="no">
- <autodoc>ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int</autodoc>
- <paramlist>
- <param name="date" type="r.q(const).wxString" default=""/>
- <param name="format" type="r.q(const).wxString" default="wxPyDateFormatStr"/>
- <param name="dateDef" type="r.q(const).wxDateTime" default="wxDefaultDateTime"/>
- </paramlist>
- </method>
- <method name="ParseDateTime" type="int" overloaded="no">
- <autodoc>ParseDateTime(String datetime) -> int</autodoc>
- <paramlist>
- <param name="datetime" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ParseDate" type="int" overloaded="no">
- <autodoc>ParseDate(String date) -> int</autodoc>
- <paramlist>
- <param name="date" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ParseTime" type="int" overloaded="no">
- <autodoc>ParseTime(String time) -> int</autodoc>
- <paramlist>
- <param name="time" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Format" type="wxString" overloaded="no">
- <autodoc>Format(String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> String</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxString" default="wxPyDateFormatStr"/>
- <param name="tz" type="r.q(const).wxDateTime::TimeZone" default="LOCAL_TZ"/>
- </paramlist>
- </method>
- <method name="FormatDate" type="wxString" overloaded="no">
- <autodoc>FormatDate() -> String</autodoc>
- </method>
- <method name="FormatTime" type="wxString" overloaded="no">
- <autodoc>FormatTime() -> String</autodoc>
- </method>
- <method name="FormatISODate" type="wxString" overloaded="no">
- <autodoc>FormatISODate() -> String</autodoc>
- </method>
- <method name="FormatISOTime" type="wxString" overloaded="no">
- <autodoc>FormatISOTime() -> String</autodoc>
- </method>
- </class>
- <class name="TimeSpan" oldname="wxTimeSpan" module="misc">
- <constructor name="TimeSpan" overloaded="no">
- <autodoc>__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan</autodoc>
- <paramlist>
- <param name="hours" type="long" default="0"/>
- <param name="minutes" type="long" default="0"/>
- <param name="seconds" type="long" default="0"/>
- <param name="milliseconds" type="long" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxTimeSpan" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <staticmethod name="Seconds" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Seconds(long sec) -> TimeSpan</autodoc>
- <paramlist>
- <param name="sec" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Second" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Second() -> TimeSpan</autodoc>
- </staticmethod>
- <staticmethod name="Minutes" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Minutes(long min) -> TimeSpan</autodoc>
- <paramlist>
- <param name="min" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Minute" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Minute() -> TimeSpan</autodoc>
- </staticmethod>
- <staticmethod name="Hours" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Hours(long hours) -> TimeSpan</autodoc>
- <paramlist>
- <param name="hours" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Hour" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Hour() -> TimeSpan</autodoc>
- </staticmethod>
- <staticmethod name="Days" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Days(long days) -> TimeSpan</autodoc>
- <paramlist>
- <param name="days" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Day" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Day() -> TimeSpan</autodoc>
- </staticmethod>
- <staticmethod name="Weeks" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Weeks(long days) -> TimeSpan</autodoc>
- <paramlist>
- <param name="days" type="long" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Week" type="wxTimeSpan" overloaded="no">
- <autodoc>TimeSpan.Week() -> TimeSpan</autodoc>
- </staticmethod>
- <method name="Add" type="wxTimeSpan" overloaded="no">
- <autodoc>Add(TimeSpan diff) -> TimeSpan</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="Subtract" type="wxTimeSpan" overloaded="no">
- <autodoc>Subtract(TimeSpan diff) -> TimeSpan</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="Multiply" type="wxTimeSpan" overloaded="no">
- <autodoc>Multiply(int n) -> TimeSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Neg" type="wxTimeSpan" overloaded="no">
- <autodoc>Neg() -> TimeSpan</autodoc>
- </method>
- <method name="Abs" type="wxTimeSpan" overloaded="no">
- <autodoc>Abs() -> TimeSpan</autodoc>
- </method>
- <method name="__iadd__" type="wxTimeSpan" overloaded="no">
- <autodoc>__iadd__(TimeSpan diff) -> TimeSpan</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__isub__" type="wxTimeSpan" overloaded="no">
- <autodoc>__isub__(TimeSpan diff) -> TimeSpan</autodoc>
- <paramlist>
- <param name="diff" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__imul__" type="wxTimeSpan" overloaded="no">
- <autodoc>__imul__(int n) -> TimeSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__neg__" type="wxTimeSpan" overloaded="no">
- <autodoc>__neg__() -> TimeSpan</autodoc>
- </method>
- <method name="__add__" type="wxTimeSpan" overloaded="no">
- <autodoc>__add__(TimeSpan other) -> TimeSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxTimeSpan" overloaded="no">
- <autodoc>__sub__(TimeSpan other) -> TimeSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__mul__" type="wxTimeSpan" overloaded="no">
- <autodoc>__mul__(int n) -> TimeSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__rmul__" type="wxTimeSpan" overloaded="no">
- <autodoc>__rmul__(int n) -> TimeSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__lt__" type="bool" overloaded="no">
- <autodoc>__lt__(TimeSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__le__" type="bool" overloaded="no">
- <autodoc>__le__(TimeSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__gt__" type="bool" overloaded="no">
- <autodoc>__gt__(TimeSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__ge__" type="bool" overloaded="no">
- <autodoc>__ge__(TimeSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(TimeSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(TimeSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="IsNull" type="bool" overloaded="no">
- <autodoc>IsNull() -> bool</autodoc>
- </method>
- <method name="IsPositive" type="bool" overloaded="no">
- <autodoc>IsPositive() -> bool</autodoc>
- </method>
- <method name="IsNegative" type="bool" overloaded="no">
- <autodoc>IsNegative() -> bool</autodoc>
- </method>
- <method name="IsEqualTo" type="bool" overloaded="no">
- <autodoc>IsEqualTo(TimeSpan ts) -> bool</autodoc>
- <paramlist>
- <param name="ts" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="IsLongerThan" type="bool" overloaded="no">
- <autodoc>IsLongerThan(TimeSpan ts) -> bool</autodoc>
- <paramlist>
- <param name="ts" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="IsShorterThan" type="bool" overloaded="no">
- <autodoc>IsShorterThan(TimeSpan t) -> bool</autodoc>
- <paramlist>
- <param name="t" type="r.q(const).wxTimeSpan" default=""/>
- </paramlist>
- </method>
- <method name="GetWeeks" type="int" overloaded="no">
- <autodoc>GetWeeks() -> int</autodoc>
- </method>
- <method name="GetDays" type="int" overloaded="no">
- <autodoc>GetDays() -> int</autodoc>
- </method>
- <method name="GetHours" type="int" overloaded="no">
- <autodoc>GetHours() -> int</autodoc>
- </method>
- <method name="GetMinutes" type="int" overloaded="no">
- <autodoc>GetMinutes() -> int</autodoc>
- </method>
- <method name="GetSeconds" type="wxLongLong" overloaded="no">
- <autodoc>GetSeconds() -> wxLongLong</autodoc>
- </method>
- <method name="GetMilliseconds" type="wxLongLong" overloaded="no">
- <autodoc>GetMilliseconds() -> wxLongLong</autodoc>
- </method>
- <method name="Format" type="wxString" overloaded="no">
- <autodoc>Format(String format=TimeSpanFormatStr) -> String</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxString" default="wxPyTimeSpanFormatStr"/>
- </paramlist>
- </method>
- </class>
- <class name="DateSpan" oldname="wxDateSpan" module="misc">
- <constructor name="DateSpan" overloaded="no">
- <autodoc>__init__(int years=0, int months=0, int weeks=0, int days=0) -> DateSpan</autodoc>
- <paramlist>
- <param name="years" type="int" default="0"/>
- <param name="months" type="int" default="0"/>
- <param name="weeks" type="int" default="0"/>
- <param name="days" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxDateSpan" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <staticmethod name="Days" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Days(int days) -> DateSpan</autodoc>
- <paramlist>
- <param name="days" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Day" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Day() -> DateSpan</autodoc>
- </staticmethod>
- <staticmethod name="Weeks" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Weeks(int weeks) -> DateSpan</autodoc>
- <paramlist>
- <param name="weeks" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Week" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Week() -> DateSpan</autodoc>
- </staticmethod>
- <staticmethod name="Months" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Months(int mon) -> DateSpan</autodoc>
- <paramlist>
- <param name="mon" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Month" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Month() -> DateSpan</autodoc>
- </staticmethod>
- <staticmethod name="Years" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Years(int years) -> DateSpan</autodoc>
- <paramlist>
- <param name="years" type="int" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="Year" type="wxDateSpan" overloaded="no">
- <autodoc>DateSpan.Year() -> DateSpan</autodoc>
- </staticmethod>
- <method name="SetYears" type="wxDateSpan" overloaded="no">
- <autodoc>SetYears(int n) -> DateSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMonths" type="wxDateSpan" overloaded="no">
- <autodoc>SetMonths(int n) -> DateSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWeeks" type="wxDateSpan" overloaded="no">
- <autodoc>SetWeeks(int n) -> DateSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDays" type="wxDateSpan" overloaded="no">
- <autodoc>SetDays(int n) -> DateSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetYears" type="int" overloaded="no">
- <autodoc>GetYears() -> int</autodoc>
- </method>
- <method name="GetMonths" type="int" overloaded="no">
- <autodoc>GetMonths() -> int</autodoc>
- </method>
- <method name="GetWeeks" type="int" overloaded="no">
- <autodoc>GetWeeks() -> int</autodoc>
- </method>
- <method name="GetDays" type="int" overloaded="no">
- <autodoc>GetDays() -> int</autodoc>
- </method>
- <method name="GetTotalDays" type="int" overloaded="no">
- <autodoc>GetTotalDays() -> int</autodoc>
- </method>
- <method name="Add" type="wxDateSpan" overloaded="no">
- <autodoc>Add(DateSpan other) -> DateSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="Subtract" type="wxDateSpan" overloaded="no">
- <autodoc>Subtract(DateSpan other) -> DateSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="Neg" type="wxDateSpan" overloaded="no">
- <autodoc>Neg() -> DateSpan</autodoc>
- </method>
- <method name="Multiply" type="wxDateSpan" overloaded="no">
- <autodoc>Multiply(int factor) -> DateSpan</autodoc>
- <paramlist>
- <param name="factor" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__iadd__" type="wxDateSpan" overloaded="no">
- <autodoc>__iadd__(DateSpan other) -> DateSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__isub__" type="wxDateSpan" overloaded="no">
- <autodoc>__isub__(DateSpan other) -> DateSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__neg__" type="wxDateSpan" overloaded="no">
- <autodoc>__neg__() -> DateSpan</autodoc>
- </method>
- <method name="__imul__" type="wxDateSpan" overloaded="no">
- <autodoc>__imul__(int factor) -> DateSpan</autodoc>
- <paramlist>
- <param name="factor" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__add__" type="wxDateSpan" overloaded="no">
- <autodoc>__add__(DateSpan other) -> DateSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__sub__" type="wxDateSpan" overloaded="no">
- <autodoc>__sub__(DateSpan other) -> DateSpan</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__mul__" type="wxDateSpan" overloaded="no">
- <autodoc>__mul__(int n) -> DateSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__rmul__" type="wxDateSpan" overloaded="no">
- <autodoc>__rmul__(int n) -> DateSpan</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(DateSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(DateSpan other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxDateSpan" default=""/>
- </paramlist>
- </method>
- </class>
- <method name="GetLocalTime" oldname="wxGetLocalTime" type="long" overloaded="no">
- <autodoc>GetLocalTime() -> long</autodoc>
- </method>
- <method name="GetUTCTime" oldname="wxGetUTCTime" type="long" overloaded="no">
- <autodoc>GetUTCTime() -> long</autodoc>
- </method>
- <method name="GetCurrentTime" oldname="wxGetCurrentTime" type="long" overloaded="no">
- <autodoc>GetCurrentTime() -> long</autodoc>
- </method>
- <method name="GetLocalTimeMillis" oldname="wxGetLocalTimeMillis" type="wxLongLong" overloaded="no">
- <autodoc>GetLocalTimeMillis() -> wxLongLong</autodoc>
- </method>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="DataFormat" oldname="wxDataFormat" module="misc">
- <constructor name="DataFormat" overloaded="no">
- <autodoc>__init__(int type) -> DataFormat</autodoc>
- <paramlist>
- <param name="type" type="wxDataFormatId" default=""/>
- </paramlist>
- </constructor>
- <constructor name="CustomDataFormat" overloaded="no">
- <autodoc>CustomDataFormat(String format) -> DataFormat</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <destructor name="~wxDataFormat" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="__eq__" type="bool" overloaded="yes">
- <paramlist>
- <param name="format" type="wxDataFormatId" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="yes">
- <paramlist>
- <param name="format" type="wxDataFormatId" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="yes">
- <autodoc>__eq__(int format) -> bool
-__eq__(DataFormat format) -> bool</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="yes">
- <autodoc>__ne__(int format) -> bool
-__ne__(DataFormat format) -> bool</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- </paramlist>
- </method>
- <method name="SetType" type="void" overloaded="no">
- <autodoc>SetType(int format)</autodoc>
- <paramlist>
- <param name="format" type="wxDataFormatId" default=""/>
- </paramlist>
- </method>
- <method name="GetType" type="wxDataFormatId" overloaded="no">
- <autodoc>GetType() -> int</autodoc>
- </method>
- <method name="GetId" type="wxString" overloaded="no">
- <autodoc>GetId() -> String</autodoc>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(String format)</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="DataObject" oldname="wxDataObject" module="misc">
- <destructor name="~wxDataObject" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetPreferredFormat" type="wxDataFormat" overloaded="no">
- <autodoc>GetPreferredFormat(int dir=Get) -> DataFormat</autodoc>
- <paramlist>
- <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
- </paramlist>
- </method>
- <method name="GetFormatCount" type="size_t" overloaded="no">
- <autodoc>GetFormatCount(int dir=Get) -> size_t</autodoc>
- <paramlist>
- <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
- </paramlist>
- </method>
- <method name="IsSupported" type="bool" overloaded="no">
- <autodoc>IsSupported(DataFormat format, int dir=Get) -> bool</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
- </paramlist>
- </method>
- <method name="GetDataSize" type="size_t" overloaded="no">
- <autodoc>GetDataSize(DataFormat format) -> size_t</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- </paramlist>
- </method>
- <method name="GetAllFormats" type="void" overloaded="no">
- <autodoc>GetAllFormats(DataFormat formats, int dir=Get)</autodoc>
- <paramlist>
- <param name="formats" type="p.wxDataFormat" default=""/>
- <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
- </paramlist>
- </method>
- <method name="GetDataHere" type="bool" overloaded="no">
- <autodoc>GetDataHere(DataFormat format, void buf) -> bool</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- <param name="buf" type="p.void" default=""/>
- </paramlist>
- </method>
- <method name="SetData" type="bool" overloaded="no">
- <autodoc>SetData(DataFormat format, size_t len, void buf) -> bool</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- <param name="len" type="size_t" default=""/>
- <param name="buf" type="p.q(const).void" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="misc">
- <baseclass name="wxDataObject"/>
- <constructor name="DataObjectSimple" overloaded="no">
- <autodoc>__init__(DataFormat format=FormatInvalid) -> DataObjectSimple</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default="wxFormatInvalid"/>
- </paramlist>
- </constructor>
- <method name="GetFormat" type="q(const).wxDataFormat" overloaded="no">
- <autodoc>GetFormat() -> DataFormat</autodoc>
- </method>
- <method name="SetFormat" type="void" overloaded="no">
- <autodoc>SetFormat(DataFormat format)</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="misc">
- <baseclass name="wxDataObjectSimple"/>
- <constructor name="PyDataObjectSimple" overloaded="no">
- <autodoc>__init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default="wxFormatInvalid"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="misc">
- <baseclass name="wxDataObject"/>
- <constructor name="DataObjectComposite" overloaded="no">
- <autodoc>__init__() -> DataObjectComposite</autodoc>
- </constructor>
- <method name="Add" type="void" overloaded="no">
- <autodoc>Add(DataObjectSimple dataObject, int preferred=False)</autodoc>
- <paramlist>
- <param name="dataObject" type="p.wxDataObjectSimple" default=""/>
- <param name="preferred" type="int" default="False"/>
- </paramlist>
- </method>
- </class>
- <class name="TextDataObject" oldname="wxTextDataObject" module="misc">
- <baseclass name="wxDataObjectSimple"/>
- <constructor name="TextDataObject" overloaded="no">
- <autodoc>__init__(String text=EmptyString) -> TextDataObject</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <method name="GetTextLength" type="size_t" overloaded="no">
- <autodoc>GetTextLength() -> size_t</autodoc>
- </method>
- <method name="GetText" type="wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="misc">
- <baseclass name="wxTextDataObject"/>
- <constructor name="PyTextDataObject" overloaded="no">
- <autodoc>__init__(String text=EmptyString) -> PyTextDataObject</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="misc">
- <baseclass name="wxDataObjectSimple"/>
- <constructor name="BitmapDataObject" overloaded="no">
- <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -> BitmapDataObject</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- </paramlist>
- </constructor>
- <method name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmap() -> Bitmap</autodoc>
- </method>
- <method name="SetBitmap" type="void" overloaded="no">
- <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="misc">
- <baseclass name="wxBitmapDataObject"/>
- <constructor name="PyBitmapDataObject" overloaded="no">
- <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="FileDataObject" oldname="wxFileDataObject" module="misc">
- <baseclass name="wxDataObjectSimple"/>
- <constructor name="FileDataObject" overloaded="no">
- <autodoc>__init__() -> FileDataObject</autodoc>
- </constructor>
- <method name="GetFilenames" type="q(const).wxArrayString" overloaded="no">
- <autodoc>GetFilenames() -> wxArrayString</autodoc>
- </method>
- </class>
- <class name="CustomDataObject" oldname="wxCustomDataObject" module="misc">
- <baseclass name="wxDataObjectSimple"/>
- <constructor name="CustomDataObject" overloaded="no">
- <autodoc>__init__(DataFormat format=FormatInvalid) -> CustomDataObject</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default="wxFormatInvalid"/>
- </paramlist>
- </constructor>
- <method name="TakeData" type="void" overloaded="no">
- <autodoc>TakeData(PyObject data)</autodoc>
- <paramlist>
- <param name="data" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetData" type="bool" overloaded="no">
- <autodoc>SetData(PyObject data) -> bool</autodoc>
- <paramlist>
- <param name="data" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="size_t" overloaded="no">
- <autodoc>GetSize() -> size_t</autodoc>
- </method>
- <method name="GetData" type="PyObject" overloaded="no">
- <autodoc>GetData() -> PyObject</autodoc>
- </method>
- </class>
- <class name="URLDataObject" oldname="wxURLDataObject" module="misc">
- <baseclass name="wxDataObjectComposite"/>
- <constructor name="URLDataObject" overloaded="no">
- <autodoc>__init__() -> URLDataObject</autodoc>
- </constructor>
- <method name="GetURL" type="wxString" overloaded="no">
- <autodoc>GetURL() -> String</autodoc>
- </method>
- <method name="SetURL" type="void" overloaded="no">
- <autodoc>SetURL(String url)</autodoc>
- <paramlist>
- <param name="url" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="misc">
- <baseclass name="wxDataObjectSimple"/>
- <constructor name="MetafileDataObject" overloaded="no">
- <autodoc>__init__() -> MetafileDataObject</autodoc>
- </constructor>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <method name="IsDragResultOk" oldname="wxIsDragResultOk" type="bool" overloaded="no">
- <autodoc>IsDragResultOk(int res) -> bool</autodoc>
- <paramlist>
- <param name="res" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <class name="DropSource" oldname="wxPyDropSource" module="misc">
- <constructor name="wxPyDropSource" overloaded="no">
- <autodoc>__init__(Window win=None, Icon copy=wxNullIcon, Icon move=wxNullIcon,
- Icon none=wxNullIcon) -> DropSource</autodoc>
- <paramlist>
- <param name="win" type="p.wxWindow" default="NULL"/>
- <param name="copy" type="r.q(const).wxIcon" default="wxNullIcon"/>
- <param name="move" type="r.q(const).wxIcon" default="wxNullIcon"/>
- <param name="none" type="r.q(const).wxIcon" default="wxNullIcon"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPyDropSource" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- <param name="incref" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetData" type="void" overloaded="no">
- <autodoc>SetData(DataObject data)</autodoc>
- <paramlist>
- <param name="data" type="r.wxDataObject" default=""/>
- </paramlist>
- </method>
- <method name="GetDataObject" type="wxDataObject" overloaded="no">
- <autodoc>GetDataObject() -> DataObject</autodoc>
- </method>
- <method name="SetCursor" type="void" overloaded="no">
- <autodoc>SetCursor(int res, Cursor cursor)</autodoc>
- <paramlist>
- <param name="res" type="wxDragResult" default=""/>
- <param name="cursor" type="r.q(const).wxCursor" default=""/>
- </paramlist>
- </method>
- <method name="DoDragDrop" type="wxDragResult" overloaded="no">
- <autodoc>DoDragDrop(int flags=Drag_CopyOnly) -> int</autodoc>
- <paramlist>
- <param name="flags" type="int" default="wxDrag_CopyOnly"/>
- </paramlist>
- </method>
- <method name="base_GiveFeedback" type="bool" overloaded="no">
- <autodoc>base_GiveFeedback(int effect) -> bool</autodoc>
- <paramlist>
- <param name="effect" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="DropTarget" oldname="wxPyDropTarget" module="misc">
- <constructor name="PyDropTarget" overloaded="no">
- <autodoc>PyDropTarget(DataObject dataObject=None) -> DropTarget</autodoc>
- <paramlist>
- <param name="dataObject" type="p.wxDataObject" default="NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxPyDropTarget" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetDataObject" type="wxDataObject" overloaded="no">
- <autodoc>GetDataObject() -> DataObject</autodoc>
- </method>
- <method name="SetDataObject" type="void" overloaded="no">
- <autodoc>SetDataObject(DataObject dataObject)</autodoc>
- <paramlist>
- <param name="dataObject" type="p.wxDataObject" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEnter" type="wxDragResult" overloaded="no">
- <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
- <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeave" type="void" overloaded="no">
- <autodoc>base_OnLeave()</autodoc>
- </method>
- <method name="base_OnDrop" type="bool" overloaded="no">
- <autodoc>base_OnDrop(int x, int y) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetData" type="bool" overloaded="no">
- <autodoc>GetData() -> bool</autodoc>
- </method>
- </class>
- <pythoncode> PyDropTarget = DropTarget </pythoncode>
- <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="misc">
- <baseclass name="wxPyDropTarget"/>
- <constructor name="wxPyTextDropTarget" overloaded="no">
- <autodoc>__init__() -> TextDropTarget</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEnter" type="wxDragResult" overloaded="no">
- <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
- <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeave" type="void" overloaded="no">
- <autodoc>base_OnLeave()</autodoc>
- </method>
- <method name="base_OnDrop" type="bool" overloaded="no">
- <autodoc>base_OnDrop(int x, int y) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_OnData" type="wxDragResult" overloaded="no">
- <autodoc>base_OnData(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="misc">
- <baseclass name="wxPyDropTarget"/>
- <constructor name="wxPyFileDropTarget" overloaded="no">
- <autodoc>__init__() -> FileDropTarget</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEnter" type="wxDragResult" overloaded="no">
- <autodoc>base_OnEnter(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
- <autodoc>base_OnDragOver(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeave" type="void" overloaded="no">
- <autodoc>base_OnLeave()</autodoc>
- </method>
- <method name="base_OnDrop" type="bool" overloaded="no">
- <autodoc>base_OnDrop(int x, int y) -> bool</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_OnData" type="wxDragResult" overloaded="no">
- <autodoc>base_OnData(int x, int y, int def) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="Clipboard" oldname="wxClipboard" module="misc">
- <baseclass name="wxObject"/>
- <constructor name="Clipboard" overloaded="no">
- <autodoc>__init__() -> Clipboard</autodoc>
- </constructor>
- <destructor name="~wxClipboard" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Open" type="bool" overloaded="no">
- <autodoc>Open() -> bool</autodoc>
- </method>
- <method name="Close" type="void" overloaded="no">
- <autodoc>Close()</autodoc>
- </method>
- <method name="IsOpened" type="bool" overloaded="no">
- <autodoc>IsOpened() -> bool</autodoc>
- </method>
- <method name="AddData" type="bool" overloaded="no">
- <autodoc>AddData(DataObject data) -> bool</autodoc>
- <paramlist>
- <param name="data" type="p.wxDataObject" default=""/>
- </paramlist>
- </method>
- <method name="SetData" type="bool" overloaded="no">
- <autodoc>SetData(DataObject data) -> bool</autodoc>
- <paramlist>
- <param name="data" type="p.wxDataObject" default=""/>
- </paramlist>
- </method>
- <method name="IsSupported" type="bool" overloaded="no">
- <autodoc>IsSupported(DataFormat format) -> bool</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxDataFormat" default=""/>
- </paramlist>
- </method>
- <method name="GetData" type="bool" overloaded="no">
- <autodoc>GetData(DataObject data) -> bool</autodoc>
- <paramlist>
- <param name="data" type="r.wxDataObject" default=""/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="Flush" type="bool" overloaded="no">
- <autodoc>Flush() -> bool</autodoc>
- </method>
- <method name="UsePrimarySelection" type="void" overloaded="no">
- <autodoc>UsePrimarySelection(bool primary=False)</autodoc>
- <paramlist>
- <param name="primary" type="bool" default="False"/>
- </paramlist>
- </method>
- </class>
- <class name="ClipboardLocker" oldname="wxClipboardLocker" module="misc">
- <constructor name="ClipboardLocker" overloaded="no">
- <autodoc>__init__(Clipboard clipboard=None) -> ClipboardLocker</autodoc>
- <paramlist>
- <param name="clipboard" type="p.wxClipboard" default="NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxClipboardLocker" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="__nonzero__" type="bool" overloaded="no">
- <autodoc>__nonzero__() -> bool</autodoc>
- </method>
- </class>
-</module><module name="calendar">
- <import name="misc"/>
- <pythoncode> wx = core </pythoncode>
- <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
- <constructor name="CalendarDateAttr" overloaded="no">
- <autodoc>__init__(Colour colText, Colour colBack=wxNullColour, Colour colBorder=wxNullColour,
- Font font=wxNullFont,
- int border=CAL_BORDER_NONE) -> CalendarDateAttr</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default=""/>
- <param name="colBack" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="colBorder" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="font" type="r.q(const).wxFont" default="wxNullFont"/>
- <param name="border" type="wxCalendarDateBorder" default="wxCAL_BORDER_NONE"/>
- </paramlist>
- </constructor>
- <constructor name="CalendarDateAttrBorder" overloaded="no">
- <autodoc>CalendarDateAttrBorder(int border, Colour colBorder=wxNullColour) -> CalendarDateAttr</autodoc>
- <paramlist>
- <param name="border" type="wxCalendarDateBorder" default=""/>
- <param name="colBorder" type="r.q(const).wxColour" default="wxNullColour"/>
- </paramlist>
- </constructor>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(Colour colText)</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="void" overloaded="no">
- <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
- <paramlist>
- <param name="colBack" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBorderColour" type="void" overloaded="no">
- <autodoc>SetBorderColour(Colour col)</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetBorder" type="void" overloaded="no">
- <autodoc>SetBorder(int border)</autodoc>
- <paramlist>
- <param name="border" type="wxCalendarDateBorder" default=""/>
- </paramlist>
- </method>
- <method name="SetHoliday" type="void" overloaded="no">
- <autodoc>SetHoliday(bool holiday)</autodoc>
- <paramlist>
- <param name="holiday" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="HasTextColour" type="bool" overloaded="no">
- <autodoc>HasTextColour() -> bool</autodoc>
- </method>
- <method name="HasBackgroundColour" type="bool" overloaded="no">
- <autodoc>HasBackgroundColour() -> bool</autodoc>
- </method>
- <method name="HasBorderColour" type="bool" overloaded="no">
- <autodoc>HasBorderColour() -> bool</autodoc>
- </method>
- <method name="HasFont" type="bool" overloaded="no">
- <autodoc>HasFont() -> bool</autodoc>
- </method>
- <method name="HasBorder" type="bool" overloaded="no">
- <autodoc>HasBorder() -> bool</autodoc>
- </method>
- <method name="IsHoliday" type="bool" overloaded="no">
- <autodoc>IsHoliday() -> bool</autodoc>
- </method>
- <method name="GetTextColour" type="wxColour" overloaded="no">
- <autodoc>GetTextColour() -> Colour</autodoc>
- </method>
- <method name="GetBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetBorderColour" type="wxColour" overloaded="no">
- <autodoc>GetBorderColour() -> Colour</autodoc>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no">
- <autodoc>GetBorder() -> int</autodoc>
- </method>
- </class>
- <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar">
- <baseclass name="wxCommandEvent"/>
- <constructor name="CalendarEvent" overloaded="no">
- <autodoc>__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent</autodoc>
- <paramlist>
- <param name="cal" type="p.wxCalendarCtrl" default=""/>
- <param name="type" type="wxEventType" default=""/>
- </paramlist>
- </constructor>
- <method name="GetDate" type="q(const).wxDateTime" overloaded="no">
- <autodoc>GetDate() -> DateTime</autodoc>
- </method>
- <method name="SetDate" type="void" overloaded="no">
- <autodoc>SetDate(DateTime date)</autodoc>
- <paramlist>
- <param name="date" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="SetWeekDay" type="void" overloaded="no">
- <autodoc>SetWeekDay(int wd)</autodoc>
- <paramlist>
- <param name="wd" type="q(const).wxDateTime::WeekDay" default=""/>
- </paramlist>
- </method>
- <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
- <autodoc>GetWeekDay() -> int</autodoc>
- </method>
- </class>
- <pythoncode>
-EVT_CALENDAR = wx.PyEventBinder( wxEVT_CALENDAR_DOUBLECLICKED, 1)
-EVT_CALENDAR_SEL_CHANGED = wx.PyEventBinder( wxEVT_CALENDAR_SEL_CHANGED, 1)
-EVT_CALENDAR_DAY = wx.PyEventBinder( wxEVT_CALENDAR_DAY_CHANGED, 1)
-EVT_CALENDAR_MONTH = wx.PyEventBinder( wxEVT_CALENDAR_MONTH_CHANGED, 1)
-EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1)
-EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1)
-</pythoncode>
- <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar">
- <baseclass name="wxControl"/>
- <constructor name="CalendarCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id, DateTime date=wxDefaultDateTime,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
- String name=CalendarNameStr) -> CalendarCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="date" type="r.q(const).wxDateTime" default="wxDefaultDateTime"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/>
- <param name="name" type="r.q(const).wxString" default="wxPyCalendarNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreCalendarCtrl" overloaded="no">
- <autodoc>PreCalendarCtrl() -> CalendarCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, DateTime date=wxDefaultDateTime,
- Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
- String name=CalendarNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="date" type="r.q(const).wxDateTime" default="wxDefaultDateTime"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/>
- <param name="name" type="r.q(const).wxString" default="wxPyCalendarNameStr"/>
- </paramlist>
- </method>
- <method name="SetDate" type="void" overloaded="no">
- <autodoc>SetDate(DateTime date)</autodoc>
- <paramlist>
- <param name="date" type="r.q(const).wxDateTime" default=""/>
- </paramlist>
- </method>
- <method name="GetDate" type="q(const).wxDateTime" overloaded="no">
- <autodoc>GetDate() -> DateTime</autodoc>
- </method>
- <method name="SetLowerDateLimit" type="bool" overloaded="no">
- <autodoc>SetLowerDateLimit(DateTime date=wxDefaultDateTime) -> bool</autodoc>
- <paramlist>
- <param name="date" type="r.q(const).wxDateTime" default="wxDefaultDateTime"/>
- </paramlist>
- </method>
- <method name="GetLowerDateLimit" type="q(const).wxDateTime" overloaded="no">
- <autodoc>GetLowerDateLimit() -> DateTime</autodoc>
- </method>
- <method name="SetUpperDateLimit" type="bool" overloaded="no">
- <autodoc>SetUpperDateLimit(DateTime date=wxDefaultDateTime) -> bool</autodoc>
- <paramlist>
- <param name="date" type="r.q(const).wxDateTime" default="wxDefaultDateTime"/>
- </paramlist>
- </method>
- <method name="GetUpperDateLimit" type="q(const).wxDateTime" overloaded="no">
- <autodoc>GetUpperDateLimit() -> DateTime</autodoc>
- </method>
- <method name="SetDateRange" type="bool" overloaded="no">
- <autodoc>SetDateRange(DateTime lowerdate=wxDefaultDateTime, DateTime upperdate=wxDefaultDateTime) -> bool</autodoc>
- <paramlist>
- <param name="lowerdate" type="r.q(const).wxDateTime" default="wxDefaultDateTime"/>
- <param name="upperdate" type="r.q(const).wxDateTime" default="wxDefaultDateTime"/>
- </paramlist>
- </method>
- <method name="EnableYearChange" type="void" overloaded="no">
- <autodoc>EnableYearChange(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="EnableMonthChange" type="void" overloaded="no">
- <autodoc>EnableMonthChange(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="EnableHolidayDisplay" type="void" overloaded="no">
- <autodoc>EnableHolidayDisplay(bool display=True)</autodoc>
- <paramlist>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetHeaderColours" type="void" overloaded="no">
- <autodoc>SetHeaderColours(Colour colFg, Colour colBg)</autodoc>
- <paramlist>
- <param name="colFg" type="r.q(const).wxColour" default=""/>
- <param name="colBg" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetHeaderColourFg" type="wxColour" overloaded="no">
- <autodoc>GetHeaderColourFg() -> Colour</autodoc>
- </method>
- <method name="GetHeaderColourBg" type="wxColour" overloaded="no">
- <autodoc>GetHeaderColourBg() -> Colour</autodoc>
- </method>
- <method name="SetHighlightColours" type="void" overloaded="no">
- <autodoc>SetHighlightColours(Colour colFg, Colour colBg)</autodoc>
- <paramlist>
- <param name="colFg" type="r.q(const).wxColour" default=""/>
- <param name="colBg" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetHighlightColourFg" type="wxColour" overloaded="no">
- <autodoc>GetHighlightColourFg() -> Colour</autodoc>
- </method>
- <method name="GetHighlightColourBg" type="wxColour" overloaded="no">
- <autodoc>GetHighlightColourBg() -> Colour</autodoc>
- </method>
- <method name="SetHolidayColours" type="void" overloaded="no">
- <autodoc>SetHolidayColours(Colour colFg, Colour colBg)</autodoc>
- <paramlist>
- <param name="colFg" type="r.q(const).wxColour" default=""/>
- <param name="colBg" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetHolidayColourFg" type="wxColour" overloaded="no">
- <autodoc>GetHolidayColourFg() -> Colour</autodoc>
- </method>
- <method name="GetHolidayColourBg" type="wxColour" overloaded="no">
- <autodoc>GetHolidayColourBg() -> Colour</autodoc>
- </method>
- <method name="GetAttr" type="wxCalendarDateAttr" overloaded="no">
- <autodoc>GetAttr(size_t day) -> CalendarDateAttr</autodoc>
- <paramlist>
- <param name="day" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="SetAttr" type="void" overloaded="no">
- <autodoc>SetAttr(size_t day, CalendarDateAttr attr)</autodoc>
- <paramlist>
- <param name="day" type="size_t" default=""/>
- <param name="attr" type="p.wxCalendarDateAttr" default=""/>
- </paramlist>
- </method>
- <method name="SetHoliday" type="void" overloaded="no">
- <autodoc>SetHoliday(size_t day)</autodoc>
- <paramlist>
- <param name="day" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="ResetAttr" type="void" overloaded="no">
- <autodoc>ResetAttr(size_t day)</autodoc>
- <paramlist>
- <param name="day" type="size_t" default=""/>
- </paramlist>
- </method>
- <method name="HitTest" type="wxCalendarHitTestResult" overloaded="no">
- <autodoc>HitTest(Point pos, DateTime date=None, int wd=None) -> int</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- <param name="date" type="p.wxDateTime" default="NULL"/>
- <param name="wd" type="p.wxDateTime::WeekDay" default="NULL"/>
- </paramlist>
- </method>
- <method name="Enable" type="bool" overloaded="no">
- <autodoc>Enable(bool enable=True) -> bool</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Show" type="bool" overloaded="no">
- <autodoc>Show(bool show=True) -> bool</autodoc>
- <paramlist>
- <param name="show" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetMonthControl" type="wxControl" overloaded="no">
- <autodoc>GetMonthControl() -> Control</autodoc>
- </method>
- <method name="GetYearControl" type="wxControl" overloaded="no">
- <autodoc>GetYearControl() -> Control</autodoc>
- </method>
- </class>
-</module><module name="grid">
- <import name="windows"/>
- <pythoncode> wx = core </pythoncode>
- <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid">
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetParameters" type="void" overloaded="no">
- <autodoc>SetParameters(String params)</autodoc>
- <paramlist>
- <param name="params" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="IncRef" type="void" overloaded="no">
- <autodoc>IncRef()</autodoc>
- </method>
- <method name="DecRef" type="void" overloaded="no">
- <autodoc>DecRef()</autodoc>
- </method>
- <method name="Draw" type="void" overloaded="no">
- <autodoc>Draw(Grid grid, GridCellAttr attr, DC dc, Rect rect, int row,
- int col, bool isSelected)</autodoc>
- <paramlist>
- <param name="grid" type="r.wxGrid" default=""/>
- <param name="attr" type="r.wxGridCellAttr" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="isSelected" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetBestSize" type="wxSize" overloaded="no">
- <autodoc>GetBestSize(Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size</autodoc>
- <paramlist>
- <param name="grid" type="r.wxGrid" default=""/>
- <param name="attr" type="r.wxGridCellAttr" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Clone" type="wxGridCellRenderer" overloaded="no">
- <autodoc>Clone() -> GridCellRenderer</autodoc>
- </method>
- </class>
- <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid">
- <baseclass name="wxGridCellRenderer"/>
- <constructor name="PyGridCellRenderer" overloaded="no">
- <autodoc>__init__() -> PyGridCellRenderer</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_SetParameters" type="void" overloaded="no">
- <autodoc>base_SetParameters(String params)</autodoc>
- <paramlist>
- <param name="params" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid">
- <baseclass name="wxGridCellRenderer"/>
- <constructor name="GridCellStringRenderer" overloaded="no">
- <autodoc>__init__() -> GridCellStringRenderer</autodoc>
- </constructor>
- </class>
- <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid">
- <baseclass name="wxGridCellStringRenderer"/>
- <constructor name="GridCellNumberRenderer" overloaded="no">
- <autodoc>__init__() -> GridCellNumberRenderer</autodoc>
- </constructor>
- </class>
- <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid">
- <baseclass name="wxGridCellStringRenderer"/>
- <constructor name="GridCellFloatRenderer" overloaded="no">
- <autodoc>__init__(int width=-1, int precision=-1) -> GridCellFloatRenderer</autodoc>
- <paramlist>
- <param name="width" type="int" default="-1"/>
- <param name="precision" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPrecision" type="int" overloaded="no">
- <autodoc>GetPrecision() -> int</autodoc>
- </method>
- <method name="SetPrecision" type="void" overloaded="no">
- <autodoc>SetPrecision(int precision)</autodoc>
- <paramlist>
- <param name="precision" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid">
- <baseclass name="wxGridCellRenderer"/>
- <constructor name="GridCellBoolRenderer" overloaded="no">
- <autodoc>__init__() -> GridCellBoolRenderer</autodoc>
- </constructor>
- </class>
- <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid">
- <baseclass name="wxGridCellStringRenderer"/>
- <constructor name="GridCellDateTimeRenderer" overloaded="no">
- <autodoc>__init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer</autodoc>
- <paramlist>
- <param name="outformat" type="wxString" default="wxPyDateTimeFormatStr"/>
- <param name="informat" type="wxString" default="wxPyDateTimeFormatStr"/>
- </paramlist>
- </constructor>
- </class>
- <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid">
- <baseclass name="wxGridCellStringRenderer"/>
- <constructor name="GridCellEnumRenderer" overloaded="no">
- <autodoc>__init__(String choices=EmptyString) -> GridCellEnumRenderer</autodoc>
- <paramlist>
- <param name="choices" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- </class>
- <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid">
- <baseclass name="wxGridCellStringRenderer"/>
- <constructor name="GridCellAutoWrapStringRenderer" overloaded="no">
- <autodoc>__init__() -> GridCellAutoWrapStringRenderer</autodoc>
- </constructor>
- </class>
- <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid">
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="IsCreated" type="bool" overloaded="no">
- <autodoc>IsCreated() -> bool</autodoc>
- </method>
- <method name="GetControl" type="wxControl" overloaded="no">
- <autodoc>GetControl() -> Control</autodoc>
- </method>
- <method name="SetControl" type="void" overloaded="no">
- <autodoc>SetControl(Control control)</autodoc>
- <paramlist>
- <param name="control" type="p.wxControl" default=""/>
- </paramlist>
- </method>
- <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no">
- <autodoc>GetCellAttr() -> GridCellAttr</autodoc>
- </method>
- <method name="SetCellAttr" type="void" overloaded="no">
- <autodoc>SetCellAttr(GridCellAttr attr)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="SetParameters" type="void" overloaded="no">
- <autodoc>SetParameters(String params)</autodoc>
- <paramlist>
- <param name="params" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="IncRef" type="void" overloaded="no">
- <autodoc>IncRef()</autodoc>
- </method>
- <method name="DecRef" type="void" overloaded="no">
- <autodoc>DecRef()</autodoc>
- </method>
- <method name="Create" type="void" overloaded="no">
- <autodoc>Create(Window parent, int id, EvtHandler evtHandler)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="evtHandler" type="p.wxEvtHandler" default=""/>
- </paramlist>
- </method>
- <method name="BeginEdit" type="void" overloaded="no">
- <autodoc>BeginEdit(int row, int col, Grid grid)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="grid" type="p.wxGrid" default=""/>
- </paramlist>
- </method>
- <method name="EndEdit" type="bool" overloaded="no">
- <autodoc>EndEdit(int row, int col, Grid grid) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="grid" type="p.wxGrid" default=""/>
- </paramlist>
- </method>
- <method name="Reset" type="void" overloaded="no">
- <autodoc>Reset()</autodoc>
- </method>
- <method name="Clone" type="wxGridCellEditor" overloaded="no">
- <autodoc>Clone() -> GridCellEditor</autodoc>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="Show" type="void" overloaded="no">
- <autodoc>Show(bool show, GridCellAttr attr=None)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- <param name="attr" type="p.wxGridCellAttr" default="NULL"/>
- </paramlist>
- </method>
- <method name="PaintBackground" type="void" overloaded="no">
- <autodoc>PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc>
- <paramlist>
- <param name="rectCell" type="r.q(const).wxRect" default=""/>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="IsAcceptedKey" type="bool" overloaded="no">
- <autodoc>IsAcceptedKey(KeyEvent event) -> bool</autodoc>
- <paramlist>
- <param name="event" type="r.wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="StartingKey" type="void" overloaded="no">
- <autodoc>StartingKey(KeyEvent event)</autodoc>
- <paramlist>
- <param name="event" type="r.wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="StartingClick" type="void" overloaded="no">
- <autodoc>StartingClick()</autodoc>
- </method>
- <method name="HandleReturn" type="void" overloaded="no">
- <autodoc>HandleReturn(KeyEvent event)</autodoc>
- <paramlist>
- <param name="event" type="r.wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- </method>
- </class>
- <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid">
- <baseclass name="wxGridCellEditor"/>
- <constructor name="PyGridCellEditor" overloaded="no">
- <autodoc>__init__() -> PyGridCellEditor</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_SetSize" type="void" overloaded="no">
- <autodoc>base_SetSize(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="base_Show" type="void" overloaded="no">
- <autodoc>base_Show(bool show, GridCellAttr attr=None)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- <param name="attr" type="p.wxGridCellAttr" default="NULL"/>
- </paramlist>
- </method>
- <method name="base_PaintBackground" type="void" overloaded="no">
- <autodoc>base_PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc>
- <paramlist>
- <param name="rectCell" type="r.q(const).wxRect" default=""/>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="base_IsAcceptedKey" type="bool" overloaded="no">
- <autodoc>base_IsAcceptedKey(KeyEvent event) -> bool</autodoc>
- <paramlist>
- <param name="event" type="r.wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="base_StartingKey" type="void" overloaded="no">
- <autodoc>base_StartingKey(KeyEvent event)</autodoc>
- <paramlist>
- <param name="event" type="r.wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="base_StartingClick" type="void" overloaded="no">
- <autodoc>base_StartingClick()</autodoc>
- </method>
- <method name="base_HandleReturn" type="void" overloaded="no">
- <autodoc>base_HandleReturn(KeyEvent event)</autodoc>
- <paramlist>
- <param name="event" type="r.wxKeyEvent" default=""/>
- </paramlist>
- </method>
- <method name="base_Destroy" type="void" overloaded="no">
- <autodoc>base_Destroy()</autodoc>
- </method>
- <method name="base_SetParameters" type="void" overloaded="no">
- <autodoc>base_SetParameters(String params)</autodoc>
- <paramlist>
- <param name="params" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid">
- <baseclass name="wxGridCellEditor"/>
- <constructor name="GridCellTextEditor" overloaded="no">
- <autodoc>__init__() -> GridCellTextEditor</autodoc>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- </class>
- <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid">
- <baseclass name="wxGridCellTextEditor"/>
- <constructor name="GridCellNumberEditor" overloaded="no">
- <autodoc>__init__(int min=-1, int max=-1) -> GridCellNumberEditor</autodoc>
- <paramlist>
- <param name="min" type="int" default="-1"/>
- <param name="max" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- </class>
- <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid">
- <baseclass name="wxGridCellTextEditor"/>
- <constructor name="GridCellFloatEditor" overloaded="no">
- <autodoc>__init__() -> GridCellFloatEditor</autodoc>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- </class>
- <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid">
- <baseclass name="wxGridCellEditor"/>
- <constructor name="GridCellBoolEditor" overloaded="no">
- <autodoc>__init__() -> GridCellBoolEditor</autodoc>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- </class>
- <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid">
- <baseclass name="wxGridCellEditor"/>
- <constructor name="GridCellChoiceEditor" overloaded="no">
- <autodoc>__init__(int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor</autodoc>
- <paramlist>
- <param name="choices" type="int" default="0"/>
- <param name="choices_array" type="p.q(const).wxString" default="NULL"/>
- <param name="allowOthers" type="bool" default="False"/>
- </paramlist>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- </class>
- <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid">
- <baseclass name="wxGridCellChoiceEditor"/>
- <constructor name="GridCellEnumEditor" overloaded="no">
- <autodoc>__init__(String choices=EmptyString) -> GridCellEnumEditor</autodoc>
- <paramlist>
- <param name="choices" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- </class>
- <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid">
- <baseclass name="wxGridCellTextEditor"/>
- <constructor name="GridCellAutoWrapStringEditor" overloaded="no">
- <autodoc>__init__() -> GridCellAutoWrapStringEditor</autodoc>
- </constructor>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- </class>
- <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid">
- <constructor name="GridCellAttr" overloaded="no">
- <autodoc>__init__(GridCellAttr attrDefault=None) -> GridCellAttr</autodoc>
- <paramlist>
- <param name="attrDefault" type="p.wxGridCellAttr" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Clone" type="wxGridCellAttr" overloaded="no">
- <autodoc>Clone() -> GridCellAttr</autodoc>
- </method>
- <method name="MergeWith" type="void" overloaded="no">
- <autodoc>MergeWith(GridCellAttr mergefrom)</autodoc>
- <paramlist>
- <param name="mergefrom" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="IncRef" type="void" overloaded="no">
- <autodoc>IncRef()</autodoc>
- </method>
- <method name="DecRef" type="void" overloaded="no">
- <autodoc>DecRef()</autodoc>
- </method>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(Colour colText)</autodoc>
- <paramlist>
- <param name="colText" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="void" overloaded="no">
- <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
- <paramlist>
- <param name="colBack" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetAlignment" type="void" overloaded="no">
- <autodoc>SetAlignment(int hAlign, int vAlign)</autodoc>
- <paramlist>
- <param name="hAlign" type="int" default=""/>
- <param name="vAlign" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(int num_rows, int num_cols)</autodoc>
- <paramlist>
- <param name="num_rows" type="int" default=""/>
- <param name="num_cols" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetOverflow" type="void" overloaded="no">
- <autodoc>SetOverflow(bool allow=True)</autodoc>
- <paramlist>
- <param name="allow" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetReadOnly" type="void" overloaded="no">
- <autodoc>SetReadOnly(bool isReadOnly=True)</autodoc>
- <paramlist>
- <param name="isReadOnly" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetRenderer" type="void" overloaded="no">
- <autodoc>SetRenderer(GridCellRenderer renderer)</autodoc>
- <paramlist>
- <param name="renderer" type="p.wxGridCellRenderer" default=""/>
- </paramlist>
- </method>
- <method name="SetEditor" type="void" overloaded="no">
- <autodoc>SetEditor(GridCellEditor editor)</autodoc>
- <paramlist>
- <param name="editor" type="p.wxGridCellEditor" default=""/>
- </paramlist>
- </method>
- <method name="SetKind" type="void" overloaded="no">
- <autodoc>SetKind(int kind)</autodoc>
- <paramlist>
- <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
- </paramlist>
- </method>
- <method name="HasTextColour" type="bool" overloaded="no">
- <autodoc>HasTextColour() -> bool</autodoc>
- </method>
- <method name="HasBackgroundColour" type="bool" overloaded="no">
- <autodoc>HasBackgroundColour() -> bool</autodoc>
- </method>
- <method name="HasFont" type="bool" overloaded="no">
- <autodoc>HasFont() -> bool</autodoc>
- </method>
- <method name="HasAlignment" type="bool" overloaded="no">
- <autodoc>HasAlignment() -> bool</autodoc>
- </method>
- <method name="HasRenderer" type="bool" overloaded="no">
- <autodoc>HasRenderer() -> bool</autodoc>
- </method>
- <method name="HasEditor" type="bool" overloaded="no">
- <autodoc>HasEditor() -> bool</autodoc>
- </method>
- <method name="HasReadWriteMode" type="bool" overloaded="no">
- <autodoc>HasReadWriteMode() -> bool</autodoc>
- </method>
- <method name="HasOverflowMode" type="bool" overloaded="no">
- <autodoc>HasOverflowMode() -> bool</autodoc>
- </method>
- <method name="GetTextColour" type="wxColour" overloaded="no">
- <autodoc>GetTextColour() -> Colour</autodoc>
- </method>
- <method name="GetBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <method name="GetAlignment" type="void" overloaded="no">
- <autodoc>GetAlignment() -> (hAlign, vAlign)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="void" overloaded="no">
- <autodoc>GetSize() -> (num_rows, num_cols)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetOverflow" type="bool" overloaded="no">
- <autodoc>GetOverflow() -> bool</autodoc>
- </method>
- <method name="GetRenderer" type="wxGridCellRenderer" overloaded="no">
- <autodoc>GetRenderer(Grid grid, int row, int col) -> GridCellRenderer</autodoc>
- <paramlist>
- <param name="grid" type="p.wxGrid" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetEditor" type="wxGridCellEditor" overloaded="no">
- <autodoc>GetEditor(Grid grid, int row, int col) -> GridCellEditor</autodoc>
- <paramlist>
- <param name="grid" type="p.wxGrid" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsReadOnly" type="bool" overloaded="no">
- <autodoc>IsReadOnly() -> bool</autodoc>
- </method>
- <method name="SetDefAttr" type="void" overloaded="no">
- <autodoc>SetDefAttr(GridCellAttr defAttr)</autodoc>
- <paramlist>
- <param name="defAttr" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid">
- <constructor name="GridCellAttrProvider" overloaded="no">
- <autodoc>__init__() -> GridCellAttrProvider</autodoc>
- </constructor>
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetAttr" type="wxGridCellAttr" overloaded="no">
- <autodoc>GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
- </paramlist>
- </method>
- <method name="SetAttr" type="void" overloaded="no">
- <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRowAttr" type="void" overloaded="no">
- <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColAttr" type="void" overloaded="no">
- <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="UpdateAttrRows" type="void" overloaded="no">
- <autodoc>UpdateAttrRows(size_t pos, int numRows)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="numRows" type="int" default=""/>
- </paramlist>
- </method>
- <method name="UpdateAttrCols" type="void" overloaded="no">
- <autodoc>UpdateAttrCols(size_t pos, int numCols)</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default=""/>
- <param name="numCols" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid">
- <baseclass name="wxGridCellAttrProvider"/>
- <constructor name="PyGridCellAttrProvider" overloaded="no">
- <autodoc>__init__() -> PyGridCellAttrProvider</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_GetAttr" type="wxGridCellAttr" overloaded="no">
- <autodoc>base_GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
- </paramlist>
- </method>
- <method name="base_SetAttr" type="void" overloaded="no">
- <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_SetRowAttr" type="void" overloaded="no">
- <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_SetColAttr" type="void" overloaded="no">
- <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="GridTableBase" oldname="wxGridTableBase" module="grid">
- <baseclass name="wxObject"/>
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetAttrProvider" type="void" overloaded="no">
- <autodoc>SetAttrProvider(GridCellAttrProvider attrProvider)</autodoc>
- <paramlist>
- <param name="attrProvider" type="p.wxGridCellAttrProvider" default=""/>
- </paramlist>
- </method>
- <method name="GetAttrProvider" type="wxGridCellAttrProvider" overloaded="no">
- <autodoc>GetAttrProvider() -> GridCellAttrProvider</autodoc>
- </method>
- <method name="SetView" type="void" overloaded="no">
- <autodoc>SetView(Grid grid)</autodoc>
- <paramlist>
- <param name="grid" type="p.wxGrid" default=""/>
- </paramlist>
- </method>
- <method name="GetView" type="wxGrid" overloaded="no">
- <autodoc>GetView() -> Grid</autodoc>
- </method>
- <method name="GetNumberRows" type="int" overloaded="no">
- <autodoc>GetNumberRows() -> int</autodoc>
- </method>
- <method name="GetNumberCols" type="int" overloaded="no">
- <autodoc>GetNumberCols() -> int</autodoc>
- </method>
- <method name="IsEmptyCell" type="bool" overloaded="no">
- <autodoc>IsEmptyCell(int row, int col) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue(int row, int col) -> String</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(int row, int col, String value)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTypeName" type="wxString" overloaded="no">
- <autodoc>GetTypeName(int row, int col) -> String</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CanGetValueAs" type="bool" overloaded="no">
- <autodoc>CanGetValueAs(int row, int col, String typeName) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="CanSetValueAs" type="bool" overloaded="no">
- <autodoc>CanSetValueAs(int row, int col, String typeName) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetValueAsLong" type="long" overloaded="no">
- <autodoc>GetValueAsLong(int row, int col) -> long</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetValueAsDouble" type="double" overloaded="no">
- <autodoc>GetValueAsDouble(int row, int col) -> double</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetValueAsBool" type="bool" overloaded="no">
- <autodoc>GetValueAsBool(int row, int col) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetValueAsLong" type="void" overloaded="no">
- <autodoc>SetValueAsLong(int row, int col, long value)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="value" type="long" default=""/>
- </paramlist>
- </method>
- <method name="SetValueAsDouble" type="void" overloaded="no">
- <autodoc>SetValueAsDouble(int row, int col, double value)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="value" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetValueAsBool" type="void" overloaded="no">
- <autodoc>SetValueAsBool(int row, int col, bool value)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="value" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="InsertRows" type="bool" overloaded="no">
- <autodoc>InsertRows(size_t pos=0, size_t numRows=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numRows" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="AppendRows" type="bool" overloaded="no">
- <autodoc>AppendRows(size_t numRows=1) -> bool</autodoc>
- <paramlist>
- <param name="numRows" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="DeleteRows" type="bool" overloaded="no">
- <autodoc>DeleteRows(size_t pos=0, size_t numRows=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numRows" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="InsertCols" type="bool" overloaded="no">
- <autodoc>InsertCols(size_t pos=0, size_t numCols=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numCols" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="AppendCols" type="bool" overloaded="no">
- <autodoc>AppendCols(size_t numCols=1) -> bool</autodoc>
- <paramlist>
- <param name="numCols" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="DeleteCols" type="bool" overloaded="no">
- <autodoc>DeleteCols(size_t pos=0, size_t numCols=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numCols" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="GetRowLabelValue" type="wxString" overloaded="no">
- <autodoc>GetRowLabelValue(int row) -> String</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetColLabelValue" type="wxString" overloaded="no">
- <autodoc>GetColLabelValue(int col) -> String</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRowLabelValue" type="void" overloaded="no">
- <autodoc>SetRowLabelValue(int row, String value)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetColLabelValue" type="void" overloaded="no">
- <autodoc>SetColLabelValue(int col, String value)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="CanHaveAttributes" type="bool" overloaded="no">
- <autodoc>CanHaveAttributes() -> bool</autodoc>
- </method>
- <method name="GetAttr" type="wxGridCellAttr" overloaded="no">
- <autodoc>GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
- </paramlist>
- </method>
- <method name="SetAttr" type="void" overloaded="no">
- <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRowAttr" type="void" overloaded="no">
- <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColAttr" type="void" overloaded="no">
- <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid">
- <baseclass name="wxGridTableBase"/>
- <constructor name="PyGridTableBase" overloaded="no">
- <autodoc>__init__() -> PyGridTableBase</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Destroy" type="void" overloaded="no">
- <autodoc>Destroy()</autodoc>
- <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
- </method>
- <method name="base_GetTypeName" type="wxString" overloaded="no">
- <autodoc>base_GetTypeName(int row, int col) -> String</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_CanGetValueAs" type="bool" overloaded="no">
- <autodoc>base_CanGetValueAs(int row, int col, String typeName) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="base_CanSetValueAs" type="bool" overloaded="no">
- <autodoc>base_CanSetValueAs(int row, int col, String typeName) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="base_Clear" type="void" overloaded="no">
- <autodoc>base_Clear()</autodoc>
- </method>
- <method name="base_InsertRows" type="bool" overloaded="no">
- <autodoc>base_InsertRows(size_t pos=0, size_t numRows=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numRows" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="base_AppendRows" type="bool" overloaded="no">
- <autodoc>base_AppendRows(size_t numRows=1) -> bool</autodoc>
- <paramlist>
- <param name="numRows" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="base_DeleteRows" type="bool" overloaded="no">
- <autodoc>base_DeleteRows(size_t pos=0, size_t numRows=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numRows" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="base_InsertCols" type="bool" overloaded="no">
- <autodoc>base_InsertCols(size_t pos=0, size_t numCols=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numCols" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="base_AppendCols" type="bool" overloaded="no">
- <autodoc>base_AppendCols(size_t numCols=1) -> bool</autodoc>
- <paramlist>
- <param name="numCols" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="base_DeleteCols" type="bool" overloaded="no">
- <autodoc>base_DeleteCols(size_t pos=0, size_t numCols=1) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="size_t" default="0"/>
- <param name="numCols" type="size_t" default="1"/>
- </paramlist>
- </method>
- <method name="base_GetRowLabelValue" type="wxString" overloaded="no">
- <autodoc>base_GetRowLabelValue(int row) -> String</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_GetColLabelValue" type="wxString" overloaded="no">
- <autodoc>base_GetColLabelValue(int col) -> String</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_SetRowLabelValue" type="void" overloaded="no">
- <autodoc>base_SetRowLabelValue(int row, String value)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="base_SetColLabelValue" type="void" overloaded="no">
- <autodoc>base_SetColLabelValue(int col, String value)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="base_CanHaveAttributes" type="bool" overloaded="no">
- <autodoc>base_CanHaveAttributes() -> bool</autodoc>
- </method>
- <method name="base_GetAttr" type="wxGridCellAttr" overloaded="no">
- <autodoc>base_GetAttr(int row, int col, int kind) -> GridCellAttr</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
- </paramlist>
- </method>
- <method name="base_SetAttr" type="void" overloaded="no">
- <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_SetRowAttr" type="void" overloaded="no">
- <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_SetColAttr" type="void" overloaded="no">
- <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc>
- <paramlist>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="GridStringTable" oldname="wxGridStringTable" module="grid">
- <baseclass name="wxGridTableBase"/>
- <constructor name="GridStringTable" overloaded="no">
- <autodoc>__init__(int numRows=0, int numCols=0) -> GridStringTable</autodoc>
- <paramlist>
- <param name="numRows" type="int" default="0"/>
- <param name="numCols" type="int" default="0"/>
- </paramlist>
- </constructor>
- </class>
- <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid">
- <constructor name="GridTableMessage" overloaded="no">
- <autodoc>__init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage</autodoc>
- <paramlist>
- <param name="table" type="p.wxGridTableBase" default=""/>
- <param name="id" type="int" default=""/>
- <param name="comInt1" type="int" default="-1"/>
- <param name="comInt2" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <destructor name="~wxGridTableMessage" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetTableObject" type="void" overloaded="no">
- <autodoc>SetTableObject(GridTableBase table)</autodoc>
- <paramlist>
- <param name="table" type="p.wxGridTableBase" default=""/>
- </paramlist>
- </method>
- <method name="GetTableObject" type="wxGridTableBase" overloaded="no">
- <autodoc>GetTableObject() -> GridTableBase</autodoc>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(int id)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetId" type="int" overloaded="no">
- <autodoc>GetId() -> int</autodoc>
- </method>
- <method name="SetCommandInt" type="void" overloaded="no">
- <autodoc>SetCommandInt(int comInt1)</autodoc>
- <paramlist>
- <param name="comInt1" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCommandInt" type="int" overloaded="no">
- <autodoc>GetCommandInt() -> int</autodoc>
- </method>
- <method name="SetCommandInt2" type="void" overloaded="no">
- <autodoc>SetCommandInt2(int comInt2)</autodoc>
- <paramlist>
- <param name="comInt2" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCommandInt2" type="int" overloaded="no">
- <autodoc>GetCommandInt2() -> int</autodoc>
- </method>
- </class>
- <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid">
- <constructor name="GridCellCoords" overloaded="no">
- <autodoc>__init__(int r=-1, int c=-1) -> GridCellCoords</autodoc>
- <paramlist>
- <param name="r" type="int" default="-1"/>
- <param name="c" type="int" default="-1"/>
- </paramlist>
- </constructor>
- <destructor name="~wxGridCellCoords" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="GetRow" type="int" overloaded="no">
- <autodoc>GetRow() -> int</autodoc>
- </method>
- <method name="SetRow" type="void" overloaded="no">
- <autodoc>SetRow(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCol" type="int" overloaded="no">
- <autodoc>GetCol() -> int</autodoc>
- </method>
- <method name="SetCol" type="void" overloaded="no">
- <autodoc>SetCol(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(int row, int col)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="__eq__" type="bool" overloaded="no">
- <autodoc>__eq__(GridCellCoords other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxGridCellCoords" default=""/>
- </paramlist>
- </method>
- <method name="__ne__" type="bool" overloaded="no">
- <autodoc>__ne__(GridCellCoords other) -> bool</autodoc>
- <paramlist>
- <param name="other" type="r.q(const).wxGridCellCoords" default=""/>
- </paramlist>
- </method>
- <method name="asTuple" type="PyObject" overloaded="no">
- <autodoc>asTuple() -> PyObject</autodoc>
- </method>
- </class>
- <class name="Grid" oldname="wxGrid" module="grid">
- <baseclass name="wxScrolledWindow"/>
- <constructor name="Grid" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=WANTS_CHARS,
- String name=PanelNameStr) -> Grid</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxWANTS_CHARS"/>
- <param name="name" type="r.q(const).wxString" default="wxPyPanelNameStr"/>
- </paramlist>
- </constructor>
- <method name="CreateGrid" type="bool" overloaded="no">
- <autodoc>CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc>
- <paramlist>
- <param name="numRows" type="int" default=""/>
- <param name="numCols" type="int" default=""/>
- <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/>
- </paramlist>
- </method>
- <method name="SetSelectionMode" type="void" overloaded="no">
- <autodoc>SetSelectionMode(WXGRIDSELECTIONMODES selmode)</autodoc>
- <paramlist>
- <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no">
- <autodoc>GetSelectionMode() -> WXGRIDSELECTIONMODES</autodoc>
- </method>
- <method name="GetNumberRows" type="int" overloaded="no">
- <autodoc>GetNumberRows() -> int</autodoc>
- </method>
- <method name="GetNumberCols" type="int" overloaded="no">
- <autodoc>GetNumberCols() -> int</autodoc>
- </method>
- <method name="ProcessTableMessage" type="bool" overloaded="no">
- <autodoc>ProcessTableMessage(GridTableMessage ??) -> bool</autodoc>
- <paramlist>
- <param name="" type="r.wxGridTableMessage" default=""/>
- </paramlist>
- </method>
- <method name="GetTable" type="wxGridTableBase" overloaded="no">
- <autodoc>GetTable() -> GridTableBase</autodoc>
- </method>
- <method name="SetTable" type="bool" overloaded="no">
- <autodoc>SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc>
- <paramlist>
- <param name="table" type="p.wxGridTableBase" default=""/>
- <param name="takeOwnership" type="bool" default="False"/>
- <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/>
- </paramlist>
- </method>
- <method name="ClearGrid" type="void" overloaded="no">
- <autodoc>ClearGrid()</autodoc>
- </method>
- <method name="InsertRows" type="bool" overloaded="no">
- <autodoc>InsertRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="int" default="0"/>
- <param name="numRows" type="int" default="1"/>
- <param name="updateLabels" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="AppendRows" type="bool" overloaded="no">
- <autodoc>AppendRows(int numRows=1, bool updateLabels=True) -> bool</autodoc>
- <paramlist>
- <param name="numRows" type="int" default="1"/>
- <param name="updateLabels" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DeleteRows" type="bool" overloaded="no">
- <autodoc>DeleteRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="int" default="0"/>
- <param name="numRows" type="int" default="1"/>
- <param name="updateLabels" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="InsertCols" type="bool" overloaded="no">
- <autodoc>InsertCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="int" default="0"/>
- <param name="numCols" type="int" default="1"/>
- <param name="updateLabels" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="AppendCols" type="bool" overloaded="no">
- <autodoc>AppendCols(int numCols=1, bool updateLabels=True) -> bool</autodoc>
- <paramlist>
- <param name="numCols" type="int" default="1"/>
- <param name="updateLabels" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DeleteCols" type="bool" overloaded="no">
- <autodoc>DeleteCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc>
- <paramlist>
- <param name="pos" type="int" default="0"/>
- <param name="numCols" type="int" default="1"/>
- <param name="updateLabels" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DrawCellHighlight" type="void" overloaded="no">
- <autodoc>DrawCellHighlight(DC dc, GridCellAttr attr)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="attr" type="p.q(const).wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="DrawTextRectangle" type="void" overloaded="no">
- <autodoc>DrawTextRectangle(DC dc, String ??, Rect ??, int horizontalAlignment=LEFT,
- int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="" type="r.q(const).wxString" default=""/>
- <param name="" type="r.q(const).wxRect" default=""/>
- <param name="horizontalAlignment" type="int" default="wxLEFT"/>
- <param name="verticalAlignment" type="int" default="wxTOP"/>
- <param name="textOrientation" type="int" default="wxHORIZONTAL"/>
- </paramlist>
- </method>
- <method name="GetTextBoxSize" type="void" overloaded="no">
- <autodoc>GetTextBoxSize(DC dc, list lines) -> (width, height)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="lines" type="r.wxArrayString" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- <param name="OUTPUT" type="p.long" default=""/>
- </paramlist>
- </method>
- <method name="BeginBatch" type="void" overloaded="no">
- <autodoc>BeginBatch()</autodoc>
- </method>
- <method name="EndBatch" type="void" overloaded="no">
- <autodoc>EndBatch()</autodoc>
- </method>
- <method name="GetBatchCount" type="int" overloaded="no">
- <autodoc>GetBatchCount() -> int</autodoc>
- </method>
- <method name="ForceRefresh" type="void" overloaded="no">
- <autodoc>ForceRefresh()</autodoc>
- </method>
- <method name="Refresh" type="void" overloaded="no">
- <autodoc>Refresh(bool eraseb=True, Rect rect=None)</autodoc>
- <paramlist>
- <param name="eraseb" type="bool" default="True"/>
- <param name="rect" type="p.q(const).wxRect" default="NULL"/>
- </paramlist>
- </method>
- <method name="IsEditable" type="bool" overloaded="no">
- <autodoc>IsEditable() -> bool</autodoc>
- </method>
- <method name="EnableEditing" type="void" overloaded="no">
- <autodoc>EnableEditing(bool edit)</autodoc>
- <paramlist>
- <param name="edit" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="EnableCellEditControl" type="void" overloaded="no">
- <autodoc>EnableCellEditControl(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DisableCellEditControl" type="void" overloaded="no">
- <autodoc>DisableCellEditControl()</autodoc>
- </method>
- <method name="CanEnableCellControl" type="bool" overloaded="no">
- <autodoc>CanEnableCellControl() -> bool</autodoc>
- </method>
- <method name="IsCellEditControlEnabled" type="bool" overloaded="no">
- <autodoc>IsCellEditControlEnabled() -> bool</autodoc>
- </method>
- <method name="IsCellEditControlShown" type="bool" overloaded="no">
- <autodoc>IsCellEditControlShown() -> bool</autodoc>
- </method>
- <method name="IsCurrentCellReadOnly" type="bool" overloaded="no">
- <autodoc>IsCurrentCellReadOnly() -> bool</autodoc>
- </method>
- <method name="ShowCellEditControl" type="void" overloaded="no">
- <autodoc>ShowCellEditControl()</autodoc>
- </method>
- <method name="HideCellEditControl" type="void" overloaded="no">
- <autodoc>HideCellEditControl()</autodoc>
- </method>
- <method name="SaveEditControlValue" type="void" overloaded="no">
- <autodoc>SaveEditControlValue()</autodoc>
- </method>
- <method name="XYToCell" type="wxGridCellCoords" overloaded="no">
- <autodoc>XYToCell(int x, int y) -> GridCellCoords</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="YToRow" type="int" overloaded="no">
- <autodoc>YToRow(int y) -> int</autodoc>
- <paramlist>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="XToCol" type="int" overloaded="no">
- <autodoc>XToCol(int x) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="YToEdgeOfRow" type="int" overloaded="no">
- <autodoc>YToEdgeOfRow(int y) -> int</autodoc>
- <paramlist>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="XToEdgeOfCol" type="int" overloaded="no">
- <autodoc>XToEdgeOfCol(int x) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CellToRect" type="wxRect" overloaded="no">
- <autodoc>CellToRect(int row, int col) -> Rect</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetGridCursorRow" type="int" overloaded="no">
- <autodoc>GetGridCursorRow() -> int</autodoc>
- </method>
- <method name="GetGridCursorCol" type="int" overloaded="no">
- <autodoc>GetGridCursorCol() -> int</autodoc>
- </method>
- <method name="IsVisible" type="bool" overloaded="no">
- <autodoc>IsVisible(int row, int col, bool wholeCellVisible=True) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="wholeCellVisible" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="MakeCellVisible" type="void" overloaded="no">
- <autodoc>MakeCellVisible(int row, int col)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetGridCursor" type="void" overloaded="no">
- <autodoc>SetGridCursor(int row, int col)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MoveCursorUp" type="bool" overloaded="no">
- <autodoc>MoveCursorUp(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="MoveCursorDown" type="bool" overloaded="no">
- <autodoc>MoveCursorDown(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="MoveCursorLeft" type="bool" overloaded="no">
- <autodoc>MoveCursorLeft(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="MoveCursorRight" type="bool" overloaded="no">
- <autodoc>MoveCursorRight(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="MovePageDown" type="bool" overloaded="no">
- <autodoc>MovePageDown() -> bool</autodoc>
- </method>
- <method name="MovePageUp" type="bool" overloaded="no">
- <autodoc>MovePageUp() -> bool</autodoc>
- </method>
- <method name="MoveCursorUpBlock" type="bool" overloaded="no">
- <autodoc>MoveCursorUpBlock(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="MoveCursorDownBlock" type="bool" overloaded="no">
- <autodoc>MoveCursorDownBlock(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="MoveCursorLeftBlock" type="bool" overloaded="no">
- <autodoc>MoveCursorLeftBlock(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="MoveCursorRightBlock" type="bool" overloaded="no">
- <autodoc>MoveCursorRightBlock(bool expandSelection) -> bool</autodoc>
- <paramlist>
- <param name="expandSelection" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultRowLabelSize" type="int" overloaded="no">
- <autodoc>GetDefaultRowLabelSize() -> int</autodoc>
- </method>
- <method name="GetRowLabelSize" type="int" overloaded="no">
- <autodoc>GetRowLabelSize() -> int</autodoc>
- </method>
- <method name="GetDefaultColLabelSize" type="int" overloaded="no">
- <autodoc>GetDefaultColLabelSize() -> int</autodoc>
- </method>
- <method name="GetColLabelSize" type="int" overloaded="no">
- <autodoc>GetColLabelSize() -> int</autodoc>
- </method>
- <method name="GetLabelBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetLabelBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetLabelTextColour" type="wxColour" overloaded="no">
- <autodoc>GetLabelTextColour() -> Colour</autodoc>
- </method>
- <method name="GetLabelFont" type="wxFont" overloaded="no">
- <autodoc>GetLabelFont() -> Font</autodoc>
- </method>
- <method name="GetRowLabelAlignment" type="void" overloaded="no">
- <autodoc>GetRowLabelAlignment() -> (horiz, vert)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetColLabelAlignment" type="void" overloaded="no">
- <autodoc>GetColLabelAlignment() -> (horiz, vert)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetColLabelTextOrientation" type="int" overloaded="no">
- <autodoc>GetColLabelTextOrientation() -> int</autodoc>
- </method>
- <method name="GetRowLabelValue" type="wxString" overloaded="no">
- <autodoc>GetRowLabelValue(int row) -> String</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetColLabelValue" type="wxString" overloaded="no">
- <autodoc>GetColLabelValue(int col) -> String</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetGridLineColour" type="wxColour" overloaded="no">
- <autodoc>GetGridLineColour() -> Colour</autodoc>
- </method>
- <method name="GetCellHighlightColour" type="wxColour" overloaded="no">
- <autodoc>GetCellHighlightColour() -> Colour</autodoc>
- </method>
- <method name="GetCellHighlightPenWidth" type="int" overloaded="no">
- <autodoc>GetCellHighlightPenWidth() -> int</autodoc>
- </method>
- <method name="GetCellHighlightROPenWidth" type="int" overloaded="no">
- <autodoc>GetCellHighlightROPenWidth() -> int</autodoc>
- </method>
- <method name="SetRowLabelSize" type="void" overloaded="no">
- <autodoc>SetRowLabelSize(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColLabelSize" type="void" overloaded="no">
- <autodoc>SetColLabelSize(int height)</autodoc>
- <paramlist>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLabelBackgroundColour" type="void" overloaded="no">
- <autodoc>SetLabelBackgroundColour(Colour ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetLabelTextColour" type="void" overloaded="no">
- <autodoc>SetLabelTextColour(Colour ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetLabelFont" type="void" overloaded="no">
- <autodoc>SetLabelFont(Font ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetRowLabelAlignment" type="void" overloaded="no">
- <autodoc>SetRowLabelAlignment(int horiz, int vert)</autodoc>
- <paramlist>
- <param name="horiz" type="int" default=""/>
- <param name="vert" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColLabelAlignment" type="void" overloaded="no">
- <autodoc>SetColLabelAlignment(int horiz, int vert)</autodoc>
- <paramlist>
- <param name="horiz" type="int" default=""/>
- <param name="vert" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColLabelTextOrientation" type="void" overloaded="no">
- <autodoc>SetColLabelTextOrientation(int textOrientation)</autodoc>
- <paramlist>
- <param name="textOrientation" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRowLabelValue" type="void" overloaded="no">
- <autodoc>SetRowLabelValue(int row, String ??)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetColLabelValue" type="void" overloaded="no">
- <autodoc>SetColLabelValue(int col, String ??)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetGridLineColour" type="void" overloaded="no">
- <autodoc>SetGridLineColour(Colour ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetCellHighlightColour" type="void" overloaded="no">
- <autodoc>SetCellHighlightColour(Colour ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetCellHighlightPenWidth" type="void" overloaded="no">
- <autodoc>SetCellHighlightPenWidth(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetCellHighlightROPenWidth" type="void" overloaded="no">
- <autodoc>SetCellHighlightROPenWidth(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="EnableDragRowSize" type="void" overloaded="no">
- <autodoc>EnableDragRowSize(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DisableDragRowSize" type="void" overloaded="no">
- <autodoc>DisableDragRowSize()</autodoc>
- </method>
- <method name="CanDragRowSize" type="bool" overloaded="no">
- <autodoc>CanDragRowSize() -> bool</autodoc>
- </method>
- <method name="EnableDragColSize" type="void" overloaded="no">
- <autodoc>EnableDragColSize(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DisableDragColSize" type="void" overloaded="no">
- <autodoc>DisableDragColSize()</autodoc>
- </method>
- <method name="CanDragColSize" type="bool" overloaded="no">
- <autodoc>CanDragColSize() -> bool</autodoc>
- </method>
- <method name="EnableDragGridSize" type="void" overloaded="no">
- <autodoc>EnableDragGridSize(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="DisableDragGridSize" type="void" overloaded="no">
- <autodoc>DisableDragGridSize()</autodoc>
- </method>
- <method name="CanDragGridSize" type="bool" overloaded="no">
- <autodoc>CanDragGridSize() -> bool</autodoc>
- </method>
- <method name="SetAttr" type="void" overloaded="no">
- <autodoc>SetAttr(int row, int col, GridCellAttr attr)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="SetRowAttr" type="void" overloaded="no">
- <autodoc>SetRowAttr(int row, GridCellAttr attr)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="SetColAttr" type="void" overloaded="no">
- <autodoc>SetColAttr(int col, GridCellAttr attr)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="attr" type="p.wxGridCellAttr" default=""/>
- </paramlist>
- </method>
- <method name="SetColFormatBool" type="void" overloaded="no">
- <autodoc>SetColFormatBool(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColFormatNumber" type="void" overloaded="no">
- <autodoc>SetColFormatNumber(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColFormatFloat" type="void" overloaded="no">
- <autodoc>SetColFormatFloat(int col, int width=-1, int precision=-1)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="width" type="int" default="-1"/>
- <param name="precision" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="SetColFormatCustom" type="void" overloaded="no">
- <autodoc>SetColFormatCustom(int col, String typeName)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="EnableGridLines" type="void" overloaded="no">
- <autodoc>EnableGridLines(bool enable=True)</autodoc>
- <paramlist>
- <param name="enable" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GridLinesEnabled" type="bool" overloaded="no">
- <autodoc>GridLinesEnabled() -> bool</autodoc>
- </method>
- <method name="GetDefaultRowSize" type="int" overloaded="no">
- <autodoc>GetDefaultRowSize() -> int</autodoc>
- </method>
- <method name="GetRowSize" type="int" overloaded="no">
- <autodoc>GetRowSize(int row) -> int</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultColSize" type="int" overloaded="no">
- <autodoc>GetDefaultColSize() -> int</autodoc>
- </method>
- <method name="GetColSize" type="int" overloaded="no">
- <autodoc>GetColSize(int col) -> int</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultCellBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetDefaultCellBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="GetCellBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetCellBackgroundColour(int row, int col) -> Colour</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultCellTextColour" type="wxColour" overloaded="no">
- <autodoc>GetDefaultCellTextColour() -> Colour</autodoc>
- </method>
- <method name="GetCellTextColour" type="wxColour" overloaded="no">
- <autodoc>GetCellTextColour(int row, int col) -> Colour</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultCellFont" type="wxFont" overloaded="no">
- <autodoc>GetDefaultCellFont() -> Font</autodoc>
- </method>
- <method name="GetCellFont" type="wxFont" overloaded="no">
- <autodoc>GetCellFont(int row, int col) -> Font</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultCellAlignment" type="void" overloaded="no">
- <autodoc>GetDefaultCellAlignment() -> (horiz, vert)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetCellAlignment" type="void" overloaded="no">
- <autodoc>GetCellAlignment() -> (horiz, vert)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultCellOverflow" type="bool" overloaded="no">
- <autodoc>GetDefaultCellOverflow() -> bool</autodoc>
- </method>
- <method name="GetCellOverflow" type="bool" overloaded="no">
- <autodoc>GetCellOverflow(int row, int col) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCellSize" type="void" overloaded="no">
- <autodoc>GetCellSize(int row, int col) -> (num_rows, num_cols)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultRowSize" type="void" overloaded="no">
- <autodoc>SetDefaultRowSize(int height, bool resizeExistingRows=False)</autodoc>
- <paramlist>
- <param name="height" type="int" default=""/>
- <param name="resizeExistingRows" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="SetRowSize" type="void" overloaded="no">
- <autodoc>SetRowSize(int row, int height)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultColSize" type="void" overloaded="no">
- <autodoc>SetDefaultColSize(int width, bool resizeExistingCols=False)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="resizeExistingCols" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="SetColSize" type="void" overloaded="no">
- <autodoc>SetColSize(int col, int width)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AutoSizeColumn" type="void" overloaded="no">
- <autodoc>AutoSizeColumn(int col, bool setAsMin=True)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="setAsMin" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="AutoSizeRow" type="void" overloaded="no">
- <autodoc>AutoSizeRow(int row, bool setAsMin=True)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="setAsMin" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="AutoSizeColumns" type="void" overloaded="no">
- <autodoc>AutoSizeColumns(bool setAsMin=True)</autodoc>
- <paramlist>
- <param name="setAsMin" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="AutoSizeRows" type="void" overloaded="no">
- <autodoc>AutoSizeRows(bool setAsMin=True)</autodoc>
- <paramlist>
- <param name="setAsMin" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="AutoSize" type="void" overloaded="no">
- <autodoc>AutoSize()</autodoc>
- </method>
- <method name="AutoSizeRowLabelSize" type="void" overloaded="no">
- <autodoc>AutoSizeRowLabelSize(int row)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AutoSizeColLabelSize" type="void" overloaded="no">
- <autodoc>AutoSizeColLabelSize(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColMinimalWidth" type="void" overloaded="no">
- <autodoc>SetColMinimalWidth(int col, int width)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRowMinimalHeight" type="void" overloaded="no">
- <autodoc>SetRowMinimalHeight(int row, int width)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetColMinimalAcceptableWidth" type="void" overloaded="no">
- <autodoc>SetColMinimalAcceptableWidth(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetRowMinimalAcceptableHeight" type="void" overloaded="no">
- <autodoc>SetRowMinimalAcceptableHeight(int width)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no">
- <autodoc>GetColMinimalAcceptableWidth() -> int</autodoc>
- </method>
- <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no">
- <autodoc>GetRowMinimalAcceptableHeight() -> int</autodoc>
- </method>
- <method name="SetDefaultCellBackgroundColour" type="void" overloaded="no">
- <autodoc>SetDefaultCellBackgroundColour(Colour ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetCellBackgroundColour" type="void" overloaded="no">
- <autodoc>SetCellBackgroundColour(int row, int col, Colour ??)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultCellTextColour" type="void" overloaded="no">
- <autodoc>SetDefaultCellTextColour(Colour ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetCellTextColour" type="void" overloaded="no">
- <autodoc>SetCellTextColour(int row, int col, Colour ??)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultCellFont" type="void" overloaded="no">
- <autodoc>SetDefaultCellFont(Font ??)</autodoc>
- <paramlist>
- <param name="" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetCellFont" type="void" overloaded="no">
- <autodoc>SetCellFont(int row, int col, Font ??)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="" type="r.q(const).wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultCellAlignment" type="void" overloaded="no">
- <autodoc>SetDefaultCellAlignment(int horiz, int vert)</autodoc>
- <paramlist>
- <param name="horiz" type="int" default=""/>
- <param name="vert" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetCellAlignment" type="void" overloaded="no">
- <autodoc>SetCellAlignment(int row, int col, int horiz, int vert)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="horiz" type="int" default=""/>
- <param name="vert" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultCellOverflow" type="void" overloaded="no">
- <autodoc>SetDefaultCellOverflow(bool allow)</autodoc>
- <paramlist>
- <param name="allow" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetCellOverflow" type="void" overloaded="no">
- <autodoc>SetCellOverflow(int row, int col, bool allow)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="allow" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetCellSize" type="void" overloaded="no">
- <autodoc>SetCellSize(int row, int col, int num_rows, int num_cols)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="num_rows" type="int" default=""/>
- <param name="num_cols" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultRenderer" type="void" overloaded="no">
- <autodoc>SetDefaultRenderer(GridCellRenderer renderer)</autodoc>
- <paramlist>
- <param name="renderer" type="p.wxGridCellRenderer" default=""/>
- </paramlist>
- </method>
- <method name="SetCellRenderer" type="void" overloaded="no">
- <autodoc>SetCellRenderer(int row, int col, GridCellRenderer renderer)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="renderer" type="p.wxGridCellRenderer" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultRenderer" type="wxGridCellRenderer" overloaded="no">
- <autodoc>GetDefaultRenderer() -> GridCellRenderer</autodoc>
- </method>
- <method name="GetCellRenderer" type="wxGridCellRenderer" overloaded="no">
- <autodoc>GetCellRenderer(int row, int col) -> GridCellRenderer</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDefaultEditor" type="void" overloaded="no">
- <autodoc>SetDefaultEditor(GridCellEditor editor)</autodoc>
- <paramlist>
- <param name="editor" type="p.wxGridCellEditor" default=""/>
- </paramlist>
- </method>
- <method name="SetCellEditor" type="void" overloaded="no">
- <autodoc>SetCellEditor(int row, int col, GridCellEditor editor)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="editor" type="p.wxGridCellEditor" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultEditor" type="wxGridCellEditor" overloaded="no">
- <autodoc>GetDefaultEditor() -> GridCellEditor</autodoc>
- </method>
- <method name="GetCellEditor" type="wxGridCellEditor" overloaded="no">
- <autodoc>GetCellEditor(int row, int col) -> GridCellEditor</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCellValue" type="wxString" overloaded="no">
- <autodoc>GetCellValue(int row, int col) -> String</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetCellValue" type="void" overloaded="no">
- <autodoc>SetCellValue(int row, int col, String s)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="IsReadOnly" type="bool" overloaded="no">
- <autodoc>IsReadOnly(int row, int col) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetReadOnly" type="void" overloaded="no">
- <autodoc>SetReadOnly(int row, int col, bool isReadOnly=True)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="isReadOnly" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SelectRow" type="void" overloaded="no">
- <autodoc>SelectRow(int row, bool addToSelected=False)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="addToSelected" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="SelectCol" type="void" overloaded="no">
- <autodoc>SelectCol(int col, bool addToSelected=False)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- <param name="addToSelected" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="SelectBlock" type="void" overloaded="no">
- <autodoc>SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol,
- bool addToSelected=False)</autodoc>
- <paramlist>
- <param name="topRow" type="int" default=""/>
- <param name="leftCol" type="int" default=""/>
- <param name="bottomRow" type="int" default=""/>
- <param name="rightCol" type="int" default=""/>
- <param name="addToSelected" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="SelectAll" type="void" overloaded="no">
- <autodoc>SelectAll()</autodoc>
- </method>
- <method name="IsSelection" type="bool" overloaded="no">
- <autodoc>IsSelection() -> bool</autodoc>
- </method>
- <method name="ClearSelection" type="void" overloaded="no">
- <autodoc>ClearSelection()</autodoc>
- </method>
- <method name="IsInSelection" type="bool" overloaded="no">
- <autodoc>IsInSelection(int row, int col) -> bool</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectedCells" type="q(const).wxGridCellCoordsArray" overloaded="no">
- <autodoc>GetSelectedCells() -> wxGridCellCoordsArray</autodoc>
- </method>
- <method name="GetSelectionBlockTopLeft" type="q(const).wxGridCellCoordsArray" overloaded="no">
- <autodoc>GetSelectionBlockTopLeft() -> wxGridCellCoordsArray</autodoc>
- </method>
- <method name="GetSelectionBlockBottomRight" type="q(const).wxGridCellCoordsArray" overloaded="no">
- <autodoc>GetSelectionBlockBottomRight() -> wxGridCellCoordsArray</autodoc>
- </method>
- <method name="GetSelectedRows" type="q(const).wxArrayInt" overloaded="no">
- <autodoc>GetSelectedRows() -> wxArrayInt</autodoc>
- </method>
- <method name="GetSelectedCols" type="q(const).wxArrayInt" overloaded="no">
- <autodoc>GetSelectedCols() -> wxArrayInt</autodoc>
- </method>
- <method name="DeselectRow" type="void" overloaded="no">
- <autodoc>DeselectRow(int row)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeselectCol" type="void" overloaded="no">
- <autodoc>DeselectCol(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DeselectCell" type="void" overloaded="no">
- <autodoc>DeselectCell(int row, int col)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="BlockToDeviceRect" type="wxRect" overloaded="no">
- <autodoc>BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect</autodoc>
- <paramlist>
- <param name="topLeft" type="r.q(const).wxGridCellCoords" default=""/>
- <param name="bottomRight" type="r.q(const).wxGridCellCoords" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectionBackground" type="wxColour" overloaded="no">
- <autodoc>GetSelectionBackground() -> Colour</autodoc>
- </method>
- <method name="GetSelectionForeground" type="wxColour" overloaded="no">
- <autodoc>GetSelectionForeground() -> Colour</autodoc>
- </method>
- <method name="SetSelectionBackground" type="void" overloaded="no">
- <autodoc>SetSelectionBackground(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetSelectionForeground" type="void" overloaded="no">
- <autodoc>SetSelectionForeground(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="RegisterDataType" type="void" overloaded="no">
- <autodoc>RegisterDataType(String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc>
- <paramlist>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- <param name="renderer" type="p.wxGridCellRenderer" default=""/>
- <param name="editor" type="p.wxGridCellEditor" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultEditorForCell" type="wxGridCellEditor" overloaded="no">
- <autodoc>GetDefaultEditorForCell(int row, int col) -> GridCellEditor</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultRendererForCell" type="wxGridCellRenderer" overloaded="no">
- <autodoc>GetDefaultRendererForCell(int row, int col) -> GridCellRenderer</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultEditorForType" type="wxGridCellEditor" overloaded="no">
- <autodoc>GetDefaultEditorForType(String typeName) -> GridCellEditor</autodoc>
- <paramlist>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetDefaultRendererForType" type="wxGridCellRenderer" overloaded="no">
- <autodoc>GetDefaultRendererForType(String typeName) -> GridCellRenderer</autodoc>
- <paramlist>
- <param name="typeName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetMargins" type="void" overloaded="no">
- <autodoc>SetMargins(int extraWidth, int extraHeight)</autodoc>
- <paramlist>
- <param name="extraWidth" type="int" default=""/>
- <param name="extraHeight" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetGridWindow" type="wxWindow" overloaded="no">
- <autodoc>GetGridWindow() -> Window</autodoc>
- </method>
- <method name="GetGridRowLabelWindow" type="wxWindow" overloaded="no">
- <autodoc>GetGridRowLabelWindow() -> Window</autodoc>
- </method>
- <method name="GetGridColLabelWindow" type="wxWindow" overloaded="no">
- <autodoc>GetGridColLabelWindow() -> Window</autodoc>
- </method>
- <method name="GetGridCornerLabelWindow" type="wxWindow" overloaded="no">
- <autodoc>GetGridCornerLabelWindow() -> Window</autodoc>
- </method>
- </class>
- <class name="GridEvent" oldname="wxGridEvent" module="grid">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="GridEvent" overloaded="no">
- <autodoc>__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1,
- int x=-1, int y=-1, bool sel=True, bool control=False,
- bool shift=False, bool alt=False,
- bool meta=False) -> GridEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="type" type="wxEventType" default=""/>
- <param name="obj" type="p.wxGrid" default=""/>
- <param name="row" type="int" default="-1"/>
- <param name="col" type="int" default="-1"/>
- <param name="x" type="int" default="-1"/>
- <param name="y" type="int" default="-1"/>
- <param name="sel" type="bool" default="True"/>
- <param name="control" type="bool" default="False"/>
- <param name="shift" type="bool" default="False"/>
- <param name="alt" type="bool" default="False"/>
- <param name="meta" type="bool" default="False"/>
- </paramlist>
- </constructor>
- <method name="GetRow" type="int" overloaded="no">
- <autodoc>GetRow() -> int</autodoc>
- </method>
- <method name="GetCol" type="int" overloaded="no">
- <autodoc>GetCol() -> int</autodoc>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="Selecting" type="bool" overloaded="no">
- <autodoc>Selecting() -> bool</autodoc>
- </method>
- <method name="ControlDown" type="bool" overloaded="no">
- <autodoc>ControlDown() -> bool</autodoc>
- </method>
- <method name="MetaDown" type="bool" overloaded="no">
- <autodoc>MetaDown() -> bool</autodoc>
- </method>
- <method name="ShiftDown" type="bool" overloaded="no">
- <autodoc>ShiftDown() -> bool</autodoc>
- </method>
- <method name="AltDown" type="bool" overloaded="no">
- <autodoc>AltDown() -> bool</autodoc>
- </method>
- </class>
- <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="GridSizeEvent" overloaded="no">
- <autodoc>__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1,
- int x=-1, int y=-1, bool control=False, bool shift=False,
- bool alt=False, bool meta=False) -> GridSizeEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="type" type="wxEventType" default=""/>
- <param name="obj" type="p.wxGrid" default=""/>
- <param name="rowOrCol" type="int" default="-1"/>
- <param name="x" type="int" default="-1"/>
- <param name="y" type="int" default="-1"/>
- <param name="control" type="bool" default="False"/>
- <param name="shift" type="bool" default="False"/>
- <param name="alt" type="bool" default="False"/>
- <param name="meta" type="bool" default="False"/>
- </paramlist>
- </constructor>
- <method name="GetRowOrCol" type="int" overloaded="no">
- <autodoc>GetRowOrCol() -> int</autodoc>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition() -> Point</autodoc>
- </method>
- <method name="ControlDown" type="bool" overloaded="no">
- <autodoc>ControlDown() -> bool</autodoc>
- </method>
- <method name="MetaDown" type="bool" overloaded="no">
- <autodoc>MetaDown() -> bool</autodoc>
- </method>
- <method name="ShiftDown" type="bool" overloaded="no">
- <autodoc>ShiftDown() -> bool</autodoc>
- </method>
- <method name="AltDown" type="bool" overloaded="no">
- <autodoc>AltDown() -> bool</autodoc>
- </method>
- </class>
- <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="GridRangeSelectEvent" overloaded="no">
- <autodoc>__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft,
- GridCellCoords bottomRight, bool sel=True,
- bool control=False, bool shift=False,
- bool alt=False, bool meta=False) -> GridRangeSelectEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="type" type="wxEventType" default=""/>
- <param name="obj" type="p.wxGrid" default=""/>
- <param name="topLeft" type="r.q(const).wxGridCellCoords" default=""/>
- <param name="bottomRight" type="r.q(const).wxGridCellCoords" default=""/>
- <param name="sel" type="bool" default="True"/>
- <param name="control" type="bool" default="False"/>
- <param name="shift" type="bool" default="False"/>
- <param name="alt" type="bool" default="False"/>
- <param name="meta" type="bool" default="False"/>
- </paramlist>
- </constructor>
- <method name="GetTopLeftCoords" type="wxGridCellCoords" overloaded="no">
- <autodoc>GetTopLeftCoords() -> GridCellCoords</autodoc>
- </method>
- <method name="GetBottomRightCoords" type="wxGridCellCoords" overloaded="no">
- <autodoc>GetBottomRightCoords() -> GridCellCoords</autodoc>
- </method>
- <method name="GetTopRow" type="int" overloaded="no">
- <autodoc>GetTopRow() -> int</autodoc>
- </method>
- <method name="GetBottomRow" type="int" overloaded="no">
- <autodoc>GetBottomRow() -> int</autodoc>
- </method>
- <method name="GetLeftCol" type="int" overloaded="no">
- <autodoc>GetLeftCol() -> int</autodoc>
- </method>
- <method name="GetRightCol" type="int" overloaded="no">
- <autodoc>GetRightCol() -> int</autodoc>
- </method>
- <method name="Selecting" type="bool" overloaded="no">
- <autodoc>Selecting() -> bool</autodoc>
- </method>
- <method name="ControlDown" type="bool" overloaded="no">
- <autodoc>ControlDown() -> bool</autodoc>
- </method>
- <method name="MetaDown" type="bool" overloaded="no">
- <autodoc>MetaDown() -> bool</autodoc>
- </method>
- <method name="ShiftDown" type="bool" overloaded="no">
- <autodoc>ShiftDown() -> bool</autodoc>
- </method>
- <method name="AltDown" type="bool" overloaded="no">
- <autodoc>AltDown() -> bool</autodoc>
- </method>
- </class>
- <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid">
- <baseclass name="wxCommandEvent"/>
- <constructor name="GridEditorCreatedEvent" overloaded="no">
- <autodoc>__init__(int id, wxEventType type, Object obj, int row, int col,
- Control ctrl) -> GridEditorCreatedEvent</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- <param name="type" type="wxEventType" default=""/>
- <param name="obj" type="p.wxObject" default=""/>
- <param name="row" type="int" default=""/>
- <param name="col" type="int" default=""/>
- <param name="ctrl" type="p.wxControl" default=""/>
- </paramlist>
- </constructor>
- <method name="GetRow" type="int" overloaded="no">
- <autodoc>GetRow() -> int</autodoc>
- </method>
- <method name="GetCol" type="int" overloaded="no">
- <autodoc>GetCol() -> int</autodoc>
- </method>
- <method name="GetControl" type="wxControl" overloaded="no">
- <autodoc>GetControl() -> Control</autodoc>
- </method>
- <method name="SetRow" type="void" overloaded="no">
- <autodoc>SetRow(int row)</autodoc>
- <paramlist>
- <param name="row" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetCol" type="void" overloaded="no">
- <autodoc>SetCol(int col)</autodoc>
- <paramlist>
- <param name="col" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetControl" type="void" overloaded="no">
- <autodoc>SetControl(Control ctrl)</autodoc>
- <paramlist>
- <param name="ctrl" type="p.wxControl" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK )
-EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK )
-EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK )
-EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK )
-EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK )
-EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK )
-EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK )
-EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK )
-EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE )
-EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE )
-EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT )
-EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE )
-EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL )
-EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
-EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
-EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
-</pythoncode>
-</module><module name="html">
- <import name="windows"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html">
- <baseclass name="wxObject"/>
- <constructor name="HtmlLinkInfo" overloaded="no">
- <autodoc>__init__(String href, String target=EmptyString) -> HtmlLinkInfo</autodoc>
- <paramlist>
- <param name="href" type="r.q(const).wxString" default=""/>
- <param name="target" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <method name="GetHref" type="wxString" overloaded="no">
- <autodoc>GetHref() -> String</autodoc>
- </method>
- <method name="GetTarget" type="wxString" overloaded="no">
- <autodoc>GetTarget() -> String</autodoc>
- </method>
- <method name="GetEvent" type="wxMouseEvent" overloaded="no">
- <autodoc>GetEvent() -> MouseEvent</autodoc>
- </method>
- <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no">
- <autodoc>GetHtmlCell() -> HtmlCell</autodoc>
- </method>
- <method name="SetEvent" type="void" overloaded="no">
- <autodoc>SetEvent(MouseEvent e)</autodoc>
- <paramlist>
- <param name="e" type="p.q(const).wxMouseEvent" default=""/>
- </paramlist>
- </method>
- <method name="SetHtmlCell" type="void" overloaded="no">
- <autodoc>SetHtmlCell(HtmlCell e)</autodoc>
- <paramlist>
- <param name="e" type="p.q(const).wxHtmlCell" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="HtmlTag" oldname="wxHtmlTag" module="html">
- <baseclass name="wxObject"/>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="HasParam" type="bool" overloaded="no">
- <autodoc>HasParam(String par) -> bool</autodoc>
- <paramlist>
- <param name="par" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetParam" type="wxString" overloaded="no">
- <autodoc>GetParam(String par, int with_commas=False) -> String</autodoc>
- <paramlist>
- <param name="par" type="r.q(const).wxString" default=""/>
- <param name="with_commas" type="int" default="False"/>
- </paramlist>
- </method>
- <method name="GetAllParams" type="wxString" overloaded="no">
- <autodoc>GetAllParams() -> String</autodoc>
- </method>
- <method name="HasEnding" type="bool" overloaded="no">
- <autodoc>HasEnding() -> bool</autodoc>
- </method>
- <method name="GetBeginPos" type="int" overloaded="no">
- <autodoc>GetBeginPos() -> int</autodoc>
- </method>
- <method name="GetEndPos1" type="int" overloaded="no">
- <autodoc>GetEndPos1() -> int</autodoc>
- </method>
- <method name="GetEndPos2" type="int" overloaded="no">
- <autodoc>GetEndPos2() -> int</autodoc>
- </method>
- </class>
- <class name="HtmlParser" oldname="wxHtmlParser" module="html">
- <baseclass name="wxObject"/>
- <method name="SetFS" type="void" overloaded="no">
- <autodoc>SetFS(FileSystem fs)</autodoc>
- <paramlist>
- <param name="fs" type="p.wxFileSystem" default=""/>
- </paramlist>
- </method>
- <method name="GetFS" type="wxFileSystem" overloaded="no">
- <autodoc>GetFS() -> FileSystem</autodoc>
- </method>
- <method name="Parse" type="wxObject" overloaded="no">
- <autodoc>Parse(String source) -> Object</autodoc>
- <paramlist>
- <param name="source" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="InitParser" type="void" overloaded="no">
- <autodoc>InitParser(String source)</autodoc>
- <paramlist>
- <param name="source" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DoneParser" type="void" overloaded="no">
- <autodoc>DoneParser()</autodoc>
- </method>
- <method name="DoParsing" type="void" overloaded="no">
- <autodoc>DoParsing(int begin_pos, int end_pos)</autodoc>
- <paramlist>
- <param name="begin_pos" type="int" default=""/>
- <param name="end_pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="StopParsing" type="void" overloaded="no">
- <autodoc>StopParsing()</autodoc>
- </method>
- <method name="AddTagHandler" type="void" overloaded="no">
- <autodoc>AddTagHandler(HtmlTagHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxHtmlTagHandler" default=""/>
- </paramlist>
- </method>
- <method name="GetSource" type="wxString" overloaded="no">
- <autodoc>GetSource() -> String</autodoc>
- </method>
- <method name="PushTagHandler" type="void" overloaded="no">
- <autodoc>PushTagHandler(HtmlTagHandler handler, String tags)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxHtmlTagHandler" default=""/>
- <param name="tags" type="wxString" default=""/>
- </paramlist>
- </method>
- <method name="PopTagHandler" type="void" overloaded="no">
- <autodoc>PopTagHandler()</autodoc>
- </method>
- </class>
- <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html">
- <baseclass name="wxHtmlParser"/>
- <constructor name="HtmlWinParser" overloaded="no">
- <autodoc>__init__(HtmlWindow wnd=None) -> HtmlWinParser</autodoc>
- <paramlist>
- <param name="wnd" type="p.wxPyHtmlWindow" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="SetDC" type="void" overloaded="no">
- <autodoc>SetDC(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="GetDC" type="wxDC" overloaded="no">
- <autodoc>GetDC() -> DC</autodoc>
- </method>
- <method name="GetCharHeight" type="int" overloaded="no">
- <autodoc>GetCharHeight() -> int</autodoc>
- </method>
- <method name="GetCharWidth" type="int" overloaded="no">
- <autodoc>GetCharWidth() -> int</autodoc>
- </method>
- <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no">
- <autodoc>GetWindow() -> HtmlWindow</autodoc>
- </method>
- <method name="SetFonts" type="void" overloaded="no">
- <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
- <paramlist>
- <param name="normal_face" type="wxString" default=""/>
- <param name="fixed_face" type="wxString" default=""/>
- <param name="sizes" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no">
- <autodoc>GetContainer() -> HtmlContainerCell</autodoc>
- </method>
- <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no">
- <autodoc>OpenContainer() -> HtmlContainerCell</autodoc>
- </method>
- <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no">
- <autodoc>SetContainer(HtmlContainerCell c) -> HtmlContainerCell</autodoc>
- <paramlist>
- <param name="c" type="p.wxHtmlContainerCell" default=""/>
- </paramlist>
- </method>
- <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no">
- <autodoc>CloseContainer() -> HtmlContainerCell</autodoc>
- </method>
- <method name="GetFontSize" type="int" overloaded="no">
- <autodoc>GetFontSize() -> int</autodoc>
- </method>
- <method name="SetFontSize" type="void" overloaded="no">
- <autodoc>SetFontSize(int s)</autodoc>
- <paramlist>
- <param name="s" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFontBold" type="int" overloaded="no">
- <autodoc>GetFontBold() -> int</autodoc>
- </method>
- <method name="SetFontBold" type="void" overloaded="no">
- <autodoc>SetFontBold(int x)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFontItalic" type="int" overloaded="no">
- <autodoc>GetFontItalic() -> int</autodoc>
- </method>
- <method name="SetFontItalic" type="void" overloaded="no">
- <autodoc>SetFontItalic(int x)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFontUnderlined" type="int" overloaded="no">
- <autodoc>GetFontUnderlined() -> int</autodoc>
- </method>
- <method name="SetFontUnderlined" type="void" overloaded="no">
- <autodoc>SetFontUnderlined(int x)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFontFixed" type="int" overloaded="no">
- <autodoc>GetFontFixed() -> int</autodoc>
- </method>
- <method name="SetFontFixed" type="void" overloaded="no">
- <autodoc>SetFontFixed(int x)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetAlign" type="int" overloaded="no">
- <autodoc>GetAlign() -> int</autodoc>
- </method>
- <method name="SetAlign" type="void" overloaded="no">
- <autodoc>SetAlign(int a)</autodoc>
- <paramlist>
- <param name="a" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLinkColor" type="wxColour" overloaded="no">
- <autodoc>GetLinkColor() -> Colour</autodoc>
- </method>
- <method name="SetLinkColor" type="void" overloaded="no">
- <autodoc>SetLinkColor(Colour clr)</autodoc>
- <paramlist>
- <param name="clr" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetActualColor" type="wxColour" overloaded="no">
- <autodoc>GetActualColor() -> Colour</autodoc>
- </method>
- <method name="SetActualColor" type="void" overloaded="no">
- <autodoc>SetActualColor(Colour clr)</autodoc>
- <paramlist>
- <param name="clr" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetLink" type="void" overloaded="no">
- <autodoc>SetLink(String link)</autodoc>
- <paramlist>
- <param name="link" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="CreateCurrentFont" type="wxFont" overloaded="no">
- <autodoc>CreateCurrentFont() -> Font</autodoc>
- </method>
- <method name="GetLink" type="wxHtmlLinkInfo" overloaded="no">
- <autodoc>GetLink() -> HtmlLinkInfo</autodoc>
- </method>
- </class>
- <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html">
- <baseclass name="wxObject"/>
- <constructor name="wxPyHtmlTagHandler" overloaded="no">
- <autodoc>__init__() -> HtmlTagHandler</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetParser" type="void" overloaded="no">
- <autodoc>SetParser(HtmlParser parser)</autodoc>
- <paramlist>
- <param name="parser" type="p.wxHtmlParser" default=""/>
- </paramlist>
- </method>
- <method name="GetParser" type="wxHtmlParser" overloaded="no">
- <autodoc>GetParser() -> HtmlParser</autodoc>
- </method>
- <method name="ParseInner" type="void" overloaded="no">
- <autodoc>ParseInner(HtmlTag tag)</autodoc>
- <paramlist>
- <param name="tag" type="r.q(const).wxHtmlTag" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html">
- <baseclass name="wxPyHtmlTagHandler"/>
- <constructor name="wxPyHtmlWinTagHandler" overloaded="no">
- <autodoc>__init__() -> HtmlWinTagHandler</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetParser" type="void" overloaded="no">
- <autodoc>SetParser(HtmlParser parser)</autodoc>
- <paramlist>
- <param name="parser" type="p.wxHtmlParser" default=""/>
- </paramlist>
- </method>
- <method name="GetParser" type="wxHtmlWinParser" overloaded="no">
- <autodoc>GetParser() -> HtmlWinParser</autodoc>
- </method>
- <method name="ParseInner" type="void" overloaded="no">
- <autodoc>ParseInner(HtmlTag tag)</autodoc>
- <paramlist>
- <param name="tag" type="r.q(const).wxHtmlTag" default=""/>
- </paramlist>
- </method>
- </class>
- <method name="HtmlWinParser_AddTagHandler" oldname="wxHtmlWinParser_AddTagHandler" type="void" overloaded="no">
- <autodoc>HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)</autodoc>
- <paramlist>
- <param name="tagHandlerClass" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="HtmlSelection" oldname="wxHtmlSelection" module="html">
- <constructor name="HtmlSelection" overloaded="no">
- <autodoc>__init__() -> HtmlSelection</autodoc>
- </constructor>
- <destructor name="~wxHtmlSelection" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Set" type="void" overloaded="no">
- <autodoc>Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc>
- <paramlist>
- <param name="fromPos" type="r.q(const).wxPoint" default=""/>
- <param name="fromCell" type="p.q(const).wxHtmlCell" default=""/>
- <param name="toPos" type="r.q(const).wxPoint" default=""/>
- <param name="toCell" type="p.q(const).wxHtmlCell" default=""/>
- </paramlist>
- </method>
- <method name="SetCells" type="void" overloaded="no">
- <autodoc>SetCells(HtmlCell fromCell, HtmlCell toCell)</autodoc>
- <paramlist>
- <param name="fromCell" type="p.q(const).wxHtmlCell" default=""/>
- <param name="toCell" type="p.q(const).wxHtmlCell" default=""/>
- </paramlist>
- </method>
- <method name="GetFromCell" type="q(const).wxHtmlCell" overloaded="no">
- <autodoc>GetFromCell() -> HtmlCell</autodoc>
- </method>
- <method name="GetToCell" type="q(const).wxHtmlCell" overloaded="no">
- <autodoc>GetToCell() -> HtmlCell</autodoc>
- </method>
- <method name="GetFromPos" type="q(const).wxPoint" overloaded="no">
- <autodoc>GetFromPos() -> Point</autodoc>
- </method>
- <method name="GetToPos" type="q(const).wxPoint" overloaded="no">
- <autodoc>GetToPos() -> Point</autodoc>
- </method>
- <method name="GetFromPrivPos" type="q(const).wxPoint" overloaded="no">
- <autodoc>GetFromPrivPos() -> Point</autodoc>
- </method>
- <method name="GetToPrivPos" type="q(const).wxPoint" overloaded="no">
- <autodoc>GetToPrivPos() -> Point</autodoc>
- </method>
- <method name="SetFromPrivPos" type="void" overloaded="no">
- <autodoc>SetFromPrivPos(Point pos)</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetToPrivPos" type="void" overloaded="no">
- <autodoc>SetToPrivPos(Point pos)</autodoc>
- <paramlist>
- <param name="pos" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="ClearPrivPos" type="void" overloaded="no">
- <autodoc>ClearPrivPos()</autodoc>
- </method>
- <method name="IsEmpty" type="q(const).bool" overloaded="no">
- <autodoc>IsEmpty() -> bool</autodoc>
- </method>
- </class>
- <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html">
- <constructor name="HtmlRenderingState" overloaded="no">
- <autodoc>__init__() -> HtmlRenderingState</autodoc>
- </constructor>
- <destructor name="~wxHtmlRenderingState" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetSelectionState" type="void" overloaded="no">
- <autodoc>SetSelectionState(int s)</autodoc>
- <paramlist>
- <param name="s" type="wxHtmlSelectionState" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no">
- <autodoc>GetSelectionState() -> int</autodoc>
- </method>
- <method name="SetFgColour" type="void" overloaded="no">
- <autodoc>SetFgColour(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetFgColour" type="q(const).wxColour" overloaded="no">
- <autodoc>GetFgColour() -> Colour</autodoc>
- </method>
- <method name="SetBgColour" type="void" overloaded="no">
- <autodoc>SetBgColour(Colour c)</autodoc>
- <paramlist>
- <param name="c" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetBgColour" type="q(const).wxColour" overloaded="no">
- <autodoc>GetBgColour() -> Colour</autodoc>
- </method>
- </class>
- <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html">
- <method name="GetSelectedTextColour" type="wxColour" overloaded="no">
- <autodoc>GetSelectedTextColour(Colour clr) -> Colour</autodoc>
- <paramlist>
- <param name="clr" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectedTextBgColour" type="wxColour" overloaded="no">
- <autodoc>GetSelectedTextBgColour(Colour clr) -> Colour</autodoc>
- <paramlist>
- <param name="clr" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html">
- <baseclass name="wxHtmlRenderingStyle"/>
- <method name="GetSelectedTextColour" type="wxColour" overloaded="no">
- <autodoc>GetSelectedTextColour(Colour clr) -> Colour</autodoc>
- <paramlist>
- <param name="clr" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectedTextBgColour" type="wxColour" overloaded="no">
- <autodoc>GetSelectedTextBgColour(Colour clr) -> Colour</autodoc>
- <paramlist>
- <param name="clr" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html">
- <constructor name="HtmlRenderingInfo" overloaded="no">
- <autodoc>__init__() -> HtmlRenderingInfo</autodoc>
- </constructor>
- <destructor name="~wxHtmlRenderingInfo" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(HtmlSelection s)</autodoc>
- <paramlist>
- <param name="s" type="p.wxHtmlSelection" default=""/>
- </paramlist>
- </method>
- <method name="GetSelection" type="wxHtmlSelection" overloaded="no">
- <autodoc>GetSelection() -> HtmlSelection</autodoc>
- </method>
- <method name="SetStyle" type="void" overloaded="no">
- <autodoc>SetStyle(HtmlRenderingStyle style)</autodoc>
- <paramlist>
- <param name="style" type="p.wxHtmlRenderingStyle" default=""/>
- </paramlist>
- </method>
- <method name="GetStyle" type="wxHtmlRenderingStyle" overloaded="no">
- <autodoc>GetStyle() -> HtmlRenderingStyle</autodoc>
- </method>
- <method name="GetState" type="wxHtmlRenderingState" overloaded="no">
- <autodoc>GetState() -> HtmlRenderingState</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="HtmlCell" oldname="wxHtmlCell" module="html">
- <baseclass name="wxObject"/>
- <constructor name="HtmlCell" overloaded="no">
- <autodoc>__init__() -> HtmlCell</autodoc>
- </constructor>
- <method name="GetPosX" type="int" overloaded="no">
- <autodoc>GetPosX() -> int</autodoc>
- </method>
- <method name="GetPosY" type="int" overloaded="no">
- <autodoc>GetPosY() -> int</autodoc>
- </method>
- <method name="GetWidth" type="int" overloaded="no">
- <autodoc>GetWidth() -> int</autodoc>
- </method>
- <method name="GetHeight" type="int" overloaded="no">
- <autodoc>GetHeight() -> int</autodoc>
- </method>
- <method name="GetDescent" type="int" overloaded="no">
- <autodoc>GetDescent() -> int</autodoc>
- </method>
- <method name="GetId" type="q(const).wxString" overloaded="no">
- <autodoc>GetId() -> String</autodoc>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(String id)</autodoc>
- <paramlist>
- <param name="id" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetLink" type="wxHtmlLinkInfo" overloaded="no">
- <autodoc>GetLink(int x=0, int y=0) -> HtmlLinkInfo</autodoc>
- <paramlist>
- <param name="x" type="int" default="0"/>
- <param name="y" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetNext" type="wxHtmlCell" overloaded="no">
- <autodoc>GetNext() -> HtmlCell</autodoc>
- </method>
- <method name="GetParent" type="wxHtmlContainerCell" overloaded="no">
- <autodoc>GetParent() -> HtmlContainerCell</autodoc>
- </method>
- <method name="GetFirstChild" type="wxHtmlCell" overloaded="no">
- <autodoc>GetFirstChild() -> HtmlCell</autodoc>
- </method>
- <method name="GetCursor" type="wxCursor" overloaded="no">
- <autodoc>GetCursor() -> Cursor</autodoc>
- </method>
- <method name="IsFormattingCell" type="bool" overloaded="no">
- <autodoc>IsFormattingCell() -> bool</autodoc>
- </method>
- <method name="SetLink" type="void" overloaded="no">
- <autodoc>SetLink(HtmlLinkInfo link)</autodoc>
- <paramlist>
- <param name="link" type="r.q(const).wxHtmlLinkInfo" default=""/>
- </paramlist>
- </method>
- <method name="SetNext" type="void" overloaded="no">
- <autodoc>SetNext(HtmlCell cell)</autodoc>
- <paramlist>
- <param name="cell" type="p.wxHtmlCell" default=""/>
- </paramlist>
- </method>
- <method name="SetParent" type="void" overloaded="no">
- <autodoc>SetParent(HtmlContainerCell p)</autodoc>
- <paramlist>
- <param name="p" type="p.wxHtmlContainerCell" default=""/>
- </paramlist>
- </method>
- <method name="SetPos" type="void" overloaded="no">
- <autodoc>SetPos(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Layout" type="void" overloaded="no">
- <autodoc>Layout(int w)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Draw" type="void" overloaded="no">
- <autodoc>Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="view_y1" type="int" default=""/>
- <param name="view_y2" type="int" default=""/>
- <param name="info" type="r.wxHtmlRenderingInfo" default=""/>
- </paramlist>
- </method>
- <method name="DrawInvisible" type="void" overloaded="no">
- <autodoc>DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="info" type="r.wxHtmlRenderingInfo" default=""/>
- </paramlist>
- </method>
- <method name="Find" type="q(const).wxHtmlCell" overloaded="no">
- <autodoc>Find(int condition, void param) -> HtmlCell</autodoc>
- <paramlist>
- <param name="condition" type="int" default=""/>
- <param name="param" type="p.q(const).void" default=""/>
- </paramlist>
- </method>
- <method name="AdjustPagebreak" type="bool" overloaded="no">
- <autodoc>AdjustPagebreak(int INOUT) -> bool</autodoc>
- <paramlist>
- <param name="INOUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="SetCanLiveOnPagebreak" type="void" overloaded="no">
- <autodoc>SetCanLiveOnPagebreak(bool can)</autodoc>
- <paramlist>
- <param name="can" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsLinebreakAllowed" type="bool" overloaded="no">
- <autodoc>IsLinebreakAllowed() -> bool</autodoc>
- </method>
- <method name="IsTerminalCell" type="bool" overloaded="no">
- <autodoc>IsTerminalCell() -> bool</autodoc>
- </method>
- <method name="FindCellByPos" type="wxHtmlCell" overloaded="no">
- <autodoc>FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="flags" type="unsigned int" default="wxHTML_FIND_EXACT"/>
- </paramlist>
- </method>
- <method name="GetAbsPos" type="wxPoint" overloaded="no">
- <autodoc>GetAbsPos() -> Point</autodoc>
- </method>
- <method name="GetFirstTerminal" type="wxHtmlCell" overloaded="no">
- <autodoc>GetFirstTerminal() -> HtmlCell</autodoc>
- </method>
- <method name="GetLastTerminal" type="wxHtmlCell" overloaded="no">
- <autodoc>GetLastTerminal() -> HtmlCell</autodoc>
- </method>
- <method name="GetDepth" type="unsigned int" overloaded="no">
- <autodoc>GetDepth() -> unsigned int</autodoc>
- </method>
- <method name="IsBefore" type="bool" overloaded="no">
- <autodoc>IsBefore(HtmlCell cell) -> bool</autodoc>
- <paramlist>
- <param name="cell" type="p.wxHtmlCell" default=""/>
- </paramlist>
- </method>
- <method name="ConvertToText" type="wxString" overloaded="no">
- <autodoc>ConvertToText(HtmlSelection sel) -> String</autodoc>
- <paramlist>
- <param name="sel" type="p.wxHtmlSelection" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html">
- <baseclass name="wxHtmlCell"/>
- <constructor name="HtmlWordCell" overloaded="no">
- <autodoc>__init__(String word, DC dc) -> HtmlWordCell</autodoc>
- <paramlist>
- <param name="word" type="r.q(const).wxString" default=""/>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </constructor>
- </class>
- <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html">
- <baseclass name="wxHtmlCell"/>
- <constructor name="HtmlContainerCell" overloaded="no">
- <autodoc>__init__(HtmlContainerCell parent) -> HtmlContainerCell</autodoc>
- <paramlist>
- <param name="parent" type="p.wxHtmlContainerCell" default=""/>
- </paramlist>
- </constructor>
- <method name="InsertCell" type="void" overloaded="no">
- <autodoc>InsertCell(HtmlCell cell)</autodoc>
- <paramlist>
- <param name="cell" type="p.wxHtmlCell" default=""/>
- </paramlist>
- </method>
- <method name="SetAlignHor" type="void" overloaded="no">
- <autodoc>SetAlignHor(int al)</autodoc>
- <paramlist>
- <param name="al" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetAlignHor" type="int" overloaded="no">
- <autodoc>GetAlignHor() -> int</autodoc>
- </method>
- <method name="SetAlignVer" type="void" overloaded="no">
- <autodoc>SetAlignVer(int al)</autodoc>
- <paramlist>
- <param name="al" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetAlignVer" type="int" overloaded="no">
- <autodoc>GetAlignVer() -> int</autodoc>
- </method>
- <method name="SetIndent" type="void" overloaded="no">
- <autodoc>SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)</autodoc>
- <paramlist>
- <param name="i" type="int" default=""/>
- <param name="what" type="int" default=""/>
- <param name="units" type="int" default="wxHTML_UNITS_PIXELS"/>
- </paramlist>
- </method>
- <method name="GetIndent" type="int" overloaded="no">
- <autodoc>GetIndent(int ind) -> int</autodoc>
- <paramlist>
- <param name="ind" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetIndentUnits" type="int" overloaded="no">
- <autodoc>GetIndentUnits(int ind) -> int</autodoc>
- <paramlist>
- <param name="ind" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAlign" type="void" overloaded="no">
- <autodoc>SetAlign(HtmlTag tag)</autodoc>
- <paramlist>
- <param name="tag" type="r.q(const).wxHtmlTag" default=""/>
- </paramlist>
- </method>
- <method name="SetWidthFloat" type="void" overloaded="no">
- <autodoc>SetWidthFloat(int w, int units)</autodoc>
- <paramlist>
- <param name="w" type="int" default=""/>
- <param name="units" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWidthFloatFromTag" type="void" overloaded="no">
- <autodoc>SetWidthFloatFromTag(HtmlTag tag)</autodoc>
- <paramlist>
- <param name="tag" type="r.q(const).wxHtmlTag" default=""/>
- </paramlist>
- </method>
- <method name="SetMinHeight" type="void" overloaded="no">
- <autodoc>SetMinHeight(int h, int align=HTML_ALIGN_TOP)</autodoc>
- <paramlist>
- <param name="h" type="int" default=""/>
- <param name="align" type="int" default="wxHTML_ALIGN_TOP"/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="void" overloaded="no">
- <autodoc>SetBackgroundColour(Colour clr)</autodoc>
- <paramlist>
- <param name="clr" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetBackgroundColour() -> Colour</autodoc>
- </method>
- <method name="SetBorder" type="void" overloaded="no">
- <autodoc>SetBorder(Colour clr1, Colour clr2)</autodoc>
- <paramlist>
- <param name="clr1" type="r.q(const).wxColour" default=""/>
- <param name="clr2" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="GetFirstChild" type="wxHtmlCell" overloaded="no">
- <autodoc>GetFirstChild() -> HtmlCell</autodoc>
- </method>
- </class>
- <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html">
- <baseclass name="wxHtmlCell"/>
- <constructor name="HtmlColourCell" overloaded="no">
- <autodoc>__init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell</autodoc>
- <paramlist>
- <param name="clr" type="wxColour" default=""/>
- <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/>
- </paramlist>
- </constructor>
- </class>
- <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html">
- <baseclass name="wxHtmlCell"/>
- <constructor name="HtmlFontCell" overloaded="no">
- <autodoc>__init__(Font font) -> HtmlFontCell</autodoc>
- <paramlist>
- <param name="font" type="p.wxFont" default=""/>
- </paramlist>
- </constructor>
- </class>
- <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html">
- <baseclass name="wxHtmlCell"/>
- <constructor name="HtmlWidgetCell" overloaded="no">
- <autodoc>__init__(Window wnd, int w=0) -> HtmlWidgetCell</autodoc>
- <paramlist>
- <param name="wnd" type="p.wxWindow" default=""/>
- <param name="w" type="int" default="0"/>
- </paramlist>
- </constructor>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html">
- <baseclass name="wxObject"/>
- <constructor name="wxPyHtmlFilter" overloaded="no">
- <autodoc>__init__() -> HtmlFilter</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html">
- <baseclass name="wxScrolledWindow"/>
- <constructor name="wxPyHtmlWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
- String name=HtmlWindowNameStr) -> HtmlWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="int" default="wxHW_DEFAULT_STYLE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyHtmlWindowNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreHtmlWindow" overloaded="no">
- <autodoc>PreHtmlWindow() -> HtmlWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
- String name=HtmlWindowNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="int" default="wxHW_SCROLLBAR_AUTO"/>
- <param name="name" type="r.q(const).wxString" default="wxPyHtmlWindowNameStr"/>
- </paramlist>
- </method>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetPage" type="bool" overloaded="no">
- <autodoc>SetPage(String source) -> bool</autodoc>
- <paramlist>
- <param name="source" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadPage" type="bool" overloaded="no">
- <autodoc>LoadPage(String location) -> bool</autodoc>
- <paramlist>
- <param name="location" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadFile" type="bool" overloaded="no">
- <autodoc>LoadFile(String filename) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AppendToPage" type="bool" overloaded="no">
- <autodoc>AppendToPage(String source) -> bool</autodoc>
- <paramlist>
- <param name="source" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetOpenedPage" type="wxString" overloaded="no">
- <autodoc>GetOpenedPage() -> String</autodoc>
- </method>
- <method name="GetOpenedAnchor" type="wxString" overloaded="no">
- <autodoc>GetOpenedAnchor() -> String</autodoc>
- </method>
- <method name="GetOpenedPageTitle" type="wxString" overloaded="no">
- <autodoc>GetOpenedPageTitle() -> String</autodoc>
- </method>
- <method name="SetRelatedFrame" type="void" overloaded="no">
- <autodoc>SetRelatedFrame(Frame frame, String format)</autodoc>
- <paramlist>
- <param name="frame" type="p.wxFrame" default=""/>
- <param name="format" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetRelatedFrame" type="wxFrame" overloaded="no">
- <autodoc>GetRelatedFrame() -> Frame</autodoc>
- </method>
- <method name="SetRelatedStatusBar" type="void" overloaded="no">
- <autodoc>SetRelatedStatusBar(int bar)</autodoc>
- <paramlist>
- <param name="bar" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFonts" type="void" overloaded="no">
- <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
- <paramlist>
- <param name="normal_face" type="wxString" default=""/>
- <param name="fixed_face" type="wxString" default=""/>
- <param name="sizes" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="SetTitle" type="void" overloaded="no">
- <autodoc>SetTitle(String title)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetBorders" type="void" overloaded="no">
- <autodoc>SetBorders(int b)</autodoc>
- <paramlist>
- <param name="b" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ReadCustomization" type="void" overloaded="no">
- <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
- <paramlist>
- <param name="cfg" type="p.wxConfigBase" default=""/>
- <param name="path" type="wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="WriteCustomization" type="void" overloaded="no">
- <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
- <paramlist>
- <param name="cfg" type="p.wxConfigBase" default=""/>
- <param name="path" type="wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="HistoryBack" type="bool" overloaded="no">
- <autodoc>HistoryBack() -> bool</autodoc>
- </method>
- <method name="HistoryForward" type="bool" overloaded="no">
- <autodoc>HistoryForward() -> bool</autodoc>
- </method>
- <method name="HistoryCanBack" type="bool" overloaded="no">
- <autodoc>HistoryCanBack() -> bool</autodoc>
- </method>
- <method name="HistoryCanForward" type="bool" overloaded="no">
- <autodoc>HistoryCanForward() -> bool</autodoc>
- </method>
- <method name="HistoryClear" type="void" overloaded="no">
- <autodoc>HistoryClear()</autodoc>
- </method>
- <method name="GetInternalRepresentation" type="wxHtmlContainerCell" overloaded="no">
- <autodoc>GetInternalRepresentation() -> HtmlContainerCell</autodoc>
- </method>
- <method name="GetParser" type="wxHtmlWinParser" overloaded="no">
- <autodoc>GetParser() -> HtmlWinParser</autodoc>
- </method>
- <method name="ScrollToAnchor" type="bool" overloaded="no">
- <autodoc>ScrollToAnchor(String anchor) -> bool</autodoc>
- <paramlist>
- <param name="anchor" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="HasAnchor" type="bool" overloaded="no">
- <autodoc>HasAnchor(String anchor) -> bool</autodoc>
- <paramlist>
- <param name="anchor" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <staticmethod name="AddFilter" type="void" overloaded="no">
- <autodoc>HtmlWindow.AddFilter(HtmlFilter filter)</autodoc>
- <paramlist>
- <param name="filter" type="p.wxPyHtmlFilter" default=""/>
- </paramlist>
- </staticmethod>
- <method name="base_OnLinkClicked" type="void" overloaded="no">
- <autodoc>base_OnLinkClicked(HtmlLinkInfo link)</autodoc>
- <paramlist>
- <param name="link" type="r.q(const).wxHtmlLinkInfo" default=""/>
- </paramlist>
- </method>
- <method name="base_OnSetTitle" type="void" overloaded="no">
- <autodoc>base_OnSetTitle(String title)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="base_OnCellMouseHover" type="void" overloaded="no">
- <autodoc>base_OnCellMouseHover(HtmlCell cell, int x, int y)</autodoc>
- <paramlist>
- <param name="cell" type="p.wxHtmlCell" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_OnCellClicked" type="void" overloaded="no">
- <autodoc>base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)</autodoc>
- <paramlist>
- <param name="cell" type="p.wxHtmlCell" default=""/>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="event" type="r.q(const).wxMouseEvent" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html">
- <baseclass name="wxObject"/>
- <constructor name="HtmlDCRenderer" overloaded="no">
- <autodoc>__init__() -> HtmlDCRenderer</autodoc>
- </constructor>
- <destructor name="~wxHtmlDCRenderer" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetDC" type="void" overloaded="no">
- <autodoc>SetDC(DC dc, int maxwidth)</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default=""/>
- <param name="maxwidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetHtmlText" type="void" overloaded="no">
- <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc>
- <paramlist>
- <param name="html" type="r.q(const).wxString" default=""/>
- <param name="basepath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="isdir" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetFonts" type="void" overloaded="no">
- <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
- <paramlist>
- <param name="normal_face" type="wxString" default=""/>
- <param name="fixed_face" type="wxString" default=""/>
- <param name="sizes" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="Render" type="int" overloaded="no">
- <autodoc>Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
- int choices=None, int LCOUNT=0) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="from" type="int" default="0"/>
- <param name="dont_render" type="int" default="False"/>
- <param name="to" type="int" default="INT_MAX"/>
- <param name="choices" type="p.int" default="NULL"/>
- <param name="LCOUNT" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetTotalHeight" type="int" overloaded="no">
- <autodoc>GetTotalHeight() -> int</autodoc>
- </method>
- </class>
- <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html">
- <baseclass name="wxPyPrintout"/>
- <constructor name="HtmlPrintout" overloaded="no">
- <autodoc>__init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default="wxPyHtmlPrintoutTitleStr"/>
- </paramlist>
- </constructor>
- <method name="SetHtmlText" type="void" overloaded="no">
- <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc>
- <paramlist>
- <param name="html" type="r.q(const).wxString" default=""/>
- <param name="basepath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="isdir" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetHtmlFile" type="void" overloaded="no">
- <autodoc>SetHtmlFile(String htmlfile)</autodoc>
- <paramlist>
- <param name="htmlfile" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetHeader" type="void" overloaded="no">
- <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc>
- <paramlist>
- <param name="header" type="r.q(const).wxString" default=""/>
- <param name="pg" type="int" default="wxPAGE_ALL"/>
- </paramlist>
- </method>
- <method name="SetFooter" type="void" overloaded="no">
- <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc>
- <paramlist>
- <param name="footer" type="r.q(const).wxString" default=""/>
- <param name="pg" type="int" default="wxPAGE_ALL"/>
- </paramlist>
- </method>
- <method name="SetFonts" type="void" overloaded="no">
- <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
- <paramlist>
- <param name="normal_face" type="wxString" default=""/>
- <param name="fixed_face" type="wxString" default=""/>
- <param name="sizes" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="SetMargins" type="void" overloaded="no">
- <autodoc>SetMargins(float top=25.2, float bottom=25.2, float left=25.2,
- float right=25.2, float spaces=5)</autodoc>
- <paramlist>
- <param name="top" type="float" default="25.2"/>
- <param name="bottom" type="float" default="25.2"/>
- <param name="left" type="float" default="25.2"/>
- <param name="right" type="float" default="25.2"/>
- <param name="spaces" type="float" default="5"/>
- </paramlist>
- </method>
- <staticmethod name="AddFilter" type="void" overloaded="no">
- <autodoc>HtmlPrintout.AddFilter(wxHtmlFilter filter)</autodoc>
- <paramlist>
- <param name="filter" type="p.wxHtmlFilter" default=""/>
- </paramlist>
- </staticmethod>
- <staticmethod name="CleanUpStatics" type="void" overloaded="no">
- <autodoc>HtmlPrintout.CleanUpStatics()</autodoc>
- </staticmethod>
- </class>
- <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html">
- <baseclass name="wxObject"/>
- <constructor name="HtmlEasyPrinting" overloaded="no">
- <autodoc>__init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default="wxPyHtmlPrintingTitleStr"/>
- <param name="parentWindow" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxHtmlEasyPrinting" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="PreviewFile" type="void" overloaded="no">
- <autodoc>PreviewFile(String htmlfile)</autodoc>
- <paramlist>
- <param name="htmlfile" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="PreviewText" type="void" overloaded="no">
- <autodoc>PreviewText(String htmltext, String basepath=EmptyString)</autodoc>
- <paramlist>
- <param name="htmltext" type="r.q(const).wxString" default=""/>
- <param name="basepath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="PrintFile" type="void" overloaded="no">
- <autodoc>PrintFile(String htmlfile)</autodoc>
- <paramlist>
- <param name="htmlfile" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="PrintText" type="void" overloaded="no">
- <autodoc>PrintText(String htmltext, String basepath=EmptyString)</autodoc>
- <paramlist>
- <param name="htmltext" type="r.q(const).wxString" default=""/>
- <param name="basepath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="PrinterSetup" type="void" overloaded="no">
- <autodoc>PrinterSetup()</autodoc>
- </method>
- <method name="PageSetup" type="void" overloaded="no">
- <autodoc>PageSetup()</autodoc>
- </method>
- <method name="SetHeader" type="void" overloaded="no">
- <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc>
- <paramlist>
- <param name="header" type="r.q(const).wxString" default=""/>
- <param name="pg" type="int" default="wxPAGE_ALL"/>
- </paramlist>
- </method>
- <method name="SetFooter" type="void" overloaded="no">
- <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc>
- <paramlist>
- <param name="footer" type="r.q(const).wxString" default=""/>
- <param name="pg" type="int" default="wxPAGE_ALL"/>
- </paramlist>
- </method>
- <method name="SetFonts" type="void" overloaded="no">
- <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
- <paramlist>
- <param name="normal_face" type="wxString" default=""/>
- <param name="fixed_face" type="wxString" default=""/>
- <param name="sizes" type="p.PyObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetPrintData" type="wxPrintData" overloaded="no">
- <autodoc>GetPrintData() -> PrintData</autodoc>
- </method>
- <method name="GetPageSetupData" type="wxPageSetupDialogData" overloaded="no">
- <autodoc>GetPageSetupData() -> PageSetupDialogData</autodoc>
- </method>
- </class>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html">
- <constructor name="HtmlBookRecord" overloaded="no">
- <autodoc>__init__(String bookfile, String basepath, String title, String start) -> HtmlBookRecord</autodoc>
- <paramlist>
- <param name="bookfile" type="r.q(const).wxString" default=""/>
- <param name="basepath" type="r.q(const).wxString" default=""/>
- <param name="title" type="r.q(const).wxString" default=""/>
- <param name="start" type="r.q(const).wxString" default=""/>
- </paramlist>
- </constructor>
- <method name="GetBookFile" type="wxString" overloaded="no">
- <autodoc>GetBookFile() -> String</autodoc>
- </method>
- <method name="GetTitle" type="wxString" overloaded="no">
- <autodoc>GetTitle() -> String</autodoc>
- </method>
- <method name="GetStart" type="wxString" overloaded="no">
- <autodoc>GetStart() -> String</autodoc>
- </method>
- <method name="GetBasePath" type="wxString" overloaded="no">
- <autodoc>GetBasePath() -> String</autodoc>
- </method>
- <method name="SetContentsRange" type="void" overloaded="no">
- <autodoc>SetContentsRange(int start, int end)</autodoc>
- <paramlist>
- <param name="start" type="int" default=""/>
- <param name="end" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetContentsStart" type="int" overloaded="no">
- <autodoc>GetContentsStart() -> int</autodoc>
- </method>
- <method name="GetContentsEnd" type="int" overloaded="no">
- <autodoc>GetContentsEnd() -> int</autodoc>
- </method>
- <method name="SetTitle" type="void" overloaded="no">
- <autodoc>SetTitle(String title)</autodoc>
- <paramlist>
- <param name="title" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetBasePath" type="void" overloaded="no">
- <autodoc>SetBasePath(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetStart" type="void" overloaded="no">
- <autodoc>SetStart(String start)</autodoc>
- <paramlist>
- <param name="start" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetFullPath" type="wxString" overloaded="no">
- <autodoc>GetFullPath(String page) -> String</autodoc>
- <paramlist>
- <param name="page" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html">
- <method name="GetLevel" type="int" overloaded="no">
- <autodoc>GetLevel() -> int</autodoc>
- </method>
- <method name="GetID" type="int" overloaded="no">
- <autodoc>GetID() -> int</autodoc>
- </method>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="GetPage" type="wxString" overloaded="no">
- <autodoc>GetPage() -> String</autodoc>
- </method>
- <method name="GetBook" type="wxHtmlBookRecord" overloaded="no">
- <autodoc>GetBook() -> HtmlBookRecord</autodoc>
- </method>
- </class>
- <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html">
- <method name="Search" type="bool" overloaded="no">
- <autodoc>Search() -> bool</autodoc>
- </method>
- <method name="IsActive" type="bool" overloaded="no">
- <autodoc>IsActive() -> bool</autodoc>
- </method>
- <method name="GetCurIndex" type="int" overloaded="no">
- <autodoc>GetCurIndex() -> int</autodoc>
- </method>
- <method name="GetMaxIndex" type="int" overloaded="no">
- <autodoc>GetMaxIndex() -> int</autodoc>
- </method>
- <method name="GetName" type="q(const).wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="GetContentsItem" type="wxHtmlContentsItem" overloaded="no">
- <autodoc>GetContentsItem() -> HtmlContentsItem</autodoc>
- </method>
- </class>
- <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html">
- <constructor name="HtmlHelpData" overloaded="no">
- <autodoc>__init__() -> HtmlHelpData</autodoc>
- </constructor>
- <destructor name="~wxHtmlHelpData" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetTempDir" type="void" overloaded="no">
- <autodoc>SetTempDir(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AddBook" type="bool" overloaded="no">
- <autodoc>AddBook(String book) -> bool</autodoc>
- <paramlist>
- <param name="book" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindPageByName" type="wxString" overloaded="no">
- <autodoc>FindPageByName(String page) -> String</autodoc>
- <paramlist>
- <param name="page" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindPageById" type="wxString" overloaded="no">
- <autodoc>FindPageById(int id) -> String</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBookRecArray" type="q(const).wxHtmlBookRecArray" overloaded="no">
- <autodoc>GetBookRecArray() -> wxHtmlBookRecArray</autodoc>
- </method>
- <method name="GetContents" type="wxHtmlContentsItem" overloaded="no">
- <autodoc>GetContents() -> HtmlContentsItem</autodoc>
- </method>
- <method name="GetContentsCnt" type="int" overloaded="no">
- <autodoc>GetContentsCnt() -> int</autodoc>
- </method>
- <method name="GetIndex" type="wxHtmlContentsItem" overloaded="no">
- <autodoc>GetIndex() -> HtmlContentsItem</autodoc>
- </method>
- <method name="GetIndexCnt" type="int" overloaded="no">
- <autodoc>GetIndexCnt() -> int</autodoc>
- </method>
- </class>
- <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html">
- <baseclass name="wxFrame"/>
- <constructor name="HtmlHelpFrame" overloaded="no">
- <autodoc>__init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
- HtmlHelpData data=None) -> HtmlHelpFrame</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="" type="int" default=""/>
- <param name="title" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
- <param name="data" type="p.wxHtmlHelpData" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetData" type="wxHtmlHelpData" overloaded="no">
- <autodoc>GetData() -> HtmlHelpData</autodoc>
- </method>
- <method name="SetTitleFormat" type="void" overloaded="no">
- <autodoc>SetTitleFormat(String format)</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Display" type="void" overloaded="no">
- <autodoc>Display(String x)</autodoc>
- <paramlist>
- <param name="x" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DisplayID" type="void" overloaded="no">
- <autodoc>DisplayID(int id)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DisplayContents" type="void" overloaded="no">
- <autodoc>DisplayContents()</autodoc>
- </method>
- <method name="DisplayIndex" type="void" overloaded="no">
- <autodoc>DisplayIndex()</autodoc>
- </method>
- <method name="KeywordSearch" type="bool" overloaded="no">
- <autodoc>KeywordSearch(String keyword) -> bool</autodoc>
- <paramlist>
- <param name="keyword" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="UseConfig" type="void" overloaded="no">
- <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc>
- <paramlist>
- <param name="config" type="p.wxConfigBase" default=""/>
- <param name="rootpath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="ReadCustomization" type="void" overloaded="no">
- <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
- <paramlist>
- <param name="cfg" type="p.wxConfigBase" default=""/>
- <param name="path" type="wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="WriteCustomization" type="void" overloaded="no">
- <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
- <paramlist>
- <param name="cfg" type="p.wxConfigBase" default=""/>
- <param name="path" type="wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- </class>
- <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html">
- <baseclass name="wxEvtHandler"/>
- <constructor name="HtmlHelpController" overloaded="no">
- <autodoc>__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController</autodoc>
- <paramlist>
- <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
- </paramlist>
- </constructor>
- <destructor name="~wxHtmlHelpController" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetTitleFormat" type="void" overloaded="no">
- <autodoc>SetTitleFormat(String format)</autodoc>
- <paramlist>
- <param name="format" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetTempDir" type="void" overloaded="no">
- <autodoc>SetTempDir(String path)</autodoc>
- <paramlist>
- <param name="path" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AddBook" type="bool" overloaded="no">
- <autodoc>AddBook(String book, int show_wait_msg=False) -> bool</autodoc>
- <paramlist>
- <param name="book" type="r.q(const).wxString" default=""/>
- <param name="show_wait_msg" type="int" default="False"/>
- </paramlist>
- </method>
- <method name="Display" type="void" overloaded="no">
- <autodoc>Display(String x)</autodoc>
- <paramlist>
- <param name="x" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DisplayID" type="void" overloaded="no">
- <autodoc>DisplayID(int id)</autodoc>
- <paramlist>
- <param name="id" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DisplayContents" type="void" overloaded="no">
- <autodoc>DisplayContents()</autodoc>
- </method>
- <method name="DisplayIndex" type="void" overloaded="no">
- <autodoc>DisplayIndex()</autodoc>
- </method>
- <method name="KeywordSearch" type="bool" overloaded="no">
- <autodoc>KeywordSearch(String keyword) -> bool</autodoc>
- <paramlist>
- <param name="keyword" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="UseConfig" type="void" overloaded="no">
- <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc>
- <paramlist>
- <param name="config" type="p.wxConfigBase" default=""/>
- <param name="rootpath" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="ReadCustomization" type="void" overloaded="no">
- <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
- <paramlist>
- <param name="cfg" type="p.wxConfigBase" default=""/>
- <param name="path" type="wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="WriteCustomization" type="void" overloaded="no">
- <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
- <paramlist>
- <param name="cfg" type="p.wxConfigBase" default=""/>
- <param name="path" type="wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetFrame" type="wxHtmlHelpFrame" overloaded="no">
- <autodoc>GetFrame() -> HtmlHelpFrame</autodoc>
- </method>
- </class>
-</module><module name="wizard">
- <import name="windows"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
-EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
-EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
-EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1)
-EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
-EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
-</pythoncode>
- <class name="WizardEvent" oldname="wxWizardEvent" module="wizard">
- <baseclass name="wxNotifyEvent"/>
- <constructor name="WizardEvent" overloaded="no">
- <autodoc>__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
- WizardPage page=None) -> WizardEvent</autodoc>
- <paramlist>
- <param name="type" type="wxEventType" default="wxEVT_NULL"/>
- <param name="id" type="int" default="-1"/>
- <param name="direction" type="bool" default="True"/>
- <param name="page" type="p.wxWizardPage" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetDirection" type="bool" overloaded="no">
- <autodoc>GetDirection() -> bool</autodoc>
- </method>
- <method name="GetPage" type="wxWizardPage" overloaded="no">
- <autodoc>GetPage() -> WizardPage</autodoc>
- </method>
- </class>
- <class name="WizardPage" oldname="wxWizardPage" module="wizard">
- <baseclass name="wxPanel"/>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWizard" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="resource" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetPrev" type="wxWizardPage" overloaded="no">
- <autodoc>GetPrev() -> WizardPage</autodoc>
- </method>
- <method name="GetNext" type="wxWizardPage" overloaded="no">
- <autodoc>GetNext() -> WizardPage</autodoc>
- </method>
- <method name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmap() -> Bitmap</autodoc>
- </method>
- </class>
- <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard">
- <baseclass name="wxWizardPage"/>
- <constructor name="PyWizardPage" overloaded="no">
- <autodoc>__init__(Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWizard" default=""/>
- <param name="bitmap" type="p.q(const).wxBitmap" default="&wxNullBitmap"/>
- <param name="resource" type="p.q(const).wxString" default="&wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <constructor name="PrePyWizardPage" overloaded="no">
- <autodoc>PrePyWizardPage() -> PyWizardPage</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWizard" default=""/>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="resource" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_DoMoveWindow" type="void" overloaded="no">
- <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetSize" type="void" overloaded="no">
- <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
- </paramlist>
- </method>
- <method name="base_DoSetClientSize" type="void" overloaded="no">
- <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
- <paramlist>
- <param name="width" type="int" default=""/>
- <param name="height" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoSetVirtualSize" type="void" overloaded="no">
- <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetSize" type="void" overloaded="no">
- <autodoc>base_DoGetSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetClientSize" type="void" overloaded="no">
- <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetPosition" type="void" overloaded="no">
- <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="base_DoGetVirtualSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetVirtualSize() -> Size</autodoc>
- </method>
- <method name="base_DoGetBestSize" type="wxSize" overloaded="no">
- <autodoc>base_DoGetBestSize() -> Size</autodoc>
- </method>
- <method name="base_InitDialog" type="void" overloaded="no">
- <autodoc>base_InitDialog()</autodoc>
- </method>
- <method name="base_TransferDataToWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataToWindow() -> bool</autodoc>
- </method>
- <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
- <autodoc>base_TransferDataFromWindow() -> bool</autodoc>
- </method>
- <method name="base_Validate" type="bool" overloaded="no">
- <autodoc>base_Validate() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocus" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocus() -> bool</autodoc>
- </method>
- <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
- <autodoc>base_AcceptsFocusFromKeyboard() -> bool</autodoc>
- </method>
- <method name="base_GetMaxSize" type="wxSize" overloaded="no">
- <autodoc>base_GetMaxSize() -> Size</autodoc>
- </method>
- <method name="base_AddChild" type="void" overloaded="no">
- <autodoc>base_AddChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="base_RemoveChild" type="void" overloaded="no">
- <autodoc>base_RemoveChild(Window child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard">
- <baseclass name="wxWizardPage"/>
- <constructor name="WizardPageSimple" overloaded="no">
- <autodoc>__init__(Wizard parent, WizardPage prev=None, WizardPage next=None,
- Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWizard" default=""/>
- <param name="prev" type="p.wxWizardPage" default="NULL"/>
- <param name="next" type="p.wxWizardPage" default="NULL"/>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="resource" type="p.q(const).wxChar" default="NULL"/>
- </paramlist>
- </constructor>
- <constructor name="PreWizardPageSimple" overloaded="no">
- <autodoc>PreWizardPageSimple() -> WizardPageSimple</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None,
- Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWizard" default="NULL"/>
- <param name="prev" type="p.wxWizardPage" default="NULL"/>
- <param name="next" type="p.wxWizardPage" default="NULL"/>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="resource" type="p.q(const).wxChar" default="NULL"/>
- </paramlist>
- </method>
- <method name="SetPrev" type="void" overloaded="no">
- <autodoc>SetPrev(WizardPage prev)</autodoc>
- <paramlist>
- <param name="prev" type="p.wxWizardPage" default=""/>
- </paramlist>
- </method>
- <method name="SetNext" type="void" overloaded="no">
- <autodoc>SetNext(WizardPage next)</autodoc>
- <paramlist>
- <param name="next" type="p.wxWizardPage" default=""/>
- </paramlist>
- </method>
- <staticmethod name="Chain" type="void" overloaded="no">
- <autodoc>WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)</autodoc>
- <paramlist>
- <param name="first" type="p.wxWizardPageSimple" default=""/>
- <param name="second" type="p.wxWizardPageSimple" default=""/>
- </paramlist>
- </staticmethod>
- </class>
- <class name="Wizard" oldname="wxWizard" module="wizard">
- <baseclass name="wxDialog"/>
- <constructor name="Wizard" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, String title=EmptyString,
- Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
- long style=DEFAULT_DIALOG_STYLE) -> Wizard</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="title" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
- </paramlist>
- </constructor>
- <constructor name="PreWizard" overloaded="no">
- <autodoc>PreWizard() -> Wizard</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, String title=EmptyString,
- Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="title" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="bitmap" type="r.q(const).wxBitmap" default="wxNullBitmap"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- </paramlist>
- </method>
- <method name="Init" type="void" overloaded="no">
- <autodoc>Init()</autodoc>
- </method>
- <method name="RunWizard" type="bool" overloaded="no">
- <autodoc>RunWizard(WizardPage firstPage) -> bool</autodoc>
- <paramlist>
- <param name="firstPage" type="p.wxWizardPage" default=""/>
- </paramlist>
- </method>
- <method name="GetCurrentPage" type="wxWizardPage" overloaded="no">
- <autodoc>GetCurrentPage() -> WizardPage</autodoc>
- </method>
- <method name="SetPageSize" type="void" overloaded="no">
- <autodoc>SetPageSize(Size size)</autodoc>
- <paramlist>
- <param name="size" type="r.q(const).wxSize" default=""/>
- </paramlist>
- </method>
- <method name="GetPageSize" type="wxSize" overloaded="no">
- <autodoc>GetPageSize() -> Size</autodoc>
- </method>
- <method name="FitToPage" type="void" overloaded="no">
- <autodoc>FitToPage(WizardPage firstPage)</autodoc>
- <paramlist>
- <param name="firstPage" type="p.q(const).wxWizardPage" default=""/>
- </paramlist>
- </method>
- <method name="GetPageAreaSizer" type="wxSizer" overloaded="no">
- <autodoc>GetPageAreaSizer() -> Sizer</autodoc>
- </method>
- <method name="SetBorder" type="void" overloaded="no">
- <autodoc>SetBorder(int border)</autodoc>
- <paramlist>
- <param name="border" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IsRunning" type="bool" overloaded="no">
- <autodoc>IsRunning() -> bool</autodoc>
- </method>
- <method name="ShowPage" type="bool" overloaded="no">
- <autodoc>ShowPage(WizardPage page, bool goingForward=True) -> bool</autodoc>
- <paramlist>
- <param name="page" type="p.wxWizardPage" default=""/>
- <param name="goingForward" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="HasNextPage" type="bool" overloaded="no">
- <autodoc>HasNextPage(WizardPage page) -> bool</autodoc>
- <paramlist>
- <param name="page" type="p.wxWizardPage" default=""/>
- </paramlist>
- </method>
- <method name="HasPrevPage" type="bool" overloaded="no">
- <autodoc>HasPrevPage(WizardPage page) -> bool</autodoc>
- <paramlist>
- <param name="page" type="p.wxWizardPage" default=""/>
- </paramlist>
- </method>
- </class>
-</module><module name="glcanvas">
- <import name="core"/>
- <pythoncode> wx = core </pythoncode>
- <class name="GLContext" oldname="wxGLContext" module="glcanvas">
- <baseclass name="wxObject"/>
- <constructor name="GLContext" overloaded="no">
- <autodoc>__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette,
- GLContext other=None) -> GLContext</autodoc>
- <paramlist>
- <param name="isRGB" type="bool" default=""/>
- <param name="win" type="p.wxGLCanvas" default=""/>
- <param name="palette" type="r.q(const).wxPalette" default="wxNullPalette"/>
- <param name="other" type="p.q(const).wxGLContext" default="NULL"/>
- </paramlist>
- </constructor>
- <destructor name="~wxGLContext" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetCurrent" type="void" overloaded="no">
- <autodoc>SetCurrent()</autodoc>
- </method>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(String colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SwapBuffers" type="void" overloaded="no">
- <autodoc>SwapBuffers()</autodoc>
- </method>
- <method name="SetupPixelFormat" type="void" overloaded="no">
- <autodoc>SetupPixelFormat()</autodoc>
- </method>
- <method name="SetupPalette" type="void" overloaded="no">
- <autodoc>SetupPalette(wxPalette palette)</autodoc>
- <paramlist>
- <param name="palette" type="r.q(const).wxPalette" default=""/>
- </paramlist>
- </method>
- <method name="CreateDefaultPalette" type="wxPalette" overloaded="no">
- <autodoc>CreateDefaultPalette() -> wxPalette</autodoc>
- </method>
- <method name="GetPalette" type="wxPalette" overloaded="no">
- <autodoc>GetPalette() -> wxPalette</autodoc>
- </method>
- <method name="GetWindow" type="wxWindow" overloaded="no">
- <autodoc>GetWindow() -> Window</autodoc>
- </method>
- </class>
- <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas">
- <baseclass name="wxWindow"/>
- <constructor name="GLCanvas" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0, String name=GLCanvasNameStr,
- int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyGLCanvasNameStr"/>
- <param name="attribList" type="p.int" default="NULL"/>
- <param name="palette" type="r.q(const).wxPalette" default="wxNullPalette"/>
- </paramlist>
- </constructor>
- <constructor name="wxGLCanvasWithContext" overloaded="no">
- <autodoc>wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize,
- long style=0, String name=GLCanvasNameStr,
- int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="shared" type="p.q(const).wxGLContext" default="NULL"/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyGLCanvasNameStr"/>
- <param name="attribList" type="p.int" default="NULL"/>
- <param name="palette" type="r.q(const).wxPalette" default="wxNullPalette"/>
- </paramlist>
- </constructor>
- <method name="SetCurrent" type="void" overloaded="no">
- <autodoc>SetCurrent()</autodoc>
- </method>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(String colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SwapBuffers" type="void" overloaded="no">
- <autodoc>SwapBuffers()</autodoc>
- </method>
- <method name="GetContext" type="wxGLContext" overloaded="no">
- <autodoc>GetContext() -> GLContext</autodoc>
- </method>
- </class>
-</module><module name="ogl">
- <import name="windows"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
-#---------------------------------------------------------------------------
-</pythoncode>
- <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl">
- <baseclass name="wxObject"/>
- <constructor name="ShapeRegion" overloaded="no">
- <autodoc>__init__() -> ShapeRegion</autodoc>
- </constructor>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String s)</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font f)</autodoc>
- <paramlist>
- <param name="f" type="p.wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetMinSize" type="void" overloaded="no">
- <autodoc>SetMinSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetProportions" type="void" overloaded="no">
- <autodoc>SetProportions(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetFormatMode" type="void" overloaded="no">
- <autodoc>SetFormatMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetName" type="void" overloaded="no">
- <autodoc>SetName(String s)</autodoc>
- <paramlist>
- <param name="s" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetColour" type="void" overloaded="no">
- <autodoc>SetColour(String col)</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetText" type="wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont() -> Font</autodoc>
- </method>
- <method name="GetMinSize" type="void" overloaded="no">
- <autodoc>GetMinSize(double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetProportion" type="void" overloaded="no">
- <autodoc>GetProportion(double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="void" overloaded="no">
- <autodoc>GetSize(double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetPosition" type="void" overloaded="no">
- <autodoc>GetPosition(double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetFormatMode" type="int" overloaded="no">
- <autodoc>GetFormatMode() -> int</autodoc>
- </method>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="GetColour" type="wxString" overloaded="no">
- <autodoc>GetColour() -> String</autodoc>
- </method>
- <method name="GetActualColourObject" type="wxColour" overloaded="no">
- <autodoc>GetActualColourObject() -> Colour</autodoc>
- </method>
- <method name="GetFormattedText" type="wxList" overloaded="no">
- <autodoc>GetFormattedText() -> wxList</autodoc>
- </method>
- <method name="GetPenColour" type="wxString" overloaded="no">
- <autodoc>GetPenColour() -> String</autodoc>
- </method>
- <method name="GetPenStyle" type="int" overloaded="no">
- <autodoc>GetPenStyle() -> int</autodoc>
- </method>
- <method name="SetPenStyle" type="void" overloaded="no">
- <autodoc>SetPenStyle(int style)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPenColour" type="void" overloaded="no">
- <autodoc>SetPenColour(String col)</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetActualPen" type="wxPen" overloaded="no">
- <autodoc>GetActualPen() -> wxPen</autodoc>
- </method>
- <method name="GetWidth" type="double" overloaded="no">
- <autodoc>GetWidth() -> double</autodoc>
- </method>
- <method name="GetHeight" type="double" overloaded="no">
- <autodoc>GetHeight() -> double</autodoc>
- </method>
- <method name="ClearText" type="void" overloaded="no">
- <autodoc>ClearText()</autodoc>
- </method>
- </class>
- <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl">
- <baseclass name="wxObject"/>
- <constructor name="PyShapeEvtHandler" overloaded="no">
- <autodoc>__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler</autodoc>
- <paramlist>
- <param name="prev" type="p.wxPyShapeEvtHandler" default="NULL"/>
- <param name="shape" type="p.wxPyShape" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="_setOORInfo" type="void" overloaded="no">
- <autodoc>_setOORInfo(PyObject _self)</autodoc>
- <paramlist>
- <param name="_self" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetShape" type="void" overloaded="no">
- <autodoc>SetShape(PyShape sh)</autodoc>
- <paramlist>
- <param name="sh" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="GetShape" type="wxPyShape" overloaded="no">
- <autodoc>GetShape() -> PyShape</autodoc>
- </method>
- <method name="SetPreviousHandler" type="void" overloaded="no">
- <autodoc>SetPreviousHandler(PyShapeEvtHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxPyShapeEvtHandler" default=""/>
- </paramlist>
- </method>
- <method name="GetPreviousHandler" type="wxPyShapeEvtHandler" overloaded="no">
- <autodoc>GetPreviousHandler() -> PyShapeEvtHandler</autodoc>
- </method>
- <method name="CreateNewCopy" type="wxPyShapeEvtHandler" overloaded="no">
- <autodoc>CreateNewCopy() -> PyShapeEvtHandler</autodoc>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyShape" oldname="wxPyShape" module="ogl">
- <baseclass name="wxPyShapeEvtHandler"/>
- <constructor name="PyShape" overloaded="no">
- <autodoc>__init__(PyShapeCanvas can=None) -> PyShape</autodoc>
- <paramlist>
- <param name="can" type="p.wxPyShapeCanvas" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetBoundingBoxMax" type="void" overloaded="no">
- <autodoc>GetBoundingBoxMax(double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetBoundingBoxMin" type="void" overloaded="no">
- <autodoc>GetBoundingBoxMin(double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetPerimeterPoint" type="bool" overloaded="no">
- <autodoc>GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT,
- double OUTPUT) -> bool</autodoc>
- <paramlist>
- <param name="x1" type="double" default=""/>
- <param name="y1" type="double" default=""/>
- <param name="x2" type="double" default=""/>
- <param name="y2" type="double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
- <autodoc>GetCanvas() -> PyShapeCanvas</autodoc>
- </method>
- <method name="SetCanvas" type="void" overloaded="no">
- <autodoc>SetCanvas(PyShapeCanvas the_canvas)</autodoc>
- <paramlist>
- <param name="the_canvas" type="p.wxPyShapeCanvas" default=""/>
- </paramlist>
- </method>
- <method name="AddToCanvas" type="void" overloaded="no">
- <autodoc>AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc>
- <paramlist>
- <param name="the_canvas" type="p.wxPyShapeCanvas" default=""/>
- <param name="addAfter" type="p.wxPyShape" default="NULL"/>
- </paramlist>
- </method>
- <method name="InsertInCanvas" type="void" overloaded="no">
- <autodoc>InsertInCanvas(PyShapeCanvas the_canvas)</autodoc>
- <paramlist>
- <param name="the_canvas" type="p.wxPyShapeCanvas" default=""/>
- </paramlist>
- </method>
- <method name="RemoveFromCanvas" type="void" overloaded="no">
- <autodoc>RemoveFromCanvas(PyShapeCanvas the_canvas)</autodoc>
- <paramlist>
- <param name="the_canvas" type="p.wxPyShapeCanvas" default=""/>
- </paramlist>
- </method>
- <method name="GetX" type="double" overloaded="no">
- <autodoc>GetX() -> double</autodoc>
- </method>
- <method name="GetY" type="double" overloaded="no">
- <autodoc>GetY() -> double</autodoc>
- </method>
- <method name="SetX" type="void" overloaded="no">
- <autodoc>SetX(double x)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetY" type="void" overloaded="no">
- <autodoc>SetY(double y)</autodoc>
- <paramlist>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="GetParent" type="wxPyShape" overloaded="no">
- <autodoc>GetParent() -> PyShape</autodoc>
- </method>
- <method name="SetParent" type="void" overloaded="no">
- <autodoc>SetParent(PyShape p)</autodoc>
- <paramlist>
- <param name="p" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="GetTopAncestor" type="wxPyShape" overloaded="no">
- <autodoc>GetTopAncestor() -> PyShape</autodoc>
- </method>
- <method name="GetChildren" type="PyObject" overloaded="no">
- <autodoc>GetChildren() -> PyObject</autodoc>
- </method>
- <method name="Unlink" type="void" overloaded="no">
- <autodoc>Unlink()</autodoc>
- </method>
- <method name="SetDrawHandles" type="void" overloaded="no">
- <autodoc>SetDrawHandles(bool drawH)</autodoc>
- <paramlist>
- <param name="drawH" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetDrawHandles" type="bool" overloaded="no">
- <autodoc>GetDrawHandles() -> bool</autodoc>
- </method>
- <method name="MakeControlPoints" type="void" overloaded="no">
- <autodoc>MakeControlPoints()</autodoc>
- </method>
- <method name="DeleteControlPoints" type="void" overloaded="no">
- <autodoc>DeleteControlPoints(DC dc=None)</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default="NULL"/>
- </paramlist>
- </method>
- <method name="ResetControlPoints" type="void" overloaded="no">
- <autodoc>ResetControlPoints()</autodoc>
- </method>
- <method name="GetEventHandler" type="wxPyShapeEvtHandler" overloaded="no">
- <autodoc>GetEventHandler() -> PyShapeEvtHandler</autodoc>
- </method>
- <method name="SetEventHandler" type="void" overloaded="no">
- <autodoc>SetEventHandler(PyShapeEvtHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxPyShapeEvtHandler" default=""/>
- </paramlist>
- </method>
- <method name="MakeMandatoryControlPoints" type="void" overloaded="no">
- <autodoc>MakeMandatoryControlPoints()</autodoc>
- </method>
- <method name="ResetMandatoryControlPoints" type="void" overloaded="no">
- <autodoc>ResetMandatoryControlPoints()</autodoc>
- </method>
- <method name="Recompute" type="bool" overloaded="no">
- <autodoc>Recompute() -> bool</autodoc>
- </method>
- <method name="CalculateSize" type="void" overloaded="no">
- <autodoc>CalculateSize()</autodoc>
- </method>
- <method name="Select" type="void" overloaded="no">
- <autodoc>Select(bool select=True, DC dc=None)</autodoc>
- <paramlist>
- <param name="select" type="bool" default="True"/>
- <param name="dc" type="p.wxDC" default="NULL"/>
- </paramlist>
- </method>
- <method name="SetHighlight" type="void" overloaded="no">
- <autodoc>SetHighlight(bool hi=True, bool recurse=False)</autodoc>
- <paramlist>
- <param name="hi" type="bool" default="True"/>
- <param name="recurse" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="IsHighlighted" type="bool" overloaded="no">
- <autodoc>IsHighlighted() -> bool</autodoc>
- </method>
- <method name="Selected" type="bool" overloaded="no">
- <autodoc>Selected() -> bool</autodoc>
- </method>
- <method name="AncestorSelected" type="bool" overloaded="no">
- <autodoc>AncestorSelected() -> bool</autodoc>
- </method>
- <method name="SetSensitivityFilter" type="void" overloaded="no">
- <autodoc>SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)</autodoc>
- <paramlist>
- <param name="sens" type="int" default="OP_ALL"/>
- <param name="recursive" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="GetSensitivityFilter" type="int" overloaded="no">
- <autodoc>GetSensitivityFilter() -> int</autodoc>
- </method>
- <method name="SetDraggable" type="void" overloaded="no">
- <autodoc>SetDraggable(bool drag, bool recursive=False)</autodoc>
- <paramlist>
- <param name="drag" type="bool" default=""/>
- <param name="recursive" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="SetFixedSize" type="void" overloaded="no">
- <autodoc>SetFixedSize(bool x, bool y)</autodoc>
- <paramlist>
- <param name="x" type="bool" default=""/>
- <param name="y" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetFixedSize" type="void" overloaded="no">
- <autodoc>GetFixedSize(bool OUTPUT, bool OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.bool" default=""/>
- <param name="OUTPUT" type="p.bool" default=""/>
- </paramlist>
- </method>
- <method name="GetFixedWidth" type="bool" overloaded="no">
- <autodoc>GetFixedWidth() -> bool</autodoc>
- </method>
- <method name="GetFixedHeight" type="bool" overloaded="no">
- <autodoc>GetFixedHeight() -> bool</autodoc>
- </method>
- <method name="SetSpaceAttachments" type="void" overloaded="no">
- <autodoc>SetSpaceAttachments(bool sp)</autodoc>
- <paramlist>
- <param name="sp" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetSpaceAttachments" type="bool" overloaded="no">
- <autodoc>GetSpaceAttachments() -> bool</autodoc>
- </method>
- <method name="SetShadowMode" type="void" overloaded="no">
- <autodoc>SetShadowMode(int mode, bool redraw=False)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- <param name="redraw" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="GetShadowMode" type="int" overloaded="no">
- <autodoc>GetShadowMode() -> int</autodoc>
- </method>
- <method name="HitTest" type="bool" overloaded="no">
- <autodoc>HitTest(double x, double y, int OUTPUT, double OUTPUT) -> bool</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="SetCentreResize" type="void" overloaded="no">
- <autodoc>SetCentreResize(bool cr)</autodoc>
- <paramlist>
- <param name="cr" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetCentreResize" type="bool" overloaded="no">
- <autodoc>GetCentreResize() -> bool</autodoc>
- </method>
- <method name="SetMaintainAspectRatio" type="void" overloaded="no">
- <autodoc>SetMaintainAspectRatio(bool ar)</autodoc>
- <paramlist>
- <param name="ar" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetMaintainAspectRatio" type="bool" overloaded="no">
- <autodoc>GetMaintainAspectRatio() -> bool</autodoc>
- </method>
- <method name="GetLines" type="PyObject" overloaded="no">
- <autodoc>GetLines() -> PyObject</autodoc>
- </method>
- <method name="SetDisableLabel" type="void" overloaded="no">
- <autodoc>SetDisableLabel(bool flag)</autodoc>
- <paramlist>
- <param name="flag" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetDisableLabel" type="bool" overloaded="no">
- <autodoc>GetDisableLabel() -> bool</autodoc>
- </method>
- <method name="SetAttachmentMode" type="void" overloaded="no">
- <autodoc>SetAttachmentMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetAttachmentMode" type="int" overloaded="no">
- <autodoc>GetAttachmentMode() -> int</autodoc>
- </method>
- <method name="SetId" type="void" overloaded="no">
- <autodoc>SetId(long i)</autodoc>
- <paramlist>
- <param name="i" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetId" type="long" overloaded="no">
- <autodoc>GetId() -> long</autodoc>
- </method>
- <method name="SetPen" type="void" overloaded="no">
- <autodoc>SetPen(wxPen pen)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- </paramlist>
- </method>
- <method name="SetBrush" type="void" overloaded="no">
- <autodoc>SetBrush(wxBrush brush)</autodoc>
- <paramlist>
- <param name="brush" type="p.wxBrush" default=""/>
- </paramlist>
- </method>
- <method name="Show" type="void" overloaded="no">
- <autodoc>Show(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="IsShown" type="bool" overloaded="no">
- <autodoc>IsShown() -> bool</autodoc>
- </method>
- <method name="Move" type="void" overloaded="no">
- <autodoc>Move(DC dc, double x1, double y1, bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x1" type="double" default=""/>
- <param name="y1" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Erase" type="void" overloaded="no">
- <autodoc>Erase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="EraseContents" type="void" overloaded="no">
- <autodoc>EraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="Draw" type="void" overloaded="no">
- <autodoc>Draw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="Flash" type="void" overloaded="no">
- <autodoc>Flash()</autodoc>
- </method>
- <method name="MoveLinks" type="void" overloaded="no">
- <autodoc>MoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="DrawContents" type="void" overloaded="no">
- <autodoc>DrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(double x, double y, bool recursive=True)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="recursive" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="SetAttachmentSize" type="void" overloaded="no">
- <autodoc>SetAttachmentSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="Attach" type="void" overloaded="no">
- <autodoc>Attach(PyShapeCanvas can)</autodoc>
- <paramlist>
- <param name="can" type="p.wxPyShapeCanvas" default=""/>
- </paramlist>
- </method>
- <method name="Detach" type="void" overloaded="no">
- <autodoc>Detach()</autodoc>
- </method>
- <method name="Constrain" type="bool" overloaded="no">
- <autodoc>Constrain() -> bool</autodoc>
- </method>
- <method name="AddLine" type="void" overloaded="no">
- <autodoc>AddLine(PyLineShape line, PyShape other, int attachFrom=0,
- int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc>
- <paramlist>
- <param name="line" type="p.wxPyLineShape" default=""/>
- <param name="other" type="p.wxPyShape" default=""/>
- <param name="attachFrom" type="int" default="0"/>
- <param name="attachTo" type="int" default="0"/>
- <param name="positionFrom" type="int" default="-1"/>
- <param name="positionTo" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="GetLinePosition" type="int" overloaded="no">
- <autodoc>GetLinePosition(PyLineShape line) -> int</autodoc>
- <paramlist>
- <param name="line" type="p.wxPyLineShape" default=""/>
- </paramlist>
- </method>
- <method name="AddText" type="void" overloaded="no">
- <autodoc>AddText(String string)</autodoc>
- <paramlist>
- <param name="string" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetPen" type="wxPen" overloaded="no">
- <autodoc>GetPen() -> wxPen</autodoc>
- </method>
- <method name="GetBrush" type="wxBrush" overloaded="no">
- <autodoc>GetBrush() -> wxBrush</autodoc>
- </method>
- <method name="SetDefaultRegionSize" type="void" overloaded="no">
- <autodoc>SetDefaultRegionSize()</autodoc>
- </method>
- <method name="FormatText" type="void" overloaded="no">
- <autodoc>FormatText(DC dc, String s, int regionId=0)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="s" type="r.q(const).wxString" default=""/>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetFormatMode" type="void" overloaded="no">
- <autodoc>SetFormatMode(int mode, int regionId=0)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetFormatMode" type="int" overloaded="no">
- <autodoc>GetFormatMode(int regionId=0) -> int</autodoc>
- <paramlist>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font, int regionId=0)</autodoc>
- <paramlist>
- <param name="font" type="p.wxFont" default=""/>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont(int regionId=0) -> Font</autodoc>
- <paramlist>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(String colour, int regionId=0)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxString" default=""/>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetTextColour" type="wxString" overloaded="no">
- <autodoc>GetTextColour(int regionId=0) -> String</autodoc>
- <paramlist>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetNumberOfTextRegions" type="int" overloaded="no">
- <autodoc>GetNumberOfTextRegions() -> int</autodoc>
- </method>
- <method name="SetRegionName" type="void" overloaded="no">
- <autodoc>SetRegionName(String name, int regionId=0)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetRegionName" type="wxString" overloaded="no">
- <autodoc>GetRegionName(int regionId) -> String</autodoc>
- <paramlist>
- <param name="regionId" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetRegionId" type="int" overloaded="no">
- <autodoc>GetRegionId(String name) -> int</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="NameRegions" type="void" overloaded="no">
- <autodoc>NameRegions(String parentName=EmptyString)</autodoc>
- <paramlist>
- <param name="parentName" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </method>
- <method name="GetRegions" type="PyObject" overloaded="no">
- <autodoc>GetRegions() -> PyObject</autodoc>
- </method>
- <method name="AddRegion" type="void" overloaded="no">
- <autodoc>AddRegion(ShapeRegion region)</autodoc>
- <paramlist>
- <param name="region" type="p.wxShapeRegion" default=""/>
- </paramlist>
- </method>
- <method name="ClearRegions" type="void" overloaded="no">
- <autodoc>ClearRegions()</autodoc>
- </method>
- <method name="AssignNewIds" type="void" overloaded="no">
- <autodoc>AssignNewIds()</autodoc>
- </method>
- <method name="FindRegion" type="wxPyShape" overloaded="no">
- <autodoc>FindRegion(String regionName, int OUTPUT) -> PyShape</autodoc>
- <paramlist>
- <param name="regionName" type="r.q(const).wxString" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="FindRegionNames" type="void" overloaded="no">
- <autodoc>FindRegionNames(wxStringList list)</autodoc>
- <paramlist>
- <param name="list" type="r.wxStringList" default=""/>
- </paramlist>
- </method>
- <method name="ClearText" type="void" overloaded="no">
- <autodoc>ClearText(int regionId=0)</autodoc>
- <paramlist>
- <param name="regionId" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="RemoveLine" type="void" overloaded="no">
- <autodoc>RemoveLine(PyLineShape line)</autodoc>
- <paramlist>
- <param name="line" type="p.wxPyLineShape" default=""/>
- </paramlist>
- </method>
- <method name="GetAttachmentPosition" type="bool" overloaded="no">
- <autodoc>GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0,
- int no_arcs=1, PyLineShape line=None) -> bool</autodoc>
- <paramlist>
- <param name="attachment" type="int" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="nth" type="int" default="0"/>
- <param name="no_arcs" type="int" default="1"/>
- <param name="line" type="p.wxPyLineShape" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetNumberOfAttachments" type="int" overloaded="no">
- <autodoc>GetNumberOfAttachments() -> int</autodoc>
- </method>
- <method name="AttachmentIsValid" type="bool" overloaded="no">
- <autodoc>AttachmentIsValid(int attachment) -> bool</autodoc>
- <paramlist>
- <param name="attachment" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetAttachmentPositionEdge" type="bool" overloaded="no">
- <autodoc>GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0,
- int no_arcs=1, PyLineShape line=None) -> bool</autodoc>
- <paramlist>
- <param name="attachment" type="int" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="nth" type="int" default="0"/>
- <param name="no_arcs" type="int" default="1"/>
- <param name="line" type="p.wxPyLineShape" default="NULL"/>
- </paramlist>
- </method>
- <method name="CalcSimpleAttachment" type="wxRealPoint" overloaded="no">
- <autodoc>CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs,
- PyLineShape line) -> RealPoint</autodoc>
- <paramlist>
- <param name="pt1" type="r.q(const).wxRealPoint" default=""/>
- <param name="pt2" type="r.q(const).wxRealPoint" default=""/>
- <param name="nth" type="int" default=""/>
- <param name="noArcs" type="int" default=""/>
- <param name="line" type="p.wxPyLineShape" default=""/>
- </paramlist>
- </method>
- <method name="AttachmentSortTest" type="bool" overloaded="no">
- <autodoc>AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool</autodoc>
- <paramlist>
- <param name="attachmentPoint" type="int" default=""/>
- <param name="pt1" type="r.q(const).wxRealPoint" default=""/>
- <param name="pt2" type="r.q(const).wxRealPoint" default=""/>
- </paramlist>
- </method>
- <method name="EraseLinks" type="void" overloaded="no">
- <autodoc>EraseLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="attachment" type="int" default="-1"/>
- <param name="recurse" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="DrawLinks" type="void" overloaded="no">
- <autodoc>DrawLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="attachment" type="int" default="-1"/>
- <param name="recurse" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="MoveLineToNewAttachment" type="bool" overloaded="no">
- <autodoc>MoveLineToNewAttachment(DC dc, PyLineShape to_move, double x, double y) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="to_move" type="p.wxPyLineShape" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="ApplyAttachmentOrdering" type="void" overloaded="no">
- <autodoc>ApplyAttachmentOrdering(PyObject linesToSort)</autodoc>
- <paramlist>
- <param name="linesToSort" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetBranchingAttachmentRoot" type="wxRealPoint" overloaded="no">
- <autodoc>GetBranchingAttachmentRoot(int attachment) -> RealPoint</autodoc>
- <paramlist>
- <param name="attachment" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no">
- <autodoc>GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
- RealPoint shoulder2) -> bool</autodoc>
- <paramlist>
- <param name="attachment" type="int" default=""/>
- <param name="root" type="r.wxRealPoint" default=""/>
- <param name="neck" type="r.wxRealPoint" default=""/>
- <param name="shoulder1" type="r.wxRealPoint" default=""/>
- <param name="shoulder2" type="r.wxRealPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no">
- <autodoc>GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool</autodoc>
- <paramlist>
- <param name="attachment" type="int" default=""/>
- <param name="n" type="int" default=""/>
- <param name="attachmentPoint" type="r.wxRealPoint" default=""/>
- <param name="stemPoint" type="r.wxRealPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetAttachmentLineCount" type="int" overloaded="no">
- <autodoc>GetAttachmentLineCount(int attachment) -> int</autodoc>
- <paramlist>
- <param name="attachment" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetBranchNeckLength" type="void" overloaded="no">
- <autodoc>SetBranchNeckLength(int len)</autodoc>
- <paramlist>
- <param name="len" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBranchNeckLength" type="int" overloaded="no">
- <autodoc>GetBranchNeckLength() -> int</autodoc>
- </method>
- <method name="SetBranchStemLength" type="void" overloaded="no">
- <autodoc>SetBranchStemLength(int len)</autodoc>
- <paramlist>
- <param name="len" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBranchStemLength" type="int" overloaded="no">
- <autodoc>GetBranchStemLength() -> int</autodoc>
- </method>
- <method name="SetBranchSpacing" type="void" overloaded="no">
- <autodoc>SetBranchSpacing(int len)</autodoc>
- <paramlist>
- <param name="len" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBranchSpacing" type="int" overloaded="no">
- <autodoc>GetBranchSpacing() -> int</autodoc>
- </method>
- <method name="SetBranchStyle" type="void" overloaded="no">
- <autodoc>SetBranchStyle(long style)</autodoc>
- <paramlist>
- <param name="style" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetBranchStyle" type="long" overloaded="no">
- <autodoc>GetBranchStyle() -> long</autodoc>
- </method>
- <method name="PhysicalToLogicalAttachment" type="int" overloaded="no">
- <autodoc>PhysicalToLogicalAttachment(int physicalAttachment) -> int</autodoc>
- <paramlist>
- <param name="physicalAttachment" type="int" default=""/>
- </paramlist>
- </method>
- <method name="LogicalToPhysicalAttachment" type="int" overloaded="no">
- <autodoc>LogicalToPhysicalAttachment(int logicalAttachment) -> int</autodoc>
- <paramlist>
- <param name="logicalAttachment" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Draggable" type="bool" overloaded="no">
- <autodoc>Draggable() -> bool</autodoc>
- </method>
- <method name="HasDescendant" type="bool" overloaded="no">
- <autodoc>HasDescendant(PyShape image) -> bool</autodoc>
- <paramlist>
- <param name="image" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="CreateNewCopy" type="wxPyShape" overloaded="no">
- <autodoc>CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape</autodoc>
- <paramlist>
- <param name="resetMapping" type="bool" default="True"/>
- <param name="recompute" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="Copy" type="void" overloaded="no">
- <autodoc>Copy(PyShape copy)</autodoc>
- <paramlist>
- <param name="copy" type="r.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="CopyWithHandler" type="void" overloaded="no">
- <autodoc>CopyWithHandler(PyShape copy)</autodoc>
- <paramlist>
- <param name="copy" type="r.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="Rotate" type="void" overloaded="no">
- <autodoc>Rotate(double x, double y, double theta)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="theta" type="double" default=""/>
- </paramlist>
- </method>
- <method name="GetRotation" type="double" overloaded="no">
- <autodoc>GetRotation() -> double</autodoc>
- </method>
- <method name="ClearAttachments" type="void" overloaded="no">
- <autodoc>ClearAttachments()</autodoc>
- </method>
- <method name="Recentre" type="void" overloaded="no">
- <autodoc>Recentre(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="ClearPointList" type="void" overloaded="no">
- <autodoc>ClearPointList(wxList list)</autodoc>
- <paramlist>
- <param name="list" type="r.wxList" default=""/>
- </paramlist>
- </method>
- <method name="GetBackgroundPen" type="wxPen" overloaded="no">
- <autodoc>GetBackgroundPen() -> wxPen</autodoc>
- </method>
- <method name="GetBackgroundBrush" type="wxBrush" overloaded="no">
- <autodoc>GetBackgroundBrush() -> wxBrush</autodoc>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl">
- <baseclass name="wxObject"/>
- <constructor name="PseudoMetaFile" overloaded="no">
- <autodoc>__init__() -> PseudoMetaFile</autodoc>
- </constructor>
- <destructor name="~wxPseudoMetaFile" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Draw" type="void" overloaded="no">
- <autodoc>Draw(DC dc, double xoffset, double yoffset)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="xoffset" type="double" default=""/>
- <param name="yoffset" type="double" default=""/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="Copy" type="void" overloaded="no">
- <autodoc>Copy(PseudoMetaFile copy)</autodoc>
- <paramlist>
- <param name="copy" type="r.wxPseudoMetaFile" default=""/>
- </paramlist>
- </method>
- <method name="Scale" type="void" overloaded="no">
- <autodoc>Scale(double sx, double sy)</autodoc>
- <paramlist>
- <param name="sx" type="double" default=""/>
- <param name="sy" type="double" default=""/>
- </paramlist>
- </method>
- <method name="ScaleTo" type="void" overloaded="no">
- <autodoc>ScaleTo(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="Translate" type="void" overloaded="no">
- <autodoc>Translate(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="Rotate" type="void" overloaded="no">
- <autodoc>Rotate(double x, double y, double theta)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="theta" type="double" default=""/>
- </paramlist>
- </method>
- <method name="LoadFromMetaFile" type="bool" overloaded="no">
- <autodoc>LoadFromMetaFile(String filename, double width, double height) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="width" type="p.double" default=""/>
- <param name="height" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetBounds" type="void" overloaded="no">
- <autodoc>GetBounds(double minX, double minY, double maxX, double maxY)</autodoc>
- <paramlist>
- <param name="minX" type="p.double" default=""/>
- <param name="minY" type="p.double" default=""/>
- <param name="maxX" type="p.double" default=""/>
- <param name="maxY" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="CalculateSize" type="void" overloaded="no">
- <autodoc>CalculateSize(PyDrawnShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyDrawnShape" default=""/>
- </paramlist>
- </method>
- <method name="SetRotateable" type="void" overloaded="no">
- <autodoc>SetRotateable(bool rot)</autodoc>
- <paramlist>
- <param name="rot" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetRotateable" type="bool" overloaded="no">
- <autodoc>GetRotateable() -> bool</autodoc>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetFillBrush" type="void" overloaded="no">
- <autodoc>SetFillBrush(wxBrush brush)</autodoc>
- <paramlist>
- <param name="brush" type="p.wxBrush" default=""/>
- </paramlist>
- </method>
- <method name="GetFillBrush" type="wxBrush" overloaded="no">
- <autodoc>GetFillBrush() -> wxBrush</autodoc>
- </method>
- <method name="SetOutlinePen" type="void" overloaded="no">
- <autodoc>SetOutlinePen(wxPen pen)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- </paramlist>
- </method>
- <method name="GetOutlinePen" type="wxPen" overloaded="no">
- <autodoc>GetOutlinePen() -> wxPen</autodoc>
- </method>
- <method name="SetOutlineOp" type="void" overloaded="no">
- <autodoc>SetOutlineOp(int op)</autodoc>
- <paramlist>
- <param name="op" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetOutlineOp" type="int" overloaded="no">
- <autodoc>GetOutlineOp() -> int</autodoc>
- </method>
- <method name="IsValid" type="bool" overloaded="no">
- <autodoc>IsValid() -> bool</autodoc>
- </method>
- <method name="DrawLine" type="void" overloaded="no">
- <autodoc>DrawLine(Point pt1, Point pt2)</autodoc>
- <paramlist>
- <param name="pt1" type="r.q(const).wxPoint" default=""/>
- <param name="pt2" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawRectangle" type="void" overloaded="no">
- <autodoc>DrawRectangle(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="DrawRoundedRectangle" type="void" overloaded="no">
- <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="radius" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawArc" type="void" overloaded="no">
- <autodoc>DrawArc(Point centrePt, Point startPt, Point endPt)</autodoc>
- <paramlist>
- <param name="centrePt" type="r.q(const).wxPoint" default=""/>
- <param name="startPt" type="r.q(const).wxPoint" default=""/>
- <param name="endPt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipticArc" type="void" overloaded="no">
- <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="startAngle" type="double" default=""/>
- <param name="endAngle" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipse" type="void" overloaded="no">
- <autodoc>DrawEllipse(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="DrawPoint" type="void" overloaded="no">
- <autodoc>DrawPoint(Point pt)</autodoc>
- <paramlist>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawText" type="void" overloaded="no">
- <autodoc>DrawText(String text, Point pt)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="pt" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawLines" type="void" overloaded="no">
- <autodoc>DrawLines(int PCOUNT, Point points)</autodoc>
- <paramlist>
- <param name="PCOUNT" type="int" default=""/>
- <param name="points" type="p.wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawPolygon" type="void" overloaded="no">
- <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc>
- <paramlist>
- <param name="PCOUNT" type="int" default=""/>
- <param name="points" type="p.wxPoint" default=""/>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="DrawSpline" type="void" overloaded="no">
- <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc>
- <paramlist>
- <param name="PCOUNT" type="int" default=""/>
- <param name="points" type="p.wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="SetClippingRect" type="void" overloaded="no">
- <autodoc>SetClippingRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="DestroyClippingRect" type="void" overloaded="no">
- <autodoc>DestroyClippingRect()</autodoc>
- </method>
- <method name="SetPen" type="void" overloaded="no">
- <autodoc>SetPen(wxPen pen, bool isOutline=FALSE)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- <param name="isOutline" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="SetBrush" type="void" overloaded="no">
- <autodoc>SetBrush(wxBrush brush, bool isFill=FALSE)</autodoc>
- <paramlist>
- <param name="brush" type="p.wxBrush" default=""/>
- <param name="isFill" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="SetFont" type="void" overloaded="no">
- <autodoc>SetFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="p.wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetTextColour" type="void" overloaded="no">
- <autodoc>SetTextColour(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundColour" type="void" overloaded="no">
- <autodoc>SetBackgroundColour(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetBackgroundMode" type="void" overloaded="no">
- <autodoc>SetBackgroundMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl">
- <baseclass name="wxPyShape"/>
- <constructor name="PyRectangleShape" overloaded="no">
- <autodoc>__init__(double width=0.0, double height=0.0) -> PyRectangleShape</autodoc>
- <paramlist>
- <param name="width" type="double" default="0.0"/>
- <param name="height" type="double" default="0.0"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetCornerRadius" type="void" overloaded="no">
- <autodoc>SetCornerRadius(double radius)</autodoc>
- <paramlist>
- <param name="radius" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl">
- <baseclass name="wxPyRectangleShape"/>
- <constructor name="PyControlPoint" overloaded="no">
- <autodoc>__init__(PyShapeCanvas the_canvas=None, PyShape object=None,
- double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
- int the_type=0) -> PyControlPoint</autodoc>
- <paramlist>
- <param name="the_canvas" type="p.wxPyShapeCanvas" default="NULL"/>
- <param name="object" type="p.wxPyShape" default="NULL"/>
- <param name="size" type="double" default="0.0"/>
- <param name="the_xoffset" type="double" default="0.0"/>
- <param name="the_yoffset" type="double" default="0.0"/>
- <param name="the_type" type="int" default="0"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="SetCornerRadius" type="void" overloaded="no">
- <autodoc>SetCornerRadius(double radius)</autodoc>
- <paramlist>
- <param name="radius" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl">
- <baseclass name="wxPyRectangleShape"/>
- <constructor name="PyBitmapShape" overloaded="no">
- <autodoc>__init__() -> PyBitmapShape</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmap() -> Bitmap</autodoc>
- </method>
- <method name="GetFilename" type="wxString" overloaded="no">
- <autodoc>GetFilename() -> String</autodoc>
- </method>
- <method name="SetBitmap" type="void" overloaded="no">
- <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
- <paramlist>
- <param name="bitmap" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetFilename" type="void" overloaded="no">
- <autodoc>SetFilename(String filename)</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl">
- <baseclass name="wxPyRectangleShape"/>
- <constructor name="PyDrawnShape" overloaded="no">
- <autodoc>__init__() -> PyDrawnShape</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="CalculateSize" type="void" overloaded="no">
- <autodoc>CalculateSize()</autodoc>
- </method>
- <method name="DestroyClippingRect" type="void" overloaded="no">
- <autodoc>DestroyClippingRect()</autodoc>
- </method>
- <method name="DrawArc" type="void" overloaded="no">
- <autodoc>DrawArc(Point centrePoint, Point startPoint, Point endPoint)</autodoc>
- <paramlist>
- <param name="centrePoint" type="r.q(const).wxPoint" default=""/>
- <param name="startPoint" type="r.q(const).wxPoint" default=""/>
- <param name="endPoint" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawAtAngle" type="void" overloaded="no">
- <autodoc>DrawAtAngle(int angle)</autodoc>
- <paramlist>
- <param name="angle" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DrawEllipticArc" type="void" overloaded="no">
- <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="startAngle" type="double" default=""/>
- <param name="endAngle" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawLine" type="void" overloaded="no">
- <autodoc>DrawLine(Point point1, Point point2)</autodoc>
- <paramlist>
- <param name="point1" type="r.q(const).wxPoint" default=""/>
- <param name="point2" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawLines" type="void" overloaded="no">
- <autodoc>DrawLines(int PCOUNT, Point points)</autodoc>
- <paramlist>
- <param name="PCOUNT" type="int" default=""/>
- <param name="points" type="p.wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawPoint" type="void" overloaded="no">
- <autodoc>DrawPoint(Point point)</autodoc>
- <paramlist>
- <param name="point" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawPolygon" type="void" overloaded="no">
- <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc>
- <paramlist>
- <param name="PCOUNT" type="int" default=""/>
- <param name="points" type="p.wxPoint" default=""/>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="DrawRectangle" type="void" overloaded="no">
- <autodoc>DrawRectangle(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="DrawRoundedRectangle" type="void" overloaded="no">
- <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- <param name="radius" type="double" default=""/>
- </paramlist>
- </method>
- <method name="DrawSpline" type="void" overloaded="no">
- <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc>
- <paramlist>
- <param name="PCOUNT" type="int" default=""/>
- <param name="points" type="p.wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="DrawText" type="void" overloaded="no">
- <autodoc>DrawText(String text, Point point)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="point" type="r.q(const).wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="GetAngle" type="int" overloaded="no">
- <autodoc>GetAngle() -> int</autodoc>
- </method>
- <method name="GetMetaFile" type="wxPseudoMetaFile" overloaded="no">
- <autodoc>GetMetaFile() -> PseudoMetaFile</autodoc>
- </method>
- <method name="GetRotation" type="double" overloaded="no">
- <autodoc>GetRotation() -> double</autodoc>
- </method>
- <method name="LoadFromMetaFile" type="bool" overloaded="no">
- <autodoc>LoadFromMetaFile(String filename) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="Rotate" type="void" overloaded="no">
- <autodoc>Rotate(double x, double y, double theta)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="theta" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetClippingRect" type="void" overloaded="no">
- <autodoc>SetClippingRect(Rect rect)</autodoc>
- <paramlist>
- <param name="rect" type="r.q(const).wxRect" default=""/>
- </paramlist>
- </method>
- <method name="SetDrawnBackgroundColour" type="void" overloaded="no">
- <autodoc>SetDrawnBackgroundColour(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetDrawnBackgroundMode" type="void" overloaded="no">
- <autodoc>SetDrawnBackgroundMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDrawnBrush" type="void" overloaded="no">
- <autodoc>SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxBrush" default=""/>
- <param name="isOutline" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="SetDrawnFont" type="void" overloaded="no">
- <autodoc>SetDrawnFont(Font font)</autodoc>
- <paramlist>
- <param name="font" type="p.wxFont" default=""/>
- </paramlist>
- </method>
- <method name="SetDrawnPen" type="void" overloaded="no">
- <autodoc>SetDrawnPen(wxPen pen, bool isOutline=FALSE)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- <param name="isOutline" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="SetDrawnTextColour" type="void" overloaded="no">
- <autodoc>SetDrawnTextColour(Colour colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="Scale" type="void" overloaded="no">
- <autodoc>Scale(double sx, double sy)</autodoc>
- <paramlist>
- <param name="sx" type="double" default=""/>
- <param name="sy" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetSaveToFile" type="void" overloaded="no">
- <autodoc>SetSaveToFile(bool save)</autodoc>
- <paramlist>
- <param name="save" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Translate" type="void" overloaded="no">
- <autodoc>Translate(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl">
- <baseclass name="wxObject"/>
- <constructor name="OGLConstraint" overloaded="no">
- <autodoc>__init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc>
- <paramlist>
- <param name="type" type="int" default=""/>
- <param name="constraining" type="p.wxPyShape" default=""/>
- <param name="constrained" type="p.PyObject" default=""/>
- </paramlist>
- </constructor>
- <method name="Evaluate" type="bool" overloaded="no">
- <autodoc>Evaluate() -> bool</autodoc>
- </method>
- <method name="SetSpacing" type="void" overloaded="no">
- <autodoc>SetSpacing(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="Equals" type="bool" overloaded="no">
- <autodoc>Equals(double a, double b) -> bool</autodoc>
- <paramlist>
- <param name="a" type="double" default=""/>
- <param name="b" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl">
- <baseclass name="wxPyRectangleShape"/>
- <constructor name="PyCompositeShape" overloaded="no">
- <autodoc>__init__() -> PyCompositeShape</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="AddChild" type="void" overloaded="no">
- <autodoc>AddChild(PyShape child, PyShape addAfter=None)</autodoc>
- <paramlist>
- <param name="child" type="p.wxPyShape" default=""/>
- <param name="addAfter" type="p.wxPyShape" default="NULL"/>
- </paramlist>
- </method>
- <method name="AddConstraint" type="wxOGLConstraint" overloaded="no">
- <autodoc>AddConstraint(OGLConstraint constraint) -> OGLConstraint</autodoc>
- <paramlist>
- <param name="constraint" type="p.wxOGLConstraint" default=""/>
- </paramlist>
- </method>
- <method name="AddConstrainedShapes" type="wxOGLConstraint" overloaded="no">
- <autodoc>AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc>
- <paramlist>
- <param name="type" type="int" default=""/>
- <param name="constraining" type="p.wxPyShape" default=""/>
- <param name="constrained" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="AddSimpleConstraint" type="wxOGLConstraint" overloaded="no">
- <autodoc>AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint</autodoc>
- <paramlist>
- <param name="type" type="int" default=""/>
- <param name="constraining" type="p.wxPyShape" default=""/>
- <param name="constrained" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="CalculateSize" type="void" overloaded="no">
- <autodoc>CalculateSize()</autodoc>
- </method>
- <method name="ContainsDivision" type="bool" overloaded="no">
- <autodoc>ContainsDivision(PyDivisionShape division) -> bool</autodoc>
- <paramlist>
- <param name="division" type="p.wxPyDivisionShape" default=""/>
- </paramlist>
- </method>
- <method name="DeleteConstraint" type="void" overloaded="no">
- <autodoc>DeleteConstraint(OGLConstraint constraint)</autodoc>
- <paramlist>
- <param name="constraint" type="p.wxOGLConstraint" default=""/>
- </paramlist>
- </method>
- <method name="DeleteConstraintsInvolvingChild" type="void" overloaded="no">
- <autodoc>DeleteConstraintsInvolvingChild(PyShape child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="FindContainerImage" type="wxPyShape" overloaded="no">
- <autodoc>FindContainerImage() -> PyShape</autodoc>
- </method>
- <method name="GetConstraints" type="PyObject" overloaded="no">
- <autodoc>GetConstraints() -> PyObject</autodoc>
- </method>
- <method name="GetDivisions" type="PyObject" overloaded="no">
- <autodoc>GetDivisions() -> PyObject</autodoc>
- </method>
- <method name="MakeContainer" type="void" overloaded="no">
- <autodoc>MakeContainer()</autodoc>
- </method>
- <method name="Recompute" type="bool" overloaded="no">
- <autodoc>Recompute() -> bool</autodoc>
- </method>
- <method name="RemoveChild" type="void" overloaded="no">
- <autodoc>RemoveChild(PyShape child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl">
- <baseclass name="wxPyRectangleShape"/>
- <constructor name="PyDividedShape" overloaded="no">
- <autodoc>__init__(double width=0.0, double height=0.0) -> PyDividedShape</autodoc>
- <paramlist>
- <param name="width" type="double" default="0.0"/>
- <param name="height" type="double" default="0.0"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="EditRegions" type="void" overloaded="no">
- <autodoc>EditRegions()</autodoc>
- </method>
- <method name="SetRegionSizes" type="void" overloaded="no">
- <autodoc>SetRegionSizes()</autodoc>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl">
- <baseclass name="wxPyCompositeShape"/>
- <constructor name="PyDivisionShape" overloaded="no">
- <autodoc>__init__() -> PyDivisionShape</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="AdjustBottom" type="void" overloaded="no">
- <autodoc>AdjustBottom(double bottom, bool test)</autodoc>
- <paramlist>
- <param name="bottom" type="double" default=""/>
- <param name="test" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AdjustLeft" type="void" overloaded="no">
- <autodoc>AdjustLeft(double left, bool test)</autodoc>
- <paramlist>
- <param name="left" type="double" default=""/>
- <param name="test" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AdjustRight" type="void" overloaded="no">
- <autodoc>AdjustRight(double right, bool test)</autodoc>
- <paramlist>
- <param name="right" type="double" default=""/>
- <param name="test" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AdjustTop" type="void" overloaded="no">
- <autodoc>AdjustTop(double top, bool test)</autodoc>
- <paramlist>
- <param name="top" type="double" default=""/>
- <param name="test" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Divide" type="void" overloaded="no">
- <autodoc>Divide(int direction)</autodoc>
- <paramlist>
- <param name="direction" type="int" default=""/>
- </paramlist>
- </method>
- <method name="EditEdge" type="void" overloaded="no">
- <autodoc>EditEdge(int side)</autodoc>
- <paramlist>
- <param name="side" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBottomSide" type="wxPyDivisionShape" overloaded="no">
- <autodoc>GetBottomSide() -> PyDivisionShape</autodoc>
- </method>
- <method name="GetHandleSide" type="int" overloaded="no">
- <autodoc>GetHandleSide() -> int</autodoc>
- </method>
- <method name="GetLeftSide" type="wxPyDivisionShape" overloaded="no">
- <autodoc>GetLeftSide() -> PyDivisionShape</autodoc>
- </method>
- <method name="GetLeftSideColour" type="wxString" overloaded="no">
- <autodoc>GetLeftSideColour() -> String</autodoc>
- </method>
- <method name="GetLeftSidePen" type="wxPen" overloaded="no">
- <autodoc>GetLeftSidePen() -> wxPen</autodoc>
- </method>
- <method name="GetRightSide" type="wxPyDivisionShape" overloaded="no">
- <autodoc>GetRightSide() -> PyDivisionShape</autodoc>
- </method>
- <method name="GetTopSide" type="wxPyDivisionShape" overloaded="no">
- <autodoc>GetTopSide() -> PyDivisionShape</autodoc>
- </method>
- <method name="GetTopSidePen" type="wxPen" overloaded="no">
- <autodoc>GetTopSidePen() -> wxPen</autodoc>
- </method>
- <method name="ResizeAdjoining" type="void" overloaded="no">
- <autodoc>ResizeAdjoining(int side, double newPos, bool test)</autodoc>
- <paramlist>
- <param name="side" type="int" default=""/>
- <param name="newPos" type="double" default=""/>
- <param name="test" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="PopupMenu" type="void" overloaded="no">
- <autodoc>PopupMenu(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetBottomSide" type="void" overloaded="no">
- <autodoc>SetBottomSide(PyDivisionShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyDivisionShape" default=""/>
- </paramlist>
- </method>
- <method name="SetHandleSide" type="void" overloaded="no">
- <autodoc>SetHandleSide(int side)</autodoc>
- <paramlist>
- <param name="side" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLeftSide" type="void" overloaded="no">
- <autodoc>SetLeftSide(PyDivisionShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyDivisionShape" default=""/>
- </paramlist>
- </method>
- <method name="SetLeftSideColour" type="void" overloaded="no">
- <autodoc>SetLeftSideColour(String colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetLeftSidePen" type="void" overloaded="no">
- <autodoc>SetLeftSidePen(wxPen pen)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- </paramlist>
- </method>
- <method name="SetRightSide" type="void" overloaded="no">
- <autodoc>SetRightSide(PyDivisionShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyDivisionShape" default=""/>
- </paramlist>
- </method>
- <method name="SetTopSide" type="void" overloaded="no">
- <autodoc>SetTopSide(PyDivisionShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyDivisionShape" default=""/>
- </paramlist>
- </method>
- <method name="SetTopSideColour" type="void" overloaded="no">
- <autodoc>SetTopSideColour(String colour)</autodoc>
- <paramlist>
- <param name="colour" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetTopSidePen" type="void" overloaded="no">
- <autodoc>SetTopSidePen(wxPen pen)</autodoc>
- <paramlist>
- <param name="pen" type="p.wxPen" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl">
- <baseclass name="wxPyShape"/>
- <constructor name="PyEllipseShape" overloaded="no">
- <autodoc>__init__(double width=0.0, double height=0.0) -> PyEllipseShape</autodoc>
- <paramlist>
- <param name="width" type="double" default="0.0"/>
- <param name="height" type="double" default="0.0"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl">
- <baseclass name="wxPyEllipseShape"/>
- <constructor name="PyCircleShape" overloaded="no">
- <autodoc>__init__(double width=0.0) -> PyCircleShape</autodoc>
- <paramlist>
- <param name="width" type="double" default="0.0"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="ArrowHead" oldname="wxArrowHead" module="ogl">
- <baseclass name="wxObject"/>
- <constructor name="ArrowHead" overloaded="no">
- <autodoc>__init__(int type=0, int end=0, double size=0.0, double dist=0.0,
- String name=EmptyString, PseudoMetaFile mf=None,
- long arrowId=-1) -> ArrowHead</autodoc>
- <paramlist>
- <param name="type" type="int" default="0"/>
- <param name="end" type="int" default="0"/>
- <param name="size" type="double" default="0.0"/>
- <param name="dist" type="double" default="0.0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="mf" type="p.wxPseudoMetaFile" default="NULL"/>
- <param name="arrowId" type="long" default="-1"/>
- </paramlist>
- </constructor>
- <destructor name="~wxArrowHead" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="_GetType" type="int" overloaded="no">
- <autodoc>_GetType() -> int</autodoc>
- </method>
- <method name="GetPosition" type="int" overloaded="no">
- <autodoc>GetPosition() -> int</autodoc>
- </method>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetXOffset" type="double" overloaded="no">
- <autodoc>GetXOffset() -> double</autodoc>
- </method>
- <method name="GetYOffset" type="double" overloaded="no">
- <autodoc>GetYOffset() -> double</autodoc>
- </method>
- <method name="GetSpacing" type="double" overloaded="no">
- <autodoc>GetSpacing() -> double</autodoc>
- </method>
- <method name="GetSize" type="double" overloaded="no">
- <autodoc>GetSize() -> double</autodoc>
- </method>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="SetXOffset" type="void" overloaded="no">
- <autodoc>SetXOffset(double x)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetYOffset" type="void" overloaded="no">
- <autodoc>SetYOffset(double y)</autodoc>
- <paramlist>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="GetMetaFile" type="wxPseudoMetaFile" overloaded="no">
- <autodoc>GetMetaFile() -> PseudoMetaFile</autodoc>
- </method>
- <method name="GetId" type="long" overloaded="no">
- <autodoc>GetId() -> long</autodoc>
- </method>
- <method name="GetArrowEnd" type="int" overloaded="no">
- <autodoc>GetArrowEnd() -> int</autodoc>
- </method>
- <method name="GetArrowSize" type="double" overloaded="no">
- <autodoc>GetArrowSize() -> double</autodoc>
- </method>
- <method name="SetSize" type="void" overloaded="no">
- <autodoc>SetSize(double size)</autodoc>
- <paramlist>
- <param name="size" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetSpacing" type="void" overloaded="no">
- <autodoc>SetSpacing(double sp)</autodoc>
- <paramlist>
- <param name="sp" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyLineShape" oldname="wxPyLineShape" module="ogl">
- <baseclass name="wxPyShape"/>
- <constructor name="PyLineShape" overloaded="no">
- <autodoc>__init__() -> PyLineShape</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="AddArrow" type="void" overloaded="no">
- <autodoc>AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
- double xOffset=0.0, String name=EmptyString,
- PseudoMetaFile mf=None, long arrowId=-1)</autodoc>
- <paramlist>
- <param name="type" type="int" default=""/>
- <param name="end" type="int" default="ARROW_POSITION_END"/>
- <param name="arrowSize" type="double" default="10.0"/>
- <param name="xOffset" type="double" default="0.0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="mf" type="p.wxPseudoMetaFile" default="NULL"/>
- <param name="arrowId" type="long" default="-1"/>
- </paramlist>
- </method>
- <method name="AddArrowOrdered" type="void" overloaded="no">
- <autodoc>AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)</autodoc>
- <paramlist>
- <param name="arrow" type="p.wxArrowHead" default=""/>
- <param name="referenceList" type="p.PyObject" default=""/>
- <param name="end" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ClearArrow" type="bool" overloaded="no">
- <autodoc>ClearArrow(String name) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ClearArrowsAtPosition" type="void" overloaded="no">
- <autodoc>ClearArrowsAtPosition(int position=-1)</autodoc>
- <paramlist>
- <param name="position" type="int" default="-1"/>
- </paramlist>
- </method>
- <method name="DrawArrow" type="void" overloaded="no">
- <autodoc>DrawArrow(DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="arrow" type="p.wxArrowHead" default=""/>
- <param name="xOffset" type="double" default=""/>
- <param name="proportionalOffset" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="DeleteArrowHeadId" type="bool" overloaded="no">
- <autodoc>DeleteArrowHeadId(long arrowId) -> bool</autodoc>
- <paramlist>
- <param name="arrowId" type="long" default=""/>
- </paramlist>
- </method>
- <method name="DeleteArrowHead" type="bool" overloaded="no">
- <autodoc>DeleteArrowHead(int position, String name) -> bool</autodoc>
- <paramlist>
- <param name="position" type="int" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DeleteLineControlPoint" type="bool" overloaded="no">
- <autodoc>DeleteLineControlPoint() -> bool</autodoc>
- </method>
- <method name="DrawArrows" type="void" overloaded="no">
- <autodoc>DrawArrows(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="DrawRegion" type="void" overloaded="no">
- <autodoc>DrawRegion(DC dc, ShapeRegion region, double x, double y)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="region" type="p.wxShapeRegion" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="EraseRegion" type="void" overloaded="no">
- <autodoc>EraseRegion(DC dc, ShapeRegion region, double x, double y)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="region" type="p.wxShapeRegion" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="FindArrowHeadId" type="wxArrowHead" overloaded="no">
- <autodoc>FindArrowHeadId(long arrowId) -> ArrowHead</autodoc>
- <paramlist>
- <param name="arrowId" type="long" default=""/>
- </paramlist>
- </method>
- <method name="FindArrowHead" type="wxArrowHead" overloaded="no">
- <autodoc>FindArrowHead(int position, String name) -> ArrowHead</autodoc>
- <paramlist>
- <param name="position" type="int" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="FindLineEndPoints" type="void" overloaded="no">
- <autodoc>FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="FindLinePosition" type="int" overloaded="no">
- <autodoc>FindLinePosition(double x, double y) -> int</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="FindMinimumWidth" type="double" overloaded="no">
- <autodoc>FindMinimumWidth() -> double</autodoc>
- </method>
- <method name="FindNth" type="void" overloaded="no">
- <autodoc>FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc>
- <paramlist>
- <param name="image" type="p.wxPyShape" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="incoming" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetAttachmentFrom" type="int" overloaded="no">
- <autodoc>GetAttachmentFrom() -> int</autodoc>
- </method>
- <method name="GetAttachmentTo" type="int" overloaded="no">
- <autodoc>GetAttachmentTo() -> int</autodoc>
- </method>
- <method name="GetEnds" type="void" overloaded="no">
- <autodoc>GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetFrom" type="wxPyShape" overloaded="no">
- <autodoc>GetFrom() -> PyShape</autodoc>
- </method>
- <method name="GetLabelPosition" type="void" overloaded="no">
- <autodoc>GetLabelPosition(int position, double OUTPUT, double OUTPUT)</autodoc>
- <paramlist>
- <param name="position" type="int" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- <param name="OUTPUT" type="p.double" default=""/>
- </paramlist>
- </method>
- <method name="GetNextControlPoint" type="wxRealPoint" overloaded="no">
- <autodoc>GetNextControlPoint(PyShape shape) -> RealPoint</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="GetTo" type="wxPyShape" overloaded="no">
- <autodoc>GetTo() -> PyShape</autodoc>
- </method>
- <method name="Initialise" type="void" overloaded="no">
- <autodoc>Initialise()</autodoc>
- </method>
- <method name="InsertLineControlPoint" type="void" overloaded="no">
- <autodoc>InsertLineControlPoint(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="IsEnd" type="bool" overloaded="no">
- <autodoc>IsEnd(PyShape shape) -> bool</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="IsSpline" type="bool" overloaded="no">
- <autodoc>IsSpline() -> bool</autodoc>
- </method>
- <method name="MakeLineControlPoints" type="void" overloaded="no">
- <autodoc>MakeLineControlPoints(int n)</autodoc>
- <paramlist>
- <param name="n" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLineControlPoints" type="PyObject" overloaded="no">
- <autodoc>GetLineControlPoints() -> PyObject</autodoc>
- </method>
- <method name="SetAttachmentFrom" type="void" overloaded="no">
- <autodoc>SetAttachmentFrom(int fromAttach)</autodoc>
- <paramlist>
- <param name="fromAttach" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAttachments" type="void" overloaded="no">
- <autodoc>SetAttachments(int fromAttach, int toAttach)</autodoc>
- <paramlist>
- <param name="fromAttach" type="int" default=""/>
- <param name="toAttach" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAttachmentTo" type="void" overloaded="no">
- <autodoc>SetAttachmentTo(int toAttach)</autodoc>
- <paramlist>
- <param name="toAttach" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetEnds" type="void" overloaded="no">
- <autodoc>SetEnds(double x1, double y1, double x2, double y2)</autodoc>
- <paramlist>
- <param name="x1" type="double" default=""/>
- <param name="y1" type="double" default=""/>
- <param name="x2" type="double" default=""/>
- <param name="y2" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetFrom" type="void" overloaded="no">
- <autodoc>SetFrom(PyShape object)</autodoc>
- <paramlist>
- <param name="object" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="SetIgnoreOffsets" type="void" overloaded="no">
- <autodoc>SetIgnoreOffsets(bool ignore)</autodoc>
- <paramlist>
- <param name="ignore" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetSpline" type="void" overloaded="no">
- <autodoc>SetSpline(bool spline)</autodoc>
- <paramlist>
- <param name="spline" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetTo" type="void" overloaded="no">
- <autodoc>SetTo(PyShape object)</autodoc>
- <paramlist>
- <param name="object" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="Straighten" type="void" overloaded="no">
- <autodoc>Straighten(DC dc=None)</autodoc>
- <paramlist>
- <param name="dc" type="p.wxDC" default="NULL"/>
- </paramlist>
- </method>
- <method name="Unlink" type="void" overloaded="no">
- <autodoc>Unlink()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl">
- <baseclass name="wxPyShape"/>
- <constructor name="PyPolygonShape" overloaded="no">
- <autodoc>__init__() -> PyPolygonShape</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="Create" type="PyObject" overloaded="no">
- <autodoc>Create(PyObject points) -> PyObject</autodoc>
- <paramlist>
- <param name="points" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="AddPolygonPoint" type="void" overloaded="no">
- <autodoc>AddPolygonPoint(int pos=0)</autodoc>
- <paramlist>
- <param name="pos" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="CalculatePolygonCentre" type="void" overloaded="no">
- <autodoc>CalculatePolygonCentre()</autodoc>
- </method>
- <method name="DeletePolygonPoint" type="void" overloaded="no">
- <autodoc>DeletePolygonPoint(int pos=0)</autodoc>
- <paramlist>
- <param name="pos" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetPoints" type="PyObject" overloaded="no">
- <autodoc>GetPoints() -> PyObject</autodoc>
- </method>
- <method name="UpdateOriginalPoints" type="void" overloaded="no">
- <autodoc>UpdateOriginalPoints()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyTextShape" oldname="wxPyTextShape" module="ogl">
- <baseclass name="wxPyRectangleShape"/>
- <constructor name="PyTextShape" overloaded="no">
- <autodoc>__init__(double width=0.0, double height=0.0) -> PyTextShape</autodoc>
- <paramlist>
- <param name="width" type="double" default="0.0"/>
- <param name="height" type="double" default="0.0"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDelete" type="void" overloaded="no">
- <autodoc>base_OnDelete()</autodoc>
- </method>
- <method name="base_OnDraw" type="void" overloaded="no">
- <autodoc>base_OnDraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawContents" type="void" overloaded="no">
- <autodoc>base_OnDrawContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawBranches" type="void" overloaded="no">
- <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="erase" type="bool" default="FALSE"/>
- </paramlist>
- </method>
- <method name="base_OnMoveLinks" type="void" overloaded="no">
- <autodoc>base_OnMoveLinks(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnErase" type="void" overloaded="no">
- <autodoc>base_OnErase(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseContents" type="void" overloaded="no">
- <autodoc>base_OnEraseContents(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnHighlight" type="void" overloaded="no">
- <autodoc>base_OnHighlight(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftDoubleClick" type="void" overloaded="no">
- <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSize" type="void" overloaded="no">
- <autodoc>base_OnSize(double x, double y)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMovePre" type="bool" overloaded="no">
- <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
- bool display=True) -> bool</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnMovePost" type="void" overloaded="no">
- <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
- bool display=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="old_x" type="double" default=""/>
- <param name="old_y" type="double" default=""/>
- <param name="display" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDrawOutline" type="void" overloaded="no">
- <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnDrawControlPoints" type="void" overloaded="no">
- <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEraseControlPoints" type="void" overloaded="no">
- <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="base_OnMoveLink" type="void" overloaded="no">
- <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="moveControlPoints" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="base_OnSizingDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnSizingEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
- int attachment=0)</autodoc>
- <paramlist>
- <param name="pt" type="p.wxPyControlPoint" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- <param name="attachment" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginSize" type="void" overloaded="no">
- <autodoc>base_OnBeginSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- <method name="base_OnEndSize" type="void" overloaded="no">
- <autodoc>base_OnEndSize(double w, double h)</autodoc>
- <paramlist>
- <param name="w" type="double" default=""/>
- <param name="h" type="double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="Diagram" oldname="wxDiagram" module="ogl">
- <baseclass name="wxObject"/>
- <constructor name="Diagram" overloaded="no">
- <autodoc>__init__() -> Diagram</autodoc>
- </constructor>
- <method name="AddShape" type="void" overloaded="no">
- <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- <param name="addAfter" type="p.wxPyShape" default="NULL"/>
- </paramlist>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="DeleteAllShapes" type="void" overloaded="no">
- <autodoc>DeleteAllShapes()</autodoc>
- </method>
- <method name="DrawOutline" type="void" overloaded="no">
- <autodoc>DrawOutline(DC dc, double x1, double y1, double x2, double y2)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- <param name="x1" type="double" default=""/>
- <param name="y1" type="double" default=""/>
- <param name="x2" type="double" default=""/>
- <param name="y2" type="double" default=""/>
- </paramlist>
- </method>
- <method name="FindShape" type="wxPyShape" overloaded="no">
- <autodoc>FindShape(long id) -> PyShape</autodoc>
- <paramlist>
- <param name="id" type="long" default=""/>
- </paramlist>
- </method>
- <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
- <autodoc>GetCanvas() -> PyShapeCanvas</autodoc>
- </method>
- <method name="GetCount" type="int" overloaded="no">
- <autodoc>GetCount() -> int</autodoc>
- </method>
- <method name="GetGridSpacing" type="double" overloaded="no">
- <autodoc>GetGridSpacing() -> double</autodoc>
- </method>
- <method name="GetMouseTolerance" type="int" overloaded="no">
- <autodoc>GetMouseTolerance() -> int</autodoc>
- </method>
- <method name="GetShapeList" type="PyObject" overloaded="no">
- <autodoc>GetShapeList() -> PyObject</autodoc>
- </method>
- <method name="GetQuickEditMode" type="bool" overloaded="no">
- <autodoc>GetQuickEditMode() -> bool</autodoc>
- </method>
- <method name="GetSnapToGrid" type="bool" overloaded="no">
- <autodoc>GetSnapToGrid() -> bool</autodoc>
- </method>
- <method name="InsertShape" type="void" overloaded="no">
- <autodoc>InsertShape(PyShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="RecentreAll" type="void" overloaded="no">
- <autodoc>RecentreAll(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="Redraw" type="void" overloaded="no">
- <autodoc>Redraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="RemoveAllShapes" type="void" overloaded="no">
- <autodoc>RemoveAllShapes()</autodoc>
- </method>
- <method name="RemoveShape" type="void" overloaded="no">
- <autodoc>RemoveShape(PyShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="SetCanvas" type="void" overloaded="no">
- <autodoc>SetCanvas(PyShapeCanvas canvas)</autodoc>
- <paramlist>
- <param name="canvas" type="p.wxPyShapeCanvas" default=""/>
- </paramlist>
- </method>
- <method name="SetGridSpacing" type="void" overloaded="no">
- <autodoc>SetGridSpacing(double spacing)</autodoc>
- <paramlist>
- <param name="spacing" type="double" default=""/>
- </paramlist>
- </method>
- <method name="SetMouseTolerance" type="void" overloaded="no">
- <autodoc>SetMouseTolerance(int tolerance)</autodoc>
- <paramlist>
- <param name="tolerance" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetQuickEditMode" type="void" overloaded="no">
- <autodoc>SetQuickEditMode(bool mode)</autodoc>
- <paramlist>
- <param name="mode" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetSnapToGrid" type="void" overloaded="no">
- <autodoc>SetSnapToGrid(bool snap)</autodoc>
- <paramlist>
- <param name="snap" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="ShowAll" type="void" overloaded="no">
- <autodoc>ShowAll(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="Snap" type="void" overloaded="no">
- <autodoc>Snap(double INOUT, double INOUT)</autodoc>
- <paramlist>
- <param name="INOUT" type="p.double" default=""/>
- <param name="INOUT" type="p.double" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl">
- <baseclass name="wxScrolledWindow"/>
- <constructor name="PyShapeCanvas" overloaded="no">
- <autodoc>__init__(Window parent=None, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=BORDER,
- String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxBORDER"/>
- <param name="name" type="r.q(const).wxString" default="wxPyShapeCanvasNameStr"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="AddShape" type="void" overloaded="no">
- <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- <param name="addAfter" type="p.wxPyShape" default="NULL"/>
- </paramlist>
- </method>
- <method name="FindShape" type="wxPyShape" overloaded="no">
- <autodoc>FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None,
- PyShape notImage=None) -> PyShape</autodoc>
- <paramlist>
- <param name="x1" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="info" type="p.wxClassInfo" default="NULL"/>
- <param name="notImage" type="p.wxPyShape" default="NULL"/>
- </paramlist>
- </method>
- <method name="FindFirstSensitiveShape" type="wxPyShape" overloaded="no">
- <autodoc>FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape</autodoc>
- <paramlist>
- <param name="x1" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="op" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetDiagram" type="wxDiagram" overloaded="no">
- <autodoc>GetDiagram() -> Diagram</autodoc>
- </method>
- <method name="GetQuickEditMode" type="bool" overloaded="no">
- <autodoc>GetQuickEditMode() -> bool</autodoc>
- </method>
- <method name="InsertShape" type="void" overloaded="no">
- <autodoc>InsertShape(PyShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragLeft" type="void" overloaded="no">
- <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnBeginDragRight" type="void" overloaded="no">
- <autodoc>base_OnBeginDragRight(double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragLeft" type="void" overloaded="no">
- <autodoc>base_OnEndDragLeft(double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnEndDragRight" type="void" overloaded="no">
- <autodoc>base_OnEndDragRight(double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragLeft" type="void" overloaded="no">
- <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnDragRight" type="void" overloaded="no">
- <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="draw" type="bool" default=""/>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnLeftClick" type="void" overloaded="no">
- <autodoc>base_OnLeftClick(double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="base_OnRightClick" type="void" overloaded="no">
- <autodoc>base_OnRightClick(double x, double y, int keys=0)</autodoc>
- <paramlist>
- <param name="x" type="double" default=""/>
- <param name="y" type="double" default=""/>
- <param name="keys" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="Redraw" type="void" overloaded="no">
- <autodoc>Redraw(DC dc)</autodoc>
- <paramlist>
- <param name="dc" type="r.wxDC" default=""/>
- </paramlist>
- </method>
- <method name="RemoveShape" type="void" overloaded="no">
- <autodoc>RemoveShape(PyShape shape)</autodoc>
- <paramlist>
- <param name="shape" type="p.wxPyShape" default=""/>
- </paramlist>
- </method>
- <method name="SetDiagram" type="void" overloaded="no">
- <autodoc>SetDiagram(Diagram diagram)</autodoc>
- <paramlist>
- <param name="diagram" type="p.wxDiagram" default=""/>
- </paramlist>
- </method>
- <method name="Snap" type="void" overloaded="no">
- <autodoc>Snap(double INOUT, double INOUT)</autodoc>
- <paramlist>
- <param name="INOUT" type="p.double" default=""/>
- <param name="INOUT" type="p.double" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-# Aliases
-ShapeCanvas = PyShapeCanvas
-ShapeEvtHandler = PyShapeEvtHandler
-Shape = PyShape
-RectangleShape = PyRectangleShape
-BitmapShape = PyBitmapShape
-DrawnShape = PyDrawnShape
-CompositeShape = PyCompositeShape
-DividedShape = PyDividedShape
-DivisionShape = PyDivisionShape
-EllipseShape = PyEllipseShape
-CircleShape = PyCircleShape
-LineShape = PyLineShape
-PolygonShape = PyPolygonShape
-TextShape = PyTextShape
-ControlPoint = PyControlPoint
-</pythoncode>
- <method name="OGLInitialize" oldname="wxOGLInitialize" type="void" overloaded="no">
- <autodoc>OGLInitialize()</autodoc>
- </method>
- <method name="OGLCleanUp" oldname="wxOGLCleanUp" type="void" overloaded="no">
- <autodoc>OGLCleanUp()</autodoc>
- </method>
-</module><module name="stc">
- <import name="core"/>
- <pythoncode> wx = core </pythoncode>
- <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc">
- <baseclass name="wxControl"/>
- <constructor name="StyledTextCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=STCNameStr) -> StyledTextCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPySTCNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreStyledTextCtrl" overloaded="no">
- <autodoc>PreStyledTextCtrl() -> StyledTextCtrl</autodoc>
- </constructor>
- <method name="Create" type="void" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=0, String name=wxSTCNameStr)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxSTCNameStr"/>
- </paramlist>
- </method>
- <method name="AddText" type="void" overloaded="no">
- <autodoc>AddText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AddStyledText" type="void" overloaded="no">
- <autodoc>AddStyledText(wxMemoryBuffer data)</autodoc>
- <paramlist>
- <param name="data" type="r.q(const).wxMemoryBuffer" default=""/>
- </paramlist>
- </method>
- <method name="InsertText" type="void" overloaded="no">
- <autodoc>InsertText(int pos, String text)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ClearAll" type="void" overloaded="no">
- <autodoc>ClearAll()</autodoc>
- </method>
- <method name="ClearDocumentStyle" type="void" overloaded="no">
- <autodoc>ClearDocumentStyle()</autodoc>
- </method>
- <method name="GetLength" type="int" overloaded="no">
- <autodoc>GetLength() -> int</autodoc>
- </method>
- <method name="GetCharAt" type="int" overloaded="no">
- <autodoc>GetCharAt(int pos) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCurrentPos" type="int" overloaded="no">
- <autodoc>GetCurrentPos() -> int</autodoc>
- </method>
- <method name="GetAnchor" type="int" overloaded="no">
- <autodoc>GetAnchor() -> int</autodoc>
- </method>
- <method name="GetStyleAt" type="int" overloaded="no">
- <autodoc>GetStyleAt(int pos) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="Redo" type="void" overloaded="no">
- <autodoc>Redo()</autodoc>
- </method>
- <method name="SetUndoCollection" type="void" overloaded="no">
- <autodoc>SetUndoCollection(bool collectUndo)</autodoc>
- <paramlist>
- <param name="collectUndo" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SelectAll" type="void" overloaded="no">
- <autodoc>SelectAll()</autodoc>
- </method>
- <method name="SetSavePoint" type="void" overloaded="no">
- <autodoc>SetSavePoint()</autodoc>
- </method>
- <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no">
- <autodoc>GetStyledText(int startPos, int endPos) -> wxMemoryBuffer</autodoc>
- <paramlist>
- <param name="startPos" type="int" default=""/>
- <param name="endPos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CanRedo" type="bool" overloaded="no">
- <autodoc>CanRedo() -> bool</autodoc>
- </method>
- <method name="MarkerLineFromHandle" type="int" overloaded="no">
- <autodoc>MarkerLineFromHandle(int handle) -> int</autodoc>
- <paramlist>
- <param name="handle" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerDeleteHandle" type="void" overloaded="no">
- <autodoc>MarkerDeleteHandle(int handle)</autodoc>
- <paramlist>
- <param name="handle" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetUndoCollection" type="bool" overloaded="no">
- <autodoc>GetUndoCollection() -> bool</autodoc>
- </method>
- <method name="GetViewWhiteSpace" type="int" overloaded="no">
- <autodoc>GetViewWhiteSpace() -> int</autodoc>
- </method>
- <method name="SetViewWhiteSpace" type="void" overloaded="no">
- <autodoc>SetViewWhiteSpace(int viewWS)</autodoc>
- <paramlist>
- <param name="viewWS" type="int" default=""/>
- </paramlist>
- </method>
- <method name="PositionFromPoint" type="int" overloaded="no">
- <autodoc>PositionFromPoint(Point pt) -> int</autodoc>
- <paramlist>
- <param name="pt" type="wxPoint" default=""/>
- </paramlist>
- </method>
- <method name="PositionFromPointClose" type="int" overloaded="no">
- <autodoc>PositionFromPointClose(int x, int y) -> int</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GotoLine" type="void" overloaded="no">
- <autodoc>GotoLine(int line)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GotoPos" type="void" overloaded="no">
- <autodoc>GotoPos(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetAnchor" type="void" overloaded="no">
- <autodoc>SetAnchor(int posAnchor)</autodoc>
- <paramlist>
- <param name="posAnchor" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCurLine" type="wxString" overloaded="no">
- <autodoc>GetCurLine(int OUTPUT) -> String</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="GetEndStyled" type="int" overloaded="no">
- <autodoc>GetEndStyled() -> int</autodoc>
- </method>
- <method name="ConvertEOLs" type="void" overloaded="no">
- <autodoc>ConvertEOLs(int eolMode)</autodoc>
- <paramlist>
- <param name="eolMode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetEOLMode" type="int" overloaded="no">
- <autodoc>GetEOLMode() -> int</autodoc>
- </method>
- <method name="SetEOLMode" type="void" overloaded="no">
- <autodoc>SetEOLMode(int eolMode)</autodoc>
- <paramlist>
- <param name="eolMode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="StartStyling" type="void" overloaded="no">
- <autodoc>StartStyling(int pos, int mask)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- <param name="mask" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetStyling" type="void" overloaded="no">
- <autodoc>SetStyling(int length, int style)</autodoc>
- <paramlist>
- <param name="length" type="int" default=""/>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetBufferedDraw" type="bool" overloaded="no">
- <autodoc>GetBufferedDraw() -> bool</autodoc>
- </method>
- <method name="SetBufferedDraw" type="void" overloaded="no">
- <autodoc>SetBufferedDraw(bool buffered)</autodoc>
- <paramlist>
- <param name="buffered" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetTabWidth" type="void" overloaded="no">
- <autodoc>SetTabWidth(int tabWidth)</autodoc>
- <paramlist>
- <param name="tabWidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetTabWidth" type="int" overloaded="no">
- <autodoc>GetTabWidth() -> int</autodoc>
- </method>
- <method name="SetCodePage" type="void" overloaded="no">
- <autodoc>SetCodePage(int codePage)</autodoc>
- <paramlist>
- <param name="codePage" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerDefine" type="void" overloaded="no">
- <autodoc>MarkerDefine(int markerNumber, int markerSymbol, Colour foreground=wxNullColour,
- Colour background=wxNullColour)</autodoc>
- <paramlist>
- <param name="markerNumber" type="int" default=""/>
- <param name="markerSymbol" type="int" default=""/>
- <param name="foreground" type="r.q(const).wxColour" default="wxNullColour"/>
- <param name="background" type="r.q(const).wxColour" default="wxNullColour"/>
- </paramlist>
- </method>
- <method name="MarkerSetForeground" type="void" overloaded="no">
- <autodoc>MarkerSetForeground(int markerNumber, Colour fore)</autodoc>
- <paramlist>
- <param name="markerNumber" type="int" default=""/>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="MarkerSetBackground" type="void" overloaded="no">
- <autodoc>MarkerSetBackground(int markerNumber, Colour back)</autodoc>
- <paramlist>
- <param name="markerNumber" type="int" default=""/>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="MarkerAdd" type="int" overloaded="no">
- <autodoc>MarkerAdd(int line, int markerNumber) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- <param name="markerNumber" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerDelete" type="void" overloaded="no">
- <autodoc>MarkerDelete(int line, int markerNumber)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- <param name="markerNumber" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerDeleteAll" type="void" overloaded="no">
- <autodoc>MarkerDeleteAll(int markerNumber)</autodoc>
- <paramlist>
- <param name="markerNumber" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerGet" type="int" overloaded="no">
- <autodoc>MarkerGet(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerNext" type="int" overloaded="no">
- <autodoc>MarkerNext(int lineStart, int markerMask) -> int</autodoc>
- <paramlist>
- <param name="lineStart" type="int" default=""/>
- <param name="markerMask" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerPrevious" type="int" overloaded="no">
- <autodoc>MarkerPrevious(int lineStart, int markerMask) -> int</autodoc>
- <paramlist>
- <param name="lineStart" type="int" default=""/>
- <param name="markerMask" type="int" default=""/>
- </paramlist>
- </method>
- <method name="MarkerDefineBitmap" type="void" overloaded="no">
- <autodoc>MarkerDefineBitmap(int markerNumber, Bitmap bmp)</autodoc>
- <paramlist>
- <param name="markerNumber" type="int" default=""/>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginType" type="void" overloaded="no">
- <autodoc>SetMarginType(int margin, int marginType)</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- <param name="marginType" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMarginType" type="int" overloaded="no">
- <autodoc>GetMarginType(int margin) -> int</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginWidth" type="void" overloaded="no">
- <autodoc>SetMarginWidth(int margin, int pixelWidth)</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- <param name="pixelWidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMarginWidth" type="int" overloaded="no">
- <autodoc>GetMarginWidth(int margin) -> int</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginMask" type="void" overloaded="no">
- <autodoc>SetMarginMask(int margin, int mask)</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- <param name="mask" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMarginMask" type="int" overloaded="no">
- <autodoc>GetMarginMask(int margin) -> int</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMarginSensitive" type="void" overloaded="no">
- <autodoc>SetMarginSensitive(int margin, bool sensitive)</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- <param name="sensitive" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetMarginSensitive" type="bool" overloaded="no">
- <autodoc>GetMarginSensitive(int margin) -> bool</autodoc>
- <paramlist>
- <param name="margin" type="int" default=""/>
- </paramlist>
- </method>
- <method name="StyleClearAll" type="void" overloaded="no">
- <autodoc>StyleClearAll()</autodoc>
- </method>
- <method name="StyleSetForeground" type="void" overloaded="no">
- <autodoc>StyleSetForeground(int style, Colour fore)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetBackground" type="void" overloaded="no">
- <autodoc>StyleSetBackground(int style, Colour back)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetBold" type="void" overloaded="no">
- <autodoc>StyleSetBold(int style, bool bold)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="bold" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetItalic" type="void" overloaded="no">
- <autodoc>StyleSetItalic(int style, bool italic)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="italic" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetSize" type="void" overloaded="no">
- <autodoc>StyleSetSize(int style, int sizePoints)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="sizePoints" type="int" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetFaceName" type="void" overloaded="no">
- <autodoc>StyleSetFaceName(int style, String fontName)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="fontName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetEOLFilled" type="void" overloaded="no">
- <autodoc>StyleSetEOLFilled(int style, bool filled)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="filled" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="StyleResetDefault" type="void" overloaded="no">
- <autodoc>StyleResetDefault()</autodoc>
- </method>
- <method name="StyleSetUnderline" type="void" overloaded="no">
- <autodoc>StyleSetUnderline(int style, bool underline)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="underline" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetCase" type="void" overloaded="no">
- <autodoc>StyleSetCase(int style, int caseForce)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="caseForce" type="int" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetCharacterSet" type="void" overloaded="no">
- <autodoc>StyleSetCharacterSet(int style, int characterSet)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="characterSet" type="int" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetHotSpot" type="void" overloaded="no">
- <autodoc>StyleSetHotSpot(int style, bool hotspot)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="hotspot" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetSelForeground" type="void" overloaded="no">
- <autodoc>SetSelForeground(bool useSetting, Colour fore)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetSelBackground" type="void" overloaded="no">
- <autodoc>SetSelBackground(bool useSetting, Colour back)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetCaretForeground" type="void" overloaded="no">
- <autodoc>SetCaretForeground(Colour fore)</autodoc>
- <paramlist>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="CmdKeyAssign" type="void" overloaded="no">
- <autodoc>CmdKeyAssign(int key, int modifiers, int cmd)</autodoc>
- <paramlist>
- <param name="key" type="int" default=""/>
- <param name="modifiers" type="int" default=""/>
- <param name="cmd" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CmdKeyClear" type="void" overloaded="no">
- <autodoc>CmdKeyClear(int key, int modifiers)</autodoc>
- <paramlist>
- <param name="key" type="int" default=""/>
- <param name="modifiers" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CmdKeyClearAll" type="void" overloaded="no">
- <autodoc>CmdKeyClearAll()</autodoc>
- </method>
- <method name="SetStyleBytes" type="void" overloaded="no">
- <autodoc>SetStyleBytes(int length, char styleBytes)</autodoc>
- <paramlist>
- <param name="length" type="int" default=""/>
- <param name="styleBytes" type="p.char" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetVisible" type="void" overloaded="no">
- <autodoc>StyleSetVisible(int style, bool visible)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="visible" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetCaretPeriod" type="int" overloaded="no">
- <autodoc>GetCaretPeriod() -> int</autodoc>
- </method>
- <method name="SetCaretPeriod" type="void" overloaded="no">
- <autodoc>SetCaretPeriod(int periodMilliseconds)</autodoc>
- <paramlist>
- <param name="periodMilliseconds" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWordChars" type="void" overloaded="no">
- <autodoc>SetWordChars(String characters)</autodoc>
- <paramlist>
- <param name="characters" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="BeginUndoAction" type="void" overloaded="no">
- <autodoc>BeginUndoAction()</autodoc>
- </method>
- <method name="EndUndoAction" type="void" overloaded="no">
- <autodoc>EndUndoAction()</autodoc>
- </method>
- <method name="IndicatorSetStyle" type="void" overloaded="no">
- <autodoc>IndicatorSetStyle(int indic, int style)</autodoc>
- <paramlist>
- <param name="indic" type="int" default=""/>
- <param name="style" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IndicatorGetStyle" type="int" overloaded="no">
- <autodoc>IndicatorGetStyle(int indic) -> int</autodoc>
- <paramlist>
- <param name="indic" type="int" default=""/>
- </paramlist>
- </method>
- <method name="IndicatorSetForeground" type="void" overloaded="no">
- <autodoc>IndicatorSetForeground(int indic, Colour fore)</autodoc>
- <paramlist>
- <param name="indic" type="int" default=""/>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="IndicatorGetForeground" type="wxColour" overloaded="no">
- <autodoc>IndicatorGetForeground(int indic) -> Colour</autodoc>
- <paramlist>
- <param name="indic" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWhitespaceForeground" type="void" overloaded="no">
- <autodoc>SetWhitespaceForeground(bool useSetting, Colour fore)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetWhitespaceBackground" type="void" overloaded="no">
- <autodoc>SetWhitespaceBackground(bool useSetting, Colour back)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetStyleBits" type="void" overloaded="no">
- <autodoc>SetStyleBits(int bits)</autodoc>
- <paramlist>
- <param name="bits" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetStyleBits" type="int" overloaded="no">
- <autodoc>GetStyleBits() -> int</autodoc>
- </method>
- <method name="SetLineState" type="void" overloaded="no">
- <autodoc>SetLineState(int line, int state)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- <param name="state" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLineState" type="int" overloaded="no">
- <autodoc>GetLineState(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMaxLineState" type="int" overloaded="no">
- <autodoc>GetMaxLineState() -> int</autodoc>
- </method>
- <method name="GetCaretLineVisible" type="bool" overloaded="no">
- <autodoc>GetCaretLineVisible() -> bool</autodoc>
- </method>
- <method name="SetCaretLineVisible" type="void" overloaded="no">
- <autodoc>SetCaretLineVisible(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetCaretLineBack" type="wxColour" overloaded="no">
- <autodoc>GetCaretLineBack() -> Colour</autodoc>
- </method>
- <method name="SetCaretLineBack" type="void" overloaded="no">
- <autodoc>SetCaretLineBack(Colour back)</autodoc>
- <paramlist>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetChangeable" type="void" overloaded="no">
- <autodoc>StyleSetChangeable(int style, bool changeable)</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="changeable" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompShow" type="void" overloaded="no">
- <autodoc>AutoCompShow(int lenEntered, String itemList)</autodoc>
- <paramlist>
- <param name="lenEntered" type="int" default=""/>
- <param name="itemList" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompCancel" type="void" overloaded="no">
- <autodoc>AutoCompCancel()</autodoc>
- </method>
- <method name="AutoCompActive" type="bool" overloaded="no">
- <autodoc>AutoCompActive() -> bool</autodoc>
- </method>
- <method name="AutoCompPosStart" type="int" overloaded="no">
- <autodoc>AutoCompPosStart() -> int</autodoc>
- </method>
- <method name="AutoCompComplete" type="void" overloaded="no">
- <autodoc>AutoCompComplete()</autodoc>
- </method>
- <method name="AutoCompStops" type="void" overloaded="no">
- <autodoc>AutoCompStops(String characterSet)</autodoc>
- <paramlist>
- <param name="characterSet" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompSetSeparator" type="void" overloaded="no">
- <autodoc>AutoCompSetSeparator(int separatorCharacter)</autodoc>
- <paramlist>
- <param name="separatorCharacter" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompGetSeparator" type="int" overloaded="no">
- <autodoc>AutoCompGetSeparator() -> int</autodoc>
- </method>
- <method name="AutoCompSelect" type="void" overloaded="no">
- <autodoc>AutoCompSelect(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompSetCancelAtStart" type="void" overloaded="no">
- <autodoc>AutoCompSetCancelAtStart(bool cancel)</autodoc>
- <paramlist>
- <param name="cancel" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no">
- <autodoc>AutoCompGetCancelAtStart() -> bool</autodoc>
- </method>
- <method name="AutoCompSetFillUps" type="void" overloaded="no">
- <autodoc>AutoCompSetFillUps(String characterSet)</autodoc>
- <paramlist>
- <param name="characterSet" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompSetChooseSingle" type="void" overloaded="no">
- <autodoc>AutoCompSetChooseSingle(bool chooseSingle)</autodoc>
- <paramlist>
- <param name="chooseSingle" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompGetChooseSingle" type="bool" overloaded="no">
- <autodoc>AutoCompGetChooseSingle() -> bool</autodoc>
- </method>
- <method name="AutoCompSetIgnoreCase" type="void" overloaded="no">
- <autodoc>AutoCompSetIgnoreCase(bool ignoreCase)</autodoc>
- <paramlist>
- <param name="ignoreCase" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no">
- <autodoc>AutoCompGetIgnoreCase() -> bool</autodoc>
- </method>
- <method name="UserListShow" type="void" overloaded="no">
- <autodoc>UserListShow(int listType, String itemList)</autodoc>
- <paramlist>
- <param name="listType" type="int" default=""/>
- <param name="itemList" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompSetAutoHide" type="void" overloaded="no">
- <autodoc>AutoCompSetAutoHide(bool autoHide)</autodoc>
- <paramlist>
- <param name="autoHide" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompGetAutoHide" type="bool" overloaded="no">
- <autodoc>AutoCompGetAutoHide() -> bool</autodoc>
- </method>
- <method name="AutoCompSetDropRestOfWord" type="void" overloaded="no">
- <autodoc>AutoCompSetDropRestOfWord(bool dropRestOfWord)</autodoc>
- <paramlist>
- <param name="dropRestOfWord" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no">
- <autodoc>AutoCompGetDropRestOfWord() -> bool</autodoc>
- </method>
- <method name="RegisterImage" type="void" overloaded="no">
- <autodoc>RegisterImage(int type, Bitmap bmp)</autodoc>
- <paramlist>
- <param name="type" type="int" default=""/>
- <param name="bmp" type="r.q(const).wxBitmap" default=""/>
- </paramlist>
- </method>
- <method name="ClearRegisteredImages" type="void" overloaded="no">
- <autodoc>ClearRegisteredImages()</autodoc>
- </method>
- <method name="AutoCompGetTypeSeparator" type="int" overloaded="no">
- <autodoc>AutoCompGetTypeSeparator() -> int</autodoc>
- </method>
- <method name="AutoCompSetTypeSeparator" type="void" overloaded="no">
- <autodoc>AutoCompSetTypeSeparator(int separatorCharacter)</autodoc>
- <paramlist>
- <param name="separatorCharacter" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetIndent" type="void" overloaded="no">
- <autodoc>SetIndent(int indentSize)</autodoc>
- <paramlist>
- <param name="indentSize" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetIndent" type="int" overloaded="no">
- <autodoc>GetIndent() -> int</autodoc>
- </method>
- <method name="SetUseTabs" type="void" overloaded="no">
- <autodoc>SetUseTabs(bool useTabs)</autodoc>
- <paramlist>
- <param name="useTabs" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetUseTabs" type="bool" overloaded="no">
- <autodoc>GetUseTabs() -> bool</autodoc>
- </method>
- <method name="SetLineIndentation" type="void" overloaded="no">
- <autodoc>SetLineIndentation(int line, int indentSize)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- <param name="indentSize" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLineIndentation" type="int" overloaded="no">
- <autodoc>GetLineIndentation(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLineIndentPosition" type="int" overloaded="no">
- <autodoc>GetLineIndentPosition(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetColumn" type="int" overloaded="no">
- <autodoc>GetColumn(int pos) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetUseHorizontalScrollBar" type="void" overloaded="no">
- <autodoc>SetUseHorizontalScrollBar(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no">
- <autodoc>GetUseHorizontalScrollBar() -> bool</autodoc>
- </method>
- <method name="SetIndentationGuides" type="void" overloaded="no">
- <autodoc>SetIndentationGuides(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetIndentationGuides" type="bool" overloaded="no">
- <autodoc>GetIndentationGuides() -> bool</autodoc>
- </method>
- <method name="SetHighlightGuide" type="void" overloaded="no">
- <autodoc>SetHighlightGuide(int column)</autodoc>
- <paramlist>
- <param name="column" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetHighlightGuide" type="int" overloaded="no">
- <autodoc>GetHighlightGuide() -> int</autodoc>
- </method>
- <method name="GetLineEndPosition" type="int" overloaded="no">
- <autodoc>GetLineEndPosition(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCodePage" type="int" overloaded="no">
- <autodoc>GetCodePage() -> int</autodoc>
- </method>
- <method name="GetCaretForeground" type="wxColour" overloaded="no">
- <autodoc>GetCaretForeground() -> Colour</autodoc>
- </method>
- <method name="GetReadOnly" type="bool" overloaded="no">
- <autodoc>GetReadOnly() -> bool</autodoc>
- </method>
- <method name="SetCurrentPos" type="void" overloaded="no">
- <autodoc>SetCurrentPos(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetSelectionStart" type="void" overloaded="no">
- <autodoc>SetSelectionStart(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectionStart" type="int" overloaded="no">
- <autodoc>GetSelectionStart() -> int</autodoc>
- </method>
- <method name="SetSelectionEnd" type="void" overloaded="no">
- <autodoc>SetSelectionEnd(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectionEnd" type="int" overloaded="no">
- <autodoc>GetSelectionEnd() -> int</autodoc>
- </method>
- <method name="SetPrintMagnification" type="void" overloaded="no">
- <autodoc>SetPrintMagnification(int magnification)</autodoc>
- <paramlist>
- <param name="magnification" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPrintMagnification" type="int" overloaded="no">
- <autodoc>GetPrintMagnification() -> int</autodoc>
- </method>
- <method name="SetPrintColourMode" type="void" overloaded="no">
- <autodoc>SetPrintColourMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPrintColourMode" type="int" overloaded="no">
- <autodoc>GetPrintColourMode() -> int</autodoc>
- </method>
- <method name="FindText" type="int" overloaded="no">
- <autodoc>FindText(int minPos, int maxPos, String text, int flags=0) -> int</autodoc>
- <paramlist>
- <param name="minPos" type="int" default=""/>
- <param name="maxPos" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="FormatRange" type="int" overloaded="no">
- <autodoc>FormatRange(bool doDraw, int startPos, int endPos, DC draw, DC target,
- Rect renderRect, Rect pageRect) -> int</autodoc>
- <paramlist>
- <param name="doDraw" type="bool" default=""/>
- <param name="startPos" type="int" default=""/>
- <param name="endPos" type="int" default=""/>
- <param name="draw" type="p.wxDC" default=""/>
- <param name="target" type="p.wxDC" default=""/>
- <param name="renderRect" type="wxRect" default=""/>
- <param name="pageRect" type="wxRect" default=""/>
- </paramlist>
- </method>
- <method name="GetFirstVisibleLine" type="int" overloaded="no">
- <autodoc>GetFirstVisibleLine() -> int</autodoc>
- </method>
- <method name="GetLine" type="wxString" overloaded="no">
- <autodoc>GetLine(int line) -> String</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLineCount" type="int" overloaded="no">
- <autodoc>GetLineCount() -> int</autodoc>
- </method>
- <method name="SetMarginLeft" type="void" overloaded="no">
- <autodoc>SetMarginLeft(int pixelWidth)</autodoc>
- <paramlist>
- <param name="pixelWidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMarginLeft" type="int" overloaded="no">
- <autodoc>GetMarginLeft() -> int</autodoc>
- </method>
- <method name="SetMarginRight" type="void" overloaded="no">
- <autodoc>SetMarginRight(int pixelWidth)</autodoc>
- <paramlist>
- <param name="pixelWidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMarginRight" type="int" overloaded="no">
- <autodoc>GetMarginRight() -> int</autodoc>
- </method>
- <method name="GetModify" type="bool" overloaded="no">
- <autodoc>GetModify() -> bool</autodoc>
- </method>
- <method name="SetSelection" type="void" overloaded="no">
- <autodoc>SetSelection(int start, int end)</autodoc>
- <paramlist>
- <param name="start" type="int" default=""/>
- <param name="end" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSelectedText" type="wxString" overloaded="no">
- <autodoc>GetSelectedText() -> String</autodoc>
- </method>
- <method name="GetTextRange" type="wxString" overloaded="no">
- <autodoc>GetTextRange(int startPos, int endPos) -> String</autodoc>
- <paramlist>
- <param name="startPos" type="int" default=""/>
- <param name="endPos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="HideSelection" type="void" overloaded="no">
- <autodoc>HideSelection(bool normal)</autodoc>
- <paramlist>
- <param name="normal" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="LineFromPosition" type="int" overloaded="no">
- <autodoc>LineFromPosition(int pos) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="PositionFromLine" type="int" overloaded="no">
- <autodoc>PositionFromLine(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="LineScroll" type="void" overloaded="no">
- <autodoc>LineScroll(int columns, int lines)</autodoc>
- <paramlist>
- <param name="columns" type="int" default=""/>
- <param name="lines" type="int" default=""/>
- </paramlist>
- </method>
- <method name="EnsureCaretVisible" type="void" overloaded="no">
- <autodoc>EnsureCaretVisible()</autodoc>
- </method>
- <method name="ReplaceSelection" type="void" overloaded="no">
- <autodoc>ReplaceSelection(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetReadOnly" type="void" overloaded="no">
- <autodoc>SetReadOnly(bool readOnly)</autodoc>
- <paramlist>
- <param name="readOnly" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="CanPaste" type="bool" overloaded="no">
- <autodoc>CanPaste() -> bool</autodoc>
- </method>
- <method name="CanUndo" type="bool" overloaded="no">
- <autodoc>CanUndo() -> bool</autodoc>
- </method>
- <method name="EmptyUndoBuffer" type="void" overloaded="no">
- <autodoc>EmptyUndoBuffer()</autodoc>
- </method>
- <method name="Undo" type="void" overloaded="no">
- <autodoc>Undo()</autodoc>
- </method>
- <method name="Cut" type="void" overloaded="no">
- <autodoc>Cut()</autodoc>
- </method>
- <method name="Copy" type="void" overloaded="no">
- <autodoc>Copy()</autodoc>
- </method>
- <method name="Paste" type="void" overloaded="no">
- <autodoc>Paste()</autodoc>
- </method>
- <method name="Clear" type="void" overloaded="no">
- <autodoc>Clear()</autodoc>
- </method>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetText" type="wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <method name="GetTextLength" type="int" overloaded="no">
- <autodoc>GetTextLength() -> int</autodoc>
- </method>
- <method name="SetOvertype" type="void" overloaded="no">
- <autodoc>SetOvertype(bool overtype)</autodoc>
- <paramlist>
- <param name="overtype" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetOvertype" type="bool" overloaded="no">
- <autodoc>GetOvertype() -> bool</autodoc>
- </method>
- <method name="SetCaretWidth" type="void" overloaded="no">
- <autodoc>SetCaretWidth(int pixelWidth)</autodoc>
- <paramlist>
- <param name="pixelWidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetCaretWidth" type="int" overloaded="no">
- <autodoc>GetCaretWidth() -> int</autodoc>
- </method>
- <method name="SetTargetStart" type="void" overloaded="no">
- <autodoc>SetTargetStart(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetTargetStart" type="int" overloaded="no">
- <autodoc>GetTargetStart() -> int</autodoc>
- </method>
- <method name="SetTargetEnd" type="void" overloaded="no">
- <autodoc>SetTargetEnd(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetTargetEnd" type="int" overloaded="no">
- <autodoc>GetTargetEnd() -> int</autodoc>
- </method>
- <method name="ReplaceTarget" type="int" overloaded="no">
- <autodoc>ReplaceTarget(String text) -> int</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="ReplaceTargetRE" type="int" overloaded="no">
- <autodoc>ReplaceTargetRE(String text) -> int</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SearchInTarget" type="int" overloaded="no">
- <autodoc>SearchInTarget(String text) -> int</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetSearchFlags" type="void" overloaded="no">
- <autodoc>SetSearchFlags(int flags)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSearchFlags" type="int" overloaded="no">
- <autodoc>GetSearchFlags() -> int</autodoc>
- </method>
- <method name="CallTipShow" type="void" overloaded="no">
- <autodoc>CallTipShow(int pos, String definition)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- <param name="definition" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="CallTipCancel" type="void" overloaded="no">
- <autodoc>CallTipCancel()</autodoc>
- </method>
- <method name="CallTipActive" type="bool" overloaded="no">
- <autodoc>CallTipActive() -> bool</autodoc>
- </method>
- <method name="CallTipPosAtStart" type="int" overloaded="no">
- <autodoc>CallTipPosAtStart() -> int</autodoc>
- </method>
- <method name="CallTipSetHighlight" type="void" overloaded="no">
- <autodoc>CallTipSetHighlight(int start, int end)</autodoc>
- <paramlist>
- <param name="start" type="int" default=""/>
- <param name="end" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CallTipSetBackground" type="void" overloaded="no">
- <autodoc>CallTipSetBackground(Colour back)</autodoc>
- <paramlist>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="CallTipSetForeground" type="void" overloaded="no">
- <autodoc>CallTipSetForeground(Colour fore)</autodoc>
- <paramlist>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="CallTipSetForegroundHighlight" type="void" overloaded="no">
- <autodoc>CallTipSetForegroundHighlight(Colour fore)</autodoc>
- <paramlist>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="VisibleFromDocLine" type="int" overloaded="no">
- <autodoc>VisibleFromDocLine(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DocLineFromVisible" type="int" overloaded="no">
- <autodoc>DocLineFromVisible(int lineDisplay) -> int</autodoc>
- <paramlist>
- <param name="lineDisplay" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFoldLevel" type="void" overloaded="no">
- <autodoc>SetFoldLevel(int line, int level)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- <param name="level" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFoldLevel" type="int" overloaded="no">
- <autodoc>GetFoldLevel(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLastChild" type="int" overloaded="no">
- <autodoc>GetLastChild(int line, int level) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- <param name="level" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetFoldParent" type="int" overloaded="no">
- <autodoc>GetFoldParent(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ShowLines" type="void" overloaded="no">
- <autodoc>ShowLines(int lineStart, int lineEnd)</autodoc>
- <paramlist>
- <param name="lineStart" type="int" default=""/>
- <param name="lineEnd" type="int" default=""/>
- </paramlist>
- </method>
- <method name="HideLines" type="void" overloaded="no">
- <autodoc>HideLines(int lineStart, int lineEnd)</autodoc>
- <paramlist>
- <param name="lineStart" type="int" default=""/>
- <param name="lineEnd" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLineVisible" type="bool" overloaded="no">
- <autodoc>GetLineVisible(int line) -> bool</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFoldExpanded" type="void" overloaded="no">
- <autodoc>SetFoldExpanded(int line, bool expanded)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- <param name="expanded" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetFoldExpanded" type="bool" overloaded="no">
- <autodoc>GetFoldExpanded(int line) -> bool</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ToggleFold" type="void" overloaded="no">
- <autodoc>ToggleFold(int line)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="EnsureVisible" type="void" overloaded="no">
- <autodoc>EnsureVisible(int line)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFoldFlags" type="void" overloaded="no">
- <autodoc>SetFoldFlags(int flags)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- </paramlist>
- </method>
- <method name="EnsureVisibleEnforcePolicy" type="void" overloaded="no">
- <autodoc>EnsureVisibleEnforcePolicy(int line)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetTabIndents" type="void" overloaded="no">
- <autodoc>SetTabIndents(bool tabIndents)</autodoc>
- <paramlist>
- <param name="tabIndents" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetTabIndents" type="bool" overloaded="no">
- <autodoc>GetTabIndents() -> bool</autodoc>
- </method>
- <method name="SetBackSpaceUnIndents" type="void" overloaded="no">
- <autodoc>SetBackSpaceUnIndents(bool bsUnIndents)</autodoc>
- <paramlist>
- <param name="bsUnIndents" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetBackSpaceUnIndents" type="bool" overloaded="no">
- <autodoc>GetBackSpaceUnIndents() -> bool</autodoc>
- </method>
- <method name="SetMouseDwellTime" type="void" overloaded="no">
- <autodoc>SetMouseDwellTime(int periodMilliseconds)</autodoc>
- <paramlist>
- <param name="periodMilliseconds" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetMouseDwellTime" type="int" overloaded="no">
- <autodoc>GetMouseDwellTime() -> int</autodoc>
- </method>
- <method name="WordStartPosition" type="int" overloaded="no">
- <autodoc>WordStartPosition(int pos, bool onlyWordCharacters) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- <param name="onlyWordCharacters" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="WordEndPosition" type="int" overloaded="no">
- <autodoc>WordEndPosition(int pos, bool onlyWordCharacters) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- <param name="onlyWordCharacters" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetWrapMode" type="void" overloaded="no">
- <autodoc>SetWrapMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetWrapMode" type="int" overloaded="no">
- <autodoc>GetWrapMode() -> int</autodoc>
- </method>
- <method name="SetLayoutCache" type="void" overloaded="no">
- <autodoc>SetLayoutCache(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLayoutCache" type="int" overloaded="no">
- <autodoc>GetLayoutCache() -> int</autodoc>
- </method>
- <method name="SetScrollWidth" type="void" overloaded="no">
- <autodoc>SetScrollWidth(int pixelWidth)</autodoc>
- <paramlist>
- <param name="pixelWidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetScrollWidth" type="int" overloaded="no">
- <autodoc>GetScrollWidth() -> int</autodoc>
- </method>
- <method name="TextWidth" type="int" overloaded="no">
- <autodoc>TextWidth(int style, String text) -> int</autodoc>
- <paramlist>
- <param name="style" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetEndAtLastLine" type="void" overloaded="no">
- <autodoc>SetEndAtLastLine(bool endAtLastLine)</autodoc>
- <paramlist>
- <param name="endAtLastLine" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetEndAtLastLine" type="int" overloaded="no">
- <autodoc>GetEndAtLastLine() -> int</autodoc>
- </method>
- <method name="TextHeight" type="int" overloaded="no">
- <autodoc>TextHeight(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetUseVerticalScrollBar" type="void" overloaded="no">
- <autodoc>SetUseVerticalScrollBar(bool show)</autodoc>
- <paramlist>
- <param name="show" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetUseVerticalScrollBar" type="bool" overloaded="no">
- <autodoc>GetUseVerticalScrollBar() -> bool</autodoc>
- </method>
- <method name="AppendText" type="void" overloaded="no">
- <autodoc>AppendText(int length, String text)</autodoc>
- <paramlist>
- <param name="length" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetTwoPhaseDraw" type="bool" overloaded="no">
- <autodoc>GetTwoPhaseDraw() -> bool</autodoc>
- </method>
- <method name="SetTwoPhaseDraw" type="void" overloaded="no">
- <autodoc>SetTwoPhaseDraw(bool twoPhase)</autodoc>
- <paramlist>
- <param name="twoPhase" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="TargetFromSelection" type="void" overloaded="no">
- <autodoc>TargetFromSelection()</autodoc>
- </method>
- <method name="LinesJoin" type="void" overloaded="no">
- <autodoc>LinesJoin()</autodoc>
- </method>
- <method name="LinesSplit" type="void" overloaded="no">
- <autodoc>LinesSplit(int pixelWidth)</autodoc>
- <paramlist>
- <param name="pixelWidth" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFoldMarginColour" type="void" overloaded="no">
- <autodoc>SetFoldMarginColour(bool useSetting, Colour back)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetFoldMarginHiColour" type="void" overloaded="no">
- <autodoc>SetFoldMarginHiColour(bool useSetting, Colour fore)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="LineDuplicate" type="void" overloaded="no">
- <autodoc>LineDuplicate()</autodoc>
- </method>
- <method name="HomeDisplay" type="void" overloaded="no">
- <autodoc>HomeDisplay()</autodoc>
- </method>
- <method name="HomeDisplayExtend" type="void" overloaded="no">
- <autodoc>HomeDisplayExtend()</autodoc>
- </method>
- <method name="LineEndDisplay" type="void" overloaded="no">
- <autodoc>LineEndDisplay()</autodoc>
- </method>
- <method name="LineEndDisplayExtend" type="void" overloaded="no">
- <autodoc>LineEndDisplayExtend()</autodoc>
- </method>
- <method name="LineCopy" type="void" overloaded="no">
- <autodoc>LineCopy()</autodoc>
- </method>
- <method name="MoveCaretInsideView" type="void" overloaded="no">
- <autodoc>MoveCaretInsideView()</autodoc>
- </method>
- <method name="LineLength" type="int" overloaded="no">
- <autodoc>LineLength(int line) -> int</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="BraceHighlight" type="void" overloaded="no">
- <autodoc>BraceHighlight(int pos1, int pos2)</autodoc>
- <paramlist>
- <param name="pos1" type="int" default=""/>
- <param name="pos2" type="int" default=""/>
- </paramlist>
- </method>
- <method name="BraceBadLight" type="void" overloaded="no">
- <autodoc>BraceBadLight(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="BraceMatch" type="int" overloaded="no">
- <autodoc>BraceMatch(int pos) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetViewEOL" type="bool" overloaded="no">
- <autodoc>GetViewEOL() -> bool</autodoc>
- </method>
- <method name="SetViewEOL" type="void" overloaded="no">
- <autodoc>SetViewEOL(bool visible)</autodoc>
- <paramlist>
- <param name="visible" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetDocPointer" type="void" overloaded="no">
- <autodoc>GetDocPointer() -> void</autodoc>
- </method>
- <method name="SetDocPointer" type="void" overloaded="no">
- <autodoc>SetDocPointer(void docPointer)</autodoc>
- <paramlist>
- <param name="docPointer" type="p.void" default=""/>
- </paramlist>
- </method>
- <method name="SetModEventMask" type="void" overloaded="no">
- <autodoc>SetModEventMask(int mask)</autodoc>
- <paramlist>
- <param name="mask" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetEdgeColumn" type="int" overloaded="no">
- <autodoc>GetEdgeColumn() -> int</autodoc>
- </method>
- <method name="SetEdgeColumn" type="void" overloaded="no">
- <autodoc>SetEdgeColumn(int column)</autodoc>
- <paramlist>
- <param name="column" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetEdgeMode" type="int" overloaded="no">
- <autodoc>GetEdgeMode() -> int</autodoc>
- </method>
- <method name="SetEdgeMode" type="void" overloaded="no">
- <autodoc>SetEdgeMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetEdgeColour" type="wxColour" overloaded="no">
- <autodoc>GetEdgeColour() -> Colour</autodoc>
- </method>
- <method name="SetEdgeColour" type="void" overloaded="no">
- <autodoc>SetEdgeColour(Colour edgeColour)</autodoc>
- <paramlist>
- <param name="edgeColour" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SearchAnchor" type="void" overloaded="no">
- <autodoc>SearchAnchor()</autodoc>
- </method>
- <method name="SearchNext" type="int" overloaded="no">
- <autodoc>SearchNext(int flags, String text) -> int</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SearchPrev" type="int" overloaded="no">
- <autodoc>SearchPrev(int flags, String text) -> int</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LinesOnScreen" type="int" overloaded="no">
- <autodoc>LinesOnScreen() -> int</autodoc>
- </method>
- <method name="UsePopUp" type="void" overloaded="no">
- <autodoc>UsePopUp(bool allowPopUp)</autodoc>
- <paramlist>
- <param name="allowPopUp" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SelectionIsRectangle" type="bool" overloaded="no">
- <autodoc>SelectionIsRectangle() -> bool</autodoc>
- </method>
- <method name="SetZoom" type="void" overloaded="no">
- <autodoc>SetZoom(int zoom)</autodoc>
- <paramlist>
- <param name="zoom" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetZoom" type="int" overloaded="no">
- <autodoc>GetZoom() -> int</autodoc>
- </method>
- <method name="CreateDocument" type="void" overloaded="no">
- <autodoc>CreateDocument() -> void</autodoc>
- </method>
- <method name="AddRefDocument" type="void" overloaded="no">
- <autodoc>AddRefDocument(void docPointer)</autodoc>
- <paramlist>
- <param name="docPointer" type="p.void" default=""/>
- </paramlist>
- </method>
- <method name="ReleaseDocument" type="void" overloaded="no">
- <autodoc>ReleaseDocument(void docPointer)</autodoc>
- <paramlist>
- <param name="docPointer" type="p.void" default=""/>
- </paramlist>
- </method>
- <method name="GetModEventMask" type="int" overloaded="no">
- <autodoc>GetModEventMask() -> int</autodoc>
- </method>
- <method name="SetSTCFocus" type="void" overloaded="no">
- <autodoc>SetSTCFocus(bool focus)</autodoc>
- <paramlist>
- <param name="focus" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetSTCFocus" type="bool" overloaded="no">
- <autodoc>GetSTCFocus() -> bool</autodoc>
- </method>
- <method name="SetStatus" type="void" overloaded="no">
- <autodoc>SetStatus(int statusCode)</autodoc>
- <paramlist>
- <param name="statusCode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetStatus" type="int" overloaded="no">
- <autodoc>GetStatus() -> int</autodoc>
- </method>
- <method name="SetMouseDownCaptures" type="void" overloaded="no">
- <autodoc>SetMouseDownCaptures(bool captures)</autodoc>
- <paramlist>
- <param name="captures" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="GetMouseDownCaptures" type="bool" overloaded="no">
- <autodoc>GetMouseDownCaptures() -> bool</autodoc>
- </method>
- <method name="SetSTCCursor" type="void" overloaded="no">
- <autodoc>SetSTCCursor(int cursorType)</autodoc>
- <paramlist>
- <param name="cursorType" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSTCCursor" type="int" overloaded="no">
- <autodoc>GetSTCCursor() -> int</autodoc>
- </method>
- <method name="SetControlCharSymbol" type="void" overloaded="no">
- <autodoc>SetControlCharSymbol(int symbol)</autodoc>
- <paramlist>
- <param name="symbol" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetControlCharSymbol" type="int" overloaded="no">
- <autodoc>GetControlCharSymbol() -> int</autodoc>
- </method>
- <method name="WordPartLeft" type="void" overloaded="no">
- <autodoc>WordPartLeft()</autodoc>
- </method>
- <method name="WordPartLeftExtend" type="void" overloaded="no">
- <autodoc>WordPartLeftExtend()</autodoc>
- </method>
- <method name="WordPartRight" type="void" overloaded="no">
- <autodoc>WordPartRight()</autodoc>
- </method>
- <method name="WordPartRightExtend" type="void" overloaded="no">
- <autodoc>WordPartRightExtend()</autodoc>
- </method>
- <method name="SetVisiblePolicy" type="void" overloaded="no">
- <autodoc>SetVisiblePolicy(int visiblePolicy, int visibleSlop)</autodoc>
- <paramlist>
- <param name="visiblePolicy" type="int" default=""/>
- <param name="visibleSlop" type="int" default=""/>
- </paramlist>
- </method>
- <method name="DelLineLeft" type="void" overloaded="no">
- <autodoc>DelLineLeft()</autodoc>
- </method>
- <method name="DelLineRight" type="void" overloaded="no">
- <autodoc>DelLineRight()</autodoc>
- </method>
- <method name="SetXOffset" type="void" overloaded="no">
- <autodoc>SetXOffset(int newOffset)</autodoc>
- <paramlist>
- <param name="newOffset" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetXOffset" type="int" overloaded="no">
- <autodoc>GetXOffset() -> int</autodoc>
- </method>
- <method name="ChooseCaretX" type="void" overloaded="no">
- <autodoc>ChooseCaretX()</autodoc>
- </method>
- <method name="SetXCaretPolicy" type="void" overloaded="no">
- <autodoc>SetXCaretPolicy(int caretPolicy, int caretSlop)</autodoc>
- <paramlist>
- <param name="caretPolicy" type="int" default=""/>
- <param name="caretSlop" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetYCaretPolicy" type="void" overloaded="no">
- <autodoc>SetYCaretPolicy(int caretPolicy, int caretSlop)</autodoc>
- <paramlist>
- <param name="caretPolicy" type="int" default=""/>
- <param name="caretSlop" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetPrintWrapMode" type="void" overloaded="no">
- <autodoc>SetPrintWrapMode(int mode)</autodoc>
- <paramlist>
- <param name="mode" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetPrintWrapMode" type="int" overloaded="no">
- <autodoc>GetPrintWrapMode() -> int</autodoc>
- </method>
- <method name="SetHotspotActiveForeground" type="void" overloaded="no">
- <autodoc>SetHotspotActiveForeground(bool useSetting, Colour fore)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="fore" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetHotspotActiveBackground" type="void" overloaded="no">
- <autodoc>SetHotspotActiveBackground(bool useSetting, Colour back)</autodoc>
- <paramlist>
- <param name="useSetting" type="bool" default=""/>
- <param name="back" type="r.q(const).wxColour" default=""/>
- </paramlist>
- </method>
- <method name="SetHotspotActiveUnderline" type="void" overloaded="no">
- <autodoc>SetHotspotActiveUnderline(bool underline)</autodoc>
- <paramlist>
- <param name="underline" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="PositionBefore" type="int" overloaded="no">
- <autodoc>PositionBefore(int pos) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="PositionAfter" type="int" overloaded="no">
- <autodoc>PositionAfter(int pos) -> int</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CopyRange" type="void" overloaded="no">
- <autodoc>CopyRange(int start, int end)</autodoc>
- <paramlist>
- <param name="start" type="int" default=""/>
- <param name="end" type="int" default=""/>
- </paramlist>
- </method>
- <method name="CopyText" type="void" overloaded="no">
- <autodoc>CopyText(int length, String text)</autodoc>
- <paramlist>
- <param name="length" type="int" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="StartRecord" type="void" overloaded="no">
- <autodoc>StartRecord()</autodoc>
- </method>
- <method name="StopRecord" type="void" overloaded="no">
- <autodoc>StopRecord()</autodoc>
- </method>
- <method name="SetLexer" type="void" overloaded="no">
- <autodoc>SetLexer(int lexer)</autodoc>
- <paramlist>
- <param name="lexer" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetLexer" type="int" overloaded="no">
- <autodoc>GetLexer() -> int</autodoc>
- </method>
- <method name="Colourise" type="void" overloaded="no">
- <autodoc>Colourise(int start, int end)</autodoc>
- <paramlist>
- <param name="start" type="int" default=""/>
- <param name="end" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetProperty" type="void" overloaded="no">
- <autodoc>SetProperty(String key, String value)</autodoc>
- <paramlist>
- <param name="key" type="r.q(const).wxString" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetKeyWords" type="void" overloaded="no">
- <autodoc>SetKeyWords(int keywordSet, String keyWords)</autodoc>
- <paramlist>
- <param name="keywordSet" type="int" default=""/>
- <param name="keyWords" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetLexerLanguage" type="void" overloaded="no">
- <autodoc>SetLexerLanguage(String language)</autodoc>
- <paramlist>
- <param name="language" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetCurrentLine" type="int" overloaded="no">
- <autodoc>GetCurrentLine() -> int</autodoc>
- </method>
- <method name="StyleSetSpec" type="void" overloaded="no">
- <autodoc>StyleSetSpec(int styleNum, String spec)</autodoc>
- <paramlist>
- <param name="styleNum" type="int" default=""/>
- <param name="spec" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetFont" type="void" overloaded="no">
- <autodoc>StyleSetFont(int styleNum, Font font)</autodoc>
- <paramlist>
- <param name="styleNum" type="int" default=""/>
- <param name="font" type="r.wxFont" default=""/>
- </paramlist>
- </method>
- <method name="StyleSetFontAttr" type="void" overloaded="no">
- <autodoc>StyleSetFontAttr(int styleNum, int size, String faceName, bool bold,
- bool italic, bool underline)</autodoc>
- <paramlist>
- <param name="styleNum" type="int" default=""/>
- <param name="size" type="int" default=""/>
- <param name="faceName" type="r.q(const).wxString" default=""/>
- <param name="bold" type="bool" default=""/>
- <param name="italic" type="bool" default=""/>
- <param name="underline" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="CmdKeyExecute" type="void" overloaded="no">
- <autodoc>CmdKeyExecute(int cmd)</autodoc>
- <paramlist>
- <param name="cmd" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMargins" type="void" overloaded="no">
- <autodoc>SetMargins(int left, int right)</autodoc>
- <paramlist>
- <param name="left" type="int" default=""/>
- <param name="right" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetSelection" type="void" overloaded="no">
- <autodoc>GetSelection(int OUTPUT, int OUTPUT)</autodoc>
- <paramlist>
- <param name="OUTPUT" type="p.int" default=""/>
- <param name="OUTPUT" type="p.int" default=""/>
- </paramlist>
- </method>
- <method name="PointFromPosition" type="wxPoint" overloaded="no">
- <autodoc>PointFromPosition(int pos) -> Point</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ScrollToLine" type="void" overloaded="no">
- <autodoc>ScrollToLine(int line)</autodoc>
- <paramlist>
- <param name="line" type="int" default=""/>
- </paramlist>
- </method>
- <method name="ScrollToColumn" type="void" overloaded="no">
- <autodoc>ScrollToColumn(int column)</autodoc>
- <paramlist>
- <param name="column" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SendMsg" type="long" overloaded="no">
- <autodoc>SendMsg(int msg, long wp=0, long lp=0) -> long</autodoc>
- <paramlist>
- <param name="msg" type="int" default=""/>
- <param name="wp" type="long" default="0"/>
- <param name="lp" type="long" default="0"/>
- </paramlist>
- </method>
- <method name="SetVScrollBar" type="void" overloaded="no">
- <autodoc>SetVScrollBar(wxScrollBar bar)</autodoc>
- <paramlist>
- <param name="bar" type="p.wxScrollBar" default=""/>
- </paramlist>
- </method>
- <method name="SetHScrollBar" type="void" overloaded="no">
- <autodoc>SetHScrollBar(wxScrollBar bar)</autodoc>
- <paramlist>
- <param name="bar" type="p.wxScrollBar" default=""/>
- </paramlist>
- </method>
- <method name="GetLastKeydownProcessed" type="bool" overloaded="no">
- <autodoc>GetLastKeydownProcessed() -> bool</autodoc>
- </method>
- <method name="SetLastKeydownProcessed" type="void" overloaded="no">
- <autodoc>SetLastKeydownProcessed(bool val)</autodoc>
- <paramlist>
- <param name="val" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SaveFile" type="bool" overloaded="no">
- <autodoc>SaveFile(String filename) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadFile" type="bool" overloaded="no">
- <autodoc>LoadFile(String filename) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DoDragOver" type="wxDragResult" overloaded="no">
- <autodoc>DoDragOver(int x, int y, wxDragResult def) -> wxDragResult</autodoc>
- <paramlist>
- <param name="x" type="int" default=""/>
- <param name="y" type="int" default=""/>
- <param name="def" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="DoDropText" type="bool" overloaded="no">
- <autodoc>DoDropText(long x, long y, String data) -> bool</autodoc>
- <paramlist>
- <param name="x" type="long" default=""/>
- <param name="y" type="long" default=""/>
- <param name="data" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc">
- <baseclass name="wxCommandEvent"/>
- <constructor name="StyledTextEvent" overloaded="no">
- <autodoc>__init__(wxEventType commandType=0, int id=0) -> StyledTextEvent</autodoc>
- <paramlist>
- <param name="commandType" type="wxEventType" default="0"/>
- <param name="id" type="int" default="0"/>
- </paramlist>
- </constructor>
- <destructor name="~wxStyledTextEvent" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="SetPosition" type="void" overloaded="no">
- <autodoc>SetPosition(int pos)</autodoc>
- <paramlist>
- <param name="pos" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetKey" type="void" overloaded="no">
- <autodoc>SetKey(int k)</autodoc>
- <paramlist>
- <param name="k" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetModifiers" type="void" overloaded="no">
- <autodoc>SetModifiers(int m)</autodoc>
- <paramlist>
- <param name="m" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetModificationType" type="void" overloaded="no">
- <autodoc>SetModificationType(int t)</autodoc>
- <paramlist>
- <param name="t" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String t)</autodoc>
- <paramlist>
- <param name="t" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetLength" type="void" overloaded="no">
- <autodoc>SetLength(int len)</autodoc>
- <paramlist>
- <param name="len" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLinesAdded" type="void" overloaded="no">
- <autodoc>SetLinesAdded(int num)</autodoc>
- <paramlist>
- <param name="num" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLine" type="void" overloaded="no">
- <autodoc>SetLine(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFoldLevelNow" type="void" overloaded="no">
- <autodoc>SetFoldLevelNow(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetFoldLevelPrev" type="void" overloaded="no">
- <autodoc>SetFoldLevelPrev(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMargin" type="void" overloaded="no">
- <autodoc>SetMargin(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetMessage" type="void" overloaded="no">
- <autodoc>SetMessage(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetWParam" type="void" overloaded="no">
- <autodoc>SetWParam(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetLParam" type="void" overloaded="no">
- <autodoc>SetLParam(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetListType" type="void" overloaded="no">
- <autodoc>SetListType(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetX" type="void" overloaded="no">
- <autodoc>SetX(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetY" type="void" overloaded="no">
- <autodoc>SetY(int val)</autodoc>
- <paramlist>
- <param name="val" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetDragText" type="void" overloaded="no">
- <autodoc>SetDragText(String val)</autodoc>
- <paramlist>
- <param name="val" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetDragAllowMove" type="void" overloaded="no">
- <autodoc>SetDragAllowMove(bool val)</autodoc>
- <paramlist>
- <param name="val" type="bool" default=""/>
- </paramlist>
- </method>
- <method name="SetDragResult" type="void" overloaded="no">
- <autodoc>SetDragResult(wxDragResult val)</autodoc>
- <paramlist>
- <param name="val" type="wxDragResult" default=""/>
- </paramlist>
- </method>
- <method name="GetPosition" type="int" overloaded="no">
- <autodoc>GetPosition() -> int</autodoc>
- </method>
- <method name="GetKey" type="int" overloaded="no">
- <autodoc>GetKey() -> int</autodoc>
- </method>
- <method name="GetModifiers" type="int" overloaded="no">
- <autodoc>GetModifiers() -> int</autodoc>
- </method>
- <method name="GetModificationType" type="int" overloaded="no">
- <autodoc>GetModificationType() -> int</autodoc>
- </method>
- <method name="GetText" type="wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
- </method>
- <method name="GetLength" type="int" overloaded="no">
- <autodoc>GetLength() -> int</autodoc>
- </method>
- <method name="GetLinesAdded" type="int" overloaded="no">
- <autodoc>GetLinesAdded() -> int</autodoc>
- </method>
- <method name="GetLine" type="int" overloaded="no">
- <autodoc>GetLine() -> int</autodoc>
- </method>
- <method name="GetFoldLevelNow" type="int" overloaded="no">
- <autodoc>GetFoldLevelNow() -> int</autodoc>
- </method>
- <method name="GetFoldLevelPrev" type="int" overloaded="no">
- <autodoc>GetFoldLevelPrev() -> int</autodoc>
- </method>
- <method name="GetMargin" type="int" overloaded="no">
- <autodoc>GetMargin() -> int</autodoc>
- </method>
- <method name="GetMessage" type="int" overloaded="no">
- <autodoc>GetMessage() -> int</autodoc>
- </method>
- <method name="GetWParam" type="int" overloaded="no">
- <autodoc>GetWParam() -> int</autodoc>
- </method>
- <method name="GetLParam" type="int" overloaded="no">
- <autodoc>GetLParam() -> int</autodoc>
- </method>
- <method name="GetListType" type="int" overloaded="no">
- <autodoc>GetListType() -> int</autodoc>
- </method>
- <method name="GetX" type="int" overloaded="no">
- <autodoc>GetX() -> int</autodoc>
- </method>
- <method name="GetY" type="int" overloaded="no">
- <autodoc>GetY() -> int</autodoc>
- </method>
- <method name="GetDragText" type="wxString" overloaded="no">
- <autodoc>GetDragText() -> String</autodoc>
- </method>
- <method name="GetDragAllowMove" type="bool" overloaded="no">
- <autodoc>GetDragAllowMove() -> bool</autodoc>
- </method>
- <method name="GetDragResult" type="wxDragResult" overloaded="no">
- <autodoc>GetDragResult() -> wxDragResult</autodoc>
- </method>
- <method name="GetShift" type="bool" overloaded="no">
- <autodoc>GetShift() -> bool</autodoc>
- </method>
- <method name="GetControl" type="bool" overloaded="no">
- <autodoc>GetControl() -> bool</autodoc>
- </method>
- <method name="GetAlt" type="bool" overloaded="no">
- <autodoc>GetAlt() -> bool</autodoc>
- </method>
- <method name="Clone" type="wxEvent" overloaded="no">
- <autodoc>Clone() -> Event</autodoc>
- </method>
- </class>
- <pythoncode>
-EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 )
-EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 )
-EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 )
-EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 )
-EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 )
-EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 )
-EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 )
-EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 )
-EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 )
-EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 )
-EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
-EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
-EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
-EVT_STC_POSCHANGED = wx.PyEventBinder( wxEVT_STC_POSCHANGED, 1 )
-EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
-EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
-EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )
-EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 )
-EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 )
-EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 )
-EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 )
-EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 )
-EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 )
-EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 )
-EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
-EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
+ <pythoncode>
+ EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
</pythoncode>
-</module><module name="xrc">
- <import name="core"/>
- <pythoncode> wx = core </pythoncode>
- <pythoncode>
+ <class name="ToggleButton" oldname="wxToggleButton" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="ToggleButton" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ToggleButtonNameStr) -> ToggleButton</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyToggleButtonNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreToggleButton" overloaded="no">
+ <autodoc>PreToggleButton() -> ToggleButton</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, Validator validator=DefaultValidator,
+ String name=ToggleButtonNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyToggleButtonNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, bool value)</autodoc>
+ <paramlist>
+ <param name="value" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="bool" overloaded="no">
+ <autodoc>GetValue(self) -> bool</autodoc>
+ </method>
+ <method name="SetLabel" type="" overloaded="no">
+ <autodoc>SetLabel(self, String label)</autodoc>
+ <docstring>Sets the item's text.</docstring>
+ <paramlist>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="XmlResource" oldname="wxXmlResource" module="xrc">
- <baseclass name="wxObject"/>
- <constructor name="XmlResource" overloaded="no">
- <autodoc>__init__(String filemask, int flags=XRC_USE_LOCALE) -> XmlResource</autodoc>
- <paramlist>
- <param name="filemask" type="r.q(const).wxString" default=""/>
- <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
- </paramlist>
- </constructor>
- <constructor name="EmptyXmlResource" overloaded="no">
- <autodoc>EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource</autodoc>
- <paramlist>
- <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
- </paramlist>
- </constructor>
- <destructor name="~wxXmlResource" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Load" type="bool" overloaded="no">
- <autodoc>Load(String filemask) -> bool</autodoc>
- <paramlist>
- <param name="filemask" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadFromString" type="bool" overloaded="no">
- <autodoc>LoadFromString(String data) -> bool</autodoc>
- <paramlist>
- <param name="data" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="InitAllHandlers" type="void" overloaded="no">
- <autodoc>InitAllHandlers()</autodoc>
- </method>
- <method name="AddHandler" type="void" overloaded="no">
- <autodoc>AddHandler(XmlResourceHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxPyXmlResourceHandler" default=""/>
- </paramlist>
- </method>
- <method name="InsertHandler" type="void" overloaded="no">
- <autodoc>InsertHandler(XmlResourceHandler handler)</autodoc>
- <paramlist>
- <param name="handler" type="p.wxPyXmlResourceHandler" default=""/>
- </paramlist>
- </method>
- <method name="ClearHandlers" type="void" overloaded="no">
- <autodoc>ClearHandlers()</autodoc>
- </method>
- <staticmethod name="AddSubclassFactory" type="void" overloaded="no">
- <autodoc>XmlResource.AddSubclassFactory(XmlSubclassFactory factory)</autodoc>
- <paramlist>
- <param name="factory" type="p.wxPyXmlSubclassFactory" default=""/>
- </paramlist>
- </staticmethod>
- <method name="LoadMenu" type="wxMenu" overloaded="no">
- <autodoc>LoadMenu(String name) -> Menu</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadMenuBar" type="wxMenuBar" overloaded="no">
- <autodoc>LoadMenuBar(String name) -> MenuBar</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadMenuBarOnFrame" type="wxMenuBar" overloaded="no">
- <autodoc>LoadMenuBarOnFrame(Window parent, String name) -> MenuBar</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadToolBar" type="wxToolBar" overloaded="no">
- <autodoc>LoadToolBar(Window parent, String name) -> wxToolBar</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadDialog" type="wxDialog" overloaded="no">
- <autodoc>LoadDialog(Window parent, String name) -> wxDialog</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadOnDialog" type="bool" overloaded="no">
- <autodoc>LoadOnDialog(wxDialog dlg, Window parent, String name) -> bool</autodoc>
- <paramlist>
- <param name="dlg" type="p.wxDialog" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadPanel" type="wxPanel" overloaded="no">
- <autodoc>LoadPanel(Window parent, String name) -> wxPanel</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadOnPanel" type="bool" overloaded="no">
- <autodoc>LoadOnPanel(wxPanel panel, Window parent, String name) -> bool</autodoc>
- <paramlist>
- <param name="panel" type="p.wxPanel" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadFrame" type="wxFrame" overloaded="no">
- <autodoc>LoadFrame(Window parent, String name) -> wxFrame</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadOnFrame" type="bool" overloaded="no">
- <autodoc>LoadOnFrame(wxFrame frame, Window parent, String name) -> bool</autodoc>
- <paramlist>
- <param name="frame" type="p.wxFrame" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadObject" type="wxObject" overloaded="no">
- <autodoc>LoadObject(Window parent, String name, String classname) -> Object</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="classname" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadOnObject" type="bool" overloaded="no">
- <autodoc>LoadOnObject(Object instance, Window parent, String name, String classname) -> bool</autodoc>
- <paramlist>
- <param name="instance" type="p.wxObject" default=""/>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="classname" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadBitmap" type="wxBitmap" overloaded="no">
- <autodoc>LoadBitmap(String name) -> Bitmap</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="LoadIcon" type="wxIcon" overloaded="no">
- <autodoc>LoadIcon(String name) -> Icon</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AttachUnknownControl" type="bool" overloaded="no">
- <autodoc>AttachUnknownControl(String name, Window control, Window parent=None) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="control" type="p.wxWindow" default=""/>
- <param name="parent" type="p.wxWindow" default="NULL"/>
- </paramlist>
- </method>
- <staticmethod name="GetXRCID" type="int" overloaded="no">
- <autodoc>XmlResource.GetXRCID(String str_id) -> int</autodoc>
- <paramlist>
- <param name="str_id" type="r.q(const).wxString" default=""/>
- </paramlist>
- </staticmethod>
- <method name="GetVersion" type="long" overloaded="no">
- <autodoc>GetVersion() -> long</autodoc>
- </method>
- <method name="CompareVersion" type="int" overloaded="no">
- <autodoc>CompareVersion(int major, int minor, int release, int revision) -> int</autodoc>
- <paramlist>
- <param name="major" type="int" default=""/>
- <param name="minor" type="int" default=""/>
- <param name="release" type="int" default=""/>
- <param name="revision" type="int" default=""/>
- </paramlist>
- </method>
- <staticmethod name="Get" type="wxXmlResource" overloaded="no">
- <autodoc>XmlResource.Get() -> XmlResource</autodoc>
- </staticmethod>
- <staticmethod name="Set" type="wxXmlResource" overloaded="no">
- <autodoc>XmlResource.Set(XmlResource res) -> XmlResource</autodoc>
- <paramlist>
- <param name="res" type="p.wxXmlResource" default=""/>
- </paramlist>
- </staticmethod>
- <method name="GetFlags" type="int" overloaded="no">
- <autodoc>GetFlags() -> int</autodoc>
- </method>
- <method name="SetFlags" type="void" overloaded="no">
- <autodoc>SetFlags(int flags)</autodoc>
- <paramlist>
- <param name="flags" type="int" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-def XRCID(str_id):
- return XmlResource_GetXRCID(str_id)
+ <class name="BookCtrl" oldname="wxBookCtrl" module="_controls">
+ <baseclass name="Control"/>
+ <method name="GetPageCount" type="size_t" overloaded="no">
+ <autodoc>GetPageCount(self) -> size_t</autodoc>
+ </method>
+ <method name="GetPage" type="Window" overloaded="no">
+ <autodoc>GetPage(self, size_t n) -> Window</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelection" type="int" overloaded="no">
+ <autodoc>GetSelection(self) -> int</autodoc>
+ </method>
+ <method name="SetPageText" type="bool" overloaded="no">
+ <autodoc>SetPageText(self, size_t n, String strText) -> bool</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ <param name="strText" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPageText" type="String" overloaded="no">
+ <autodoc>GetPageText(self, size_t n) -> String</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetImageList" type="" overloaded="no">
+ <autodoc>SetImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="AssignImageList" type="" overloaded="no">
+ <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetImageList" type="ImageList" overloaded="no">
+ <autodoc>GetImageList(self) -> ImageList</autodoc>
+ </method>
+ <method name="GetPageImage" type="int" overloaded="no">
+ <autodoc>GetPageImage(self, size_t n) -> int</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPageImage" type="bool" overloaded="no">
+ <autodoc>SetPageImage(self, size_t n, int imageId) -> bool</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ <param name="imageId" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPageSize" type="" overloaded="no">
+ <autodoc>SetPageSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalcSizeFromPage" type="Size" overloaded="no">
+ <autodoc>CalcSizeFromPage(self, Size sizePage) -> Size</autodoc>
+ <paramlist>
+ <param name="sizePage" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeletePage" type="bool" overloaded="no">
+ <autodoc>DeletePage(self, size_t n) -> bool</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemovePage" type="bool" overloaded="no">
+ <autodoc>RemovePage(self, size_t n) -> bool</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteAllPages" type="bool" overloaded="no">
+ <autodoc>DeleteAllPages(self) -> bool</autodoc>
+ </method>
+ <method name="AddPage" type="bool" overloaded="no">
+ <autodoc>AddPage(self, Window page, String text, bool select=False, int imageId=-1) -> bool</autodoc>
+ <paramlist>
+ <param name="page" type="Window" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="select" type="bool" default="False"/>
+ <param name="imageId" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="InsertPage" type="bool" overloaded="no">
+ <autodoc>InsertPage(self, size_t n, Window page, String text, bool select=False,
+ int imageId=-1) -> bool</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ <param name="page" type="Window" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="select" type="bool" default="False"/>
+ <param name="imageId" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetSelection" type="int" overloaded="no">
+ <autodoc>SetSelection(self, size_t n) -> int</autodoc>
+ <paramlist>
+ <param name="n" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdvanceSelection" type="" overloaded="no">
+ <autodoc>AdvanceSelection(self, bool forward=True)</autodoc>
+ <paramlist>
+ <param name="forward" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="_controls">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="BookCtrlEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
+ int nOldSel=-1) -> BookCtrlEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="0"/>
+ <param name="nSel" type="int" default="-1"/>
+ <param name="nOldSel" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <method name="GetSelection" type="int" overloaded="no">
+ <autodoc>GetSelection(self) -> int</autodoc>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int nSel)</autodoc>
+ <paramlist>
+ <param name="nSel" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOldSelection" type="int" overloaded="no">
+ <autodoc>GetOldSelection(self) -> int</autodoc>
+ </method>
+ <method name="SetOldSelection" type="" overloaded="no">
+ <autodoc>SetOldSelection(self, int nOldSel)</autodoc>
+ <paramlist>
+ <param name="nOldSel" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Notebook" oldname="wxNotebook" module="_controls">
+ <baseclass name="BookCtrl"/>
+ <constructor name="Notebook" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> Notebook</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreNotebook" overloaded="no">
+ <autodoc>PreNotebook() -> Notebook</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyNOTEBOOK_NAME"/>
+ </paramlist>
+ </method>
+ <method name="GetRowCount" type="int" overloaded="no">
+ <autodoc>GetRowCount(self) -> int</autodoc>
+ </method>
+ <method name="SetPadding" type="" overloaded="no">
+ <autodoc>SetPadding(self, Size padding)</autodoc>
+ <paramlist>
+ <param name="padding" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTabSize" type="" overloaded="no">
+ <autodoc>SetTabSize(self, Size sz)</autodoc>
+ <paramlist>
+ <param name="sz" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="int" overloaded="no">
+ <autodoc>HitTest(Point pt) -> (tab, where)</autodoc>
+ <docstring>Returns the tab which is hit, and flags indicating where using
+wx.NB_HITTEST flags.</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalcSizeFromPage" type="Size" overloaded="no">
+ <autodoc>CalcSizeFromPage(self, Size sizePage) -> Size</autodoc>
+ <paramlist>
+ <param name="sizePage" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="NotebookEvent" oldname="wxNotebookEvent" module="_controls">
+ <baseclass name="BookCtrlEvent"/>
+ <constructor name="NotebookEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
+ int nOldSel=-1) -> NotebookEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="0"/>
+ <param name="nSel" type="int" default="-1"/>
+ <param name="nOldSel" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
+ # wxNotebook events
+ EVT_NOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 1 )
+ EVT_NOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 1 )
+</pythoncode>
+ <pythoncode>
+#----------------------------------------------------------------------------
+
+class NotebookPage(wx.Panel):
+ """
+ There is an old (and apparently unsolvable) bug when placing a
+ window with a nonstandard background colour in a wxNotebook on
+ wxGTK, as the notbooks's background colour would always be used
+ when the window is refreshed. The solution is to place a panel in
+ the notbook and the coloured window on the panel, sized to cover
+ the panel. This simple class does that for you, just put an
+ instance of this in the notebook and make your regular window a
+ child of this one and it will handle the resize for you.
+ """
+ def __init__(self, parent, id=-1,
+ pos=wx.DefaultPosition, size=wx.DefaultSize,
+ style=wx.TAB_TRAVERSAL, name="panel"):
+ wx.Panel.__init__(self, parent, id, pos, size, style, name)
+ self.child = None
+ EVT_SIZE(self, self.OnSize)
+
+ def OnSize(self, evt):
+ if self.child is None:
+ children = self.GetChildren()
+ if len(children):
+ self.child = children[0]
+ if self.child:
+ self.child.SetPosition((0,0))
+ self.child.SetSize(self.GetSize())
+
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Listbook" oldname="wxListbook" module="_controls">
+ <baseclass name="BookCtrl"/>
+ <constructor name="Listbook" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=EmptyString) -> Listbook</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreListbook" overloaded="no">
+ <autodoc>PreListbook() -> Listbook</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="IsVertical" type="bool" overloaded="no">
+ <autodoc>IsVertical(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="ListbookEvent" oldname="wxListbookEvent" module="_controls">
+ <baseclass name="BookCtrlEvent"/>
+ <constructor name="ListbookEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
+ int nOldSel=-1) -> ListbookEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="0"/>
+ <param name="nSel" type="int" default="-1"/>
+ <param name="nOldSel" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
+ EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 )
+ EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 )
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="_controls">
+ <baseclass name="Sizer"/>
+ <constructor name="BookCtrlSizer" overloaded="no">
+ <autodoc>__init__(self, BookCtrl nb) -> BookCtrlSizer</autodoc>
+ <paramlist>
+ <param name="nb" type="BookCtrl" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="RecalcSizes" type="" overloaded="no">
+ <autodoc>RecalcSizes(self)</autodoc>
+ <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
+items managed by this sizer. You should not need to call this directly as
+it is called by `Layout`.</docstring>
+ </method>
+ <method name="CalcMin" type="Size" overloaded="no">
+ <autodoc>CalcMin(self) -> Size</autodoc>
+ <docstring>This method is where the sizer will do the actual calculation of its
+children's minimal sizes. You should not need to call this directly as
+it is called by `Layout`.</docstring>
+ </method>
+ <method name="GetControl" type="BookCtrl" overloaded="no">
+ <autodoc>GetControl(self) -> BookCtrl</autodoc>
+ </method>
+ </class>
+ <class name="NotebookSizer" oldname="wxNotebookSizer" module="_controls">
+ <baseclass name="Sizer"/>
+ <constructor name="NotebookSizer" overloaded="no">
+ <autodoc>__init__(self, Notebook nb) -> NotebookSizer</autodoc>
+ <paramlist>
+ <param name="nb" type="Notebook" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="RecalcSizes" type="" overloaded="no">
+ <autodoc>RecalcSizes(self)</autodoc>
+ <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
+items managed by this sizer. You should not need to call this directly as
+it is called by `Layout`.</docstring>
+ </method>
+ <method name="CalcMin" type="Size" overloaded="no">
+ <autodoc>CalcMin(self) -> Size</autodoc>
+ <docstring>This method is where the sizer will do the actual calculation of its
+children's minimal sizes. You should not need to call this directly as
+it is called by `Layout`.</docstring>
+ </method>
+ <method name="GetNotebook" type="Notebook" overloaded="no">
+ <autodoc>GetNotebook(self) -> Notebook</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="_controls">
+ <baseclass name="Object"/>
+ <method name="GetId" type="int" overloaded="no">
+ <autodoc>GetId(self) -> int</autodoc>
+ </method>
+ <method name="GetControl" type="Control" overloaded="no">
+ <autodoc>GetControl(self) -> Control</autodoc>
+ </method>
+ <method name="GetToolBar" type="wxToolBarBase" overloaded="no">
+ <autodoc>GetToolBar(self) -> ToolBarBase</autodoc>
+ </method>
+ <method name="IsButton" type="int" overloaded="no">
+ <autodoc>IsButton(self) -> int</autodoc>
+ </method>
+ <method name="IsControl" type="int" overloaded="no">
+ <autodoc>IsControl(self) -> int</autodoc>
+ </method>
+ <method name="IsSeparator" type="int" overloaded="no">
+ <autodoc>IsSeparator(self) -> int</autodoc>
+ </method>
+ <method name="GetStyle" type="int" overloaded="no">
+ <autodoc>GetStyle(self) -> int</autodoc>
+ </method>
+ <method name="GetKind" type="wxItemKind" overloaded="no">
+ <autodoc>GetKind(self) -> int</autodoc>
+ </method>
+ <method name="IsEnabled" type="bool" overloaded="no">
+ <autodoc>IsEnabled(self) -> bool</autodoc>
+ </method>
+ <method name="IsToggled" type="bool" overloaded="no">
+ <autodoc>IsToggled(self) -> bool</autodoc>
+ </method>
+ <method name="CanBeToggled" type="bool" overloaded="no">
+ <autodoc>CanBeToggled(self) -> bool</autodoc>
+ </method>
+ <method name="GetNormalBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetNormalBitmap(self) -> Bitmap</autodoc>
+ </method>
+ <method name="GetDisabledBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetDisabledBitmap(self) -> Bitmap</autodoc>
+ </method>
+ <method name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(self) -> Bitmap</autodoc>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self) -> String</autodoc>
+ </method>
+ <method name="GetShortHelp" type="String" overloaded="no">
+ <autodoc>GetShortHelp(self) -> String</autodoc>
+ </method>
+ <method name="GetLongHelp" type="String" overloaded="no">
+ <autodoc>GetLongHelp(self) -> String</autodoc>
+ </method>
+ <method name="Enable" type="bool" overloaded="no">
+ <autodoc>Enable(self, bool enable) -> bool</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Toggle" type="" overloaded="no">
+ <autodoc>Toggle(self)</autodoc>
+ </method>
+ <method name="SetToggle" type="bool" overloaded="no">
+ <autodoc>SetToggle(self, bool toggle) -> bool</autodoc>
+ <paramlist>
+ <param name="toggle" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetShortHelp" type="bool" overloaded="no">
+ <autodoc>SetShortHelp(self, String help) -> bool</autodoc>
+ <paramlist>
+ <param name="help" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLongHelp" type="bool" overloaded="no">
+ <autodoc>SetLongHelp(self, String help) -> bool</autodoc>
+ <paramlist>
+ <param name="help" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNormalBitmap" type="" overloaded="no">
+ <autodoc>SetNormalBitmap(self, Bitmap bmp)</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDisabledBitmap" type="" overloaded="no">
+ <autodoc>SetDisabledBitmap(self, Bitmap bmp)</autodoc>
+ <paramlist>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLabel" type="" overloaded="no">
+ <autodoc>SetLabel(self, String label)</autodoc>
+ <paramlist>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Detach" type="" overloaded="no">
+ <autodoc>Detach(self)</autodoc>
+ </method>
+ <method name="Attach" type="" overloaded="no">
+ <autodoc>Attach(self, ToolBarBase tbar)</autodoc>
+ <paramlist>
+ <param name="tbar" type="wxToolBarBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetClientData" type="PyObject" overloaded="no">
+ <autodoc>GetClientData(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetClientData" type="" overloaded="no">
+ <autodoc>SetClientData(self, PyObject clientData)</autodoc>
+ <paramlist>
+ <param name="clientData" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="ToolBarBase" oldname="wxToolBarBase" module="_controls">
+ <baseclass name="Control"/>
+ <method name="DoAddTool" type="ToolBarToolBase" overloaded="no">
+ <autodoc>DoAddTool(self, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,
+ int kind=ITEM_NORMAL, String shortHelp=EmptyString,
+ String longHelp=EmptyString,
+ PyObject clientData=None) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="label" type="String" default=""/>
+ <param name="bitmap" type="Bitmap" default=""/>
+ <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/>
+ <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
+ <param name="shortHelp" type="String" default="wxPyEmptyString"/>
+ <param name="longHelp" type="String" default="wxPyEmptyString"/>
+ <param name="clientData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="DoInsertTool" type="ToolBarToolBase" overloaded="no">
+ <autodoc>DoInsertTool(self, size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,
+ int kind=ITEM_NORMAL,
+ String shortHelp=EmptyString, String longHelp=EmptyString,
+ PyObject clientData=None) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="label" type="String" default=""/>
+ <param name="bitmap" type="Bitmap" default=""/>
+ <param name="bmpDisabled" type="Bitmap" default="wxNullBitmap"/>
+ <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
+ <param name="shortHelp" type="String" default="wxPyEmptyString"/>
+ <param name="longHelp" type="String" default="wxPyEmptyString"/>
+ <param name="clientData" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="AddToolItem" type="ToolBarToolBase" overloaded="no">
+ <autodoc>AddToolItem(self, ToolBarToolBase tool) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="tool" type="ToolBarToolBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertToolItem" type="ToolBarToolBase" overloaded="no">
+ <autodoc>InsertToolItem(self, size_t pos, ToolBarToolBase tool) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="tool" type="ToolBarToolBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddControl" type="ToolBarToolBase" overloaded="no">
+ <autodoc>AddControl(self, Control control) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="control" type="Control" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertControl" type="ToolBarToolBase" overloaded="no">
+ <autodoc>InsertControl(self, size_t pos, Control control) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="control" type="Control" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindControl" type="Control" overloaded="no">
+ <autodoc>FindControl(self, int id) -> Control</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddSeparator" type="ToolBarToolBase" overloaded="no">
+ <autodoc>AddSeparator(self) -> ToolBarToolBase</autodoc>
+ </method>
+ <method name="InsertSeparator" type="ToolBarToolBase" overloaded="no">
+ <autodoc>InsertSeparator(self, size_t pos) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveTool" type="ToolBarToolBase" overloaded="no">
+ <autodoc>RemoveTool(self, int id) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteToolByPos" type="bool" overloaded="no">
+ <autodoc>DeleteToolByPos(self, size_t pos) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteTool" type="bool" overloaded="no">
+ <autodoc>DeleteTool(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearTools" type="" overloaded="no">
+ <autodoc>ClearTools(self)</autodoc>
+ </method>
+ <method name="Realize" type="bool" overloaded="no">
+ <autodoc>Realize(self) -> bool</autodoc>
+ </method>
+ <method name="EnableTool" type="" overloaded="no">
+ <autodoc>EnableTool(self, int id, bool enable)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="enable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="ToggleTool" type="" overloaded="no">
+ <autodoc>ToggleTool(self, int id, bool toggle)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="toggle" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToggle" type="" overloaded="no">
+ <autodoc>SetToggle(self, int id, bool toggle)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="toggle" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolClientData" type="PyObject" overloaded="no">
+ <autodoc>GetToolClientData(self, int id) -> PyObject</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToolClientData" type="" overloaded="no">
+ <autodoc>SetToolClientData(self, int id, PyObject clientData)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="clientData" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolPos" type="int" overloaded="no">
+ <autodoc>GetToolPos(self, int id) -> int</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolState" type="bool" overloaded="no">
+ <autodoc>GetToolState(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolEnabled" type="bool" overloaded="no">
+ <autodoc>GetToolEnabled(self, int id) -> bool</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToolShortHelp" type="" overloaded="no">
+ <autodoc>SetToolShortHelp(self, int id, String helpString)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="helpString" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolShortHelp" type="String" overloaded="no">
+ <autodoc>GetToolShortHelp(self, int id) -> String</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToolLongHelp" type="" overloaded="no">
+ <autodoc>SetToolLongHelp(self, int id, String helpString)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="helpString" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolLongHelp" type="String" overloaded="no">
+ <autodoc>GetToolLongHelp(self, int id) -> String</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginsXY" type="" overloaded="no">
+ <autodoc>SetMarginsXY(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMargins" type="" overloaded="no">
+ <autodoc>SetMargins(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToolPacking" type="" overloaded="no">
+ <autodoc>SetToolPacking(self, int packing)</autodoc>
+ <paramlist>
+ <param name="packing" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToolSeparation" type="" overloaded="no">
+ <autodoc>SetToolSeparation(self, int separation)</autodoc>
+ <paramlist>
+ <param name="separation" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolMargins" type="Size" overloaded="no">
+ <autodoc>GetToolMargins(self) -> Size</autodoc>
+ </method>
+ <method name="GetMargins" type="Size" overloaded="no">
+ <autodoc>GetMargins(self) -> Size</autodoc>
+ </method>
+ <method name="GetToolPacking" type="int" overloaded="no">
+ <autodoc>GetToolPacking(self) -> int</autodoc>
+ </method>
+ <method name="GetToolSeparation" type="int" overloaded="no">
+ <autodoc>GetToolSeparation(self) -> int</autodoc>
+ </method>
+ <method name="SetRows" type="" overloaded="no">
+ <autodoc>SetRows(self, int nRows)</autodoc>
+ <paramlist>
+ <param name="nRows" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMaxRowsCols" type="" overloaded="no">
+ <autodoc>SetMaxRowsCols(self, int rows, int cols)</autodoc>
+ <paramlist>
+ <param name="rows" type="int" default=""/>
+ <param name="cols" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMaxRows" type="int" overloaded="no">
+ <autodoc>GetMaxRows(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxCols" type="int" overloaded="no">
+ <autodoc>GetMaxCols(self) -> int</autodoc>
+ </method>
+ <method name="SetToolBitmapSize" type="" overloaded="no">
+ <autodoc>SetToolBitmapSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetToolBitmapSize" type="Size" overloaded="no">
+ <autodoc>GetToolBitmapSize(self) -> Size</autodoc>
+ </method>
+ <method name="GetToolSize" type="Size" overloaded="no">
+ <autodoc>GetToolSize(self) -> Size</autodoc>
+ </method>
+ <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
+ <autodoc>FindToolForPosition(self, int x, int y) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindById" type="ToolBarToolBase" overloaded="no">
+ <autodoc>FindById(self, int toolid) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="toolid" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsVertical" type="bool" overloaded="no">
+ <autodoc>IsVertical(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="ToolBar" oldname="wxToolBar" module="_controls">
+ <baseclass name="ToolBarBase"/>
+ <constructor name="ToolBar" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL,
+ String name=wxPyToolBarNameStr) -> ToolBar</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
+ <param name="name" type="String" default="wxPyToolBarNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreToolBar" overloaded="no">
+ <autodoc>PreToolBar() -> ToolBar</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL,
+ String name=wxPyToolBarNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
+ <param name="name" type="String" default="wxPyToolBarNameStr"/>
+ </paramlist>
+ </method>
+ <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
+ <autodoc>FindToolForPosition(self, int x, int y) -> ToolBarToolBase</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ListItemAttr" oldname="wxListItemAttr" module="_controls">
+ <constructor name="ListItemAttr" overloaded="no">
+ <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,
+ Font font=wxNullFont) -> ListItemAttr</autodoc>
+ <paramlist>
+ <param name="colText" type="Colour" default="wxNullColour"/>
+ <param name="colBack" type="Colour" default="wxNullColour"/>
+ <param name="font" type="Font" default="wxNullFont"/>
+ </paramlist>
+ </constructor>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, Colour colText)</autodoc>
+ <paramlist>
+ <param name="colText" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
+ <paramlist>
+ <param name="colBack" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasTextColour" type="bool" overloaded="no">
+ <autodoc>HasTextColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasBackgroundColour" type="bool" overloaded="no">
+ <autodoc>HasBackgroundColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasFont" type="bool" overloaded="no">
+ <autodoc>HasFont(self) -> bool</autodoc>
+ </method>
+ <method name="GetTextColour" type="Colour" overloaded="no">
+ <autodoc>GetTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ListItem" oldname="wxListItem" module="_controls">
+ <baseclass name="Object"/>
+ <constructor name="ListItem" overloaded="no">
+ <autodoc>__init__(self) -> ListItem</autodoc>
+ </constructor>
+ <destructor name="~wxListItem" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ </method>
+ <method name="ClearAttributes" type="" overloaded="no">
+ <autodoc>ClearAttributes(self)</autodoc>
+ </method>
+ <method name="SetMask" type="" overloaded="no">
+ <autodoc>SetMask(self, long mask)</autodoc>
+ <paramlist>
+ <param name="mask" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, long id)</autodoc>
+ <paramlist>
+ <param name="id" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColumn" type="" overloaded="no">
+ <autodoc>SetColumn(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetState" type="" overloaded="no">
+ <autodoc>SetState(self, long state)</autodoc>
+ <paramlist>
+ <param name="state" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStateMask" type="" overloaded="no">
+ <autodoc>SetStateMask(self, long stateMask)</autodoc>
+ <paramlist>
+ <param name="stateMask" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetImage" type="" overloaded="no">
+ <autodoc>SetImage(self, int image)</autodoc>
+ <paramlist>
+ <param name="image" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetData" type="" overloaded="no">
+ <autodoc>SetData(self, long data)</autodoc>
+ <paramlist>
+ <param name="data" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAlign" type="" overloaded="no">
+ <autodoc>SetAlign(self, int align)</autodoc>
+ <paramlist>
+ <param name="align" type="wxListColumnFormat" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, Colour colText)</autodoc>
+ <paramlist>
+ <param name="colText" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
+ <paramlist>
+ <param name="colBack" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMask" type="long" overloaded="no">
+ <autodoc>GetMask(self) -> long</autodoc>
+ </method>
+ <method name="GetId" type="long" overloaded="no">
+ <autodoc>GetId(self) -> long</autodoc>
+ </method>
+ <method name="GetColumn" type="int" overloaded="no">
+ <autodoc>GetColumn(self) -> int</autodoc>
+ </method>
+ <method name="GetState" type="long" overloaded="no">
+ <autodoc>GetState(self) -> long</autodoc>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <method name="GetImage" type="int" overloaded="no">
+ <autodoc>GetImage(self) -> int</autodoc>
+ </method>
+ <method name="GetData" type="long" overloaded="no">
+ <autodoc>GetData(self) -> long</autodoc>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetAlign" type="wxListColumnFormat" overloaded="no">
+ <autodoc>GetAlign(self) -> int</autodoc>
+ </method>
+ <method name="GetAttributes" type="ListItemAttr" overloaded="no">
+ <autodoc>GetAttributes(self) -> ListItemAttr</autodoc>
+ </method>
+ <method name="HasAttributes" type="bool" overloaded="no">
+ <autodoc>HasAttributes(self) -> bool</autodoc>
+ </method>
+ <method name="GetTextColour" type="Colour" overloaded="no">
+ <autodoc>GetTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ </method>
+ <property name="m_mask" type="long" readonly="no"/>
+ <property name="m_itemId" type="long" readonly="no"/>
+ <property name="m_col" type="int" readonly="no"/>
+ <property name="m_state" type="long" readonly="no"/>
+ <property name="m_stateMask" type="long" readonly="no"/>
+ <property name="m_text" type="String" readonly="no"/>
+ <property name="m_image" type="int" readonly="no"/>
+ <property name="m_data" type="long" readonly="no"/>
+ <property name="m_format" type="int" readonly="no"/>
+ <property name="m_width" type="int" readonly="no"/>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ListEvent" oldname="wxListEvent" module="_controls">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="ListEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <property name="m_code" type="int" readonly="no"/>
+ <property name="m_oldItemIndex" type="long" readonly="no"/>
+ <property name="m_itemIndex" type="long" readonly="no"/>
+ <property name="m_col" type="int" readonly="no"/>
+ <property name="m_pointDrag" type="Point" readonly="no"/>
+ <property name="m_item" type="ListItem" readonly="yes"/>
+ <method name="GetKeyCode" type="int" overloaded="no">
+ <autodoc>GetKeyCode(self) -> int</autodoc>
+ </method>
+ <method name="GetIndex" type="long" overloaded="no">
+ <autodoc>GetIndex(self) -> long</autodoc>
+ </method>
+ <method name="GetColumn" type="int" overloaded="no">
+ <autodoc>GetColumn(self) -> int</autodoc>
+ </method>
+ <method name="GetPoint" type="Point" overloaded="no">
+ <autodoc>GetPoint(self) -> Point</autodoc>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self) -> String</autodoc>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <method name="GetImage" type="int" overloaded="no">
+ <autodoc>GetImage(self) -> int</autodoc>
+ </method>
+ <method name="GetData" type="long" overloaded="no">
+ <autodoc>GetData(self) -> long</autodoc>
+ </method>
+ <method name="GetMask" type="long" overloaded="no">
+ <autodoc>GetMask(self) -> long</autodoc>
+ </method>
+ <method name="GetItem" type="ListItem" overloaded="no">
+ <autodoc>GetItem(self) -> ListItem</autodoc>
+ </method>
+ <method name="GetCacheFrom" type="long" overloaded="no">
+ <autodoc>GetCacheFrom(self) -> long</autodoc>
+ </method>
+ <method name="GetCacheTo" type="long" overloaded="no">
+ <autodoc>GetCacheTo(self) -> long</autodoc>
+ </method>
+ <method name="IsEditCancelled" type="bool" overloaded="no">
+ <autodoc>IsEditCancelled(self) -> bool</autodoc>
+ </method>
+ <method name="SetEditCanceled" type="" overloaded="no">
+ <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc>
+ <paramlist>
+ <param name="editCancelled" type="bool" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+
+EVT_LIST_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_DRAG , 1)
+EVT_LIST_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_RDRAG , 1)
+EVT_LIST_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT , 1)
+EVT_LIST_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_LIST_END_LABEL_EDIT , 1)
+EVT_LIST_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ITEM , 1)
+EVT_LIST_DELETE_ALL_ITEMS = wx.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS , 1)
+EVT_LIST_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_GET_INFO , 1)
+EVT_LIST_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_LIST_SET_INFO , 1)
+EVT_LIST_ITEM_SELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_SELECTED , 1)
+EVT_LIST_ITEM_DESELECTED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_DESELECTED , 1)
+EVT_LIST_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_LIST_KEY_DOWN , 1)
+EVT_LIST_INSERT_ITEM = wx.PyEventBinder(wxEVT_COMMAND_LIST_INSERT_ITEM , 1)
+EVT_LIST_COL_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_CLICK , 1)
+EVT_LIST_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK , 1)
+EVT_LIST_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 1)
+EVT_LIST_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_ACTIVATED , 1)
+EVT_LIST_CACHE_HINT = wx.PyEventBinder(wxEVT_COMMAND_LIST_CACHE_HINT , 1)
+EVT_LIST_COL_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK , 1)
+EVT_LIST_COL_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG , 1)
+EVT_LIST_COL_DRAGGING = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING , 1)
+EVT_LIST_COL_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG , 1)
+EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED , 1)
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ListCtrl" oldname="wxPyListCtrl" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="wxPyListCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_ICON,
+ Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLC_ICON"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListCtrlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreListCtrl" overloaded="no">
+ <autodoc>PreListCtrl() -> ListCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_ICON,
+ Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc>
+ <docstring>Do the 2nd phase and create the GUI control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLC_ICON"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListCtrlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetForegroundColour" type="bool" overloaded="no">
+ <autodoc>SetForegroundColour(self, Colour col) -> bool</autodoc>
+ <paramlist>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="bool" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour col) -> bool</autodoc>
+ <paramlist>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumn" type="ListItem" overloaded="no">
+ <autodoc>GetColumn(self, int col) -> ListItem</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColumn" type="bool" overloaded="no">
+ <autodoc>SetColumn(self, int col, ListItem item) -> bool</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="item" type="ListItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumnWidth" type="int" overloaded="no">
+ <autodoc>GetColumnWidth(self, int col) -> int</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColumnWidth" type="bool" overloaded="no">
+ <autodoc>SetColumnWidth(self, int col, int width) -> bool</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCountPerPage" type="int" overloaded="no">
+ <autodoc>GetCountPerPage(self) -> int</autodoc>
+ </method>
+ <method name="GetViewRect" type="Rect" overloaded="no">
+ <autodoc>GetViewRect(self) -> Rect</autodoc>
+ </method>
+ <method name="GetItem" type="ListItem" overloaded="no">
+ <autodoc>GetItem(self, long itemId, int col=0) -> ListItem</autodoc>
+ <paramlist>
+ <param name="itemId" type="long" default=""/>
+ <param name="col" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetItem" type="bool" overloaded="no">
+ <autodoc>SetItem(self, ListItem info) -> bool</autodoc>
+ <paramlist>
+ <param name="info" type="ListItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStringItem" type="long" overloaded="no">
+ <autodoc>SetStringItem(self, long index, int col, String label, int imageId=-1) -> long</autodoc>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="label" type="String" default=""/>
+ <param name="imageId" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="GetItemState" type="int" overloaded="no">
+ <autodoc>GetItemState(self, long item, long stateMask) -> int</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="stateMask" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemState" type="bool" overloaded="no">
+ <autodoc>SetItemState(self, long item, long state, long stateMask) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="state" type="long" default=""/>
+ <param name="stateMask" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemImage" type="bool" overloaded="no">
+ <autodoc>SetItemImage(self, long item, int image, int selImage) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="image" type="int" default=""/>
+ <param name="selImage" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemText" type="String" overloaded="no">
+ <autodoc>GetItemText(self, long item) -> String</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemText" type="" overloaded="no">
+ <autodoc>SetItemText(self, long item, String str)</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemData" type="long" overloaded="no">
+ <autodoc>GetItemData(self, long item) -> long</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemData" type="bool" overloaded="no">
+ <autodoc>SetItemData(self, long item, long data) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="data" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemPosition" type="Point" overloaded="no">
+ <autodoc>GetItemPosition(self, long item) -> Point</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemRect" type="Rect" overloaded="no">
+ <autodoc>GetItemRect(self, long item, int code=LIST_RECT_BOUNDS) -> Rect</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/>
+ </paramlist>
+ </method>
+ <method name="SetItemPosition" type="bool" overloaded="no">
+ <autodoc>SetItemPosition(self, long item, Point pos) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemCount" type="int" overloaded="no">
+ <autodoc>GetItemCount(self) -> int</autodoc>
+ </method>
+ <method name="GetColumnCount" type="int" overloaded="no">
+ <autodoc>GetColumnCount(self) -> int</autodoc>
+ </method>
+ <method name="GetItemSpacing" type="Size" overloaded="no">
+ <autodoc>GetItemSpacing(self) -> Size</autodoc>
+ </method>
+ <method name="SetItemSpacing" type="" overloaded="no">
+ <autodoc>SetItemSpacing(self, int spacing, bool isSmall=False)</autodoc>
+ <paramlist>
+ <param name="spacing" type="int" default=""/>
+ <param name="isSmall" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetSelectedItemCount" type="int" overloaded="no">
+ <autodoc>GetSelectedItemCount(self) -> int</autodoc>
+ </method>
+ <method name="GetTextColour" type="Colour" overloaded="no">
+ <autodoc>GetTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, Colour col)</autodoc>
+ <paramlist>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTopItem" type="long" overloaded="no">
+ <autodoc>GetTopItem(self) -> long</autodoc>
+ </method>
+ <method name="SetSingleStyle" type="" overloaded="no">
+ <autodoc>SetSingleStyle(self, long style, bool add=True)</autodoc>
+ <paramlist>
+ <param name="style" type="long" default=""/>
+ <param name="add" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetWindowStyleFlag" type="" overloaded="no">
+ <autodoc>SetWindowStyleFlag(self, long style)</autodoc>
+ <docstring>Sets the style of the window. Please note that some styles cannot be
+changed after the window creation and that Refresh() might need to be
+called after changing the others for the change to take place
+immediately.</docstring>
+ <paramlist>
+ <param name="style" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNextItem" type="long" overloaded="no">
+ <autodoc>GetNextItem(self, long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/>
+ <param name="state" type="int" default="wxLIST_STATE_DONTCARE"/>
+ </paramlist>
+ </method>
+ <method name="GetImageList" type="ImageList" overloaded="no">
+ <autodoc>GetImageList(self, int which) -> ImageList</autodoc>
+ <paramlist>
+ <param name="which" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetImageList" type="" overloaded="no">
+ <autodoc>SetImageList(self, ImageList imageList, int which)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ <param name="which" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AssignImageList" type="" overloaded="no">
+ <autodoc>AssignImageList(self, ImageList imageList, int which)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ <param name="which" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="InReportView" type="bool" overloaded="no">
+ <autodoc>InReportView(self) -> bool</autodoc>
+ </method>
+ <method name="IsVirtual" type="bool" overloaded="no">
+ <autodoc>IsVirtual(self) -> bool</autodoc>
+ </method>
+ <method name="RefreshItem" type="" overloaded="no">
+ <autodoc>RefreshItem(self, long item)</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="RefreshItems" type="" overloaded="no">
+ <autodoc>RefreshItems(self, long itemFrom, long itemTo)</autodoc>
+ <paramlist>
+ <param name="itemFrom" type="long" default=""/>
+ <param name="itemTo" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="Arrange" type="bool" overloaded="no">
+ <autodoc>Arrange(self, int flag=LIST_ALIGN_DEFAULT) -> bool</autodoc>
+ <paramlist>
+ <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/>
+ </paramlist>
+ </method>
+ <method name="DeleteItem" type="bool" overloaded="no">
+ <autodoc>DeleteItem(self, long item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteAllItems" type="bool" overloaded="no">
+ <autodoc>DeleteAllItems(self) -> bool</autodoc>
+ </method>
+ <method name="DeleteColumn" type="bool" overloaded="no">
+ <autodoc>DeleteColumn(self, int col) -> bool</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteAllColumns" type="bool" overloaded="no">
+ <autodoc>DeleteAllColumns(self) -> bool</autodoc>
+ </method>
+ <method name="ClearAll" type="" overloaded="no">
+ <autodoc>ClearAll(self)</autodoc>
+ </method>
+ <method name="EditLabel" type="" overloaded="no">
+ <autodoc>EditLabel(self, long item)</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnsureVisible" type="bool" overloaded="no">
+ <autodoc>EnsureVisible(self, long item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItem" type="long" overloaded="no">
+ <autodoc>FindItem(self, long start, String str, bool partial=False) -> long</autodoc>
+ <paramlist>
+ <param name="start" type="long" default=""/>
+ <param name="str" type="String" default=""/>
+ <param name="partial" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="FindItemData" type="long" overloaded="no">
+ <autodoc>FindItemData(self, long start, long data) -> long</autodoc>
+ <paramlist>
+ <param name="start" type="long" default=""/>
+ <param name="data" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItemAtPos" type="long" overloaded="no">
+ <autodoc>FindItemAtPos(self, long start, Point pt, int direction) -> long</autodoc>
+ <paramlist>
+ <param name="start" type="long" default=""/>
+ <param name="pt" type="Point" default=""/>
+ <param name="direction" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="long" overloaded="no">
+ <autodoc>HitTest(Point point) -> (item, where)</autodoc>
+ <docstring>Determines which item (if any) is at the specified point, giving
+ in the second return value (see wxLIST_HITTEST_... flags.)</docstring>
+ <paramlist>
+ <param name="point" type="Point" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertItem" type="long" overloaded="no">
+ <autodoc>InsertItem(self, ListItem info) -> long</autodoc>
+ <paramlist>
+ <param name="info" type="ListItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertStringItem" type="long" overloaded="no">
+ <autodoc>InsertStringItem(self, long index, String label) -> long</autodoc>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertImageItem" type="long" overloaded="no">
+ <autodoc>InsertImageItem(self, long index, int imageIndex) -> long</autodoc>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ <param name="imageIndex" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertImageStringItem" type="long" overloaded="no">
+ <autodoc>InsertImageStringItem(self, long index, String label, int imageIndex) -> long</autodoc>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ <param name="label" type="String" default=""/>
+ <param name="imageIndex" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertColumnInfo" type="long" overloaded="no">
+ <autodoc>InsertColumnInfo(self, long col, ListItem info) -> long</autodoc>
+ <paramlist>
+ <param name="col" type="long" default=""/>
+ <param name="info" type="ListItem" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertColumn" type="long" overloaded="no">
+ <autodoc>InsertColumn(self, long col, String heading, int format=LIST_FORMAT_LEFT,
+ int width=-1) -> long</autodoc>
+ <paramlist>
+ <param name="col" type="long" default=""/>
+ <param name="heading" type="String" default=""/>
+ <param name="format" type="int" default="wxLIST_FORMAT_LEFT"/>
+ <param name="width" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetItemCount" type="" overloaded="no">
+ <autodoc>SetItemCount(self, long count)</autodoc>
+ <paramlist>
+ <param name="count" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollList" type="bool" overloaded="no">
+ <autodoc>ScrollList(self, int dx, int dy) -> bool</autodoc>
+ <paramlist>
+ <param name="dx" type="int" default=""/>
+ <param name="dy" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemTextColour" type="" overloaded="no">
+ <autodoc>SetItemTextColour(self, long item, Colour col)</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemTextColour" type="Colour" overloaded="no">
+ <autodoc>GetItemTextColour(self, long item) -> Colour</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemBackgroundColour" type="" overloaded="no">
+ <autodoc>SetItemBackgroundColour(self, long item, Colour col)</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetItemBackgroundColour(self, long item) -> Colour</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SortItems" type="bool" overloaded="no">
+ <autodoc>SortItems(self, PyObject func) -> bool</autodoc>
+ <paramlist>
+ <param name="func" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMainWindow" type="Window" overloaded="no">
+ <autodoc>GetMainWindow(self) -> Window</autodoc>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
-def XRCCTRL(window, str_id, *ignoreargs):
- return window.FindWindowById(XRCID(str_id))
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <pythoncode>
+ <class name="ListView" oldname="wxListView" module="_controls">
+ <baseclass name="ListCtrl"/>
+ <constructor name="ListView" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_REPORT,
+ Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListView</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLC_REPORT"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListCtrlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreListView" overloaded="no">
+ <autodoc>PreListView() -> ListView</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=LC_REPORT,
+ Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool</autodoc>
+ <docstring>Do the 2nd phase and create the GUI control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLC_REPORT"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyListCtrlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="Select" type="" overloaded="no">
+ <autodoc>Select(self, long n, bool on=True)</autodoc>
+ <paramlist>
+ <param name="n" type="long" default=""/>
+ <param name="on" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Focus" type="" overloaded="no">
+ <autodoc>Focus(self, long index)</autodoc>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFocusedItem" type="long" overloaded="no">
+ <autodoc>GetFocusedItem(self) -> long</autodoc>
+ </method>
+ <method name="GetNextSelected" type="long" overloaded="no">
+ <autodoc>GetNextSelected(self, long item) -> long</autodoc>
+ <paramlist>
+ <param name="item" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstSelected" type="long" overloaded="no">
+ <autodoc>GetFirstSelected(self) -> long</autodoc>
+ </method>
+ <method name="IsSelected" type="bool" overloaded="no">
+ <autodoc>IsSelected(self, long index) -> bool</autodoc>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColumnImage" type="" overloaded="no">
+ <autodoc>SetColumnImage(self, int col, int image)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="image" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearColumnImage" type="" overloaded="no">
+ <autodoc>ClearColumnImage(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc">
- <constructor name="wxPyXmlSubclassFactory" overloaded="no">
- <autodoc>__init__() -> XmlSubclassFactory</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="XmlProperty" oldname="wxXmlProperty" module="xrc">
- <constructor name="XmlProperty" overloaded="no">
- <autodoc>__init__(String name=EmptyString, String value=EmptyString,
- XmlProperty next=None) -> XmlProperty</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="value" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="next" type="p.wxXmlProperty" default="NULL"/>
- </paramlist>
- </constructor>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="GetValue" type="wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- <method name="GetNext" type="wxXmlProperty" overloaded="no">
- <autodoc>GetNext() -> XmlProperty</autodoc>
- </method>
- <method name="SetName" type="void" overloaded="no">
- <autodoc>SetName(String name)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(String value)</autodoc>
- <paramlist>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetNext" type="void" overloaded="no">
- <autodoc>SetNext(XmlProperty next)</autodoc>
- <paramlist>
- <param name="next" type="p.wxXmlProperty" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="XmlNode" oldname="wxXmlNode" module="xrc">
- <constructor name="XmlNode" overloaded="no">
- <autodoc>__init__(XmlNode parent=None, int type=0, String name=EmptyString,
- String content=EmptyString, XmlProperty props=None,
- XmlNode next=None) -> XmlNode</autodoc>
- <paramlist>
- <param name="parent" type="p.wxXmlNode" default="NULL"/>
- <param name="type" type="wxXmlNodeType" default="0"/>
- <param name="name" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="content" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="props" type="p.wxXmlProperty" default="NULL"/>
- <param name="next" type="p.wxXmlNode" default="NULL"/>
- </paramlist>
- </constructor>
- <constructor name="XmlNodeEasy" overloaded="no">
- <autodoc>XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode</autodoc>
- <paramlist>
- <param name="type" type="wxXmlNodeType" default=""/>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="content" type="r.q(const).wxString" default="wxPyEmptyString"/>
- </paramlist>
- </constructor>
- <destructor name="~wxXmlNode" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="AddChild" type="void" overloaded="no">
- <autodoc>AddChild(XmlNode child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="InsertChild" type="void" overloaded="no">
- <autodoc>InsertChild(XmlNode child, XmlNode before_node)</autodoc>
- <paramlist>
- <param name="child" type="p.wxXmlNode" default=""/>
- <param name="before_node" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="RemoveChild" type="bool" overloaded="no">
- <autodoc>RemoveChild(XmlNode child) -> bool</autodoc>
- <paramlist>
- <param name="child" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="AddProperty" type="void" overloaded="no">
- <autodoc>AddProperty(XmlProperty prop)</autodoc>
- <paramlist>
- <param name="prop" type="p.wxXmlProperty" default=""/>
- </paramlist>
- </method>
- <method name="AddPropertyName" type="void" overloaded="no">
- <autodoc>AddPropertyName(String name, String value)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="value" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="DeleteProperty" type="bool" overloaded="no">
- <autodoc>DeleteProperty(String name) -> bool</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetType" type="wxXmlNodeType" overloaded="no">
- <autodoc>GetType() -> int</autodoc>
- </method>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="GetContent" type="wxString" overloaded="no">
- <autodoc>GetContent() -> String</autodoc>
- </method>
- <method name="GetParent" type="wxXmlNode" overloaded="no">
- <autodoc>GetParent() -> XmlNode</autodoc>
- </method>
- <method name="GetNext" type="wxXmlNode" overloaded="no">
- <autodoc>GetNext() -> XmlNode</autodoc>
- </method>
- <method name="GetChildren" type="wxXmlNode" overloaded="no">
- <autodoc>GetChildren() -> XmlNode</autodoc>
- </method>
- <method name="GetProperties" type="wxXmlProperty" overloaded="no">
- <autodoc>GetProperties() -> XmlProperty</autodoc>
- </method>
- <method name="GetPropVal" type="wxString" overloaded="no">
- <autodoc>GetPropVal(String propName, String defaultVal) -> String</autodoc>
- <paramlist>
- <param name="propName" type="r.q(const).wxString" default=""/>
- <param name="defaultVal" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="HasProp" type="bool" overloaded="no">
- <autodoc>HasProp(String propName) -> bool</autodoc>
- <paramlist>
- <param name="propName" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetType" type="void" overloaded="no">
- <autodoc>SetType(int type)</autodoc>
- <paramlist>
- <param name="type" type="wxXmlNodeType" default=""/>
- </paramlist>
- </method>
- <method name="SetName" type="void" overloaded="no">
- <autodoc>SetName(String name)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetContent" type="void" overloaded="no">
- <autodoc>SetContent(String con)</autodoc>
- <paramlist>
- <param name="con" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetParent" type="void" overloaded="no">
- <autodoc>SetParent(XmlNode parent)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="SetNext" type="void" overloaded="no">
- <autodoc>SetNext(XmlNode next)</autodoc>
- <paramlist>
- <param name="next" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="SetChildren" type="void" overloaded="no">
- <autodoc>SetChildren(XmlNode child)</autodoc>
- <paramlist>
- <param name="child" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="SetProperties" type="void" overloaded="no">
- <autodoc>SetProperties(XmlProperty prop)</autodoc>
- <paramlist>
- <param name="prop" type="p.wxXmlProperty" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="XmlDocument" oldname="wxXmlDocument" module="xrc">
- <baseclass name="wxObject"/>
- <constructor name="XmlDocument" overloaded="no">
- <autodoc>__init__(String filename, String encoding=UTF8String) -> XmlDocument</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="encoding" type="r.q(const).wxString" default="wxPyUTF8String"/>
- </paramlist>
- </constructor>
- <constructor name="XmlDocumentFromStream" overloaded="no">
- <autodoc>XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument</autodoc>
- <paramlist>
- <param name="stream" type="r.wxInputStream" default=""/>
- <param name="encoding" type="r.q(const).wxString" default="wxPyUTF8String"/>
- </paramlist>
- </constructor>
- <constructor name="EmptyXmlDocument" overloaded="no">
- <autodoc>EmptyXmlDocument() -> XmlDocument</autodoc>
- </constructor>
- <destructor name="~wxXmlDocument" overloaded="no">
- <autodoc>__del__()</autodoc>
- </destructor>
- <method name="Load" type="bool" overloaded="no">
- <autodoc>Load(String filename, String encoding=UTF8String) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- <param name="encoding" type="r.q(const).wxString" default="wxPyUTF8String"/>
- </paramlist>
- </method>
- <method name="LoadFromStream" type="bool" overloaded="no">
- <autodoc>LoadFromStream(InputStream stream, String encoding=UTF8String) -> bool</autodoc>
- <paramlist>
- <param name="stream" type="r.wxInputStream" default=""/>
- <param name="encoding" type="r.q(const).wxString" default="wxPyUTF8String"/>
- </paramlist>
- </method>
- <method name="Save" type="bool" overloaded="no">
- <autodoc>Save(String filename) -> bool</autodoc>
- <paramlist>
- <param name="filename" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SaveToStream" type="bool" overloaded="no">
- <autodoc>SaveToStream(OutputStream stream) -> bool</autodoc>
- <paramlist>
- <param name="stream" type="r.wxOutputStream" default=""/>
- </paramlist>
- </method>
- <method name="IsOk" type="bool" overloaded="no">
- <autodoc>IsOk() -> bool</autodoc>
- </method>
- <method name="GetRoot" type="wxXmlNode" overloaded="no">
- <autodoc>GetRoot() -> XmlNode</autodoc>
- </method>
- <method name="GetVersion" type="wxString" overloaded="no">
- <autodoc>GetVersion() -> String</autodoc>
- </method>
- <method name="GetFileEncoding" type="wxString" overloaded="no">
- <autodoc>GetFileEncoding() -> String</autodoc>
- </method>
- <method name="SetRoot" type="void" overloaded="no">
- <autodoc>SetRoot(XmlNode node)</autodoc>
- <paramlist>
- <param name="node" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="SetVersion" type="void" overloaded="no">
- <autodoc>SetVersion(String version)</autodoc>
- <paramlist>
- <param name="version" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="SetFileEncoding" type="void" overloaded="no">
- <autodoc>SetFileEncoding(String encoding)</autodoc>
- <paramlist>
- <param name="encoding" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
+ <class name="TreeItemId" oldname="wxTreeItemId" module="_controls">
+ <constructor name="TreeItemId" overloaded="no">
+ <autodoc>__init__(self) -> TreeItemId</autodoc>
+ </constructor>
+ <destructor name="~wxTreeItemId" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, TreeItemId other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, TreeItemId other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <property name="m_pItem" type="" readonly="no"/>
+ </class>
+ <class name="TreeItemData" oldname="wxPyTreeItemData" module="_controls">
+ <constructor name="wxPyTreeItemData" overloaded="no">
+ <autodoc>__init__(self, PyObject obj=None) -> TreeItemData</autodoc>
+ <paramlist>
+ <param name="obj" type="PyObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetData" type="PyObject" overloaded="no">
+ <autodoc>GetData(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetData" type="" overloaded="no">
+ <autodoc>SetData(self, PyObject obj)</autodoc>
+ <paramlist>
+ <param name="obj" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetId" type="TreeItemId" overloaded="no">
+ <autodoc>GetId(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, TreeItemId id)</autodoc>
+ <paramlist>
+ <param name="id" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ </method>
+ </class>
+ <pythoncode>
#---------------------------------------------------------------------------
</pythoncode>
- <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc">
- <baseclass name="wxObject"/>
- <constructor name="wxPyXmlResourceHandler" overloaded="no">
- <autodoc>__init__() -> XmlResourceHandler</autodoc>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="CreateResource" type="wxObject" overloaded="no">
- <autodoc>CreateResource(XmlNode node, Object parent, Object instance) -> Object</autodoc>
- <paramlist>
- <param name="node" type="p.wxXmlNode" default=""/>
- <param name="parent" type="p.wxObject" default=""/>
- <param name="instance" type="p.wxObject" default=""/>
- </paramlist>
- </method>
- <method name="SetParentResource" type="void" overloaded="no">
- <autodoc>SetParentResource(XmlResource res)</autodoc>
- <paramlist>
- <param name="res" type="p.wxXmlResource" default=""/>
- </paramlist>
- </method>
- <method name="GetResource" type="wxXmlResource" overloaded="no">
- <autodoc>GetResource() -> XmlResource</autodoc>
- </method>
- <method name="GetNode" type="wxXmlNode" overloaded="no">
- <autodoc>GetNode() -> XmlNode</autodoc>
- </method>
- <method name="GetClass" type="wxString" overloaded="no">
- <autodoc>GetClass() -> String</autodoc>
- </method>
- <method name="GetParent" type="wxObject" overloaded="no">
- <autodoc>GetParent() -> Object</autodoc>
- </method>
- <method name="GetInstance" type="wxObject" overloaded="no">
- <autodoc>GetInstance() -> Object</autodoc>
- </method>
- <method name="GetParentAsWindow" type="wxWindow" overloaded="no">
- <autodoc>GetParentAsWindow() -> Window</autodoc>
- </method>
- <method name="GetInstanceAsWindow" type="wxWindow" overloaded="no">
- <autodoc>GetInstanceAsWindow() -> Window</autodoc>
- </method>
- <method name="IsOfClass" type="bool" overloaded="no">
- <autodoc>IsOfClass(XmlNode node, String classname) -> bool</autodoc>
- <paramlist>
- <param name="node" type="p.wxXmlNode" default=""/>
- <param name="classname" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetNodeContent" type="wxString" overloaded="no">
- <autodoc>GetNodeContent(XmlNode node) -> String</autodoc>
- <paramlist>
- <param name="node" type="p.wxXmlNode" default=""/>
- </paramlist>
- </method>
- <method name="HasParam" type="bool" overloaded="no">
- <autodoc>HasParam(String param) -> bool</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetParamNode" type="wxXmlNode" overloaded="no">
- <autodoc>GetParamNode(String param) -> XmlNode</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetParamValue" type="wxString" overloaded="no">
- <autodoc>GetParamValue(String param) -> String</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="AddStyle" type="void" overloaded="no">
- <autodoc>AddStyle(String name, int value)</autodoc>
- <paramlist>
- <param name="name" type="r.q(const).wxString" default=""/>
- <param name="value" type="int" default=""/>
- </paramlist>
- </method>
- <method name="AddWindowStyles" type="void" overloaded="no">
- <autodoc>AddWindowStyles()</autodoc>
- </method>
- <method name="GetStyle" type="int" overloaded="no">
- <autodoc>GetStyle(String param=StyleString, int defaults=0) -> int</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default="wxPyStyleString"/>
- <param name="defaults" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetText" type="wxString" overloaded="no">
- <autodoc>GetText(String param, bool translate=True) -> String</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- <param name="translate" type="bool" default="True"/>
- </paramlist>
- </method>
- <method name="GetID" type="int" overloaded="no">
- <autodoc>GetID() -> int</autodoc>
- </method>
- <method name="GetName" type="wxString" overloaded="no">
- <autodoc>GetName() -> String</autodoc>
- </method>
- <method name="GetBool" type="bool" overloaded="no">
- <autodoc>GetBool(String param, bool defaultv=False) -> bool</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- <param name="defaultv" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="GetLong" type="long" overloaded="no">
- <autodoc>GetLong(String param, long defaultv=0) -> long</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- <param name="defaultv" type="long" default="0"/>
- </paramlist>
- </method>
- <method name="GetColour" type="wxColour" overloaded="no">
- <autodoc>GetColour(String param) -> Colour</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- </paramlist>
- </method>
- <method name="GetSize" type="wxSize" overloaded="no">
- <autodoc>GetSize(String param=SizeString) -> Size</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default="wxPySizeString"/>
- </paramlist>
- </method>
- <method name="GetPosition" type="wxPoint" overloaded="no">
- <autodoc>GetPosition(String param=PosString) -> Point</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default="wxPyPosString"/>
- </paramlist>
- </method>
- <method name="GetDimension" type="int" overloaded="no">
- <autodoc>GetDimension(String param, int defaultv=0) -> int</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default=""/>
- <param name="defaultv" type="int" default="0"/>
- </paramlist>
- </method>
- <method name="GetBitmap" type="wxBitmap" overloaded="no">
- <autodoc>GetBitmap(String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER,
- Size size=DefaultSize) -> Bitmap</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default="wxPyBitmapString"/>
- <param name="defaultArtClient" type="r.q(const).wxArtClient" default="wxART_OTHER"/>
- <param name="size" type="wxSize" default="wxDefaultSize"/>
- </paramlist>
- </method>
- <method name="GetIcon" type="wxIcon" overloaded="no">
- <autodoc>GetIcon(String param=IconString, wxArtClient defaultArtClient=wxART_OTHER,
- Size size=DefaultSize) -> Icon</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default="wxPyIconString"/>
- <param name="defaultArtClient" type="r.q(const).wxArtClient" default="wxART_OTHER"/>
- <param name="size" type="wxSize" default="wxDefaultSize"/>
- </paramlist>
- </method>
- <method name="GetFont" type="wxFont" overloaded="no">
- <autodoc>GetFont(String param=FontString) -> Font</autodoc>
- <paramlist>
- <param name="param" type="r.q(const).wxString" default="wxPyFontString"/>
- </paramlist>
- </method>
- <method name="SetupWindow" type="void" overloaded="no">
- <autodoc>SetupWindow(Window wnd)</autodoc>
- <paramlist>
- <param name="wnd" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="CreateChildren" type="void" overloaded="no">
- <autodoc>CreateChildren(Object parent, bool this_hnd_only=False)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxObject" default=""/>
- <param name="this_hnd_only" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="CreateChildrenPrivately" type="void" overloaded="no">
- <autodoc>CreateChildrenPrivately(Object parent, XmlNode rootnode=None)</autodoc>
- <paramlist>
- <param name="parent" type="p.wxObject" default=""/>
- <param name="rootnode" type="p.wxXmlNode" default="NULL"/>
- </paramlist>
- </method>
- <method name="CreateResFromNode" type="wxObject" overloaded="no">
- <autodoc>CreateResFromNode(XmlNode node, Object parent, Object instance=None) -> Object</autodoc>
- <paramlist>
- <param name="node" type="p.wxXmlNode" default=""/>
- <param name="parent" type="p.wxObject" default=""/>
- <param name="instance" type="p.wxObject" default="NULL"/>
- </paramlist>
- </method>
- <method name="GetCurFileSystem" type="wxFileSystem" overloaded="no">
- <autodoc>GetCurFileSystem() -> FileSystem</autodoc>
- </method>
- </class>
- <pythoncode>#----------------------------------------------------------------------------
-# The global was removed in favor of static accessor functions. This is for
-# backwards compatibility:
+ <pythoncode>
+
+EVT_TREE_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG , 1)
+EVT_TREE_BEGIN_RDRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG , 1)
+EVT_TREE_BEGIN_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT , 1)
+EVT_TREE_END_LABEL_EDIT = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_LABEL_EDIT , 1)
+EVT_TREE_DELETE_ITEM = wx.PyEventBinder(wxEVT_COMMAND_TREE_DELETE_ITEM , 1)
+EVT_TREE_GET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_GET_INFO , 1)
+EVT_TREE_SET_INFO = wx.PyEventBinder(wxEVT_COMMAND_TREE_SET_INFO , 1)
+EVT_TREE_ITEM_EXPANDED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDED , 1)
+EVT_TREE_ITEM_EXPANDING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDING , 1)
+EVT_TREE_ITEM_COLLAPSED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSED , 1)
+EVT_TREE_ITEM_COLLAPSING = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSING , 1)
+EVT_TREE_SEL_CHANGED = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGED , 1)
+EVT_TREE_SEL_CHANGING = wx.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGING , 1)
+EVT_TREE_KEY_DOWN = wx.PyEventBinder(wxEVT_COMMAND_TREE_KEY_DOWN , 1)
+EVT_TREE_ITEM_ACTIVATED = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_ACTIVATED , 1)
+EVT_TREE_ITEM_RIGHT_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK , 1)
+EVT_TREE_ITEM_MIDDLE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 1)
+EVT_TREE_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG , 1)
+EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1)
+EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1)
+</pythoncode>
+ <class name="TreeEvent" oldname="wxTreeEvent" module="_controls">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="TreeEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetItem" type="TreeItemId" overloaded="no">
+ <autodoc>GetItem(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="SetItem" type="" overloaded="no">
+ <autodoc>SetItem(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOldItem" type="TreeItemId" overloaded="no">
+ <autodoc>GetOldItem(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="SetOldItem" type="" overloaded="no">
+ <autodoc>SetOldItem(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPoint" type="Point" overloaded="no">
+ <autodoc>GetPoint(self) -> Point</autodoc>
+ </method>
+ <method name="SetPoint" type="" overloaded="no">
+ <autodoc>SetPoint(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetKeyEvent" type="KeyEvent" overloaded="no">
+ <autodoc>GetKeyEvent(self) -> KeyEvent</autodoc>
+ </method>
+ <method name="GetKeyCode" type="int" overloaded="no">
+ <autodoc>GetKeyCode(self) -> int</autodoc>
+ </method>
+ <method name="SetKeyEvent" type="" overloaded="no">
+ <autodoc>SetKeyEvent(self, KeyEvent evt)</autodoc>
+ <paramlist>
+ <param name="evt" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLabel" type="String" overloaded="no">
+ <autodoc>GetLabel(self) -> String</autodoc>
+ </method>
+ <method name="SetLabel" type="" overloaded="no">
+ <autodoc>SetLabel(self, String label)</autodoc>
+ <paramlist>
+ <param name="label" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEditCancelled" type="bool" overloaded="no">
+ <autodoc>IsEditCancelled(self) -> bool</autodoc>
+ </method>
+ <method name="SetEditCanceled" type="" overloaded="no">
+ <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc>
+ <paramlist>
+ <param name="editCancelled" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToolTip" type="" overloaded="no">
+ <autodoc>SetToolTip(self, String toolTip)</autodoc>
+ <paramlist>
+ <param name="toolTip" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="wxPyTreeCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ String name=TreeCtrlNameStr) -> TreeCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreTreeCtrl" overloaded="no">
+ <autodoc>PreTreeCtrl() -> TreeCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ String name=TreeCtrlNameStr) -> bool</autodoc>
+ <docstring>Do the 2nd phase and create the GUI control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="size_t" overloaded="no">
+ <autodoc>GetCount(self) -> size_t</autodoc>
+ </method>
+ <method name="GetIndent" type="unsigned int" overloaded="no">
+ <autodoc>GetIndent(self) -> unsigned int</autodoc>
+ </method>
+ <method name="SetIndent" type="" overloaded="no">
+ <autodoc>SetIndent(self, unsigned int indent)</autodoc>
+ <paramlist>
+ <param name="indent" type="unsigned int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSpacing" type="unsigned int" overloaded="no">
+ <autodoc>GetSpacing(self) -> unsigned int</autodoc>
+ </method>
+ <method name="SetSpacing" type="" overloaded="no">
+ <autodoc>SetSpacing(self, unsigned int spacing)</autodoc>
+ <paramlist>
+ <param name="spacing" type="unsigned int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetImageList" type="ImageList" overloaded="no">
+ <autodoc>GetImageList(self) -> ImageList</autodoc>
+ </method>
+ <method name="GetStateImageList" type="ImageList" overloaded="no">
+ <autodoc>GetStateImageList(self) -> ImageList</autodoc>
+ </method>
+ <method name="SetImageList" type="" overloaded="no">
+ <autodoc>SetImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStateImageList" type="" overloaded="no">
+ <autodoc>SetStateImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="AssignImageList" type="" overloaded="no">
+ <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="AssignStateImageList" type="" overloaded="no">
+ <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemText" type="String" overloaded="no">
+ <autodoc>GetItemText(self, TreeItemId item) -> String</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemImage" type="int" overloaded="no">
+ <autodoc>GetItemImage(self, TreeItemId item, int which=TreeItemIcon_Normal) -> int</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
+ </paramlist>
+ </method>
+ <method name="GetItemData" type="TreeItemData" overloaded="no">
+ <autodoc>GetItemData(self, TreeItemId item) -> TreeItemData</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemPyData" type="PyObject" overloaded="no">
+ <autodoc>GetItemPyData(self, TreeItemId item) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemTextColour" type="Colour" overloaded="no">
+ <autodoc>GetItemTextColour(self, TreeItemId item) -> Colour</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetItemBackgroundColour(self, TreeItemId item) -> Colour</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemFont" type="Font" overloaded="no">
+ <autodoc>GetItemFont(self, TreeItemId item) -> Font</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemText" type="" overloaded="no">
+ <autodoc>SetItemText(self, TreeItemId item, String text)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemImage" type="" overloaded="no">
+ <autodoc>SetItemImage(self, TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="image" type="int" default=""/>
+ <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
+ </paramlist>
+ </method>
+ <method name="SetItemData" type="" overloaded="no">
+ <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="data" type="TreeItemData" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemPyData" type="" overloaded="no">
+ <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="obj" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemHasChildren" type="" overloaded="no">
+ <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="has" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetItemBold" type="" overloaded="no">
+ <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="bold" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetItemTextColour" type="" overloaded="no">
+ <autodoc>SetItemTextColour(self, TreeItemId item, Colour col)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemBackgroundColour" type="" overloaded="no">
+ <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour col)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemFont" type="" overloaded="no">
+ <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsVisible" type="bool" overloaded="no">
+ <autodoc>IsVisible(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="ItemHasChildren" type="bool" overloaded="no">
+ <autodoc>ItemHasChildren(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsExpanded" type="bool" overloaded="no">
+ <autodoc>IsExpanded(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSelected" type="bool" overloaded="no">
+ <autodoc>IsSelected(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsBold" type="bool" overloaded="no">
+ <autodoc>IsBold(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetChildrenCount" type="size_t" overloaded="no">
+ <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="recursively" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetRootItem" type="TreeItemId" overloaded="no">
+ <autodoc>GetRootItem(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="GetSelection" type="TreeItemId" overloaded="no">
+ <autodoc>GetSelection(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="GetSelections" type="PyObject" overloaded="no">
+ <autodoc>GetSelections(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetItemParent" type="TreeItemId" overloaded="no">
+ <autodoc>GetItemParent(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstChild" type="PyObject" overloaded="no">
+ <autodoc>GetFirstChild(self, TreeItemId item) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNextChild" type="PyObject" overloaded="no">
+ <autodoc>GetNextChild(self, TreeItemId item, void cookie) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="cookie" type="" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLastChild" type="TreeItemId" overloaded="no">
+ <autodoc>GetLastChild(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNextSibling" type="TreeItemId" overloaded="no">
+ <autodoc>GetNextSibling(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
+ <autodoc>GetPrevSibling(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
+ <autodoc>GetFirstVisibleItem(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="GetNextVisible" type="TreeItemId" overloaded="no">
+ <autodoc>GetNextVisible(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
+ <autodoc>GetPrevVisible(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddRoot" type="TreeItemId" overloaded="no">
+ <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="PrependItem" type="TreeItemId" overloaded="no">
+ <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
+ TreeItemData data=None) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="InsertItem" type="TreeItemId" overloaded="no">
+ <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
+ int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="idPrevious" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
+ <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
+ int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="index" type="size_t" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="AppendItem" type="TreeItemId" overloaded="no">
+ <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
+ TreeItemData data=None) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Delete" type="" overloaded="no">
+ <autodoc>Delete(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteChildren" type="" overloaded="no">
+ <autodoc>DeleteChildren(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteAllItems" type="" overloaded="no">
+ <autodoc>DeleteAllItems(self)</autodoc>
+ </method>
+ <method name="Expand" type="" overloaded="no">
+ <autodoc>Expand(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Collapse" type="" overloaded="no">
+ <autodoc>Collapse(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="CollapseAndReset" type="" overloaded="no">
+ <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Toggle" type="" overloaded="no">
+ <autodoc>Toggle(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Unselect" type="" overloaded="no">
+ <autodoc>Unselect(self)</autodoc>
+ </method>
+ <method name="UnselectItem" type="" overloaded="no">
+ <autodoc>UnselectItem(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="UnselectAll" type="" overloaded="no">
+ <autodoc>UnselectAll(self)</autodoc>
+ </method>
+ <method name="SelectItem" type="" overloaded="no">
+ <autodoc>SelectItem(self, TreeItemId item, bool select=True)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="select" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="ToggleItemSelection" type="" overloaded="no">
+ <autodoc>ToggleItemSelection(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnsureVisible" type="" overloaded="no">
+ <autodoc>EnsureVisible(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollTo" type="" overloaded="no">
+ <autodoc>ScrollTo(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="EditLabel" type="" overloaded="no">
+ <autodoc>EditLabel(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEditControl" type="TextCtrl" overloaded="no">
+ <autodoc>GetEditControl(self) -> TextCtrl</autodoc>
+ </method>
+ <method name="SortChildren" type="" overloaded="no">
+ <autodoc>SortChildren(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="TreeItemId" overloaded="no">
+ <autodoc>HitTest(Point point) -> (item, where)</autodoc>
+ <docstring>Determine which item (if any) belongs the given point. The coordinates
+specified are relative to the client area of tree ctrl and the where return
+value is set to a bitmask of wxTREE_HITTEST_xxx constants.
+</docstring>
+ <paramlist>
+ <param name="point" type="Point" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBoundingRect" type="PyObject" overloaded="no">
+ <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="textOnly" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
-TheXmlResource = XmlResource_Get()
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="GenericDirCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
+ String filter=EmptyString,
+ int defaultFilter=0, String name=TreeCtrlNameStr) -> GenericDirCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/>
+ <param name="filter" type="String" default="wxPyEmptyString"/>
+ <param name="defaultFilter" type="int" default="0"/>
+ <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreGenericDirCtrl" overloaded="no">
+ <autodoc>PreGenericDirCtrl() -> GenericDirCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
+ String filter=EmptyString,
+ int defaultFilter=0, String name=TreeCtrlNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="dir" type="String" default="wxPyDirDialogDefaultFolderStr"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER"/>
+ <param name="filter" type="String" default="wxPyEmptyString"/>
+ <param name="defaultFilter" type="int" default="0"/>
+ <param name="name" type="String" default="wxPyTreeCtrlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="ExpandPath" type="bool" overloaded="no">
+ <autodoc>ExpandPath(self, String path) -> bool</autodoc>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultPath" type="String" overloaded="no">
+ <autodoc>GetDefaultPath(self) -> String</autodoc>
+ </method>
+ <method name="SetDefaultPath" type="" overloaded="no">
+ <autodoc>SetDefaultPath(self, String path)</autodoc>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPath" type="String" overloaded="no">
+ <autodoc>GetPath(self) -> String</autodoc>
+ </method>
+ <method name="GetFilePath" type="String" overloaded="no">
+ <autodoc>GetFilePath(self) -> String</autodoc>
+ </method>
+ <method name="SetPath" type="" overloaded="no">
+ <autodoc>SetPath(self, String path)</autodoc>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowHidden" type="" overloaded="no">
+ <autodoc>ShowHidden(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetShowHidden" type="bool" overloaded="no">
+ <autodoc>GetShowHidden(self) -> bool</autodoc>
+ </method>
+ <method name="GetFilter" type="String" overloaded="no">
+ <autodoc>GetFilter(self) -> String</autodoc>
+ </method>
+ <method name="SetFilter" type="" overloaded="no">
+ <autodoc>SetFilter(self, String filter)</autodoc>
+ <paramlist>
+ <param name="filter" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFilterIndex" type="int" overloaded="no">
+ <autodoc>GetFilterIndex(self) -> int</autodoc>
+ </method>
+ <method name="SetFilterIndex" type="" overloaded="no">
+ <autodoc>SetFilterIndex(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRootId" type="TreeItemId" overloaded="no">
+ <autodoc>GetRootId(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="GetTreeCtrl" type="TreeCtrl" overloaded="no">
+ <autodoc>GetTreeCtrl(self) -> TreeCtrl</autodoc>
+ </method>
+ <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no">
+ <autodoc>GetFilterListCtrl(self) -> DirFilterListCtrl</autodoc>
+ </method>
+ <method name="FindChild" type="TreeItemId" overloaded="no">
+ <autodoc>FindChild(wxTreeItemId parentId, wxString path) -> (item, done)</autodoc>
+ <docstring>Find the child that matches the first part of 'path'. E.g. if a child
+path is "/usr" and 'path' is "/usr/include" then the child for
+/usr is returned. If the path string has been used (we're at the
+leaf), done is set to True.
+</docstring>
+ <paramlist>
+ <param name="parentId" type="TreeItemId" default=""/>
+ <param name="path" type="String" default=""/>
+ <param name="OUTPUT" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoResize" type="" overloaded="no">
+ <autodoc>DoResize(self)</autodoc>
+ </method>
+ <method name="ReCreateTree" type="" overloaded="no">
+ <autodoc>ReCreateTree(self)</autodoc>
+ </method>
+ </class>
+ <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="_controls">
+ <baseclass name="Choice"/>
+ <constructor name="DirFilterListCtrl" overloaded="no">
+ <autodoc>__init__(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0) -> DirFilterListCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="GenericDirCtrl" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreDirFilterListCtrl" overloaded="no">
+ <autodoc>PreDirFilterListCtrl() -> DirFilterListCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="GenericDirCtrl" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </method>
+ <method name="FillFilterList" type="" overloaded="no">
+ <autodoc>FillFilterList(self, String filter, int defaultFilter)</autodoc>
+ <paramlist>
+ <param name="filter" type="String" default=""/>
+ <param name="defaultFilter" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="PyControl" oldname="wxPyControl" module="_controls">
+ <baseclass name="Control"/>
+ <constructor name="PyControl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,
+ String name=ControlNameStr) -> PyControl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyControlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePyControl" overloaded="no">
+ <autodoc>PrePyControl() -> PyControl</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBestSize" type="" overloaded="no">
+ <autodoc>SetBestSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoMoveWindow" type="" overloaded="no">
+ <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetSize" type="" overloaded="no">
+ <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetClientSize" type="" overloaded="no">
+ <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetVirtualSize" type="" overloaded="no">
+ <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetSize" type="" overloaded="no">
+ <autodoc>base_DoGetSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetClientSize" type="" overloaded="no">
+ <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetPosition" type="" overloaded="no">
+ <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_DoGetBestSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetBestSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_InitDialog" type="" overloaded="no">
+ <autodoc>base_InitDialog(self)</autodoc>
+ </method>
+ <method name="base_TransferDataToWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataToWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_Validate" type="bool" overloaded="no">
+ <autodoc>base_Validate(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocus" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocus(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc>
+ </method>
+ <method name="base_GetMaxSize" type="Size" overloaded="no">
+ <autodoc>base_GetMaxSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_AddChild" type="" overloaded="no">
+ <autodoc>base_AddChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_RemoveChild" type="" overloaded="no">
+ <autodoc>base_RemoveChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+ <autodoc>base_ShouldInheritColours(self) -> bool</autodoc>
+ </method>
+ <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+ <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>base_GetDefaultAttributes(self) -> VisualAttributes</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <pythoncode>
+EVT_HELP = wx.PyEventBinder( wxEVT_HELP, 1)
+EVT_HELP_RANGE = wx.PyEventBinder( wxEVT_HELP, 2)
+EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1)
+EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
+</pythoncode>
+ <class name="HelpEvent" oldname="wxHelpEvent" module="_controls">
+ <docstring>A help event is sent when the user has requested context-sensitive
+help. This can either be caused by the application requesting
+context-sensitive help mode via wx.ContextHelp, or (on MS Windows) by
+the system generating a WM_HELP message when the user pressed F1 or
+clicked on the query button in a dialog caption.
+A help event is sent to the window that the user clicked on, and is
+propagated up the window hierarchy until the event is processed or
+there are no more event handlers. The application should call
+event.GetId to check the identity of the clicked-on window, and then
+either show some suitable help or call event.Skip if the identifier is
+unrecognised. Calling Skip is important because it allows wxWindows to
+generate further events for ancestors of the clicked-on
+window. Otherwise it would be impossible to show help for container
+windows, since processing would stop after the first window found.
-#----------------------------------------------------------------------------
-# Create a factory for handling the subclass property of the object tag.
+Events
+-------
+ ============== =========================================
+ EVT_HELP Sent when the user has requested context-
+ sensitive help.
+ EVT_HELP_RANGE Allows to catch EVT_HELP for a range of IDs
+ ============== =========================================
+:see: `wx.ContextHelp`, `wx.ContextHelpButton`
+</docstring>
+ <baseclass name="CommandEvent"/>
+ <constructor name="HelpEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="winid" type="int" default="0"/>
+ <param name="pt" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ <docstring>Returns the left-click position of the mouse, in screen
+coordinates. This allows the application to position the help
+appropriately.</docstring>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, Point pos)</autodoc>
+ <docstring>Sets the left-click position of the mouse, in screen coordinates.</docstring>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLink" type="String" overloaded="no">
+ <autodoc>GetLink(self) -> String</autodoc>
+ <docstring>Get an optional link to further help</docstring>
+ </method>
+ <method name="SetLink" type="" overloaded="no">
+ <autodoc>SetLink(self, String link)</autodoc>
+ <docstring>Set an optional link to further help</docstring>
+ <paramlist>
+ <param name="link" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTarget" type="String" overloaded="no">
+ <autodoc>GetTarget(self) -> String</autodoc>
+ <docstring>Get an optional target to display help in. E.g. a window specification</docstring>
+ </method>
+ <method name="SetTarget" type="" overloaded="no">
+ <autodoc>SetTarget(self, String target)</autodoc>
+ <docstring>Set an optional target to display help in. E.g. a window specification</docstring>
+ <paramlist>
+ <param name="target" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="ContextHelp" oldname="wxContextHelp" module="_controls">
+ <docstring>This class changes the cursor to a query and puts the application into
+a 'context-sensitive help mode'. When the user left-clicks on a window
+within the specified window, a ``EVT_HELP`` event is sent to that
+control, and the application may respond to it by popping up some
+help.
-def _my_import(name):
- mod = __import__(name)
- components = name.split('.')
- for comp in components[1:]:
- mod = getattr(mod, comp)
- return mod
+There are a couple of ways to invoke this behaviour implicitly:
+ * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a dialog
+ (Windows only). This will put a question mark in the titlebar,
+ and Windows will put the application into context-sensitive help
+ mode automatically, with further programming.
-class XmlSubclassFactory_Python(XmlSubclassFactory):
- def __init__(self):
- XmlSubclassFactory.__init__(self)
+ * Create a `wx.ContextHelpButton`, whose predefined behaviour is
+ to create a context help object. Normally you will write your
+ application so that this button is only added to a dialog for
+ non-Windows platforms (use ``wx.DIALOG_EX_CONTEXTHELP`` on
+ Windows).
- def Create(self, className):
- assert className.find('.') != -1, "Module name must be specified!"
- mname = className[:className.rfind('.')]
- cname = className[className.rfind('.')+1:]
- module = _my_import(mname)
- klass = getattr(module, cname)
- inst = klass()
- return inst
+:see: `wx.ContextHelpButton`
+</docstring>
+ <baseclass name="Object"/>
+ <constructor name="ContextHelp" overloaded="no">
+ <autodoc>__init__(self, Window window=None, bool doNow=True) -> ContextHelp</autodoc>
+ <docstring>Constructs a context help object, calling BeginContextHelp if doNow is
+true (the default).
+If window is None, the top window is used.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default="NULL"/>
+ <param name="doNow" type="bool" default="True"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxContextHelp" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="BeginContextHelp" type="bool" overloaded="no">
+ <autodoc>BeginContextHelp(self, Window window=None) -> bool</autodoc>
+ <docstring>Puts the application into context-sensitive help mode. window is the
+window which will be used to catch events; if NULL, the top window
+will be used.
-XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
+Returns true if the application was successfully put into
+context-sensitive help mode. This function only returns when the event
+loop has finished.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="EndContextHelp" type="bool" overloaded="no">
+ <autodoc>EndContextHelp(self) -> bool</autodoc>
+ <docstring>Ends context-sensitive help mode. Not normally called by the
+application.</docstring>
+ </method>
+ </class>
+ <class name="ContextHelpButton" oldname="wxContextHelpButton" module="_controls">
+ <docstring>Instances of this class may be used to add a question mark button that
+when pressed, puts the application into context-help mode. It does
+this by creating a wx.ContextHelp object which itself generates a
+``EVT_HELP`` event when the user clicks on a window.
-#----------------------------------------------------------------------------
+On Windows, you may add a question-mark icon to a dialog by use of the
+``wx.DIALOG_EX_CONTEXTHELP`` extra style, but on other platforms you
+will have to add a button explicitly, usually next to OK, Cancel or
+similar buttons.
+
+:see: `wx.ContextHelp`, `wx.ContextHelpButton`
+</docstring>
+ <baseclass name="BitmapButton"/>
+ <constructor name="ContextHelpButton" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton</autodoc>
+ <docstring>Constructor, creating and showing a context help button.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_CONTEXT_HELP"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxBU_AUTODRAW"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="HelpProvider" oldname="wxHelpProvider" module="_controls">
+ <docstring>wx.HelpProvider is an abstract class used by a program
+implementing context-sensitive help to show the help text for the
+given window.
+
+The current help provider must be explicitly set by the
+application using wx.HelpProvider.Set().</docstring>
+ <staticmethod name="Set" type="HelpProvider" overloaded="no">
+ <autodoc>Set(HelpProvider helpProvider) -> HelpProvider</autodoc>
+ <docstring>Sset the current, application-wide help provider. Returns the previous
+one. Unlike some other classes, the help provider is not created on
+demand. This must be explicitly done by the application.</docstring>
+ <paramlist>
+ <param name="helpProvider" type="HelpProvider" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Get" type="HelpProvider" overloaded="no">
+ <autodoc>Get() -> HelpProvider</autodoc>
+ <docstring>Return the current application-wide help provider.</docstring>
+ </staticmethod>
+ <method name="GetHelp" type="String" overloaded="no">
+ <autodoc>GetHelp(self, Window window) -> String</autodoc>
+ <docstring>Gets the help string for this window. Its interpretation is dependent
+on the help provider except that empty string always means that no
+help is associated with the window.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowHelp" type="bool" overloaded="no">
+ <autodoc>ShowHelp(self, Window window) -> bool</autodoc>
+ <docstring>Shows help for the given window. Uses GetHelp internally if
+applicable. Returns True if it was done, or False if no help was
+available for this window.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddHelp" type="" overloaded="no">
+ <autodoc>AddHelp(self, Window window, String text)</autodoc>
+ <docstring>Associates the text with the given window.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddHelpById" type="" overloaded="no">
+ <autodoc>AddHelpById(self, int id, String text)</autodoc>
+ <docstring>This version associates the given text with all windows with this
+id. May be used to set the same help string for all Cancel buttons in
+the application, for example.</docstring>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveHelp" type="" overloaded="no">
+ <autodoc>RemoveHelp(self, Window window)</autodoc>
+ <docstring>Removes the association between the window pointer and the help
+text. This is called by the wx.Window destructor. Without this, the
+table of help strings will fill up and when window pointers are
+reused, the wrong help string will be found.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ </method>
+ </class>
+ <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="_controls">
+ <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which
+supports only plain text help strings, and shows the string associated
+with the control (if any) in a tooltip.</docstring>
+ <baseclass name="HelpProvider"/>
+ <constructor name="SimpleHelpProvider" overloaded="no">
+ <autodoc>__init__(self) -> SimpleHelpProvider</autodoc>
+ <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which
+supports only plain text help strings, and shows the string associated
+with the control (if any) in a tooltip.</docstring>
+ </constructor>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
-</module><module name="gizmos">
- <import name="windows"/>
- <import name="controls"/>
- <pythoncode> wx = core </pythoncode>
- <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos">
- <baseclass name="wxCommandEvent"/>
- <constructor name="DynamicSashSplitEvent" overloaded="no">
- <autodoc>__init__(Object target) -> DynamicSashSplitEvent</autodoc>
- <paramlist>
- <param name="target" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- </class>
- <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos">
- <baseclass name="wxCommandEvent"/>
- <constructor name="DynamicSashUnifyEvent" overloaded="no">
- <autodoc>__init__(Object target) -> DynamicSashUnifyEvent</autodoc>
- <paramlist>
- <param name="target" type="p.wxObject" default=""/>
- </paramlist>
- </constructor>
- </class>
- <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos">
- <baseclass name="wxWindow"/>
- <constructor name="DynamicSashWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
- String name=DynamicSashNameStr) -> DynamicSashWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
- <param name="name" type="r.q(const).wxString" default="wxPyDynamicSashNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreDynamicSashWindow" overloaded="no">
- <autodoc>PreDynamicSashWindow() -> DynamicSashWindow</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
- String name=DynamicSashNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
- <param name="name" type="r.q(const).wxString" default="wxPyDynamicSashNameStr"/>
- </paramlist>
- </method>
- <method name="GetHScrollBar" type="wxScrollBar" overloaded="no">
- <autodoc>GetHScrollBar(Window child) -> ScrollBar</autodoc>
- <paramlist>
- <param name="child" type="p.q(const).wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetVScrollBar" type="wxScrollBar" overloaded="no">
- <autodoc>GetVScrollBar(Window child) -> ScrollBar</autodoc>
- <paramlist>
- <param name="child" type="p.q(const).wxWindow" default=""/>
- </paramlist>
- </method>
- </class>
- <pythoncode>
-EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
-EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
+ <class name="DragImage" oldname="wxGenericDragImage" module="_controls">
+ <baseclass name="Object"/>
+ <constructor name="wxGenericDragImage" overloaded="no">
+ <autodoc>__init__(self, Bitmap image, Cursor cursor=wxNullCursor) -> DragImage</autodoc>
+ <paramlist>
+ <param name="image" type="Bitmap" default=""/>
+ <param name="cursor" type="Cursor" default="wxNullCursor"/>
+ </paramlist>
+ </constructor>
+ <constructor name="DragIcon" overloaded="no">
+ <autodoc>DragIcon(Icon image, Cursor cursor=wxNullCursor) -> DragImage</autodoc>
+ <paramlist>
+ <param name="image" type="Icon" default=""/>
+ <param name="cursor" type="Cursor" default="wxNullCursor"/>
+ </paramlist>
+ </constructor>
+ <constructor name="DragString" overloaded="no">
+ <autodoc>DragString(String str, Cursor cursor=wxNullCursor) -> DragImage</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ <param name="cursor" type="Cursor" default="wxNullCursor"/>
+ </paramlist>
+ </constructor>
+ <constructor name="DragTreeItem" overloaded="no">
+ <autodoc>DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage</autodoc>
+ <paramlist>
+ <param name="treeCtrl" type="TreeCtrl" default=""/>
+ <param name="id" type="TreeItemId" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="DragListItem" overloaded="no">
+ <autodoc>DragListItem(ListCtrl listCtrl, long id) -> DragImage</autodoc>
+ <paramlist>
+ <param name="listCtrl" type="ListCtrl" default=""/>
+ <param name="id" type="long" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxGenericDragImage" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetBackingBitmap" type="" overloaded="no">
+ <autodoc>SetBackingBitmap(self, Bitmap bitmap)</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="BeginDrag" type="bool" overloaded="no">
+ <autodoc>BeginDrag(self, Point hotspot, Window window, bool fullScreen=False,
+ Rect rect=None) -> bool</autodoc>
+ <paramlist>
+ <param name="hotspot" type="Point" default=""/>
+ <param name="window" type="Window" default=""/>
+ <param name="fullScreen" type="bool" default="False"/>
+ <param name="rect" type="Rect" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="BeginDragBounded" type="bool" overloaded="no">
+ <autodoc>BeginDragBounded(self, Point hotspot, Window window, Window boundingWindow) -> bool</autodoc>
+ <paramlist>
+ <param name="hotspot" type="Point" default=""/>
+ <param name="window" type="Window" default=""/>
+ <param name="boundingWindow" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="EndDrag" type="bool" overloaded="no">
+ <autodoc>EndDrag(self) -> bool</autodoc>
+ </method>
+ <method name="Move" type="bool" overloaded="no">
+ <autodoc>Move(self, Point pt) -> bool</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="Show" type="bool" overloaded="no">
+ <autodoc>Show(self) -> bool</autodoc>
+ </method>
+ <method name="Hide" type="bool" overloaded="no">
+ <autodoc>Hide(self) -> bool</autodoc>
+ </method>
+ <method name="GetImageRect" type="Rect" overloaded="no">
+ <autodoc>GetImageRect(self, Point pos) -> Rect</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoDrawImage" type="bool" overloaded="no">
+ <autodoc>DoDrawImage(self, DC dc, Point pos) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="UpdateBackingFromWindow" type="bool" overloaded="no">
+ <autodoc>UpdateBackingFromWindow(self, DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -> bool</autodoc>
+ <paramlist>
+ <param name="windowDC" type="DC" default=""/>
+ <param name="destDC" type="MemoryDC" default=""/>
+ <param name="sourceRect" type="Rect" default=""/>
+ <param name="destRect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="RedrawImage" type="bool" overloaded="no">
+ <autodoc>RedrawImage(self, Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool</autodoc>
+ <paramlist>
+ <param name="oldPos" type="Point" default=""/>
+ <param name="newPos" type="Point" default=""/>
+ <param name="eraseOld" type="bool" default=""/>
+ <param name="drawNew" type="bool" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ </module>
+ <module name="_misc">
+ <import name="_core"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
</pythoncode>
- <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos">
- <baseclass name="wxPanel"/>
- <constructor name="EditableListBox" overloaded="no">
- <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
- String name=EditableListBoxNameStr) -> EditableListBox</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="label" type="r.q(const).wxString" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/>
- <param name="name" type="r.q(const).wxString" default="wxPyEditableListBoxNameStr"/>
- </paramlist>
- </constructor>
- <method name="SetStrings" type="void" overloaded="no">
- <autodoc>SetStrings(wxArrayString strings)</autodoc>
- <paramlist>
- <param name="strings" type="r.q(const).wxArrayString" default=""/>
- </paramlist>
- </method>
- <method name="GetStrings" type="PyObject" overloaded="no">
- <autodoc>GetStrings() -> PyObject</autodoc>
- </method>
- <method name="GetListCtrl" type="wxListCtrl" overloaded="no">
- <autodoc>GetListCtrl() -> wxListCtrl</autodoc>
- </method>
- <method name="GetDelButton" type="wxBitmapButton" overloaded="no">
- <autodoc>GetDelButton() -> BitmapButton</autodoc>
- </method>
- <method name="GetNewButton" type="wxBitmapButton" overloaded="no">
- <autodoc>GetNewButton() -> BitmapButton</autodoc>
- </method>
- <method name="GetUpButton" type="wxBitmapButton" overloaded="no">
- <autodoc>GetUpButton() -> BitmapButton</autodoc>
- </method>
- <method name="GetDownButton" type="wxBitmapButton" overloaded="no">
- <autodoc>GetDownButton() -> BitmapButton</autodoc>
- </method>
- <method name="GetEditButton" type="wxBitmapButton" overloaded="no">
- <autodoc>GetEditButton() -> BitmapButton</autodoc>
- </method>
- </class>
- <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos">
- <baseclass name="wxPyTreeCtrl"/>
- <constructor name="RemotelyScrolledTreeCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
- long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default=""/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTR_HAS_BUTTONS"/>
- </paramlist>
- </constructor>
- <method name="HideVScrollbar" type="void" overloaded="no">
- <autodoc>HideVScrollbar()</autodoc>
- </method>
- <method name="AdjustRemoteScrollbars" type="void" overloaded="no">
- <autodoc>AdjustRemoteScrollbars()</autodoc>
- </method>
- <method name="GetScrolledWindow" type="wxScrolledWindow" overloaded="no">
- <autodoc>GetScrolledWindow() -> ScrolledWindow</autodoc>
- </method>
- <method name="ScrollToLine" type="void" overloaded="no">
- <autodoc>ScrollToLine(int posHoriz, int posVert)</autodoc>
- <paramlist>
- <param name="posHoriz" type="int" default=""/>
- <param name="posVert" type="int" default=""/>
- </paramlist>
- </method>
- <method name="SetCompanionWindow" type="void" overloaded="no">
- <autodoc>SetCompanionWindow(Window companion)</autodoc>
- <paramlist>
- <param name="companion" type="p.wxWindow" default=""/>
- </paramlist>
- </method>
- <method name="GetCompanionWindow" type="wxWindow" overloaded="no">
- <autodoc>GetCompanionWindow() -> Window</autodoc>
- </method>
- </class>
- <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos">
- <baseclass name="wxWindow"/>
- <constructor name="wxPyTreeCompanionWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0) -> TreeCompanionWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
- <paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
- </paramlist>
- </method>
- <method name="GetTreeCtrl" type="wxRemotelyScrolledTreeCtrl" overloaded="no">
- <autodoc>GetTreeCtrl() -> RemotelyScrolledTreeCtrl</autodoc>
- </method>
- <method name="SetTreeCtrl" type="void" overloaded="no">
- <autodoc>SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl)</autodoc>
- <paramlist>
- <param name="treeCtrl" type="p.wxRemotelyScrolledTreeCtrl" default=""/>
- </paramlist>
- </method>
- </class>
- <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos">
- <baseclass name="wxSplitterWindow"/>
- <constructor name="ThinSplitterWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxSP_3D|wxCLIP_CHILDREN"/>
- </paramlist>
- </constructor>
- </class>
- <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos">
- <baseclass name="wxScrolledWindow"/>
- <constructor name="SplitterScrolledWindow" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=0) -> SplitterScrolledWindow</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="0"/>
- </paramlist>
- </constructor>
- </class>
- <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos">
- <baseclass name="wxControl"/>
- <constructor name="LEDNumberCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/>
- </paramlist>
- </constructor>
- <constructor name="PreLEDNumberCtrl" overloaded="no">
- <autodoc>PreLEDNumberCtrl() -> LEDNumberCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/>
- </paramlist>
- </method>
- <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no">
- <autodoc>GetAlignment() -> int</autodoc>
- </method>
- <method name="GetDrawFaded" type="bool" overloaded="no">
- <autodoc>GetDrawFaded() -> bool</autodoc>
- </method>
- <method name="GetValue" type="q(const).wxString" overloaded="no">
- <autodoc>GetValue() -> String</autodoc>
- </method>
- <method name="SetAlignment" type="void" overloaded="no">
- <autodoc>SetAlignment(int Alignment, bool Redraw=true)</autodoc>
- <paramlist>
- <param name="Alignment" type="wxLEDValueAlign" default=""/>
- <param name="Redraw" type="bool" default="true"/>
- </paramlist>
- </method>
- <method name="SetDrawFaded" type="void" overloaded="no">
- <autodoc>SetDrawFaded(bool DrawFaded, bool Redraw=true)</autodoc>
- <paramlist>
- <param name="DrawFaded" type="bool" default=""/>
- <param name="Redraw" type="bool" default="true"/>
- </paramlist>
- </method>
- <method name="SetValue" type="void" overloaded="no">
- <autodoc>SetValue(String Value, bool Redraw=true)</autodoc>
- <paramlist>
- <param name="Value" type="r.q(const).wxString" default=""/>
- <param name="Redraw" type="bool" default="true"/>
- </paramlist>
+ <class name="SystemSettings" oldname="wxSystemSettings" module="_misc">
+ <staticmethod name="GetColour" type="Colour" overloaded="no">
+ <autodoc>GetColour(int index) -> Colour</autodoc>
+ <paramlist>
+ <param name="index" type="wxSystemColour" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(int index) -> Font</autodoc>
+ <paramlist>
+ <param name="index" type="wxSystemFont" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetMetric" type="int" overloaded="no">
+ <autodoc>GetMetric(int index) -> int</autodoc>
+ <paramlist>
+ <param name="index" type="wxSystemMetric" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="HasFeature" type="bool" overloaded="no">
+ <autodoc>HasFeature(int index) -> bool</autodoc>
+ <paramlist>
+ <param name="index" type="wxSystemFeature" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetScreenType" type="wxSystemScreenType" overloaded="no">
+ <autodoc>GetScreenType() -> int</autodoc>
+ </staticmethod>
+ <staticmethod name="SetScreenType" type="" overloaded="no">
+ <autodoc>SetScreenType(int screen)</autodoc>
+ <paramlist>
+ <param name="screen" type="wxSystemScreenType" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="SystemOptions" oldname="wxSystemOptions" module="_misc">
+ <baseclass name="Object"/>
+ <constructor name="SystemOptions" overloaded="no">
+ <autodoc>__init__(self) -> SystemOptions</autodoc>
+ </constructor>
+ <staticmethod name="SetOption" type="" overloaded="no">
+ <autodoc>SetOption(String name, String value)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="SetOptionInt" type="" overloaded="no">
+ <autodoc>SetOptionInt(String name, int value)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="value" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetOption" type="String" overloaded="no">
+ <autodoc>GetOption(String name) -> String</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetOptionInt" type="int" overloaded="no">
+ <autodoc>GetOptionInt(String name) -> int</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="HasOption" type="bool" overloaded="no">
+ <autodoc>HasOption(String name) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <method name="NewId" oldname="wxNewId" type="long" overloaded="no">
+ <autodoc>NewId() -> long</autodoc>
</method>
- </class>
- <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos">
- <baseclass name="wxObject"/>
- <constructor name="TreeListColumnInfo" overloaded="no">
- <autodoc>__init__(String text=EmptyString, int image=-1, size_t width=100,
- int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo</autodoc>
+ <method name="RegisterId" oldname="wxRegisterId" type="" overloaded="no">
+ <autodoc>RegisterId(long id)</autodoc>
<paramlist>
- <param name="text" type="r.q(const).wxString" default="wxPyEmptyString"/>
- <param name="image" type="int" default="-1"/>
- <param name="width" type="size_t" default="100"/>
- <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/>
+ <param name="id" type="long" default=""/>
</paramlist>
- </constructor>
- <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no">
- <autodoc>GetAlignment() -> int</autodoc>
- </method>
- <method name="GetText" type="wxString" overloaded="no">
- <autodoc>GetText() -> String</autodoc>
</method>
- <method name="GetImage" type="int" overloaded="no">
- <autodoc>GetImage() -> int</autodoc>
+ <method name="GetCurrentId" oldname="wxGetCurrentId" type="long" overloaded="no">
+ <autodoc>GetCurrentId() -> long</autodoc>
</method>
- <method name="GetSelectedImage" type="int" overloaded="no">
- <autodoc>GetSelectedImage() -> int</autodoc>
+ <method name="Bell" oldname="wxBell" type="" overloaded="no">
+ <autodoc>Bell()</autodoc>
</method>
- <method name="GetWidth" type="size_t" overloaded="no">
- <autodoc>GetWidth() -> size_t</autodoc>
+ <method name="EndBusyCursor" oldname="wxEndBusyCursor" type="" overloaded="no">
+ <autodoc>EndBusyCursor()</autodoc>
</method>
- <method name="SetAlignment" type="void" overloaded="no">
- <autodoc>SetAlignment(int alignment)</autodoc>
+ <method name="GetElapsedTime" oldname="wxGetElapsedTime" type="long" overloaded="no">
+ <autodoc>GetElapsedTime(bool resetTimer=True) -> long</autodoc>
<paramlist>
- <param name="alignment" type="wxTreeListColumnAlign" default=""/>
+ <param name="resetTimer" type="bool" default="True"/>
</paramlist>
</method>
- <method name="SetText" type="void" overloaded="no">
- <autodoc>SetText(String text)</autodoc>
+ <method name="GetMousePosition" oldname="wxGetMousePosition" type="" overloaded="no">
+ <autodoc>GetMousePosition() -> (x,y)</autodoc>
<paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
</paramlist>
</method>
- <method name="SetImage" type="void" overloaded="no">
- <autodoc>SetImage(int image)</autodoc>
- <paramlist>
- <param name="image" type="int" default=""/>
- </paramlist>
+ <method name="IsBusy" oldname="wxIsBusy" type="bool" overloaded="no">
+ <autodoc>IsBusy() -> bool</autodoc>
</method>
- <method name="SetSelectedImage" type="void" overloaded="no">
- <autodoc>SetSelectedImage(int image)</autodoc>
- <paramlist>
- <param name="image" type="int" default=""/>
- </paramlist>
+ <method name="Now" oldname="wxNow" type="String" overloaded="no">
+ <autodoc>Now() -> String</autodoc>
</method>
- <method name="SetWidth" type="void" overloaded="no">
- <autodoc>SetWidth(size_t with)</autodoc>
+ <method name="Shell" oldname="wxShell" type="bool" overloaded="no">
+ <autodoc>Shell(String command=EmptyString) -> bool</autodoc>
<paramlist>
- <param name="with" type="size_t" default=""/>
+ <param name="command" type="String" default="wxPyEmptyString"/>
</paramlist>
</method>
- </class>
- <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos">
- <baseclass name="wxControl"/>
- <constructor name="wxPyTreeListCtrl" overloaded="no">
- <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
- Validator validator=DefaultValidator,
- String name=TreeListCtrlNameStr) -> TreeListCtrl</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTreeListCtrlNameStr"/>
- </paramlist>
- </constructor>
- <constructor name="PreTreeListCtrl" overloaded="no">
- <autodoc>PreTreeListCtrl() -> TreeListCtrl</autodoc>
- </constructor>
- <method name="Create" type="bool" overloaded="no">
- <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition,
- Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
- Validator validator=DefaultValidator,
- String name=TreeListCtrlNameStr) -> bool</autodoc>
- <paramlist>
- <param name="parent" type="p.wxWindow" default=""/>
- <param name="id" type="int" default="-1"/>
- <param name="pos" type="r.q(const).wxPoint" default="wxDefaultPosition"/>
- <param name="size" type="r.q(const).wxSize" default="wxDefaultSize"/>
- <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
- <param name="validator" type="r.q(const).wxValidator" default="wxDefaultValidator"/>
- <param name="name" type="r.q(const).wxString" default="wxPyTreeListCtrlNameStr"/>
- </paramlist>
+ <method name="StartTimer" oldname="wxStartTimer" type="" overloaded="no">
+ <autodoc>StartTimer()</autodoc>
</method>
- <method name="_setCallbackInfo" type="void" overloaded="no">
- <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+ <method name="GetOsVersion" oldname="wxGetOsVersion" type="int" overloaded="no">
+ <autodoc>GetOsVersion() -> (platform, major, minor)</autodoc>
<paramlist>
- <param name="self" type="p.PyObject" default=""/>
- <param name="_class" type="p.PyObject" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
</paramlist>
</method>
- <method name="GetCount" type="size_t" overloaded="no">
- <autodoc>GetCount() -> size_t</autodoc>
- </method>
- <method name="GetIndent" type="unsigned int" overloaded="no">
- <autodoc>GetIndent() -> unsigned int</autodoc>
- </method>
- <method name="SetIndent" type="void" overloaded="no">
- <autodoc>SetIndent(unsigned int indent)</autodoc>
- <paramlist>
- <param name="indent" type="unsigned int" default=""/>
- </paramlist>
+ <method name="GetOsDescription" oldname="wxGetOsDescription" type="String" overloaded="no">
+ <autodoc>GetOsDescription() -> String</autodoc>
</method>
- <method name="GetSpacing" type="unsigned int" overloaded="no">
- <autodoc>GetSpacing() -> unsigned int</autodoc>
+ <method name="GetFreeMemory" oldname="wxGetFreeMemory" type="long" overloaded="no">
+ <autodoc>GetFreeMemory() -> long</autodoc>
</method>
- <method name="SetSpacing" type="void" overloaded="no">
- <autodoc>SetSpacing(unsigned int spacing)</autodoc>
+ <method name="Shutdown" oldname="wxShutdown" type="bool" overloaded="no">
+ <autodoc>Shutdown(int wFlags) -> bool</autodoc>
<paramlist>
- <param name="spacing" type="unsigned int" default=""/>
+ <param name="wFlags" type="wxShutdownFlags" default=""/>
</paramlist>
</method>
- <method name="GetLineSpacing" type="unsigned int" overloaded="no">
- <autodoc>GetLineSpacing() -> unsigned int</autodoc>
- </method>
- <method name="SetLineSpacing" type="void" overloaded="no">
- <autodoc>SetLineSpacing(unsigned int spacing)</autodoc>
+ <method name="Sleep" oldname="wxSleep" type="" overloaded="no">
+ <autodoc>Sleep(int secs)</autodoc>
<paramlist>
- <param name="spacing" type="unsigned int" default=""/>
+ <param name="secs" type="int" default=""/>
</paramlist>
</method>
- <method name="GetImageList" type="wxImageList" overloaded="no">
- <autodoc>GetImageList() -> ImageList</autodoc>
- </method>
- <method name="GetStateImageList" type="wxImageList" overloaded="no">
- <autodoc>GetStateImageList() -> ImageList</autodoc>
- </method>
- <method name="GetButtonsImageList" type="wxImageList" overloaded="no">
- <autodoc>GetButtonsImageList() -> ImageList</autodoc>
- </method>
- <method name="SetImageList" type="void" overloaded="no">
- <autodoc>SetImageList(ImageList imageList)</autodoc>
+ <method name="MilliSleep" oldname="wxMilliSleep" type="" overloaded="no">
+ <autodoc>MilliSleep(unsigned long milliseconds)</autodoc>
<paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
+ <param name="milliseconds" type="unsigned long" default=""/>
</paramlist>
</method>
- <method name="SetStateImageList" type="void" overloaded="no">
- <autodoc>SetStateImageList(ImageList imageList)</autodoc>
+ <method name="MicroSleep" oldname="wxMicroSleep" type="" overloaded="no">
+ <autodoc>MicroSleep(unsigned long microseconds)</autodoc>
<paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
+ <param name="microseconds" type="unsigned long" default=""/>
</paramlist>
</method>
- <method name="SetButtonsImageList" type="void" overloaded="no">
- <autodoc>SetButtonsImageList(ImageList imageList)</autodoc>
+ <pythoncode> Usleep = MilliSleep </pythoncode>
+ <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="" overloaded="no">
+ <autodoc>EnableTopLevelWindows(bool enable)</autodoc>
<paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
+ <param name="enable" type="bool" default=""/>
</paramlist>
</method>
- <method name="AssignImageList" type="void" overloaded="no">
- <autodoc>AssignImageList(ImageList imageList)</autodoc>
+ <method name="StripMenuCodes" oldname="wxStripMenuCodes" type="String" overloaded="no">
+ <autodoc>StripMenuCodes(String in) -> String</autodoc>
<paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
+ <param name="in" type="String" default=""/>
</paramlist>
</method>
- <method name="AssignStateImageList" type="void" overloaded="no">
- <autodoc>AssignStateImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
+ <method name="GetEmailAddress" oldname="wxGetEmailAddress" type="String" overloaded="no">
+ <autodoc>GetEmailAddress() -> String</autodoc>
</method>
- <method name="AssignButtonsImageList" type="void" overloaded="no">
- <autodoc>AssignButtonsImageList(ImageList imageList)</autodoc>
- <paramlist>
- <param name="imageList" type="p.wxImageList" default=""/>
- </paramlist>
+ <method name="GetHostName" oldname="wxGetHostName" type="String" overloaded="no">
+ <autodoc>GetHostName() -> String</autodoc>
</method>
- <method name="AddColumn" type="void" overloaded="no">
- <autodoc>AddColumn(String text)</autodoc>
- <paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
+ <method name="GetFullHostName" oldname="wxGetFullHostName" type="String" overloaded="no">
+ <autodoc>GetFullHostName() -> String</autodoc>
</method>
- <method name="AddColumnInfo" type="void" overloaded="no">
- <autodoc>AddColumnInfo(TreeListColumnInfo col)</autodoc>
- <paramlist>
- <param name="col" type="r.q(const).wxTreeListColumnInfo" default=""/>
- </paramlist>
+ <method name="GetUserId" oldname="wxGetUserId" type="String" overloaded="no">
+ <autodoc>GetUserId() -> String</autodoc>
</method>
- <method name="InsertColumn" type="void" overloaded="no">
- <autodoc>InsertColumn(size_t before, String text)</autodoc>
- <paramlist>
- <param name="before" type="size_t" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- </paramlist>
+ <method name="GetUserName" oldname="wxGetUserName" type="String" overloaded="no">
+ <autodoc>GetUserName() -> String</autodoc>
</method>
- <method name="InsertColumnInfo" type="void" overloaded="no">
- <autodoc>InsertColumnInfo(size_t before, TreeListColumnInfo col)</autodoc>
- <paramlist>
- <param name="before" type="size_t" default=""/>
- <param name="col" type="r.q(const).wxTreeListColumnInfo" default=""/>
- </paramlist>
+ <method name="GetHomeDir" oldname="wxGetHomeDir" type="String" overloaded="no">
+ <autodoc>GetHomeDir() -> String</autodoc>
</method>
- <method name="RemoveColumn" type="void" overloaded="no">
- <autodoc>RemoveColumn(size_t column)</autodoc>
+ <method name="GetUserHome" oldname="wxGetUserHome" type="String" overloaded="no">
+ <autodoc>GetUserHome(String user=EmptyString) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
+ <param name="user" type="String" default="wxPyEmptyString"/>
</paramlist>
</method>
- <method name="GetColumnCount" type="size_t" overloaded="no">
- <autodoc>GetColumnCount() -> size_t</autodoc>
+ <method name="GetProcessId" oldname="wxGetProcessId" type="unsigned long" overloaded="no">
+ <autodoc>GetProcessId() -> unsigned long</autodoc>
</method>
- <method name="SetColumnWidth" type="void" overloaded="no">
- <autodoc>SetColumnWidth(size_t column, size_t width)</autodoc>
- <paramlist>
- <param name="column" type="size_t" default=""/>
- <param name="width" type="size_t" default=""/>
- </paramlist>
+ <method name="Trap" oldname="wxTrap" type="" overloaded="no">
+ <autodoc>Trap()</autodoc>
</method>
- <method name="GetColumnWidth" type="int" overloaded="no">
- <autodoc>GetColumnWidth(size_t column) -> int</autodoc>
+ <method name="FileSelector" oldname="wxFileSelector" type="String" overloaded="no">
+ <autodoc>FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString,
+ String default_filename=EmptyString,
+ String default_extension=EmptyString,
+ String wildcard=FileSelectorDefaultWildcardStr,
+ int flags=0, Window parent=None, int x=-1,
+ int y=-1) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
+ <param name="message" type="String" default="wxPyFileSelectorPromptStr"/>
+ <param name="default_path" type="String" default="wxPyEmptyString"/>
+ <param name="default_filename" type="String" default="wxPyEmptyString"/>
+ <param name="default_extension" type="String" default="wxPyEmptyString"/>
+ <param name="wildcard" type="String" default="wxPyFileSelectorDefaultWildcardStr"/>
+ <param name="flags" type="int" default="0"/>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
</paramlist>
</method>
- <method name="SetMainColumn" type="void" overloaded="no">
- <autodoc>SetMainColumn(size_t column)</autodoc>
+ <method name="LoadFileSelector" oldname="wxLoadFileSelector" type="String" overloaded="no">
+ <autodoc>LoadFileSelector(String what, String extension, String default_name=EmptyString,
+ Window parent=None) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
+ <param name="what" type="String" default=""/>
+ <param name="extension" type="String" default=""/>
+ <param name="default_name" type="String" default="wxPyEmptyString"/>
+ <param name="parent" type="Window" default="NULL"/>
</paramlist>
</method>
- <method name="GetMainColumn" type="size_t" overloaded="no">
- <autodoc>GetMainColumn() -> size_t</autodoc>
- </method>
- <method name="SetColumnText" type="void" overloaded="no">
- <autodoc>SetColumnText(size_t column, String text)</autodoc>
+ <method name="SaveFileSelector" oldname="wxSaveFileSelector" type="String" overloaded="no">
+ <autodoc>SaveFileSelector(String what, String extension, String default_name=EmptyString,
+ Window parent=None) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
+ <param name="what" type="String" default=""/>
+ <param name="extension" type="String" default=""/>
+ <param name="default_name" type="String" default="wxPyEmptyString"/>
+ <param name="parent" type="Window" default="NULL"/>
</paramlist>
</method>
- <method name="GetColumnText" type="wxString" overloaded="no">
- <autodoc>GetColumnText(size_t column) -> String</autodoc>
+ <method name="DirSelector" oldname="wxDirSelector" type="String" overloaded="no">
+ <autodoc>DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString,
+ long style=DD_DEFAULT_STYLE,
+ Point pos=DefaultPosition, Window parent=None) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
+ <param name="message" type="String" default="wxPyDirSelectorPromptStr"/>
+ <param name="defaultPath" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="long" default="wxDD_DEFAULT_STYLE"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="parent" type="Window" default="NULL"/>
</paramlist>
</method>
- <method name="SetColumn" type="void" overloaded="no">
- <autodoc>SetColumn(size_t column, TreeListColumnInfo info)</autodoc>
+ <method name="GetTextFromUser" oldname="wxGetTextFromUser" type="String" overloaded="no">
+ <autodoc>GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString,
+ Window parent=None,
+ int x=-1, int y=-1, bool centre=True) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
- <param name="info" type="r.q(const).wxTreeListColumnInfo" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default="wxPyEmptyString"/>
+ <param name="default_value" type="String" default="wxPyEmptyString"/>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
+ <param name="centre" type="bool" default="True"/>
</paramlist>
</method>
- <method name="GetColumn" type="wxTreeListColumnInfo" overloaded="no">
- <autodoc>GetColumn(size_t column) -> TreeListColumnInfo</autodoc>
+ <method name="GetPasswordFromUser" oldname="wxGetPasswordFromUser" type="String" overloaded="no">
+ <autodoc>GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString,
+ Window parent=None) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default="wxPyEmptyString"/>
+ <param name="default_value" type="String" default="wxPyEmptyString"/>
+ <param name="parent" type="Window" default="NULL"/>
</paramlist>
</method>
- <method name="SetColumnAlignment" type="void" overloaded="no">
- <autodoc>SetColumnAlignment(size_t column, int align)</autodoc>
+ <method name="GetSingleChoice" oldname="wxGetSingleChoice" type="String" overloaded="no">
+ <autodoc>GetSingleChoice(String message, String caption, int choices, String choices_array,
+ Window parent=None, int x=-1,
+ int y=-1, bool centre=True, int width=150, int height=200) -> String</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
- <param name="align" type="wxTreeListColumnAlign" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default=""/>
+ <param name="choices" type="int" default=""/>
+ <param name="choices_array" type="String" default=""/>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
+ <param name="centre" type="bool" default="True"/>
+ <param name="width" type="int" default="150"/>
+ <param name="height" type="int" default="200"/>
</paramlist>
</method>
- <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no">
- <autodoc>GetColumnAlignment(size_t column) -> int</autodoc>
+ <method name="GetSingleChoiceIndex" oldname="wxGetSingleChoiceIndex" type="int" overloaded="no">
+ <autodoc>GetSingleChoiceIndex(String message, String caption, int choices, String choices_array,
+ Window parent=None, int x=-1,
+ int y=-1, bool centre=True, int width=150, int height=200) -> int</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default=""/>
+ <param name="choices" type="int" default=""/>
+ <param name="choices_array" type="String" default=""/>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
+ <param name="centre" type="bool" default="True"/>
+ <param name="width" type="int" default="150"/>
+ <param name="height" type="int" default="200"/>
</paramlist>
</method>
- <method name="SetColumnImage" type="void" overloaded="no">
- <autodoc>SetColumnImage(size_t column, int image)</autodoc>
+ <method name="MessageBox" oldname="wxMessageBox" type="int" overloaded="no">
+ <autodoc>MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE,
+ Window parent=None, int x=-1,
+ int y=-1) -> int</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
- <param name="image" type="int" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="caption" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="int" default="wxOK|wxCENTRE"/>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
</paramlist>
</method>
- <method name="GetColumnImage" type="int" overloaded="no">
- <autodoc>GetColumnImage(size_t column) -> int</autodoc>
+ <method name="GetNumberFromUser" oldname="wxGetNumberFromUser" type="long" overloaded="no">
+ <autodoc>GetNumberFromUser(String message, String prompt, String caption, long value,
+ long min=0, long max=100, Window parent=None,
+ Point pos=DefaultPosition) -> long</autodoc>
<paramlist>
- <param name="column" type="size_t" default=""/>
+ <param name="message" type="String" default=""/>
+ <param name="prompt" type="String" default=""/>
+ <param name="caption" type="String" default=""/>
+ <param name="value" type="long" default=""/>
+ <param name="min" type="long" default="0"/>
+ <param name="max" type="long" default="100"/>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
</paramlist>
</method>
- <method name="GetItemText" type="wxString" overloaded="no">
- <autodoc>GetItemText(TreeItemId item, int column=-1) -> String</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="column" type="int" default="-1"/>
- </paramlist>
+ <method name="ColourDisplay" oldname="wxColourDisplay" type="bool" overloaded="no">
+ <autodoc>ColourDisplay() -> bool</autodoc>
</method>
- <method name="GetItemImage" type="int" overloaded="no">
- <autodoc>GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="column" type="int" default="-1"/>
- <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
- </paramlist>
+ <method name="DisplayDepth" oldname="wxDisplayDepth" type="int" overloaded="no">
+ <autodoc>DisplayDepth() -> int</autodoc>
</method>
- <method name="SetItemText" type="void" overloaded="no">
- <autodoc>SetItemText(TreeItemId item, String text, int column=-1)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="column" type="int" default="-1"/>
- </paramlist>
+ <method name="GetDisplayDepth" oldname="wxGetDisplayDepth" type="int" overloaded="no">
+ <autodoc>GetDisplayDepth() -> int</autodoc>
</method>
- <method name="SetItemImage" type="void" overloaded="no">
- <autodoc>SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc>
+ <method name="DisplaySize" oldname="wxDisplaySize" type="" overloaded="no">
+ <autodoc>DisplaySize() -> (width, height)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="image" type="int" default=""/>
- <param name="column" type="int" default="-1"/>
- <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
</paramlist>
</method>
- <method name="GetItemData" type="wxPyTreeItemData" overloaded="no">
- <autodoc>GetItemData(TreeItemId item) -> TreeItemData</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
+ <method name="GetDisplaySize" oldname="wxGetDisplaySize" type="Size" overloaded="no">
+ <autodoc>GetDisplaySize() -> Size</autodoc>
</method>
- <method name="SetItemData" type="void" overloaded="no">
- <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc>
+ <method name="DisplaySizeMM" oldname="wxDisplaySizeMM" type="" overloaded="no">
+ <autodoc>DisplaySizeMM() -> (width, height)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="data" type="p.wxPyTreeItemData" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
</paramlist>
</method>
- <method name="GetItemPyData" type="PyObject" overloaded="no">
- <autodoc>GetItemPyData(TreeItemId item) -> PyObject</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
+ <method name="GetDisplaySizeMM" oldname="wxGetDisplaySizeMM" type="Size" overloaded="no">
+ <autodoc>GetDisplaySizeMM() -> Size</autodoc>
</method>
- <method name="SetItemPyData" type="void" overloaded="no">
- <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc>
+ <method name="ClientDisplayRect" oldname="wxClientDisplayRect" type="" overloaded="no">
+ <autodoc>ClientDisplayRect() -> (x, y, width, height)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="obj" type="p.PyObject" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
</paramlist>
</method>
- <method name="SetItemHasChildren" type="void" overloaded="no">
- <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="has" type="bool" default="True"/>
- </paramlist>
+ <method name="GetClientDisplayRect" oldname="wxGetClientDisplayRect" type="Rect" overloaded="no">
+ <autodoc>GetClientDisplayRect() -> Rect</autodoc>
</method>
- <method name="SetItemBold" type="void" overloaded="no">
- <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc>
+ <method name="SetCursor" oldname="wxSetCursor" type="" overloaded="no">
+ <autodoc>SetCursor(Cursor cursor)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="bold" type="bool" default="True"/>
+ <param name="cursor" type="Cursor" default=""/>
</paramlist>
</method>
- <method name="SetItemTextColour" type="void" overloaded="no">
- <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc>
+ <method name="BeginBusyCursor" oldname="wxBeginBusyCursor" type="" overloaded="no">
+ <autodoc>BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
+ <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/>
</paramlist>
</method>
- <method name="SetItemBackgroundColour" type="void" overloaded="no">
- <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="col" type="r.q(const).wxColour" default=""/>
- </paramlist>
+ <method name="GetActiveWindow" oldname="wxGetActiveWindow" type="Window" overloaded="no">
+ <autodoc>GetActiveWindow() -> Window</autodoc>
</method>
- <method name="SetItemFont" type="void" overloaded="no">
- <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc>
+ <method name="GenericFindWindowAtPoint" oldname="wxGenericFindWindowAtPoint" type="Window" overloaded="no">
+ <autodoc>GenericFindWindowAtPoint(Point pt) -> Window</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="font" type="r.q(const).wxFont" default=""/>
+ <param name="pt" type="Point" default=""/>
</paramlist>
</method>
- <method name="GetItemBold" type="bool" overloaded="no">
- <autodoc>GetItemBold(TreeItemId item) -> bool</autodoc>
+ <method name="FindWindowAtPoint" oldname="wxFindWindowAtPoint" type="Window" overloaded="no">
+ <autodoc>FindWindowAtPoint(Point pt) -> Window</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="pt" type="Point" default=""/>
</paramlist>
</method>
- <method name="GetItemTextColour" type="wxColour" overloaded="no">
- <autodoc>GetItemTextColour(TreeItemId item) -> Colour</autodoc>
+ <method name="GetTopLevelParent" oldname="wxGetTopLevelParent" type="Window" overloaded="no">
+ <autodoc>GetTopLevelParent(Window win) -> Window</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="win" type="Window" default=""/>
</paramlist>
</method>
- <method name="GetItemBackgroundColour" type="wxColour" overloaded="no">
- <autodoc>GetItemBackgroundColour(TreeItemId item) -> Colour</autodoc>
+ <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no">
+ <autodoc>GetKeyState(int key) -> bool</autodoc>
+ <docstring>Get the state of a key (true if pressed or toggled on, false if not.)
+This is generally most useful getting the state of the modifier or
+toggle keys. On some platforms those may be the only keys that work.
+</docstring>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="key" type="wxKeyCode" default=""/>
</paramlist>
</method>
- <method name="GetItemFont" type="wxFont" overloaded="no">
- <autodoc>GetItemFont(TreeItemId item) -> Font</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
+ <method name="WakeUpMainThread" oldname="wxWakeUpMainThread" type="" overloaded="no">
+ <autodoc>WakeUpMainThread()</autodoc>
</method>
- <method name="IsVisible" type="bool" overloaded="no">
- <autodoc>IsVisible(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
+ <method name="MutexGuiEnter" oldname="wxMutexGuiEnter" type="" overloaded="no">
+ <autodoc>MutexGuiEnter()</autodoc>
</method>
- <method name="ItemHasChildren" type="bool" overloaded="no">
- <autodoc>ItemHasChildren(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
+ <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="" overloaded="no">
+ <autodoc>MutexGuiLeave()</autodoc>
</method>
- <method name="IsExpanded" type="bool" overloaded="no">
- <autodoc>IsExpanded(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
+ <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="_misc">
+ <constructor name="MutexGuiLocker" overloaded="no">
+ <autodoc>__init__(self) -> MutexGuiLocker</autodoc>
+ </constructor>
+ <destructor name="~wxMutexGuiLocker" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no">
+ <autodoc>Thread_IsMain() -> bool</autodoc>
</method>
- <method name="IsSelected" type="bool" overloaded="no">
- <autodoc>IsSelected(TreeItemId item) -> bool</autodoc>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ToolTip" oldname="wxToolTip" module="_misc">
+ <baseclass name="Object"/>
+ <constructor name="ToolTip" overloaded="no">
+ <autodoc>__init__(self, String tip) -> ToolTip</autodoc>
+ <paramlist>
+ <param name="tip" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="SetTip" type="" overloaded="no">
+ <autodoc>SetTip(self, String tip)</autodoc>
+ <paramlist>
+ <param name="tip" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTip" type="String" overloaded="no">
+ <autodoc>GetTip(self) -> String</autodoc>
+ </method>
+ <method name="GetWindow" type="Window" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ <staticmethod name="Enable" type="" overloaded="no">
+ <autodoc>Enable(bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="SetDelay" type="" overloaded="no">
+ <autodoc>SetDelay(long milliseconds)</autodoc>
+ <paramlist>
+ <param name="milliseconds" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="Caret" oldname="wxCaret" module="_misc">
+ <constructor name="Caret" overloaded="no">
+ <autodoc>__init__(self, Window window, Size size) -> Caret</autodoc>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxCaret" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="IsVisible" type="bool" overloaded="no">
+ <autodoc>IsVisible(self) -> bool</autodoc>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="GetPositionTuple" type="" overloaded="no">
+ <autodoc>GetPositionTuple() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self) -> Size</autodoc>
+ </method>
+ <method name="GetSizeTuple" type="" overloaded="no">
+ <autodoc>GetSizeTuple() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWindow" type="Window" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ <method name="MoveXY" type="" overloaded="no">
+ <autodoc>MoveXY(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Move" type="" overloaded="no">
+ <autodoc>Move(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSizeWH" type="" overloaded="no">
+ <autodoc>SetSizeWH(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="Show" type="" overloaded="no">
+ <autodoc>Show(self, int show=True)</autodoc>
+ <paramlist>
+ <param name="show" type="int" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Hide" type="" overloaded="no">
+ <autodoc>Hide(self)</autodoc>
+ </method>
+ </class>
+ <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no">
+ <autodoc>Caret_GetBlinkTime() -> int</autodoc>
+ </method>
+ <method name="Caret_SetBlinkTime" oldname="wxCaret_SetBlinkTime" type="" overloaded="no">
+ <autodoc>Caret_SetBlinkTime(int milliseconds)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="milliseconds" type="int" default=""/>
</paramlist>
</method>
- <method name="IsBold" type="bool" overloaded="no">
- <autodoc>IsBold(TreeItemId item) -> bool</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <class name="BusyCursor" oldname="wxBusyCursor" module="_misc">
+ <constructor name="BusyCursor" overloaded="no">
+ <autodoc>__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor</autodoc>
+ <paramlist>
+ <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxBusyCursor" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <class name="WindowDisabler" oldname="wxWindowDisabler" module="_misc">
+ <constructor name="WindowDisabler" overloaded="no">
+ <autodoc>__init__(self, Window winToSkip=None) -> WindowDisabler</autodoc>
+ <paramlist>
+ <param name="winToSkip" type="Window" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxWindowDisabler" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <class name="BusyInfo" oldname="wxBusyInfo" module="_misc">
+ <baseclass name="Object"/>
+ <constructor name="BusyInfo" overloaded="no">
+ <autodoc>__init__(self, String message) -> BusyInfo</autodoc>
+ <paramlist>
+ <param name="message" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxBusyInfo" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <class name="StopWatch" oldname="wxStopWatch" module="_misc">
+ <constructor name="StopWatch" overloaded="no">
+ <autodoc>__init__(self) -> StopWatch</autodoc>
+ </constructor>
+ <method name="Start" type="" overloaded="no">
+ <autodoc>Start(self, long t0=0)</autodoc>
+ <paramlist>
+ <param name="t0" type="long" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Pause" type="" overloaded="no">
+ <autodoc>Pause(self)</autodoc>
+ </method>
+ <method name="Resume" type="" overloaded="no">
+ <autodoc>Resume(self)</autodoc>
+ </method>
+ <method name="Time" type="long" overloaded="no">
+ <autodoc>Time(self) -> long</autodoc>
+ </method>
+ </class>
+ <class name="FileHistory" oldname="wxFileHistory" module="_misc">
+ <baseclass name="Object"/>
+ <constructor name="FileHistory" overloaded="no">
+ <autodoc>__init__(self, int maxFiles=9, int idBase=ID_FILE1) -> FileHistory</autodoc>
+ <paramlist>
+ <param name="maxFiles" type="int" default="9"/>
+ <param name="idBase" type="int" default="wxID_FILE1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxFileHistory" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="AddFileToHistory" type="" overloaded="no">
+ <autodoc>AddFileToHistory(self, String file)</autodoc>
+ <paramlist>
+ <param name="file" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveFileFromHistory" type="" overloaded="no">
+ <autodoc>RemoveFileFromHistory(self, int i)</autodoc>
+ <paramlist>
+ <param name="i" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMaxFiles" type="int" overloaded="no">
+ <autodoc>GetMaxFiles(self) -> int</autodoc>
+ </method>
+ <method name="UseMenu" type="" overloaded="no">
+ <autodoc>UseMenu(self, Menu menu)</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveMenu" type="" overloaded="no">
+ <autodoc>RemoveMenu(self, Menu menu)</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default=""/>
+ </paramlist>
+ </method>
+ <method name="Load" type="" overloaded="no">
+ <autodoc>Load(self, ConfigBase config)</autodoc>
+ <paramlist>
+ <param name="config" type="wxConfigBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="Save" type="" overloaded="no">
+ <autodoc>Save(self, ConfigBase config)</autodoc>
+ <paramlist>
+ <param name="config" type="wxConfigBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddFilesToMenu" type="" overloaded="no">
+ <autodoc>AddFilesToMenu(self)</autodoc>
+ </method>
+ <method name="AddFilesToThisMenu" type="" overloaded="no">
+ <autodoc>AddFilesToThisMenu(self, Menu menu)</autodoc>
+ <paramlist>
+ <param name="menu" type="Menu" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHistoryFile" type="String" overloaded="no">
+ <autodoc>GetHistoryFile(self, int i) -> String</autodoc>
+ <paramlist>
+ <param name="i" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="int" overloaded="no">
+ <autodoc>GetCount(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="_misc">
+ <constructor name="SingleInstanceChecker" overloaded="no">
+ <autodoc>__init__(self, String name, String path=EmptyString) -> SingleInstanceChecker</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreSingleInstanceChecker" overloaded="no">
+ <autodoc>PreSingleInstanceChecker() -> SingleInstanceChecker</autodoc>
+ </constructor>
+ <destructor name="~wxSingleInstanceChecker" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, String name, String path=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="IsAnotherRunning" type="bool" overloaded="no">
+ <autodoc>IsAnotherRunning(self) -> bool</autodoc>
+ </method>
+ </class>
+ <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="" overloaded="no">
+ <autodoc>DrawWindowOnDC(Window window, DC dc, int method)</autodoc>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ <param name="dc" type="DC" default=""/>
+ <param name="method" type="int" default=""/>
+ </paramlist>
+ </method>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="TipProvider" oldname="wxTipProvider" module="_misc">
+ <destructor name="~wxTipProvider" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetTip" type="String" overloaded="no">
+ <autodoc>GetTip(self) -> String</autodoc>
+ </method>
+ <method name="GetCurrentTip" type="size_t" overloaded="no">
+ <autodoc>GetCurrentTip(self) -> size_t</autodoc>
+ </method>
+ <method name="PreprocessTip" type="String" overloaded="no">
+ <autodoc>PreprocessTip(self, String tip) -> String</autodoc>
+ <paramlist>
+ <param name="tip" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyTipProvider" oldname="wxPyTipProvider" module="_misc">
+ <baseclass name="TipProvider"/>
+ <constructor name="PyTipProvider" overloaded="no">
+ <autodoc>__init__(self, size_t currentTip) -> PyTipProvider</autodoc>
+ <paramlist>
+ <param name="currentTip" type="size_t" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <method name="ShowTip" oldname="wxShowTip" type="bool" overloaded="no">
+ <autodoc>ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="tipProvider" type="TipProvider" default=""/>
+ <param name="showAtStartup" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="CreateFileTipProvider" oldname="wxCreateFileTipProvider" type="TipProvider" overloaded="no">
+ <autodoc>CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="currentTip" type="size_t" default=""/>
</paramlist>
</method>
- <method name="GetChildrenCount" type="size_t" overloaded="no">
- <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t</autodoc>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Timer" oldname="wxPyTimer" module="_misc">
+ <baseclass name="EvtHandler"/>
+ <constructor name="wxPyTimer" overloaded="no">
+ <autodoc>__init__(self, EvtHandler owner=None, int id=-1) -> Timer</autodoc>
+ <paramlist>
+ <param name="owner" type="EvtHandler" default="NULL"/>
+ <param name="id" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPyTimer" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=1)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ <param name="incref" type="int" default="1"/>
+ </paramlist>
+ </method>
+ <method name="SetOwner" type="" overloaded="no">
+ <autodoc>SetOwner(self, EvtHandler owner, int id=-1)</autodoc>
+ <paramlist>
+ <param name="owner" type="EvtHandler" default=""/>
+ <param name="id" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="GetOwner" type="EvtHandler" overloaded="no">
+ <autodoc>GetOwner(self) -> EvtHandler</autodoc>
+ </method>
+ <method name="Start" type="bool" overloaded="no">
+ <autodoc>Start(self, int milliseconds=-1, bool oneShot=False) -> bool</autodoc>
+ <paramlist>
+ <param name="milliseconds" type="int" default="-1"/>
+ <param name="oneShot" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="Stop" type="" overloaded="no">
+ <autodoc>Stop(self)</autodoc>
+ </method>
+ <method name="IsRunning" type="bool" overloaded="no">
+ <autodoc>IsRunning(self) -> bool</autodoc>
+ </method>
+ <method name="GetInterval" type="int" overloaded="no">
+ <autodoc>GetInterval(self) -> int</autodoc>
+ </method>
+ <method name="IsOneShot" type="bool" overloaded="no">
+ <autodoc>IsOneShot(self) -> bool</autodoc>
+ </method>
+ <method name="GetId" type="int" overloaded="no">
+ <autodoc>GetId(self) -> int</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+# For backwards compatibility with 2.4
+class PyTimer(Timer):
+ def __init__(self, notify):
+ Timer.__init__(self)
+ self.notify = notify
+
+ def Notify(self):
+ if self.notify:
+ self.notify()
+
+
+EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
+
+</pythoncode>
+ <class name="TimerEvent" oldname="wxTimerEvent" module="_misc">
+ <baseclass name="Event"/>
+ <constructor name="TimerEvent" overloaded="no">
+ <autodoc>__init__(self, int timerid=0, int interval=0) -> TimerEvent</autodoc>
+ <paramlist>
+ <param name="timerid" type="int" default="0"/>
+ <param name="interval" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetInterval" type="int" overloaded="no">
+ <autodoc>GetInterval(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="TimerRunner" oldname="wxTimerRunner" module="_misc">
+ <constructor name="TimerRunner" overloaded="yes">
+ <paramlist>
+ <param name="timer" type="wxTimer" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="TimerRunner" overloaded="yes">
+ <autodoc>__init__(self, wxTimer timer) -> TimerRunner
+__init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner</autodoc>
+ <paramlist>
+ <param name="timer" type="wxTimer" default=""/>
+ <param name="milli" type="int" default=""/>
+ <param name="oneShot" type="bool" default="False"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxTimerRunner" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Start" type="" overloaded="no">
+ <autodoc>Start(self, int milli, bool oneShot=False)</autodoc>
+ <paramlist>
+ <param name="milli" type="int" default=""/>
+ <param name="oneShot" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Log" oldname="wxLog" module="_misc">
+ <constructor name="Log" overloaded="no">
+ <autodoc>__init__(self) -> Log</autodoc>
+ </constructor>
+ <staticmethod name="IsEnabled" type="bool" overloaded="no">
+ <autodoc>IsEnabled() -> bool</autodoc>
+ </staticmethod>
+ <staticmethod name="EnableLogging" type="bool" overloaded="no">
+ <autodoc>EnableLogging(bool doIt=True) -> bool</autodoc>
+ <paramlist>
+ <param name="doIt" type="bool" default="True"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="OnLog" type="" overloaded="no">
+ <autodoc>OnLog(wxLogLevel level, wxChar szString, time_t t)</autodoc>
+ <paramlist>
+ <param name="level" type="wxLogLevel" default=""/>
+ <param name="szString" type="wxChar" default=""/>
+ <param name="t" type="time_t" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="Flush" type="" overloaded="no">
+ <autodoc>Flush(self)</autodoc>
+ </method>
+ <staticmethod name="FlushActive" type="" overloaded="no">
+ <autodoc>FlushActive()</autodoc>
+ </staticmethod>
+ <staticmethod name="GetActiveTarget" type="Log" overloaded="no">
+ <autodoc>GetActiveTarget() -> Log</autodoc>
+ </staticmethod>
+ <staticmethod name="SetActiveTarget" type="Log" overloaded="no">
+ <autodoc>SetActiveTarget(Log pLogger) -> Log</autodoc>
+ <paramlist>
+ <param name="pLogger" type="Log" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Suspend" type="" overloaded="no">
+ <autodoc>Suspend()</autodoc>
+ </staticmethod>
+ <staticmethod name="Resume" type="" overloaded="no">
+ <autodoc>Resume()</autodoc>
+ </staticmethod>
+ <staticmethod name="SetVerbose" type="" overloaded="no">
+ <autodoc>SetVerbose(bool bVerbose=True)</autodoc>
+ <paramlist>
+ <param name="bVerbose" type="bool" default="True"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="SetLogLevel" type="" overloaded="no">
+ <autodoc>SetLogLevel(wxLogLevel logLevel)</autodoc>
+ <paramlist>
+ <param name="logLevel" type="wxLogLevel" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="DontCreateOnDemand" type="" overloaded="no">
+ <autodoc>DontCreateOnDemand()</autodoc>
+ </staticmethod>
+ <staticmethod name="SetTraceMask" type="" overloaded="no">
+ <autodoc>SetTraceMask(wxTraceMask ulMask)</autodoc>
+ <paramlist>
+ <param name="ulMask" type="wxTraceMask" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="AddTraceMask" type="" overloaded="no">
+ <autodoc>AddTraceMask(String str)</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="RemoveTraceMask" type="" overloaded="no">
+ <autodoc>RemoveTraceMask(String str)</autodoc>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="ClearTraceMasks" type="" overloaded="no">
+ <autodoc>ClearTraceMasks()</autodoc>
+ </staticmethod>
+ <staticmethod name="GetTraceMasks" type="wxArrayString" overloaded="no">
+ <autodoc>GetTraceMasks() -> wxArrayString</autodoc>
+ </staticmethod>
+ <staticmethod name="SetTimestamp" type="" overloaded="no">
+ <autodoc>SetTimestamp(wxChar ts)</autodoc>
+ <paramlist>
+ <param name="ts" type="wxChar" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetVerbose" type="bool" overloaded="no">
+ <autodoc>GetVerbose() -> bool</autodoc>
+ </staticmethod>
+ <staticmethod name="GetTraceMask" type="wxTraceMask" overloaded="no">
+ <autodoc>GetTraceMask() -> wxTraceMask</autodoc>
+ </staticmethod>
+ <staticmethod name="IsAllowedTraceMask" type="bool" overloaded="no">
+ <autodoc>IsAllowedTraceMask(wxChar mask) -> bool</autodoc>
+ <paramlist>
+ <param name="mask" type="wxChar" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetLogLevel" type="wxLogLevel" overloaded="no">
+ <autodoc>GetLogLevel() -> wxLogLevel</autodoc>
+ </staticmethod>
+ <staticmethod name="GetTimestamp" type="wxChar" overloaded="no">
+ <autodoc>GetTimestamp() -> wxChar</autodoc>
+ </staticmethod>
+ <staticmethod name="TimeStamp" type="String" overloaded="no">
+ <autodoc>TimeStamp() -> String</autodoc>
+ </staticmethod>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ </method>
+ </class>
+ <class name="LogStderr" oldname="wxLogStderr" module="_misc">
+ <baseclass name="Log"/>
+ <constructor name="LogStderr" overloaded="no">
+ <autodoc>__init__(self) -> LogStderr</autodoc>
+ </constructor>
+ </class>
+ <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="_misc">
+ <baseclass name="Log"/>
+ <constructor name="LogTextCtrl" overloaded="no">
+ <autodoc>__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl</autodoc>
+ <paramlist>
+ <param name="pTextCtrl" type="TextCtrl" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="LogGui" oldname="wxLogGui" module="_misc">
+ <baseclass name="Log"/>
+ <constructor name="LogGui" overloaded="no">
+ <autodoc>__init__(self) -> LogGui</autodoc>
+ </constructor>
+ </class>
+ <class name="LogWindow" oldname="wxLogWindow" module="_misc">
+ <baseclass name="Log"/>
+ <constructor name="LogWindow" overloaded="no">
+ <autodoc>__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow</autodoc>
+ <paramlist>
+ <param name="pParent" type="Frame" default=""/>
+ <param name="szTitle" type="String" default=""/>
+ <param name="bShow" type="bool" default="True"/>
+ <param name="bPassToOld" type="bool" default="True"/>
+ </paramlist>
+ </constructor>
+ <method name="Show" type="" overloaded="no">
+ <autodoc>Show(self, bool bShow=True)</autodoc>
+ <paramlist>
+ <param name="bShow" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetFrame" type="Frame" overloaded="no">
+ <autodoc>GetFrame(self) -> wxFrame</autodoc>
+ </method>
+ <method name="GetOldLog" type="Log" overloaded="no">
+ <autodoc>GetOldLog(self) -> Log</autodoc>
+ </method>
+ <method name="IsPassingMessages" type="bool" overloaded="no">
+ <autodoc>IsPassingMessages(self) -> bool</autodoc>
+ </method>
+ <method name="PassMessages" type="" overloaded="no">
+ <autodoc>PassMessages(self, bool bDoPass)</autodoc>
+ <paramlist>
+ <param name="bDoPass" type="bool" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="LogChain" oldname="wxLogChain" module="_misc">
+ <baseclass name="Log"/>
+ <constructor name="LogChain" overloaded="no">
+ <autodoc>__init__(self, Log logger) -> LogChain</autodoc>
+ <paramlist>
+ <param name="logger" type="Log" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="SetLog" type="" overloaded="no">
+ <autodoc>SetLog(self, Log logger)</autodoc>
+ <paramlist>
+ <param name="logger" type="Log" default=""/>
+ </paramlist>
+ </method>
+ <method name="PassMessages" type="" overloaded="no">
+ <autodoc>PassMessages(self, bool bDoPass)</autodoc>
+ <paramlist>
+ <param name="bDoPass" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsPassingMessages" type="bool" overloaded="no">
+ <autodoc>IsPassingMessages(self) -> bool</autodoc>
+ </method>
+ <method name="GetOldLog" type="Log" overloaded="no">
+ <autodoc>GetOldLog(self) -> Log</autodoc>
+ </method>
+ </class>
+ <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no">
+ <autodoc>SysErrorCode() -> unsigned long</autodoc>
+ </method>
+ <method name="SysErrorMsg" oldname="wxSysErrorMsg" type="String" overloaded="no">
+ <autodoc>SysErrorMsg(unsigned long nErrCode=0) -> String</autodoc>
+ <paramlist>
+ <param name="nErrCode" type="unsigned long" default="0"/>
+ </paramlist>
+ </method>
+ <method name="LogFatalError" oldname="wxLogFatalError" type="" overloaded="no">
+ <autodoc>LogFatalError(String msg)</autodoc>
+ <paramlist>
+ <param name="msg" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogError" oldname="wxLogError" type="" overloaded="no">
+ <autodoc>LogError(String msg)</autodoc>
+ <paramlist>
+ <param name="msg" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogWarning" oldname="wxLogWarning" type="" overloaded="no">
+ <autodoc>LogWarning(String msg)</autodoc>
+ <paramlist>
+ <param name="msg" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogMessage" oldname="wxLogMessage" type="" overloaded="no">
+ <autodoc>LogMessage(String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="recursively" type="bool" default="True"/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetRootItem" type="wxTreeItemId" overloaded="no">
- <autodoc>GetRootItem() -> TreeItemId</autodoc>
- </method>
- <method name="GetSelection" type="wxTreeItemId" overloaded="no">
- <autodoc>GetSelection() -> TreeItemId</autodoc>
- </method>
- <method name="GetSelections" type="PyObject" overloaded="no">
- <autodoc>GetSelections() -> PyObject</autodoc>
- </method>
- <method name="GetItemParent" type="wxTreeItemId" overloaded="no">
- <autodoc>GetItemParent(TreeItemId item) -> TreeItemId</autodoc>
+ <method name="LogInfo" oldname="wxLogInfo" type="" overloaded="no">
+ <autodoc>LogInfo(String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetFirstChild" type="PyObject" overloaded="no">
- <autodoc>GetFirstChild(TreeItemId item) -> PyObject</autodoc>
+ <method name="LogDebug" oldname="wxLogDebug" type="" overloaded="no">
+ <autodoc>LogDebug(String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetNextChild" type="PyObject" overloaded="no">
- <autodoc>GetNextChild(TreeItemId item, long cookie) -> PyObject</autodoc>
+ <method name="LogVerbose" oldname="wxLogVerbose" type="" overloaded="no">
+ <autodoc>LogVerbose(String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="cookie" type="long" default=""/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetLastChild" type="wxTreeItemId" overloaded="no">
- <autodoc>GetLastChild(TreeItemId item) -> TreeItemId</autodoc>
+ <method name="LogStatus" oldname="wxLogStatus" type="" overloaded="no">
+ <autodoc>LogStatus(String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetNextSibling" type="wxTreeItemId" overloaded="no">
- <autodoc>GetNextSibling(TreeItemId item) -> TreeItemId</autodoc>
+ <method name="LogStatusFrame" oldname="wxLogStatus" type="" overloaded="no">
+ <autodoc>LogStatusFrame(wxFrame pFrame, String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="pFrame" type="Frame" default=""/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetPrevSibling" type="wxTreeItemId" overloaded="no">
- <autodoc>GetPrevSibling(TreeItemId item) -> TreeItemId</autodoc>
+ <method name="LogSysError" oldname="wxLogSysError" type="" overloaded="no">
+ <autodoc>LogSysError(String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetFirstVisibleItem" type="wxTreeItemId" overloaded="no">
- <autodoc>GetFirstVisibleItem() -> TreeItemId</autodoc>
- </method>
- <method name="GetNextVisible" type="wxTreeItemId" overloaded="no">
- <autodoc>GetNextVisible(TreeItemId item) -> TreeItemId</autodoc>
+ <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes">
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="mask" type="unsigned long" default=""/>
+ <param name="msg" type="String" default=""/>
</paramlist>
</method>
- <method name="GetPrevVisible" type="wxTreeItemId" overloaded="no">
- <autodoc>GetPrevVisible(TreeItemId item) -> TreeItemId</autodoc>
+ <method name="LogTrace" oldname="wxLogTrace" type="" overloaded="yes">
+ <autodoc>LogTrace(unsigned long mask, String msg)
+LogTrace(String mask, String msg)</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetNext" type="wxTreeItemId" overloaded="no">
- <autodoc>GetNext(TreeItemId item) -> TreeItemId</autodoc>
+ <param name="mask" type="String" default=""/>
+ <param name="msg" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogGeneric" oldname="wxLogGeneric" type="" overloaded="no">
+ <autodoc>LogGeneric(unsigned long level, String msg)</autodoc>
+ <paramlist>
+ <param name="level" type="unsigned long" default=""/>
+ <param name="msg" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SafeShowMessage" oldname="wxSafeShowMessage" type="" overloaded="no">
+ <autodoc>SafeShowMessage(String title, String text)</autodoc>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <class name="LogNull" oldname="wxLogNull" module="_misc">
+ <constructor name="LogNull" overloaded="no">
+ <autodoc>__init__(self) -> LogNull</autodoc>
+ </constructor>
+ <destructor name="~wxLogNull" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <class name="PyLog" oldname="wxPyLog" module="_misc">
+ <baseclass name="Log"/>
+ <constructor name="PyLog" overloaded="no">
+ <autodoc>__init__(self) -> PyLog</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Process" oldname="wxPyProcess" module="_misc">
+ <baseclass name="EvtHandler"/>
+ <constructor name="wxPyProcess" overloaded="no">
+ <autodoc>__init__(self, EvtHandler parent=None, int id=-1) -> Process</autodoc>
+ <paramlist>
+ <param name="parent" type="EvtHandler" default="NULL"/>
+ <param name="id" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <staticmethod name="Kill" type="wxKillError" overloaded="no">
+ <autodoc>Kill(int pid, int sig=SIGTERM) -> int</autodoc>
+ <paramlist>
+ <param name="pid" type="int" default=""/>
+ <param name="sig" type="wxSignal" default="wxSIGTERM"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Exists" type="bool" overloaded="no">
+ <autodoc>Exists(int pid) -> bool</autodoc>
+ <paramlist>
+ <param name="pid" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Open" type="Process" overloaded="no">
+ <autodoc>Open(String cmd, int flags=EXEC_ASYNC) -> Process</autodoc>
+ <paramlist>
+ <param name="cmd" type="String" default=""/>
+ <param name="flags" type="int" default="wxEXEC_ASYNC"/>
+ </paramlist>
+ </staticmethod>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnTerminate" type="" overloaded="no">
+ <autodoc>base_OnTerminate(self, int pid, int status)</autodoc>
+ <paramlist>
+ <param name="pid" type="int" default=""/>
+ <param name="status" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Redirect" type="" overloaded="no">
+ <autodoc>Redirect(self)</autodoc>
+ </method>
+ <method name="IsRedirected" type="bool" overloaded="no">
+ <autodoc>IsRedirected(self) -> bool</autodoc>
+ </method>
+ <method name="Detach" type="" overloaded="no">
+ <autodoc>Detach(self)</autodoc>
+ </method>
+ <method name="GetInputStream" type="wxInputStream" overloaded="no">
+ <autodoc>GetInputStream(self) -> InputStream</autodoc>
+ </method>
+ <method name="GetErrorStream" type="wxInputStream" overloaded="no">
+ <autodoc>GetErrorStream(self) -> InputStream</autodoc>
+ </method>
+ <method name="GetOutputStream" type="OutputStream" overloaded="no">
+ <autodoc>GetOutputStream(self) -> OutputStream</autodoc>
+ </method>
+ <method name="CloseOutput" type="" overloaded="no">
+ <autodoc>CloseOutput(self)</autodoc>
+ </method>
+ <method name="IsInputOpened" type="bool" overloaded="no">
+ <autodoc>IsInputOpened(self) -> bool</autodoc>
+ </method>
+ <method name="IsInputAvailable" type="bool" overloaded="no">
+ <autodoc>IsInputAvailable(self) -> bool</autodoc>
+ </method>
+ <method name="IsErrorAvailable" type="bool" overloaded="no">
+ <autodoc>IsErrorAvailable(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="ProcessEvent" oldname="wxProcessEvent" module="_misc">
+ <baseclass name="Event"/>
+ <constructor name="ProcessEvent" overloaded="no">
+ <autodoc>__init__(self, int id=0, int pid=0, int exitcode=0) -> ProcessEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ <param name="pid" type="int" default="0"/>
+ <param name="exitcode" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="GetPid" type="int" overloaded="no">
+ <autodoc>GetPid(self) -> int</autodoc>
+ </method>
+ <method name="GetExitCode" type="int" overloaded="no">
+ <autodoc>GetExitCode(self) -> int</autodoc>
+ </method>
+ <property name="m_pid" type="int" readonly="no"/>
+ <property name="m_exitcode" type="int" readonly="no"/>
+ </class>
+ <pythoncode>
+EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )
+</pythoncode>
+ <method name="Execute" oldname="wxExecute" type="long" overloaded="no">
+ <autodoc>Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long</autodoc>
<paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
+ <param name="command" type="String" default=""/>
+ <param name="flags" type="int" default="wxEXEC_ASYNC"/>
+ <param name="process" type="Process" default="NULL"/>
</paramlist>
</method>
- <method name="AddRoot" type="wxTreeItemId" overloaded="no">
- <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Joystick" oldname="wxJoystick" module="_misc">
+ <constructor name="Joystick" overloaded="no">
+ <autodoc>__init__(self, int joystick=JOYSTICK1) -> Joystick</autodoc>
+ <paramlist>
+ <param name="joystick" type="int" default="wxJOYSTICK1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxJoystick" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="GetZPosition" type="int" overloaded="no">
+ <autodoc>GetZPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetButtonState" type="int" overloaded="no">
+ <autodoc>GetButtonState(self) -> int</autodoc>
+ </method>
+ <method name="GetPOVPosition" type="int" overloaded="no">
+ <autodoc>GetPOVPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetPOVCTSPosition" type="int" overloaded="no">
+ <autodoc>GetPOVCTSPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetRudderPosition" type="int" overloaded="no">
+ <autodoc>GetRudderPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetUPosition" type="int" overloaded="no">
+ <autodoc>GetUPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetVPosition" type="int" overloaded="no">
+ <autodoc>GetVPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetMovementThreshold" type="int" overloaded="no">
+ <autodoc>GetMovementThreshold(self) -> int</autodoc>
+ </method>
+ <method name="SetMovementThreshold" type="" overloaded="no">
+ <autodoc>SetMovementThreshold(self, int threshold)</autodoc>
+ <paramlist>
+ <param name="threshold" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="GetNumberJoysticks" type="int" overloaded="no">
+ <autodoc>GetNumberJoysticks(self) -> int</autodoc>
+ </method>
+ <method name="GetManufacturerId" type="int" overloaded="no">
+ <autodoc>GetManufacturerId(self) -> int</autodoc>
+ </method>
+ <method name="GetProductId" type="int" overloaded="no">
+ <autodoc>GetProductId(self) -> int</autodoc>
+ </method>
+ <method name="GetProductName" type="String" overloaded="no">
+ <autodoc>GetProductName(self) -> String</autodoc>
+ </method>
+ <method name="GetXMin" type="int" overloaded="no">
+ <autodoc>GetXMin(self) -> int</autodoc>
+ </method>
+ <method name="GetYMin" type="int" overloaded="no">
+ <autodoc>GetYMin(self) -> int</autodoc>
+ </method>
+ <method name="GetZMin" type="int" overloaded="no">
+ <autodoc>GetZMin(self) -> int</autodoc>
+ </method>
+ <method name="GetXMax" type="int" overloaded="no">
+ <autodoc>GetXMax(self) -> int</autodoc>
+ </method>
+ <method name="GetYMax" type="int" overloaded="no">
+ <autodoc>GetYMax(self) -> int</autodoc>
+ </method>
+ <method name="GetZMax" type="int" overloaded="no">
+ <autodoc>GetZMax(self) -> int</autodoc>
+ </method>
+ <method name="GetNumberButtons" type="int" overloaded="no">
+ <autodoc>GetNumberButtons(self) -> int</autodoc>
+ </method>
+ <method name="GetNumberAxes" type="int" overloaded="no">
+ <autodoc>GetNumberAxes(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxButtons" type="int" overloaded="no">
+ <autodoc>GetMaxButtons(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxAxes" type="int" overloaded="no">
+ <autodoc>GetMaxAxes(self) -> int</autodoc>
+ </method>
+ <method name="GetPollingMin" type="int" overloaded="no">
+ <autodoc>GetPollingMin(self) -> int</autodoc>
+ </method>
+ <method name="GetPollingMax" type="int" overloaded="no">
+ <autodoc>GetPollingMax(self) -> int</autodoc>
+ </method>
+ <method name="GetRudderMin" type="int" overloaded="no">
+ <autodoc>GetRudderMin(self) -> int</autodoc>
+ </method>
+ <method name="GetRudderMax" type="int" overloaded="no">
+ <autodoc>GetRudderMax(self) -> int</autodoc>
+ </method>
+ <method name="GetUMin" type="int" overloaded="no">
+ <autodoc>GetUMin(self) -> int</autodoc>
+ </method>
+ <method name="GetUMax" type="int" overloaded="no">
+ <autodoc>GetUMax(self) -> int</autodoc>
+ </method>
+ <method name="GetVMin" type="int" overloaded="no">
+ <autodoc>GetVMin(self) -> int</autodoc>
+ </method>
+ <method name="GetVMax" type="int" overloaded="no">
+ <autodoc>GetVMax(self) -> int</autodoc>
+ </method>
+ <method name="HasRudder" type="bool" overloaded="no">
+ <autodoc>HasRudder(self) -> bool</autodoc>
+ </method>
+ <method name="HasZ" type="bool" overloaded="no">
+ <autodoc>HasZ(self) -> bool</autodoc>
+ </method>
+ <method name="HasU" type="bool" overloaded="no">
+ <autodoc>HasU(self) -> bool</autodoc>
+ </method>
+ <method name="HasV" type="bool" overloaded="no">
+ <autodoc>HasV(self) -> bool</autodoc>
+ </method>
+ <method name="HasPOV" type="bool" overloaded="no">
+ <autodoc>HasPOV(self) -> bool</autodoc>
+ </method>
+ <method name="HasPOV4Dir" type="bool" overloaded="no">
+ <autodoc>HasPOV4Dir(self) -> bool</autodoc>
+ </method>
+ <method name="HasPOVCTS" type="bool" overloaded="no">
+ <autodoc>HasPOVCTS(self) -> bool</autodoc>
+ </method>
+ <method name="SetCapture" type="bool" overloaded="no">
+ <autodoc>SetCapture(self, Window win, int pollingFreq=0) -> bool</autodoc>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ <param name="pollingFreq" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="ReleaseCapture" type="bool" overloaded="no">
+ <autodoc>ReleaseCapture(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="JoystickEvent" oldname="wxJoystickEvent" module="_misc">
+ <baseclass name="Event"/>
+ <constructor name="JoystickEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
+ int change=0) -> JoystickEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="state" type="int" default="0"/>
+ <param name="joystick" type="int" default="wxJOYSTICK1"/>
+ <param name="change" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <property name="m_pos" type="Point" readonly="no"/>
+ <property name="m_zPosition" type="int" readonly="no"/>
+ <property name="m_buttonChange" type="int" readonly="no"/>
+ <property name="m_buttonState" type="int" readonly="no"/>
+ <property name="m_joyStick" type="int" readonly="no"/>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="GetZPosition" type="int" overloaded="no">
+ <autodoc>GetZPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetButtonState" type="int" overloaded="no">
+ <autodoc>GetButtonState(self) -> int</autodoc>
+ </method>
+ <method name="GetButtonChange" type="int" overloaded="no">
+ <autodoc>GetButtonChange(self) -> int</autodoc>
+ </method>
+ <method name="GetJoystick" type="int" overloaded="no">
+ <autodoc>GetJoystick(self) -> int</autodoc>
+ </method>
+ <method name="SetJoystick" type="" overloaded="no">
+ <autodoc>SetJoystick(self, int stick)</autodoc>
+ <paramlist>
+ <param name="stick" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetButtonState" type="" overloaded="no">
+ <autodoc>SetButtonState(self, int state)</autodoc>
+ <paramlist>
+ <param name="state" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetButtonChange" type="" overloaded="no">
+ <autodoc>SetButtonChange(self, int change)</autodoc>
+ <paramlist>
+ <param name="change" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, Point pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetZPosition" type="" overloaded="no">
+ <autodoc>SetZPosition(self, int zPos)</autodoc>
+ <paramlist>
+ <param name="zPos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsButton" type="bool" overloaded="no">
+ <autodoc>IsButton(self) -> bool</autodoc>
+ </method>
+ <method name="IsMove" type="bool" overloaded="no">
+ <autodoc>IsMove(self) -> bool</autodoc>
+ </method>
+ <method name="IsZMove" type="bool" overloaded="no">
+ <autodoc>IsZMove(self) -> bool</autodoc>
+ </method>
+ <method name="ButtonDown" type="bool" overloaded="no">
+ <autodoc>ButtonDown(self, int but=JOY_BUTTON_ANY) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
+ </paramlist>
+ </method>
+ <method name="ButtonUp" type="bool" overloaded="no">
+ <autodoc>ButtonUp(self, int but=JOY_BUTTON_ANY) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
+ </paramlist>
+ </method>
+ <method name="ButtonIsDown" type="bool" overloaded="no">
+ <autodoc>ButtonIsDown(self, int but=JOY_BUTTON_ANY) -> bool</autodoc>
+ <paramlist>
+ <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN )
+EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP )
+EVT_JOY_MOVE = wx.PyEventBinder( wxEVT_JOY_MOVE )
+EVT_JOY_ZMOVE = wx.PyEventBinder( wxEVT_JOY_ZMOVE )
+
+EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
+ wxEVT_JOY_BUTTON_UP,
+ wxEVT_JOY_MOVE,
+ wxEVT_JOY_ZMOVE,
+ ])
+
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Sound" oldname="wxSound" module="_misc">
+ <constructor name="Sound" overloaded="no">
+ <autodoc>__init__(self, String fileName=EmptyString) -> Sound</autodoc>
+ <paramlist>
+ <param name="fileName" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <constructor name="SoundFromData" overloaded="no">
+ <autodoc>SoundFromData(PyObject data) -> Sound</autodoc>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxSound" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, String fileName) -> bool</autodoc>
+ <paramlist>
+ <param name="fileName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateFromData" type="bool" overloaded="no">
+ <autodoc>CreateFromData(self, PyObject data) -> bool</autodoc>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="Play" type="bool" overloaded="no">
+ <autodoc>Play(self, unsigned int flags=SOUND_ASYNC) -> bool</autodoc>
+ <paramlist>
+ <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/>
+ </paramlist>
+ </method>
+ <staticmethod name="PlaySound" type="bool" overloaded="no">
+ <autodoc>PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Stop" type="" overloaded="no">
+ <autodoc>Stop()</autodoc>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="_misc">
+ <constructor name="FileTypeInfo" overloaded="no">
+ <autodoc>__init__(self, String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo</autodoc>
+ <paramlist>
+ <param name="mimeType" type="String" default=""/>
+ <param name="openCmd" type="String" default=""/>
+ <param name="printCmd" type="String" default=""/>
+ <param name="desc" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="FileTypeInfoSequence" overloaded="no">
+ <autodoc>FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo</autodoc>
+ <paramlist>
+ <param name="sArray" type="wxArrayString" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="NullFileTypeInfo" overloaded="no">
+ <autodoc>NullFileTypeInfo() -> FileTypeInfo</autodoc>
+ </constructor>
+ <method name="IsValid" type="bool" overloaded="no">
+ <autodoc>IsValid(self) -> bool</autodoc>
+ </method>
+ <method name="SetIcon" type="" overloaded="no">
+ <autodoc>SetIcon(self, String iconFile, int iconIndex=0)</autodoc>
+ <paramlist>
+ <param name="iconFile" type="String" default=""/>
+ <param name="iconIndex" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetShortDesc" type="" overloaded="no">
+ <autodoc>SetShortDesc(self, String shortDesc)</autodoc>
+ <paramlist>
+ <param name="shortDesc" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMimeType" type="String" overloaded="no">
+ <autodoc>GetMimeType(self) -> String</autodoc>
+ </method>
+ <method name="GetOpenCommand" type="String" overloaded="no">
+ <autodoc>GetOpenCommand(self) -> String</autodoc>
+ </method>
+ <method name="GetPrintCommand" type="String" overloaded="no">
+ <autodoc>GetPrintCommand(self) -> String</autodoc>
+ </method>
+ <method name="GetShortDesc" type="String" overloaded="no">
+ <autodoc>GetShortDesc(self) -> String</autodoc>
+ </method>
+ <method name="GetDescription" type="String" overloaded="no">
+ <autodoc>GetDescription(self) -> String</autodoc>
+ </method>
+ <method name="GetExtensions" type="wxArrayString" overloaded="no">
+ <autodoc>GetExtensions(self) -> wxArrayString</autodoc>
+ </method>
+ <method name="GetExtensionsCount" type="int" overloaded="no">
+ <autodoc>GetExtensionsCount(self) -> int</autodoc>
+ </method>
+ <method name="GetIconFile" type="String" overloaded="no">
+ <autodoc>GetIconFile(self) -> String</autodoc>
+ </method>
+ <method name="GetIconIndex" type="int" overloaded="no">
+ <autodoc>GetIconIndex(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="FileType" oldname="wxFileType" module="_misc">
+ <constructor name="FileType" overloaded="no">
+ <autodoc>__init__(self, FileTypeInfo ftInfo) -> FileType</autodoc>
+ <paramlist>
+ <param name="ftInfo" type="FileTypeInfo" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxFileType" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetMimeType" type="PyObject" overloaded="no">
+ <autodoc>GetMimeType(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetMimeTypes" type="PyObject" overloaded="no">
+ <autodoc>GetMimeTypes(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetExtensions" type="PyObject" overloaded="no">
+ <autodoc>GetExtensions(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetIcon" type="Icon" overloaded="no">
+ <autodoc>GetIcon(self) -> Icon</autodoc>
+ </method>
+ <method name="GetIconInfo" type="PyObject" overloaded="no">
+ <autodoc>GetIconInfo(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetDescription" type="PyObject" overloaded="no">
+ <autodoc>GetDescription(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetOpenCommand" type="PyObject" overloaded="no">
+ <autodoc>GetOpenCommand(self, String filename, String mimetype=EmptyString) -> PyObject</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="mimetype" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="GetPrintCommand" type="PyObject" overloaded="no">
+ <autodoc>GetPrintCommand(self, String filename, String mimetype=EmptyString) -> PyObject</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="mimetype" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="GetAllCommands" type="PyObject" overloaded="no">
+ <autodoc>GetAllCommands(self, String filename, String mimetype=EmptyString) -> PyObject</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="mimetype" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="SetCommand" type="bool" overloaded="no">
+ <autodoc>SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -> bool</autodoc>
+ <paramlist>
+ <param name="cmd" type="String" default=""/>
+ <param name="verb" type="String" default=""/>
+ <param name="overwriteprompt" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultIcon" type="bool" overloaded="no">
+ <autodoc>SetDefaultIcon(self, String cmd=EmptyString, int index=0) -> bool</autodoc>
+ <paramlist>
+ <param name="cmd" type="String" default="wxPyEmptyString"/>
+ <param name="index" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Unassociate" type="bool" overloaded="no">
+ <autodoc>Unassociate(self) -> bool</autodoc>
+ </method>
+ <staticmethod name="ExpandCommand" type="String" overloaded="no">
+ <autodoc>ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String</autodoc>
+ <paramlist>
+ <param name="command" type="String" default=""/>
+ <param name="filename" type="String" default=""/>
+ <param name="mimetype" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="_misc">
+ <constructor name="MimeTypesManager" overloaded="no">
+ <autodoc>__init__(self) -> MimeTypesManager</autodoc>
+ </constructor>
+ <destructor name="~wxMimeTypesManager" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="IsOfType" type="bool" overloaded="no">
+ <autodoc>IsOfType(String mimeType, String wildcard) -> bool</autodoc>
+ <paramlist>
+ <param name="mimeType" type="String" default=""/>
+ <param name="wildcard" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="Initialize" type="" overloaded="no">
+ <autodoc>Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc>
+ <paramlist>
+ <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/>
+ <param name="extraDir" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="ClearData" type="" overloaded="no">
+ <autodoc>ClearData(self)</autodoc>
+ </method>
+ <method name="GetFileTypeFromExtension" type="FileType" overloaded="no">
+ <autodoc>GetFileTypeFromExtension(self, String ext) -> FileType</autodoc>
+ <paramlist>
+ <param name="ext" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFileTypeFromMimeType" type="FileType" overloaded="no">
+ <autodoc>GetFileTypeFromMimeType(self, String mimeType) -> FileType</autodoc>
+ <paramlist>
+ <param name="mimeType" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ReadMailcap" type="bool" overloaded="no">
+ <autodoc>ReadMailcap(self, String filename, bool fallback=False) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="fallback" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="ReadMimeTypes" type="bool" overloaded="no">
+ <autodoc>ReadMimeTypes(self, String filename) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnumAllFileTypes" type="PyObject" overloaded="no">
+ <autodoc>EnumAllFileTypes(self) -> PyObject</autodoc>
+ </method>
+ <method name="AddFallback" type="" overloaded="no">
+ <autodoc>AddFallback(self, FileTypeInfo ft)</autodoc>
+ <paramlist>
+ <param name="ft" type="FileTypeInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="Associate" type="FileType" overloaded="no">
+ <autodoc>Associate(self, FileTypeInfo ftInfo) -> FileType</autodoc>
+ <paramlist>
+ <param name="ftInfo" type="FileTypeInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="Unassociate" type="bool" overloaded="no">
+ <autodoc>Unassociate(self, FileType ft) -> bool</autodoc>
+ <paramlist>
+ <param name="ft" type="FileType" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ArtProvider" oldname="wxPyArtProvider" module="_misc">
+ <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets
+application. When wxWidgets needs to display an icon or a bitmap (e.g.
+in the standard file dialog), it does not use hard-coded resource but
+asks wx.ArtProvider for it instead. This way the users can plug in
+their own wx.ArtProvider class and easily replace standard art with
+his/her own version. It is easy thing to do: all that is needed is
+to derive a class from wx.ArtProvider, override it's CreateBitmap
+method and register the provider with wx.ArtProvider.PushProvider::
+
+ class MyArtProvider(wx.ArtProvider):
+ def __init__(self):
+ wx.ArtProvider.__init__(self)
+
+ def CreateBitmap(self, artid, client, size):
+ ...
+ return bmp
+
+
+Identifying art resources
+-------------------------
+
+Every bitmap is known to wx.ArtProvider under an unique ID that is
+used when requesting a resource from it. The IDs can have one of the
+following predefined values. Additionally, any string recognized by
+custom art providers registered using `PushProvider` may be used.
+
+GTK+ Note
+---------
+
+When running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be used
+as well. Additionally, if wxGTK was compiled against GTK+ >= 2.4, then it is
+also possible to load icons from current icon theme by specifying their name
+without the extension and directory components. Icon themes recognized by GTK+
+follow the freedesktop.org Icon Themes specification. Note that themes are
+not guaranteed to contain all icons, so wx.ArtProvider may return wx.NullBitmap
+or wx.NullIcon. The default theme is typically installed in /usr/share/icons/hicolor.
+
+
+ * wx.ART_ADD_BOOKMARK
+ * wx.ART_DEL_BOOKMARK
+ * wx.ART_HELP_SIDE_PANEL
+ * wx.ART_HELP_SETTINGS
+ * wx.ART_HELP_BOOK
+ * wx.ART_HELP_FOLDER
+ * wx.ART_HELP_PAGE
+ * wx.ART_GO_BACK
+ * wx.ART_GO_FORWARD
+ * wx.ART_GO_UP
+ * wx.ART_GO_DOWN
+ * wx.ART_GO_TO_PARENT
+ * wx.ART_GO_HOME
+ * wx.ART_FILE_OPEN
+ * wx.ART_PRINT
+ * wx.ART_HELP
+ * wx.ART_TIP
+ * wx.ART_REPORT_VIEW
+ * wx.ART_LIST_VIEW
+ * wx.ART_NEW_DIR
+ * wx.ART_FOLDER
+ * wx.ART_GO_DIR_UP
+ * wx.ART_EXECUTABLE_FILE
+ * wx.ART_NORMAL_FILE
+ * wx.ART_TICK_MARK
+ * wx.ART_CROSS_MARK
+ * wx.ART_ERROR
+ * wx.ART_QUESTION
+ * wx.ART_WARNING
+ * wx.ART_INFORMATION
+ * wx.ART_MISSING_IMAGE
+
+
+Clients
+-------
+
+The Client is the entity that calls wx.ArtProvider's `GetBitmap` or
+`GetIcon` function. Client IDs serve as a hint to wx.ArtProvider
+that is supposed to help it to choose the best looking bitmap. For
+example it is often desirable to use slightly different icons in menus
+and toolbars even though they represent the same action (e.g.
+wx.ART_FILE_OPEN). Remember that this is really only a hint for
+wx.ArtProvider -- it is common that `wx.ArtProvider.GetBitmap` returns
+identical bitmap for different client values!
+
+ * wx.ART_TOOLBAR
+ * wx.ART_MENU
+ * wx.ART_FRAME_ICON
+ * wx.ART_CMN_DIALOG
+ * wx.ART_HELP_BROWSER
+ * wx.ART_MESSAGE_BOX
+ * wx.ART_BUTTON
+ * wx.ART_OTHER (used for all requests that don't fit into any
+ of the categories above)
+</docstring>
+ <constructor name="wxPyArtProvider" overloaded="no">
+ <autodoc>__init__(self) -> ArtProvider</autodoc>
+ <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets
+application. When wxWidgets needs to display an icon or a bitmap (e.g.
+in the standard file dialog), it does not use hard-coded resource but
+asks wx.ArtProvider for it instead. This way the users can plug in
+their own wx.ArtProvider class and easily replace standard art with
+his/her own version. It is easy thing to do: all that is needed is
+to derive a class from wx.ArtProvider, override it's CreateBitmap
+method and register the provider with wx.ArtProvider.PushProvider::
+
+ class MyArtProvider(wx.ArtProvider):
+ def __init__(self):
+ wx.ArtProvider.__init__(self)
+
+ def CreateBitmap(self, artid, client, size):
+ ...
+ return bmp
+
+
+Identifying art resources
+-------------------------
+
+Every bitmap is known to wx.ArtProvider under an unique ID that is
+used when requesting a resource from it. The IDs can have one of the
+following predefined values. Additionally, any string recognized by
+custom art providers registered using `PushProvider` may be used.
+
+GTK+ Note
+---------
+
+When running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be used
+as well. Additionally, if wxGTK was compiled against GTK+ >= 2.4, then it is
+also possible to load icons from current icon theme by specifying their name
+without the extension and directory components. Icon themes recognized by GTK+
+follow the freedesktop.org Icon Themes specification. Note that themes are
+not guaranteed to contain all icons, so wx.ArtProvider may return wx.NullBitmap
+or wx.NullIcon. The default theme is typically installed in /usr/share/icons/hicolor.
+
+
+ * wx.ART_ADD_BOOKMARK
+ * wx.ART_DEL_BOOKMARK
+ * wx.ART_HELP_SIDE_PANEL
+ * wx.ART_HELP_SETTINGS
+ * wx.ART_HELP_BOOK
+ * wx.ART_HELP_FOLDER
+ * wx.ART_HELP_PAGE
+ * wx.ART_GO_BACK
+ * wx.ART_GO_FORWARD
+ * wx.ART_GO_UP
+ * wx.ART_GO_DOWN
+ * wx.ART_GO_TO_PARENT
+ * wx.ART_GO_HOME
+ * wx.ART_FILE_OPEN
+ * wx.ART_PRINT
+ * wx.ART_HELP
+ * wx.ART_TIP
+ * wx.ART_REPORT_VIEW
+ * wx.ART_LIST_VIEW
+ * wx.ART_NEW_DIR
+ * wx.ART_FOLDER
+ * wx.ART_GO_DIR_UP
+ * wx.ART_EXECUTABLE_FILE
+ * wx.ART_NORMAL_FILE
+ * wx.ART_TICK_MARK
+ * wx.ART_CROSS_MARK
+ * wx.ART_ERROR
+ * wx.ART_QUESTION
+ * wx.ART_WARNING
+ * wx.ART_INFORMATION
+ * wx.ART_MISSING_IMAGE
+
+
+Clients
+-------
+
+The Client is the entity that calls wx.ArtProvider's `GetBitmap` or
+`GetIcon` function. Client IDs serve as a hint to wx.ArtProvider
+that is supposed to help it to choose the best looking bitmap. For
+example it is often desirable to use slightly different icons in menus
+and toolbars even though they represent the same action (e.g.
+wx.ART_FILE_OPEN). Remember that this is really only a hint for
+wx.ArtProvider -- it is common that `wx.ArtProvider.GetBitmap` returns
+identical bitmap for different client values!
+
+ * wx.ART_TOOLBAR
+ * wx.ART_MENU
+ * wx.ART_FRAME_ICON
+ * wx.ART_CMN_DIALOG
+ * wx.ART_HELP_BROWSER
+ * wx.ART_MESSAGE_BOX
+ * wx.ART_BUTTON
+ * wx.ART_OTHER (used for all requests that don't fit into any
+ of the categories above)
+</docstring>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="PushProvider" type="" overloaded="no">
+ <autodoc>PushProvider(ArtProvider provider)</autodoc>
+ <docstring>Add new provider to the top of providers stack.</docstring>
+ <paramlist>
+ <param name="provider" type="ArtProvider" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="PopProvider" type="bool" overloaded="no">
+ <autodoc>PopProvider() -> bool</autodoc>
+ <docstring>Remove latest added provider and delete it.</docstring>
+ </staticmethod>
+ <staticmethod name="RemoveProvider" type="bool" overloaded="no">
+ <autodoc>RemoveProvider(ArtProvider provider) -> bool</autodoc>
+ <docstring>Remove provider. The provider must have been added previously! The
+provider is _not_ deleted.</docstring>
+ <paramlist>
+ <param name="provider" type="ArtProvider" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap</autodoc>
+ <docstring>Query the providers for bitmap with given ID and return it. Return
+wx.NullBitmap if no provider provides it.</docstring>
+ <paramlist>
+ <param name="id" type="String" default=""/>
+ <param name="client" type="String" default="wxPyART_OTHER"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetIcon" type="Icon" overloaded="no">
+ <autodoc>GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon</autodoc>
+ <docstring>Query the providers for icon with given ID and return it. Return
+wx.NullIcon if no provider provides it.</docstring>
+ <paramlist>
+ <param name="id" type="String" default=""/>
+ <param name="client" type="String" default="wxPyART_OTHER"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ </paramlist>
+ </staticmethod>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ConfigBase" oldname="wxConfigBase" module="_misc">
+ <docstring>wx.ConfigBase class defines the basic interface of all config
+classes. It can not be used by itself (it is an abstract base class)
+and you will always use one of its derivations: wx.Config or
+wx.FileConfig.
+
+wx.ConfigBase organizes the items in a tree-like structure, modeled
+after the Unix/Dos filesystem. There are groups that act like
+directories and entries, key/value pairs that act like files. There
+is always one current group given by the current path. As in the file
+system case, to specify a key in the config class you must use a path
+to it. Config classes also support the notion of the current group,
+which makes it possible to use relative paths.
+
+Keys are pairs "key_name = value" where value may be of string,
+integer floating point or boolean, you can not store binary data
+without first encoding it as a string. For performance reasons items
+should be kept small, no more than a couple kilobytes.
+</docstring>
+ <destructor name="~wxConfigBase" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="Set" type="ConfigBase" overloaded="no">
+ <autodoc>Set(ConfigBase config) -> ConfigBase</autodoc>
+ <docstring>Sets the global config object (the one returned by Get) and returns a
+reference to the previous global config object.</docstring>
+ <paramlist>
+ <param name="config" type="ConfigBase" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Get" type="ConfigBase" overloaded="no">
+ <autodoc>Get(bool createOnDemand=True) -> ConfigBase</autodoc>
+ <docstring>Returns the current global config object, creating one if neccessary.</docstring>
+ <paramlist>
+ <param name="createOnDemand" type="bool" default="True"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Create" type="ConfigBase" overloaded="no">
+ <autodoc>Create() -> ConfigBase</autodoc>
+ <docstring>Create and return a new global config object. This function will
+create the "best" implementation of wx.Config available for the
+current platform.</docstring>
+ </staticmethod>
+ <staticmethod name="DontCreateOnDemand" type="" overloaded="no">
+ <autodoc>DontCreateOnDemand()</autodoc>
+ <docstring>Should Get() try to create a new log object if there isn't a current
+one?</docstring>
+ </staticmethod>
+ <method name="SetPath" type="" overloaded="no">
+ <autodoc>SetPath(self, String path)</autodoc>
+ <docstring>Set current path: if the first character is '/', it's the absolute
+path, otherwise it's a relative path. '..' is supported. If the
+strPath doesn't exist it is created.</docstring>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPath" type="String" overloaded="no">
+ <autodoc>GetPath(self) -> String</autodoc>
+ <docstring>Retrieve the current path (always as absolute path)</docstring>
+ </method>
+ <method name="GetFirstGroup" type="PyObject" overloaded="no">
+ <autodoc>GetFirstGroup() -> (more, value, index)</autodoc>
+ <docstring>Allows enumerating the subgroups in a config object. Returns a tuple
+containing a flag indicating there are more items, the name of the
+current item, and an index to pass to GetNextGroup to fetch the next
+item.</docstring>
+ </method>
+ <method name="GetNextGroup" type="PyObject" overloaded="no">
+ <autodoc>GetNextGroup(long index) -> (more, value, index)</autodoc>
+ <docstring>Allows enumerating the subgroups in a config object. Returns a tuple
+containing a flag indicating there are more items, the name of the
+current item, and an index to pass to GetNextGroup to fetch the next
+item.</docstring>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstEntry" type="PyObject" overloaded="no">
+ <autodoc>GetFirstEntry() -> (more, value, index)</autodoc>
+ <docstring>Allows enumerating the entries in the current group in a config
+object. Returns a tuple containing a flag indicating there are more
+items, the name of the current item, and an index to pass to
+GetNextGroup to fetch the next item.</docstring>
+ </method>
+ <method name="GetNextEntry" type="PyObject" overloaded="no">
+ <autodoc>GetNextEntry(long index) -> (more, value, index)</autodoc>
+ <docstring>Allows enumerating the entries in the current group in a config
+object. Returns a tuple containing a flag indicating there are more
+items, the name of the current item, and an index to pass to
+GetNextGroup to fetch the next item.</docstring>
+ <paramlist>
+ <param name="index" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNumberOfEntries" type="size_t" overloaded="no">
+ <autodoc>GetNumberOfEntries(self, bool recursive=False) -> size_t</autodoc>
+ <docstring>Get the number of entries in the current group, with or without its
+subgroups.</docstring>
+ <paramlist>
+ <param name="recursive" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetNumberOfGroups" type="size_t" overloaded="no">
+ <autodoc>GetNumberOfGroups(self, bool recursive=False) -> size_t</autodoc>
+ <docstring>Get the number of subgroups in the current group, with or without its
+subgroups.</docstring>
+ <paramlist>
+ <param name="recursive" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="HasGroup" type="bool" overloaded="no">
+ <autodoc>HasGroup(self, String name) -> bool</autodoc>
+ <docstring>Returns True if the group by this name exists</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasEntry" type="bool" overloaded="no">
+ <autodoc>HasEntry(self, String name) -> bool</autodoc>
+ <docstring>Returns True if the entry by this name exists</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Exists" type="bool" overloaded="no">
+ <autodoc>Exists(self, String name) -> bool</autodoc>
+ <docstring>Returns True if either a group or an entry with a given name exists</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no">
+ <autodoc>GetEntryType(self, String name) -> int</autodoc>
+ <docstring>Get the type of the entry. Returns one of the wx.Config.Type_XXX values.</docstring>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Read" type="String" overloaded="no">
+ <autodoc>Read(self, String key, String defaultVal=EmptyString) -> String</autodoc>
+ <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="defaultVal" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="ReadInt" type="long" overloaded="no">
+ <autodoc>ReadInt(self, String key, long defaultVal=0) -> long</autodoc>
+ <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="defaultVal" type="long" default="0"/>
+ </paramlist>
+ </method>
+ <method name="ReadFloat" type="double" overloaded="no">
+ <autodoc>ReadFloat(self, String key, double defaultVal=0.0) -> double</autodoc>
+ <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="defaultVal" type="double" default="0.0"/>
+ </paramlist>
+ </method>
+ <method name="ReadBool" type="bool" overloaded="no">
+ <autodoc>ReadBool(self, String key, bool defaultVal=False) -> bool</autodoc>
+ <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="defaultVal" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="Write" type="bool" overloaded="no">
+ <autodoc>Write(self, String key, String value) -> bool</autodoc>
+ <docstring>write the value (return True on success)</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="WriteInt" type="bool" overloaded="no">
+ <autodoc>WriteInt(self, String key, long value) -> bool</autodoc>
+ <docstring>write the value (return True on success)</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="value" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="WriteFloat" type="bool" overloaded="no">
+ <autodoc>WriteFloat(self, String key, double value) -> bool</autodoc>
+ <docstring>write the value (return True on success)</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="value" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="WriteBool" type="bool" overloaded="no">
+ <autodoc>WriteBool(self, String key, bool value) -> bool</autodoc>
+ <docstring>write the value (return True on success)</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="value" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Flush" type="bool" overloaded="no">
+ <autodoc>Flush(self, bool currentOnly=False) -> bool</autodoc>
+ <docstring>permanently writes all changes</docstring>
+ <paramlist>
+ <param name="currentOnly" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="RenameEntry" type="bool" overloaded="no">
+ <autodoc>RenameEntry(self, String oldName, String newName) -> bool</autodoc>
+ <docstring>Rename an entry. Returns False on failure (probably because the new
+name is already taken by an existing entry)</docstring>
+ <paramlist>
+ <param name="oldName" type="String" default=""/>
+ <param name="newName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="RenameGroup" type="bool" overloaded="no">
+ <autodoc>RenameGroup(self, String oldName, String newName) -> bool</autodoc>
+ <docstring>Rename a group. Returns False on failure (probably because the new
+name is already taken by an existing entry)</docstring>
+ <paramlist>
+ <param name="oldName" type="String" default=""/>
+ <param name="newName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteEntry" type="bool" overloaded="no">
+ <autodoc>DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -> bool</autodoc>
+ <docstring>Deletes the specified entry and the group it belongs to if it was the
+last key in it and the second parameter is True</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="deleteGroupIfEmpty" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DeleteGroup" type="bool" overloaded="no">
+ <autodoc>DeleteGroup(self, String key) -> bool</autodoc>
+ <docstring>Delete the group (with all subgroups)</docstring>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteAll" type="bool" overloaded="no">
+ <autodoc>DeleteAll(self) -> bool</autodoc>
+ <docstring>Delete the whole underlying object (disk file, registry key, ...)
+primarly intended for use by deinstallation routine.</docstring>
+ </method>
+ <method name="SetExpandEnvVars" type="" overloaded="no">
+ <autodoc>SetExpandEnvVars(self, bool doIt=True)</autodoc>
+ <docstring>We can automatically expand environment variables in the config
+entries this option is on by default, you can turn it on/off at any
+time)</docstring>
+ <paramlist>
+ <param name="doIt" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="IsExpandingEnvVars" type="bool" overloaded="no">
+ <autodoc>IsExpandingEnvVars(self) -> bool</autodoc>
+ <docstring>Are we currently expanding environment variables?</docstring>
+ </method>
+ <method name="SetRecordDefaults" type="" overloaded="no">
+ <autodoc>SetRecordDefaults(self, bool doIt=True)</autodoc>
+ <docstring>Set whether the config objec should record default values.</docstring>
+ <paramlist>
+ <param name="doIt" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="IsRecordingDefaults" type="bool" overloaded="no">
+ <autodoc>IsRecordingDefaults(self) -> bool</autodoc>
+ <docstring>Are we currently recording default values?</docstring>
+ </method>
+ <method name="ExpandEnvVars" type="String" overloaded="no">
+ <autodoc>ExpandEnvVars(self, String str) -> String</autodoc>
+ <docstring>Expand any environment variables in str and return the result</docstring>
+ <paramlist>
+ <param name="str" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAppName" type="String" overloaded="no">
+ <autodoc>GetAppName(self) -> String</autodoc>
+ </method>
+ <method name="GetVendorName" type="String" overloaded="no">
+ <autodoc>GetVendorName(self) -> String</autodoc>
+ </method>
+ <method name="SetAppName" type="" overloaded="no">
+ <autodoc>SetAppName(self, String appName)</autodoc>
+ <paramlist>
+ <param name="appName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetVendorName" type="" overloaded="no">
+ <autodoc>SetVendorName(self, String vendorName)</autodoc>
+ <paramlist>
+ <param name="vendorName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyle" type="" overloaded="no">
+ <autodoc>SetStyle(self, long style)</autodoc>
+ <paramlist>
+ <param name="style" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStyle" type="long" overloaded="no">
+ <autodoc>GetStyle(self) -> long</autodoc>
+ </method>
+ </class>
+ <class name="Config" oldname="wxConfig" module="_misc">
+ <docstring>This ConfigBase-derived class will use the registry on Windows,
+and will be a wx.FileConfig on other platforms.</docstring>
+ <baseclass name="ConfigBase"/>
+ <constructor name="Config" overloaded="no">
+ <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString,
+ String localFilename=EmptyString, String globalFilename=EmptyString,
+ long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config</autodoc>
+ <paramlist>
+ <param name="appName" type="String" default="wxPyEmptyString"/>
+ <param name="vendorName" type="String" default="wxPyEmptyString"/>
+ <param name="localFilename" type="String" default="wxPyEmptyString"/>
+ <param name="globalFilename" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxConfig" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <class name="FileConfig" oldname="wxFileConfig" module="_misc">
+ <docstring>This config class will use a file for storage on all platforms.</docstring>
+ <baseclass name="ConfigBase"/>
+ <constructor name="FileConfig" overloaded="no">
+ <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString,
+ String localFilename=EmptyString, String globalFilename=EmptyString,
+ long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig</autodoc>
+ <paramlist>
+ <param name="appName" type="String" default="wxPyEmptyString"/>
+ <param name="vendorName" type="String" default="wxPyEmptyString"/>
+ <param name="localFilename" type="String" default="wxPyEmptyString"/>
+ <param name="globalFilename" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxFileConfig" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ </class>
+ <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="_misc">
+ <docstring>A handy little class which changes current path to the path of given
+entry and restores it in the destructoir: so if you declare a local
+variable of this type, you work in the entry directory and the path is
+automatically restored when the function returns.</docstring>
+ <constructor name="ConfigPathChanger" overloaded="no">
+ <autodoc>__init__(self, ConfigBase config, String entry) -> ConfigPathChanger</autodoc>
+ <paramlist>
+ <param name="config" type="ConfigBase" default=""/>
+ <param name="entry" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxConfigPathChanger" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Name" type="String" overloaded="no">
+ <autodoc>Name(self) -> String</autodoc>
+ <docstring>Get the key name</docstring>
+ </method>
+ </class>
+ <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="String" overloaded="no">
+ <autodoc>ExpandEnvVars(String sz) -> String</autodoc>
+ <docstring>Replace environment variables ($SOMETHING) with their values. The
+format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric
+characters and '_' only. '$' must be escaped ('\\$') in order to be
+taken literally.</docstring>
+ <paramlist>
+ <param name="sz" type="String" default=""/>
+ </paramlist>
+ </method>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="DateTime" oldname="wxDateTime" module="_misc">
+ <constructor name="DateTime" overloaded="no">
+ <autodoc>__init__(self) -> DateTime</autodoc>
+ </constructor>
+ <constructor name="DateTimeFromTimeT" overloaded="no">
+ <autodoc>DateTimeFromTimeT(time_t timet) -> DateTime</autodoc>
+ <paramlist>
+ <param name="timet" type="time_t" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="DateTimeFromJDN" overloaded="no">
+ <autodoc>DateTimeFromJDN(double jdn) -> DateTime</autodoc>
+ <paramlist>
+ <param name="jdn" type="double" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="DateTimeFromHMS" overloaded="no">
+ <autodoc>DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
+ <paramlist>
+ <param name="hour" type="int" default=""/>
+ <param name="minute" type="int" default="0"/>
+ <param name="second" type="int" default="0"/>
+ <param name="millisec" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <constructor name="DateTimeFromDMY" overloaded="no">
+ <autodoc>DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0,
+ int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
+ <paramlist>
+ <param name="day" type="int" default=""/>
+ <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ <param name="hour" type="int" default="0"/>
+ <param name="minute" type="int" default="0"/>
+ <param name="second" type="int" default="0"/>
+ <param name="millisec" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxDateTime" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="SetCountry" type="" overloaded="no">
+ <autodoc>SetCountry(int country)</autodoc>
+ <paramlist>
+ <param name="country" type="wxDateTime::Country" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetCountry" type="wxDateTime::Country" overloaded="no">
+ <autodoc>GetCountry() -> int</autodoc>
+ </staticmethod>
+ <staticmethod name="IsWestEuropeanCountry" type="bool" overloaded="no">
+ <autodoc>IsWestEuropeanCountry(int country=Country_Default) -> bool</autodoc>
+ <paramlist>
+ <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetCurrentYear" type="int" overloaded="no">
+ <autodoc>GetCurrentYear(int cal=Gregorian) -> int</autodoc>
+ <paramlist>
+ <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="ConvertYearToBC" type="int" overloaded="no">
+ <autodoc>ConvertYearToBC(int year) -> int</autodoc>
+ <paramlist>
+ <param name="year" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetCurrentMonth" type="wxDateTime::Month" overloaded="no">
+ <autodoc>GetCurrentMonth(int cal=Gregorian) -> int</autodoc>
+ <paramlist>
+ <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="IsLeapYear" type="bool" overloaded="no">
+ <autodoc>IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool</autodoc>
+ <paramlist>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetCentury" type="int" overloaded="no">
+ <autodoc>GetCentury(int year=Inv_Year) -> int</autodoc>
+ <paramlist>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetNumberOfDaysinYear" type="int" overloaded="no">
+ <autodoc>GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int</autodoc>
+ <paramlist>
+ <param name="year" type="int" default=""/>
+ <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetNumberOfDaysInMonth" type="int" overloaded="no">
+ <autodoc>GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int</autodoc>
+ <paramlist>
+ <param name="month" type="wxDateTime::Month" default=""/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ <param name="cal" type="wxDateTime::Calendar" default="wxDateTime::Gregorian"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetMonthName" type="String" overloaded="no">
+ <autodoc>GetMonthName(int month, int flags=Name_Full) -> String</autodoc>
+ <paramlist>
+ <param name="month" type="wxDateTime::Month" default=""/>
+ <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetWeekDayName" type="String" overloaded="no">
+ <autodoc>GetWeekDayName(int weekday, int flags=Name_Full) -> String</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ <param name="flags" type="wxDateTime::NameFlags" default="wxDateTime::Name_Full"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetAmPmStrings" type="" overloaded="no">
+ <autodoc>GetAmPmStrings() -> (am, pm)</autodoc>
+ <docstring>Get the AM and PM strings in the current locale (may be empty)</docstring>
+ <paramlist>
+ <param name="OUTPUT" type="String" default=""/>
+ <param name="OUTPUT" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="IsDSTApplicable" type="bool" overloaded="no">
+ <autodoc>IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool</autodoc>
+ <paramlist>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetBeginDST" type="DateTime" overloaded="no">
+ <autodoc>GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc>
+ <paramlist>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetEndDST" type="DateTime" overloaded="no">
+ <autodoc>GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime</autodoc>
+ <paramlist>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Now" type="DateTime" overloaded="no">
+ <autodoc>Now() -> DateTime</autodoc>
+ </staticmethod>
+ <staticmethod name="UNow" type="DateTime" overloaded="no">
+ <autodoc>UNow() -> DateTime</autodoc>
+ </staticmethod>
+ <staticmethod name="Today" type="DateTime" overloaded="no">
+ <autodoc>Today() -> DateTime</autodoc>
+ </staticmethod>
+ <method name="SetToCurrent" type="DateTime" overloaded="no">
+ <autodoc>SetToCurrent(self) -> DateTime</autodoc>
+ </method>
+ <method name="SetTimeT" type="DateTime" overloaded="no">
+ <autodoc>SetTimeT(self, time_t timet) -> DateTime</autodoc>
+ <paramlist>
+ <param name="timet" type="time_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetJDN" type="DateTime" overloaded="no">
+ <autodoc>SetJDN(self, double jdn) -> DateTime</autodoc>
+ <paramlist>
+ <param name="jdn" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHMS" type="DateTime" overloaded="no">
+ <autodoc>SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
+ <paramlist>
+ <param name="hour" type="int" default=""/>
+ <param name="minute" type="int" default="0"/>
+ <param name="second" type="int" default="0"/>
+ <param name="millisec" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Set" type="DateTime" overloaded="no">
+ <autodoc>Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0,
+ int minute=0, int second=0, int millisec=0) -> DateTime</autodoc>
+ <paramlist>
+ <param name="day" type="int" default=""/>
+ <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ <param name="hour" type="int" default="0"/>
+ <param name="minute" type="int" default="0"/>
+ <param name="second" type="int" default="0"/>
+ <param name="millisec" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="ResetTime" type="DateTime" overloaded="no">
+ <autodoc>ResetTime(self) -> DateTime</autodoc>
+ </method>
+ <method name="SetYear" type="DateTime" overloaded="no">
+ <autodoc>SetYear(self, int year) -> DateTime</autodoc>
+ <paramlist>
+ <param name="year" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMonth" type="DateTime" overloaded="no">
+ <autodoc>SetMonth(self, int month) -> DateTime</autodoc>
+ <paramlist>
+ <param name="month" type="wxDateTime::Month" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDay" type="DateTime" overloaded="no">
+ <autodoc>SetDay(self, int day) -> DateTime</autodoc>
+ <paramlist>
+ <param name="day" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHour" type="DateTime" overloaded="no">
+ <autodoc>SetHour(self, int hour) -> DateTime</autodoc>
+ <paramlist>
+ <param name="hour" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinute" type="DateTime" overloaded="no">
+ <autodoc>SetMinute(self, int minute) -> DateTime</autodoc>
+ <paramlist>
+ <param name="minute" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSecond" type="DateTime" overloaded="no">
+ <autodoc>SetSecond(self, int second) -> DateTime</autodoc>
+ <paramlist>
+ <param name="second" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMillisecond" type="DateTime" overloaded="no">
+ <autodoc>SetMillisecond(self, int millisecond) -> DateTime</autodoc>
+ <paramlist>
+ <param name="millisecond" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToWeekDayInSameWeek" type="DateTime" overloaded="no">
+ <autodoc>SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
+ </paramlist>
+ </method>
+ <method name="GetWeekDayInSameWeek" type="DateTime" overloaded="no">
+ <autodoc>GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
+ </paramlist>
+ </method>
+ <method name="SetToNextWeekDay" type="DateTime" overloaded="no">
+ <autodoc>SetToNextWeekDay(self, int weekday) -> DateTime</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNextWeekDay" type="DateTime" overloaded="no">
+ <autodoc>GetNextWeekDay(self, int weekday) -> DateTime</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToPrevWeekDay" type="DateTime" overloaded="no">
+ <autodoc>SetToPrevWeekDay(self, int weekday) -> DateTime</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrevWeekDay" type="DateTime" overloaded="no">
+ <autodoc>GetPrevWeekDay(self, int weekday) -> DateTime</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToWeekDay" type="bool" overloaded="no">
+ <autodoc>SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ <param name="n" type="int" default="1"/>
+ <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ </paramlist>
+ </method>
+ <method name="SetToLastWeekDay" type="bool" overloaded="no">
+ <autodoc>SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> bool</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ </paramlist>
+ </method>
+ <method name="GetLastWeekDay" type="DateTime" overloaded="no">
+ <autodoc>GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc>
+ <paramlist>
+ <param name="weekday" type="wxDateTime::WeekDay" default=""/>
+ <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ </paramlist>
+ </method>
+ <method name="SetToTheWeek" type="bool" overloaded="no">
+ <autodoc>SetToTheWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> bool</autodoc>
+ <paramlist>
+ <param name="numWeek" type="int" default=""/>
+ <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
+ <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
+ </paramlist>
+ </method>
+ <method name="GetWeek" type="DateTime" overloaded="no">
+ <autodoc>GetWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime</autodoc>
+ <paramlist>
+ <param name="numWeek" type="int" default=""/>
+ <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
+ <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
+ </paramlist>
+ </method>
+ <method name="SetToLastMonthDay" type="DateTime" overloaded="no">
+ <autodoc>SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc>
+ <paramlist>
+ <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ </paramlist>
+ </method>
+ <method name="GetLastMonthDay" type="DateTime" overloaded="no">
+ <autodoc>GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime</autodoc>
+ <paramlist>
+ <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
+ <param name="year" type="int" default="wxDateTime::Inv_Year"/>
+ </paramlist>
+ </method>
+ <method name="SetToYearDay" type="DateTime" overloaded="no">
+ <autodoc>SetToYearDay(self, int yday) -> DateTime</autodoc>
+ <paramlist>
+ <param name="yday" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetYearDay" type="DateTime" overloaded="no">
+ <autodoc>GetYearDay(self, int yday) -> DateTime</autodoc>
+ <paramlist>
+ <param name="yday" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetJulianDayNumber" type="double" overloaded="no">
+ <autodoc>GetJulianDayNumber(self) -> double</autodoc>
+ </method>
+ <method name="GetJDN" type="double" overloaded="no">
+ <autodoc>GetJDN(self) -> double</autodoc>
+ </method>
+ <method name="GetModifiedJulianDayNumber" type="double" overloaded="no">
+ <autodoc>GetModifiedJulianDayNumber(self) -> double</autodoc>
+ </method>
+ <method name="GetMJD" type="double" overloaded="no">
+ <autodoc>GetMJD(self) -> double</autodoc>
+ </method>
+ <method name="GetRataDie" type="double" overloaded="no">
+ <autodoc>GetRataDie(self) -> double</autodoc>
+ </method>
+ <method name="ToTimezone" type="DateTime" overloaded="no">
+ <autodoc>ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default=""/>
+ <param name="noDST" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="MakeTimezone" type="DateTime" overloaded="no">
+ <autodoc>MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default=""/>
+ <param name="noDST" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="ToGMT" type="DateTime" overloaded="no">
+ <autodoc>ToGMT(self, bool noDST=False) -> DateTime</autodoc>
+ <paramlist>
+ <param name="noDST" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="MakeGMT" type="DateTime" overloaded="no">
+ <autodoc>MakeGMT(self, bool noDST=False) -> DateTime</autodoc>
+ <paramlist>
+ <param name="noDST" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="IsDST" type="int" overloaded="no">
+ <autodoc>IsDST(self, int country=Country_Default) -> int</autodoc>
+ <paramlist>
+ <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
+ </paramlist>
+ </method>
+ <method name="IsValid" type="bool" overloaded="no">
+ <autodoc>IsValid(self) -> bool</autodoc>
+ </method>
+ <method name="GetTicks" type="time_t" overloaded="no">
+ <autodoc>GetTicks(self) -> time_t</autodoc>
+ </method>
+ <method name="GetYear" type="int" overloaded="no">
+ <autodoc>GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetMonth" type="wxDateTime::Month" overloaded="no">
+ <autodoc>GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetDay" type="int" overloaded="no">
+ <autodoc>GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
+ <autodoc>GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetHour" type="int" overloaded="no">
+ <autodoc>GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetMinute" type="int" overloaded="no">
+ <autodoc>GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetSecond" type="int" overloaded="no">
+ <autodoc>GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetMillisecond" type="int" overloaded="no">
+ <autodoc>GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetDayOfYear" type="int" overloaded="no">
+ <autodoc>GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetWeekOfYear" type="int" overloaded="no">
+ <autodoc>GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="GetWeekOfMonth" type="int" overloaded="no">
+ <autodoc>GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int</autodoc>
+ <paramlist>
+ <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="IsWorkDay" type="bool" overloaded="no">
+ <autodoc>IsWorkDay(self, int country=Country_Default) -> bool</autodoc>
+ <paramlist>
+ <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
+ </paramlist>
+ </method>
+ <method name="IsEqualTo" type="bool" overloaded="no">
+ <autodoc>IsEqualTo(self, DateTime datetime) -> bool</autodoc>
+ <paramlist>
+ <param name="datetime" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEarlierThan" type="bool" overloaded="no">
+ <autodoc>IsEarlierThan(self, DateTime datetime) -> bool</autodoc>
+ <paramlist>
+ <param name="datetime" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsLaterThan" type="bool" overloaded="no">
+ <autodoc>IsLaterThan(self, DateTime datetime) -> bool</autodoc>
+ <paramlist>
+ <param name="datetime" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsStrictlyBetween" type="bool" overloaded="no">
+ <autodoc>IsStrictlyBetween(self, DateTime t1, DateTime t2) -> bool</autodoc>
+ <paramlist>
+ <param name="t1" type="DateTime" default=""/>
+ <param name="t2" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsBetween" type="bool" overloaded="no">
+ <autodoc>IsBetween(self, DateTime t1, DateTime t2) -> bool</autodoc>
+ <paramlist>
+ <param name="t1" type="DateTime" default=""/>
+ <param name="t2" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSameDate" type="bool" overloaded="no">
+ <autodoc>IsSameDate(self, DateTime dt) -> bool</autodoc>
+ <paramlist>
+ <param name="dt" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSameTime" type="bool" overloaded="no">
+ <autodoc>IsSameTime(self, DateTime dt) -> bool</autodoc>
+ <paramlist>
+ <param name="dt" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEqualUpTo" type="bool" overloaded="no">
+ <autodoc>IsEqualUpTo(self, DateTime dt, TimeSpan ts) -> bool</autodoc>
+ <paramlist>
+ <param name="dt" type="DateTime" default=""/>
+ <param name="ts" type="wxTimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddTS" type="DateTime" overloaded="no">
+ <autodoc>AddTS(self, TimeSpan diff) -> DateTime</autodoc>
+ <paramlist>
+ <param name="diff" type="wxTimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddDS" type="DateTime" overloaded="no">
+ <autodoc>AddDS(self, DateSpan diff) -> DateTime</autodoc>
+ <paramlist>
+ <param name="diff" type="wxDateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="SubtractTS" type="DateTime" overloaded="no">
+ <autodoc>SubtractTS(self, TimeSpan diff) -> DateTime</autodoc>
+ <paramlist>
+ <param name="diff" type="wxTimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="SubtractDS" type="DateTime" overloaded="no">
+ <autodoc>SubtractDS(self, DateSpan diff) -> DateTime</autodoc>
+ <paramlist>
+ <param name="diff" type="wxDateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="Subtract" type="wxTimeSpan" overloaded="no">
+ <autodoc>Subtract(self, DateTime dt) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="dt" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="__iadd__" type="DateTime" overloaded="yes">
+ <paramlist>
+ <param name="diff" type="wxTimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__iadd__" type="DateTime" overloaded="yes">
+ <autodoc>__iadd__(self, TimeSpan diff) -> DateTime
+__iadd__(self, DateSpan diff) -> DateTime</autodoc>
+ <paramlist>
+ <param name="diff" type="wxDateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__isub__" type="DateTime" overloaded="yes">
+ <paramlist>
+ <param name="diff" type="wxTimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__isub__" type="DateTime" overloaded="yes">
+ <autodoc>__isub__(self, TimeSpan diff) -> DateTime
+__isub__(self, DateSpan diff) -> DateTime</autodoc>
+ <paramlist>
+ <param name="diff" type="wxDateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__add__" type="DateTime" overloaded="yes">
+ <paramlist>
+ <param name="other" type="wxTimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__add__" type="DateTime" overloaded="yes">
+ <autodoc>__add__(self, TimeSpan other) -> DateTime
+__add__(self, DateSpan other) -> DateTime</autodoc>
+ <paramlist>
+ <param name="other" type="wxDateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="wxTimeSpan" overloaded="yes">
+ <paramlist>
+ <param name="other" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="DateTime" overloaded="yes">
+ <paramlist>
+ <param name="other" type="wxTimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="DateTime" overloaded="yes">
+ <autodoc>__sub__(self, DateTime other) -> TimeSpan
+__sub__(self, TimeSpan other) -> DateTime
+__sub__(self, DateSpan other) -> DateTime</autodoc>
+ <paramlist>
+ <param name="other" type="wxDateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__lt__" type="bool" overloaded="no">
+ <autodoc>__lt__(self, DateTime other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="__le__" type="bool" overloaded="no">
+ <autodoc>__le__(self, DateTime other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="__gt__" type="bool" overloaded="no">
+ <autodoc>__gt__(self, DateTime other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ge__" type="bool" overloaded="no">
+ <autodoc>__ge__(self, DateTime other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, DateTime other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, DateTime other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="ParseRfc822Date" type="int" overloaded="no">
+ <autodoc>ParseRfc822Date(self, String date) -> int</autodoc>
+ <paramlist>
+ <param name="date" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ParseFormat" type="int" overloaded="no">
+ <autodoc>ParseFormat(self, String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -> int</autodoc>
+ <paramlist>
+ <param name="date" type="String" default=""/>
+ <param name="format" type="String" default="wxPyDateFormatStr"/>
+ <param name="dateDef" type="DateTime" default="wxDefaultDateTime"/>
+ </paramlist>
+ </method>
+ <method name="ParseDateTime" type="int" overloaded="no">
+ <autodoc>ParseDateTime(self, String datetime) -> int</autodoc>
+ <paramlist>
+ <param name="datetime" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ParseDate" type="int" overloaded="no">
+ <autodoc>ParseDate(self, String date) -> int</autodoc>
+ <paramlist>
+ <param name="date" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ParseTime" type="int" overloaded="no">
+ <autodoc>ParseTime(self, String time) -> int</autodoc>
+ <paramlist>
+ <param name="time" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Format" type="String" overloaded="no">
+ <autodoc>Format(self, String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> String</autodoc>
+ <paramlist>
+ <param name="format" type="String" default="wxPyDateFormatStr"/>
+ <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
+ </paramlist>
+ </method>
+ <method name="FormatDate" type="String" overloaded="no">
+ <autodoc>FormatDate(self) -> String</autodoc>
+ </method>
+ <method name="FormatTime" type="String" overloaded="no">
+ <autodoc>FormatTime(self) -> String</autodoc>
+ </method>
+ <method name="FormatISODate" type="String" overloaded="no">
+ <autodoc>FormatISODate(self) -> String</autodoc>
+ </method>
+ <method name="FormatISOTime" type="String" overloaded="no">
+ <autodoc>FormatISOTime(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="TimeSpan" oldname="wxTimeSpan" module="_misc">
+ <constructor name="TimeSpan" overloaded="no">
+ <autodoc>__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="hours" type="long" default="0"/>
+ <param name="minutes" type="long" default="0"/>
+ <param name="seconds" type="long" default="0"/>
+ <param name="milliseconds" type="long" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxTimeSpan" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="Seconds" type="TimeSpan" overloaded="no">
+ <autodoc>Seconds(long sec) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="sec" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Second" type="TimeSpan" overloaded="no">
+ <autodoc>Second() -> TimeSpan</autodoc>
+ </staticmethod>
+ <staticmethod name="Minutes" type="TimeSpan" overloaded="no">
+ <autodoc>Minutes(long min) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="min" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Minute" type="TimeSpan" overloaded="no">
+ <autodoc>Minute() -> TimeSpan</autodoc>
+ </staticmethod>
+ <staticmethod name="Hours" type="TimeSpan" overloaded="no">
+ <autodoc>Hours(long hours) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="hours" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Hour" type="TimeSpan" overloaded="no">
+ <autodoc>Hour() -> TimeSpan</autodoc>
+ </staticmethod>
+ <staticmethod name="Days" type="TimeSpan" overloaded="no">
+ <autodoc>Days(long days) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="days" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Day" type="TimeSpan" overloaded="no">
+ <autodoc>Day() -> TimeSpan</autodoc>
+ </staticmethod>
+ <staticmethod name="Weeks" type="TimeSpan" overloaded="no">
+ <autodoc>Weeks(long days) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="days" type="long" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Week" type="TimeSpan" overloaded="no">
+ <autodoc>Week() -> TimeSpan</autodoc>
+ </staticmethod>
+ <method name="Add" type="TimeSpan" overloaded="no">
+ <autodoc>Add(self, TimeSpan diff) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="diff" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="Subtract" type="TimeSpan" overloaded="no">
+ <autodoc>Subtract(self, TimeSpan diff) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="diff" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="Multiply" type="TimeSpan" overloaded="no">
+ <autodoc>Multiply(self, int n) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Neg" type="TimeSpan" overloaded="no">
+ <autodoc>Neg(self) -> TimeSpan</autodoc>
+ </method>
+ <method name="Abs" type="TimeSpan" overloaded="no">
+ <autodoc>Abs(self) -> TimeSpan</autodoc>
+ </method>
+ <method name="__iadd__" type="TimeSpan" overloaded="no">
+ <autodoc>__iadd__(self, TimeSpan diff) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="diff" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__isub__" type="TimeSpan" overloaded="no">
+ <autodoc>__isub__(self, TimeSpan diff) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="diff" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__imul__" type="TimeSpan" overloaded="no">
+ <autodoc>__imul__(self, int n) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__neg__" type="TimeSpan" overloaded="no">
+ <autodoc>__neg__(self) -> TimeSpan</autodoc>
+ </method>
+ <method name="__add__" type="TimeSpan" overloaded="no">
+ <autodoc>__add__(self, TimeSpan other) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="TimeSpan" overloaded="no">
+ <autodoc>__sub__(self, TimeSpan other) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__mul__" type="TimeSpan" overloaded="no">
+ <autodoc>__mul__(self, int n) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__rmul__" type="TimeSpan" overloaded="no">
+ <autodoc>__rmul__(self, int n) -> TimeSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__lt__" type="bool" overloaded="no">
+ <autodoc>__lt__(self, TimeSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__le__" type="bool" overloaded="no">
+ <autodoc>__le__(self, TimeSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__gt__" type="bool" overloaded="no">
+ <autodoc>__gt__(self, TimeSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ge__" type="bool" overloaded="no">
+ <autodoc>__ge__(self, TimeSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, TimeSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, TimeSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsNull" type="bool" overloaded="no">
+ <autodoc>IsNull(self) -> bool</autodoc>
+ </method>
+ <method name="IsPositive" type="bool" overloaded="no">
+ <autodoc>IsPositive(self) -> bool</autodoc>
+ </method>
+ <method name="IsNegative" type="bool" overloaded="no">
+ <autodoc>IsNegative(self) -> bool</autodoc>
+ </method>
+ <method name="IsEqualTo" type="bool" overloaded="no">
+ <autodoc>IsEqualTo(self, TimeSpan ts) -> bool</autodoc>
+ <paramlist>
+ <param name="ts" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsLongerThan" type="bool" overloaded="no">
+ <autodoc>IsLongerThan(self, TimeSpan ts) -> bool</autodoc>
+ <paramlist>
+ <param name="ts" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsShorterThan" type="bool" overloaded="no">
+ <autodoc>IsShorterThan(self, TimeSpan t) -> bool</autodoc>
+ <paramlist>
+ <param name="t" type="TimeSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWeeks" type="int" overloaded="no">
+ <autodoc>GetWeeks(self) -> int</autodoc>
+ </method>
+ <method name="GetDays" type="int" overloaded="no">
+ <autodoc>GetDays(self) -> int</autodoc>
+ </method>
+ <method name="GetHours" type="int" overloaded="no">
+ <autodoc>GetHours(self) -> int</autodoc>
+ </method>
+ <method name="GetMinutes" type="int" overloaded="no">
+ <autodoc>GetMinutes(self) -> int</autodoc>
+ </method>
+ <method name="GetSeconds" type="wxLongLong" overloaded="no">
+ <autodoc>GetSeconds(self) -> wxLongLong</autodoc>
+ </method>
+ <method name="GetMilliseconds" type="wxLongLong" overloaded="no">
+ <autodoc>GetMilliseconds(self) -> wxLongLong</autodoc>
+ </method>
+ <method name="Format" type="String" overloaded="no">
+ <autodoc>Format(self, String format=TimeSpanFormatStr) -> String</autodoc>
+ <paramlist>
+ <param name="format" type="String" default="wxPyTimeSpanFormatStr"/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="DateSpan" oldname="wxDateSpan" module="_misc">
+ <constructor name="DateSpan" overloaded="no">
+ <autodoc>__init__(self, int years=0, int months=0, int weeks=0, int days=0) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="years" type="int" default="0"/>
+ <param name="months" type="int" default="0"/>
+ <param name="weeks" type="int" default="0"/>
+ <param name="days" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxDateSpan" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="Days" type="DateSpan" overloaded="no">
+ <autodoc>Days(int days) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="days" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Day" type="DateSpan" overloaded="no">
+ <autodoc>Day() -> DateSpan</autodoc>
+ </staticmethod>
+ <staticmethod name="Weeks" type="DateSpan" overloaded="no">
+ <autodoc>Weeks(int weeks) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="weeks" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Week" type="DateSpan" overloaded="no">
+ <autodoc>Week() -> DateSpan</autodoc>
+ </staticmethod>
+ <staticmethod name="Months" type="DateSpan" overloaded="no">
+ <autodoc>Months(int mon) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="mon" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Month" type="DateSpan" overloaded="no">
+ <autodoc>Month() -> DateSpan</autodoc>
+ </staticmethod>
+ <staticmethod name="Years" type="DateSpan" overloaded="no">
+ <autodoc>Years(int years) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="years" type="int" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="Year" type="DateSpan" overloaded="no">
+ <autodoc>Year() -> DateSpan</autodoc>
+ </staticmethod>
+ <method name="SetYears" type="DateSpan" overloaded="no">
+ <autodoc>SetYears(self, int n) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMonths" type="DateSpan" overloaded="no">
+ <autodoc>SetMonths(self, int n) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWeeks" type="DateSpan" overloaded="no">
+ <autodoc>SetWeeks(self, int n) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDays" type="DateSpan" overloaded="no">
+ <autodoc>SetDays(self, int n) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetYears" type="int" overloaded="no">
+ <autodoc>GetYears(self) -> int</autodoc>
+ </method>
+ <method name="GetMonths" type="int" overloaded="no">
+ <autodoc>GetMonths(self) -> int</autodoc>
+ </method>
+ <method name="GetWeeks" type="int" overloaded="no">
+ <autodoc>GetWeeks(self) -> int</autodoc>
+ </method>
+ <method name="GetDays" type="int" overloaded="no">
+ <autodoc>GetDays(self) -> int</autodoc>
+ </method>
+ <method name="GetTotalDays" type="int" overloaded="no">
+ <autodoc>GetTotalDays(self) -> int</autodoc>
+ </method>
+ <method name="Add" type="DateSpan" overloaded="no">
+ <autodoc>Add(self, DateSpan other) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="Subtract" type="DateSpan" overloaded="no">
+ <autodoc>Subtract(self, DateSpan other) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="Neg" type="DateSpan" overloaded="no">
+ <autodoc>Neg(self) -> DateSpan</autodoc>
+ </method>
+ <method name="Multiply" type="DateSpan" overloaded="no">
+ <autodoc>Multiply(self, int factor) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="factor" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__iadd__" type="DateSpan" overloaded="no">
+ <autodoc>__iadd__(self, DateSpan other) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__isub__" type="DateSpan" overloaded="no">
+ <autodoc>__isub__(self, DateSpan other) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__neg__" type="DateSpan" overloaded="no">
+ <autodoc>__neg__(self) -> DateSpan</autodoc>
+ </method>
+ <method name="__imul__" type="DateSpan" overloaded="no">
+ <autodoc>__imul__(self, int factor) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="factor" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__add__" type="DateSpan" overloaded="no">
+ <autodoc>__add__(self, DateSpan other) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__sub__" type="DateSpan" overloaded="no">
+ <autodoc>__sub__(self, DateSpan other) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__mul__" type="DateSpan" overloaded="no">
+ <autodoc>__mul__(self, int n) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__rmul__" type="DateSpan" overloaded="no">
+ <autodoc>__rmul__(self, int n) -> DateSpan</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, DateSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, DateSpan other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="DateSpan" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <method name="GetLocalTime" oldname="wxGetLocalTime" type="long" overloaded="no">
+ <autodoc>GetLocalTime() -> long</autodoc>
+ </method>
+ <method name="GetUTCTime" oldname="wxGetUTCTime" type="long" overloaded="no">
+ <autodoc>GetUTCTime() -> long</autodoc>
+ </method>
+ <method name="GetCurrentTime" oldname="wxGetCurrentTime" type="long" overloaded="no">
+ <autodoc>GetCurrentTime() -> long</autodoc>
+ </method>
+ <method name="GetLocalTimeMillis" oldname="wxGetLocalTimeMillis" type="wxLongLong" overloaded="no">
+ <autodoc>GetLocalTimeMillis() -> wxLongLong</autodoc>
+ </method>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="DataFormat" oldname="wxDataFormat" module="_misc">
+ <docstring>A wx.DataFormat is an encapsulation of a platform-specific format
+handle which is used by the system for the clipboard and drag and drop
+operations. The applications are usually only interested in, for
+example, pasting data from the clipboard only if the data is in a
+format the program understands. A data format is is used to uniquely
+identify this format.
+On the system level, a data format is usually just a number, (which
+may be the CLIPFORMAT under Windows or Atom under X11, for example.)
+
+The standard format IDs are:
+
+ ================ =====================================
+ wx.DF_INVALID An invalid format
+ wx.DF_TEXT Text format
+ wx.DF_BITMAP A bitmap (wx.Bitmap)
+ wx.DF_METAFILE A metafile (wx.Metafile, Windows only)
+ wx.DF_FILENAME A list of filenames
+ wx.DF_HTML An HTML string. This is only valid on
+ Windows and non-unicode builds
+ ================ =====================================
+
+Aside the standard formats, the application may also use custom
+formats which are identified by their names (strings) and not numeric
+identifiers. Although internally custom format must be created (or
+registered) first, you shouldn't care about it because it is done
+automatically the first time the wxDataFormat object corresponding to
+a given format name is created.
+
+</docstring>
+ <constructor name="DataFormat" overloaded="no">
+ <autodoc>__init__(self, int type) -> DataFormat</autodoc>
+ <docstring>Constructs a data format object for one of the standard data formats
+or an empty data object (use SetType or SetId later in this case)</docstring>
+ <paramlist>
+ <param name="type" type="wxDataFormatId" default=""/>
+ </paramlist>
+ </constructor>
+ <constructor name="CustomDataFormat" overloaded="no">
+ <autodoc>CustomDataFormat(String format) -> DataFormat</autodoc>
+ <docstring>Constructs a data format object for a custom format identified by its
+name.</docstring>
+ <paramlist>
+ <param name="format" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxDataFormat" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="__eq__" type="bool" overloaded="yes">
+ <paramlist>
+ <param name="format" type="wxDataFormatId" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="yes">
+ <paramlist>
+ <param name="format" type="wxDataFormatId" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="yes">
+ <autodoc>__eq__(self, int format) -> bool
+__eq__(self, DataFormat format) -> bool</autodoc>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="yes">
+ <autodoc>__ne__(self, int format) -> bool
+__ne__(self, DataFormat format) -> bool</autodoc>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetType" type="" overloaded="no">
+ <autodoc>SetType(self, int format)</autodoc>
+ <docstring>Sets the format to the given value, which should be one of wx.DF_XXX
+constants.</docstring>
+ <paramlist>
+ <param name="format" type="wxDataFormatId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetType" type="wxDataFormatId" overloaded="no">
+ <autodoc>GetType(self) -> int</autodoc>
+ <docstring>Returns the platform-specific number identifying the format.</docstring>
+ </method>
+ <method name="GetId" type="String" overloaded="no">
+ <autodoc>GetId(self) -> String</autodoc>
+ <docstring>Returns the name of a custom format (this function will fail for a
+standard format).</docstring>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, String format)</autodoc>
+ <docstring>Sets the format to be the custom format identified by the given name.</docstring>
+ <paramlist>
+ <param name="format" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="DataObject" oldname="wxDataObject" module="_misc">
+ <docstring>A wx.DataObject represents data that can be copied to or from the
+clipboard, or dragged and dropped. The important thing about
+wx.DataObject is that this is a 'smart' piece of data unlike usual
+'dumb' data containers such as memory buffers or files. Being 'smart'
+here means that the data object itself should know what data formats
+it supports and how to render itself in each of supported formats.
+
+**NOTE**: This class is an abstract base class and can not be used
+directly from Python. If you need a custom type of data object then
+you should instead derive from `wx.PyDataObjectSimple` or use
+`wx.CustomDataObject`.
+
+Not surprisingly, being 'smart' comes at a price of added
+complexity. This is reasonable for the situations when you really need
+to support multiple formats, but may be annoying if you only want to
+do something simple like cut and paste text.
+
+To provide a solution for both cases, wxWidgets has two predefined
+classes which derive from wx.DataObject: `wx.DataObjectSimple` and
+`wx.DataObjectComposite`. `wx.DataObjectSimple` is the simplest
+wx.DataObject possible and only holds data in a single format (such as
+text or bitmap) and `wx.DataObjectComposite` is the simplest way to
+implement a wx.DataObject which supports multiple simultaneous formats
+because it achievs this by simply holding several
+`wx.DataObjectSimple` objects.
+
+Please note that the easiest way to use drag and drop and the
+clipboard with multiple formats is by using `wx.DataObjectComposite`,
+but it is not the most efficient one as each `wx.DataObjectSimple`
+would contain the whole data in its respective formats. Now imagine
+that you want to paste 200 pages of text in your proprietary format,
+as well as Word, RTF, HTML, Unicode and plain text to the clipboard
+and even today's computers are in trouble. For this case, you will
+have to derive from wx.DataObject directly and make it enumerate its
+formats and provide the data in the requested format on
+demand. (**TODO**: This is currently not possible from Python. Make
+it so.)
+
+Note that the platform transfer mechanisms for the clipboard and drag
+and drop, do not copy any data out of the source application until
+another application actually requests the data. This is in contrast to
+the 'feel' offered to the user of a program who would normally think
+that the data resides in the clipboard after having pressed 'Copy' -
+in reality it is only declared to be available.
+</docstring>
+ <destructor name="~wxDataObject" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetPreferredFormat" type="DataFormat" overloaded="no">
+ <autodoc>GetPreferredFormat(self, int dir=Get) -> DataFormat</autodoc>
+ <docstring>Returns the preferred format for either rendering the data (if dir is
+Get, its default value) or for setting it. Usually this will be the
+native format of the wx.DataObject.</docstring>
+ <paramlist>
+ <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
+ </paramlist>
+ </method>
+ <method name="GetFormatCount" type="size_t" overloaded="no">
+ <autodoc>GetFormatCount(self, int dir=Get) -> size_t</autodoc>
+ <docstring>Returns the number of available formats for rendering or setting the
+data.</docstring>
+ <paramlist>
+ <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
+ </paramlist>
+ </method>
+ <method name="IsSupported" type="bool" overloaded="no">
+ <autodoc>IsSupported(self, DataFormat format, int dir=Get) -> bool</autodoc>
+ <docstring>Returns True if this format is supported.</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
+ </paramlist>
+ </method>
+ <method name="GetDataSize" type="size_t" overloaded="no">
+ <autodoc>GetDataSize(self, DataFormat format) -> size_t</autodoc>
+ <docstring>Get the (total) size of data for the given format</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAllFormats" type="PyObject" overloaded="no">
+ <autodoc>GetAllFormats(self, int dir=Get) -> [formats]</autodoc>
+ <docstring>Returns a list of all the wx.DataFormats that this dataobject supports
+in the given direction.</docstring>
+ <paramlist>
+ <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
+ </paramlist>
+ </method>
+ <method name="GetDataHere" type="PyObject" overloaded="no">
+ <autodoc>GetDataHere(self, DataFormat format) -> String</autodoc>
+ <docstring>Get the data bytes in the specified format, returns None on failure.
+
+:todo: This should use the python buffer interface isntead...</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetData" type="bool" overloaded="no">
+ <autodoc>SetData(self, DataFormat format, String data) -> bool</autodoc>
+ <docstring>Set the data in the specified format from the bytes in the the data string.
+
+:todo: This should use the python buffer interface isntead...</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="_misc">
+ <docstring>wx.DataObjectSimple is a `wx.DataObject` which only supports one
+format. This is the simplest possible `wx.DataObject` implementation.
+
+This is still an "abstract base class" meaning that you can't use it
+directly. You either need to use one of the predefined base classes,
+or derive your own class from `wx.PyDataObjectSimple`.
+</docstring>
+ <baseclass name="DataObject"/>
+ <constructor name="DataObjectSimple" overloaded="no">
+ <autodoc>__init__(self, DataFormat format=FormatInvalid) -> DataObjectSimple</autodoc>
+ <docstring>Constructor accepts the supported format (none by default) which may
+also be set later with `SetFormat`.</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default="wxFormatInvalid"/>
+ </paramlist>
+ </constructor>
+ <method name="GetFormat" type="DataFormat" overloaded="no">
+ <autodoc>GetFormat(self) -> DataFormat</autodoc>
+ <docstring>Returns the (one and only one) format supported by this object. It is
+assumed that the format is supported in both directions.</docstring>
+ </method>
+ <method name="SetFormat" type="" overloaded="no">
+ <autodoc>SetFormat(self, DataFormat format)</autodoc>
+ <docstring>Sets the supported format.</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDataSize" type="size_t" overloaded="no">
+ <autodoc>GetDataSize(self) -> size_t</autodoc>
+ <docstring>Get the size of our data.</docstring>
+ </method>
+ <method name="GetDataHere" type="PyObject" overloaded="no">
+ <autodoc>GetDataHere(self) -> String</autodoc>
+ <docstring>Returns the data bytes from the data object as a string, returns None
+on failure. Must be implemented in the derived class if the object
+supports rendering its data.</docstring>
+ </method>
+ <method name="SetData" type="bool" overloaded="no">
+ <autodoc>SetData(self, String data) -> bool</autodoc>
+ <docstring>Copy the data value to the data object. Must be implemented in the
+derived class if the object supports setting its data.
+</docstring>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="_misc">
+ <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. You should derive from this
+class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
+need to create your own simple single-format type of `wx.DataObject`.
+
+Here is a simple example::
+
+ class MyDataObject(wx.PyDataObjectSimple):
+ def __init__(self):
+ wx.PyDataObjectSimple.__init__(
+ self, wx.CustomDataFormat('MyDOFormat'))
+ self.data = ''
+
+ def GetDataSize(self):
+ return len(self.data)
+ def GetDataHere(self):
+ return self.data # returns a string
+ def SetData(self, data):
+ self.data = data
+ return True
+
+Note that there is already a `wx.CustomDataObject` class that behaves
+very similarly to this example. The value of creating your own
+derived class like this is to be able to do additional things when the
+data is requested or given via the clipboard or drag and drop
+operation, such as generate the data value or decode it into needed
+data structures.
+</docstring>
+ <baseclass name="DataObjectSimple"/>
+ <constructor name="PyDataObjectSimple" overloaded="no">
+ <autodoc>__init__(self, DataFormat format=FormatInvalid) -> PyDataObjectSimple</autodoc>
+ <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. You should derive from this
+class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
+need to create your own simple single-format type of `wx.DataObject`.
+
+Here is a simple example::
+
+ class MyDataObject(wx.PyDataObjectSimple):
+ def __init__(self):
+ wx.PyDataObjectSimple.__init__(
+ self, wx.CustomDataFormat('MyDOFormat'))
+ self.data = ''
+
+ def GetDataSize(self):
+ return len(self.data)
+ def GetDataHere(self):
+ return self.data # returns a string
+ def SetData(self, data):
+ self.data = data
+ return True
+
+Note that there is already a `wx.CustomDataObject` class that behaves
+very similarly to this example. The value of creating your own
+derived class like this is to be able to do additional things when the
+data is requested or given via the clipboard or drag and drop
+operation, such as generate the data value or decode it into needed
+data structures.
+</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default="wxFormatInvalid"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="_misc">
+ <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation
+which may be sued to support multiple formats. It contains several
+'wx.DataObjectSimple` objects and supports any format supported by at
+least one of them. Only one of these data objects is *preferred* (the
+first one if not explicitly changed by using the second parameter of
+`Add`) and its format determines the preferred format of the composite
+data object as well.
+
+See `wx.DataObject` documentation for the reasons why you might prefer
+to use wx.DataObject directly instead of wx.DataObjectComposite for
+efficiency reasons.
+</docstring>
+ <baseclass name="DataObject"/>
+ <constructor name="DataObjectComposite" overloaded="no">
+ <autodoc>__init__(self) -> DataObjectComposite</autodoc>
+ <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation
+which may be sued to support multiple formats. It contains several
+'wx.DataObjectSimple` objects and supports any format supported by at
+least one of them. Only one of these data objects is *preferred* (the
+first one if not explicitly changed by using the second parameter of
+`Add`) and its format determines the preferred format of the composite
+data object as well.
+
+See `wx.DataObject` documentation for the reasons why you might prefer
+to use wx.DataObject directly instead of wx.DataObjectComposite for
+efficiency reasons.
+</docstring>
+ </constructor>
+ <method name="Add" type="" overloaded="no">
+ <autodoc>Add(self, DataObjectSimple dataObject, bool preferred=False)</autodoc>
+ <docstring>Adds the dataObject to the list of supported objects and it becomes
+the preferred object if preferred is True.</docstring>
+ <paramlist>
+ <param name="dataObject" type="DataObjectSimple" default=""/>
+ <param name="preferred" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="TextDataObject" oldname="wxTextDataObject" module="_misc">
+ <docstring>wx.TextDataObject is a specialization of `wx.DataObject` for text
+data. It can be used without change to paste data into the `wx.Clipboard`
+or a `wx.DropSource`.
+
+Alternativly, you may wish to derive a new class from the
+`wx.PyTextDataObject` class for providing text on-demand in order to
+minimize memory consumption when offering data in several formats,
+such as plain text and RTF, because by default the text is stored in a
+string in this class, but it might as well be generated on demand when
+requested. For this, `GetTextLength` and `GetText` will have to be
+overridden.</docstring>
+ <baseclass name="DataObjectSimple"/>
+ <constructor name="TextDataObject" overloaded="no">
+ <autodoc>__init__(self, String text=EmptyString) -> TextDataObject</autodoc>
+ <docstring>Constructor, may be used to initialise the text (otherwise `SetText`
+should be used later).</docstring>
+ <paramlist>
+ <param name="text" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <method name="GetTextLength" type="size_t" overloaded="no">
+ <autodoc>GetTextLength(self) -> size_t</autodoc>
+ <docstring>Returns the data size. By default, returns the size of the text data
+set in the constructor or using `SetText`. This can be overridden (via
+`wx.PyTextDataObject`) to provide text size data on-demand. It is
+recommended to return the text length plus 1 for a trailing zero, but
+this is not strictly required.</docstring>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ <docstring>Returns the text associated with the data object.</docstring>
+ </method>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String text)</autodoc>
+ <docstring>Sets the text associated with the data object. This method is called
+when the data object receives the data and, by default, copies the
+text into the member variable. If you want to process the text on the
+fly you may wish to override this function (via
+`wx.PyTextDataObject`.)</docstring>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="_misc">
+ <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. You should derive from this
+class and overload `GetTextLength`, `GetText`, and `SetText` when you
+want to be able to provide text on demand instead of preloading it
+into the data object.</docstring>
+ <baseclass name="TextDataObject"/>
+ <constructor name="PyTextDataObject" overloaded="no">
+ <autodoc>__init__(self, String text=EmptyString) -> PyTextDataObject</autodoc>
+ <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. You should derive from this
+class and overload `GetTextLength`, `GetText`, and `SetText` when you
+want to be able to provide text on demand instead of preloading it
+into the data object.</docstring>
+ <paramlist>
+ <param name="text" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="_misc">
+ <docstring>wx.BitmapDataObject is a specialization of wxDataObject for bitmap
+data. It can be used without change to paste data into the `wx.Clipboard`
+or a `wx.DropSource`.
+
+:see: `wx.PyBitmapDataObject` if you wish to override `GetBitmap` to increase efficiency.</docstring>
+ <baseclass name="DataObjectSimple"/>
+ <constructor name="BitmapDataObject" overloaded="no">
+ <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -> BitmapDataObject</autodoc>
+ <docstring>Constructor, optionally passing a bitmap (otherwise use `SetBitmap`
+later).</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ </paramlist>
+ </constructor>
+ <method name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(self) -> Bitmap</autodoc>
+ <docstring>Returns the bitmap associated with the data object. You may wish to
+override this method (by deriving from `wx.PyBitmapDataObject`) when
+offering data on-demand, but this is not required by wxWidgets'
+internals. Use this method to get data in bitmap form from the
+`wx.Clipboard`.</docstring>
+ </method>
+ <method name="SetBitmap" type="" overloaded="no">
+ <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
+ <docstring>Sets the bitmap associated with the data object. This method is called
+when the data object receives data. Usually there will be no reason to
+override this function.</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="_misc">
+ <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. To be able to provide bitmap
+data on demand derive from this class and overload `GetBitmap`.</docstring>
+ <baseclass name="BitmapDataObject"/>
+ <constructor name="PyBitmapDataObject" overloaded="no">
+ <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject</autodoc>
+ <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. To be able to provide bitmap
+data on demand derive from this class and overload `GetBitmap`.</docstring>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FileDataObject" oldname="wxFileDataObject" module="_misc">
+ <docstring>wx.FileDataObject is a specialization of `wx.DataObjectSimple` for
+file names. The program works with it just as if it were a list of
+absolute file names, but internally it uses the same format as
+Explorer and other compatible programs under Windows or GNOME/KDE
+filemanager under Unix which makes it possible to receive files from
+them using this class.
+
+:Warning: Under all non-Windows platforms this class is currently
+ "input-only", i.e. you can receive the files from another
+ application, but copying (or dragging) file(s) from a wxWidgets
+ application is not currently supported.
+</docstring>
+ <baseclass name="DataObjectSimple"/>
+ <constructor name="FileDataObject" overloaded="no">
+ <autodoc>__init__(self) -> FileDataObject</autodoc>
+ </constructor>
+ <method name="GetFilenames" type="wxArrayString" overloaded="no">
+ <autodoc>GetFilenames(self) -> [names]</autodoc>
+ <docstring>Returns a list of file names.</docstring>
+ </method>
+ <method name="AddFile" type="" overloaded="no">
+ <autodoc>AddFile(self, String filename)</autodoc>
+ <docstring>Adds a file to the list of files represented by this data object.</docstring>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="CustomDataObject" oldname="wxCustomDataObject" module="_misc">
+ <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
+some application-specific data in arbitrary format. Python strings
+are used for getting and setting data, but any picklable object can
+easily be transfered via strings. A copy of the data is stored in the
+data object.</docstring>
+ <baseclass name="DataObjectSimple"/>
+ <constructor name="CustomDataObject" overloaded="no">
+ <autodoc>__init__(self, DataFormat format=FormatInvalid) -> CustomDataObject</autodoc>
+ <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
+some application-specific data in arbitrary format. Python strings
+are used for getting and setting data, but any picklable object can
+easily be transfered via strings. A copy of the data is stored in the
+data object.</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default="wxFormatInvalid"/>
+ </paramlist>
+ </constructor>
+ <method name="SetData" type="bool" overloaded="no">
+ <autodoc>SetData(self, String data) -> bool</autodoc>
+ <docstring>Copy the data value to the data object.</docstring>
+ <paramlist>
+ <param name="data" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="size_t" overloaded="no">
+ <autodoc>GetSize(self) -> size_t</autodoc>
+ <docstring>Get the size of the data.</docstring>
+ </method>
+ <method name="GetData" type="PyObject" overloaded="no">
+ <autodoc>GetData(self) -> String</autodoc>
+ <docstring>Returns the data bytes from the data object as a string.</docstring>
+ </method>
+ </class>
+ <class name="URLDataObject" oldname="wxURLDataObject" module="_misc">
+ <docstring>This data object holds a URL in a format that is compatible with some
+browsers such that it is able to be dragged to or from them.</docstring>
+ <baseclass name="DataObjectComposite"/>
+ <constructor name="URLDataObject" overloaded="no">
+ <autodoc>__init__(self) -> URLDataObject</autodoc>
+ <docstring>This data object holds a URL in a format that is compatible with some
+browsers such that it is able to be dragged to or from them.</docstring>
+ </constructor>
+ <method name="GetURL" type="String" overloaded="no">
+ <autodoc>GetURL(self) -> String</autodoc>
+ <docstring>Returns a string containing the current URL.</docstring>
+ </method>
+ <method name="SetURL" type="" overloaded="no">
+ <autodoc>SetURL(self, String url)</autodoc>
+ <docstring>Set the URL.</docstring>
+ <paramlist>
+ <param name="url" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="_misc">
+ <baseclass name="DataObjectSimple"/>
+ <constructor name="MetafileDataObject" overloaded="no">
+ <autodoc>__init__(self) -> MetafileDataObject</autodoc>
+ </constructor>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <method name="IsDragResultOk" oldname="wxIsDragResultOk" type="bool" overloaded="no">
+ <autodoc>IsDragResultOk(int res) -> bool</autodoc>
<paramlist>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
+ <param name="res" type="wxDragResult" default=""/>
</paramlist>
</method>
- <method name="PrependItem" type="wxTreeItemId" overloaded="no">
- <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
+ <class name="DropSource" oldname="wxPyDropSource" module="_misc">
+ <constructor name="wxPyDropSource" overloaded="no">
+ <autodoc>__init__(self, Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon,
+ Icon none=wxNullIcon) -> DropSource</autodoc>
+ <paramlist>
+ <param name="win" type="Window" default=""/>
+ <param name="copy" type="Icon" default="wxNullIcon"/>
+ <param name="move" type="Icon" default="wxNullIcon"/>
+ <param name="none" type="Icon" default="wxNullIcon"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPyDropSource" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ <param name="incref" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetData" type="" overloaded="no">
+ <autodoc>SetData(self, DataObject data)</autodoc>
+ <paramlist>
+ <param name="data" type="DataObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDataObject" type="DataObject" overloaded="no">
+ <autodoc>GetDataObject(self) -> DataObject</autodoc>
+ </method>
+ <method name="SetCursor" type="" overloaded="no">
+ <autodoc>SetCursor(self, int res, Cursor cursor)</autodoc>
+ <paramlist>
+ <param name="res" type="wxDragResult" default=""/>
+ <param name="cursor" type="Cursor" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoDragDrop" type="wxDragResult" overloaded="no">
+ <autodoc>DoDragDrop(self, int flags=Drag_CopyOnly) -> int</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default="wxDrag_CopyOnly"/>
+ </paramlist>
+ </method>
+ <method name="base_GiveFeedback" type="bool" overloaded="no">
+ <autodoc>base_GiveFeedback(self, int effect) -> bool</autodoc>
+ <paramlist>
+ <param name="effect" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="DropTarget" oldname="wxPyDropTarget" module="_misc">
+ <constructor name="DropTarget" overloaded="no">
+ <autodoc>__init__(self, DataObject dataObject=None) -> DropTarget</autodoc>
+ <paramlist>
+ <param name="dataObject" type="DataObject" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxPyDropTarget" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDataObject" type="DataObject" overloaded="no">
+ <autodoc>GetDataObject(self) -> DataObject</autodoc>
+ </method>
+ <method name="SetDataObject" type="" overloaded="no">
+ <autodoc>SetDataObject(self, DataObject dataObject)</autodoc>
+ <paramlist>
+ <param name="dataObject" type="DataObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEnter" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnEnter(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnDragOver(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeave" type="" overloaded="no">
+ <autodoc>base_OnLeave(self)</autodoc>
+ </method>
+ <method name="base_OnDrop" type="bool" overloaded="no">
+ <autodoc>base_OnDrop(self, int x, int y) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetData" type="bool" overloaded="no">
+ <autodoc>GetData(self) -> bool</autodoc>
+ </method>
+ </class>
+ <pythoncode> PyDropTarget = DropTarget </pythoncode>
+ <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="_misc">
+ <baseclass name="DropTarget"/>
+ <constructor name="wxPyTextDropTarget" overloaded="no">
+ <autodoc>__init__(self) -> TextDropTarget</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEnter" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnEnter(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnDragOver(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeave" type="" overloaded="no">
+ <autodoc>base_OnLeave(self)</autodoc>
+ </method>
+ <method name="base_OnDrop" type="bool" overloaded="no">
+ <autodoc>base_OnDrop(self, int x, int y) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnData" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnData(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="_misc">
+ <baseclass name="DropTarget"/>
+ <constructor name="wxPyFileDropTarget" overloaded="no">
+ <autodoc>__init__(self) -> FileDropTarget</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEnter" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnEnter(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnDragOver(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeave" type="" overloaded="no">
+ <autodoc>base_OnLeave(self)</autodoc>
+ </method>
+ <method name="base_OnDrop" type="bool" overloaded="no">
+ <autodoc>base_OnDrop(self, int x, int y) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnData" type="wxDragResult" overloaded="no">
+ <autodoc>base_OnData(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="Clipboard" oldname="wxClipboard" module="_misc">
+ <docstring>wx.Clipboard represents the system clipboard and provides methods to
+copy data to it or paste data from it. Normally, you should only use
+``wx.TheClipboard`` which is a reference to a global wx.Clipboard
+instance.
+
+Call ``wx.TheClipboard``'s `Open` method to get ownership of the
+clipboard. If this operation returns True, you now own the
+clipboard. Call `SetData` to put data on the clipboard, or `GetData`
+to retrieve data from the clipboard. Call `Close` to close the
+clipboard and relinquish ownership. You should keep the clipboard open
+only momentarily.
+
+:see: `wx.DataObject`
+</docstring>
+ <baseclass name="Object"/>
+ <constructor name="Clipboard" overloaded="no">
+ <autodoc>__init__(self) -> Clipboard</autodoc>
+ </constructor>
+ <destructor name="~wxClipboard" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Open" type="bool" overloaded="no">
+ <autodoc>Open(self) -> bool</autodoc>
+ <docstring>Call this function to open the clipboard before calling SetData and
+GetData. Call Close when you have finished with the clipboard. You
+should keep the clipboard open for only a very short time. Returns
+True on success.</docstring>
+ </method>
+ <method name="Close" type="" overloaded="no">
+ <autodoc>Close(self)</autodoc>
+ <docstring>Closes the clipboard.</docstring>
+ </method>
+ <method name="IsOpened" type="bool" overloaded="no">
+ <autodoc>IsOpened(self) -> bool</autodoc>
+ <docstring>Query whether the clipboard is opened</docstring>
+ </method>
+ <method name="AddData" type="bool" overloaded="no">
+ <autodoc>AddData(self, DataObject data) -> bool</autodoc>
+ <docstring>Call this function to add the data object to the clipboard. You may
+call this function repeatedly after having cleared the clipboard.
+After this function has been called, the clipboard owns the data, so
+do not delete the data explicitly.
+
+:see: `wx.DataObject`</docstring>
+ <paramlist>
+ <param name="data" type="DataObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetData" type="bool" overloaded="no">
+ <autodoc>SetData(self, DataObject data) -> bool</autodoc>
+ <docstring>Set the clipboard data, this is the same as `Clear` followed by
+`AddData`.
+
+:see: `wx.DataObject`</docstring>
+ <paramlist>
+ <param name="data" type="DataObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSupported" type="bool" overloaded="no">
+ <autodoc>IsSupported(self, DataFormat format) -> bool</autodoc>
+ <docstring>Returns True if the given format is available in the data object(s) on
+the clipboard.</docstring>
+ <paramlist>
+ <param name="format" type="DataFormat" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetData" type="bool" overloaded="no">
+ <autodoc>GetData(self, DataObject data) -> bool</autodoc>
+ <docstring>Call this function to fill data with data on the clipboard, if
+available in the required format. Returns true on success.</docstring>
+ <paramlist>
+ <param name="data" type="DataObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ <docstring>Clears data from the clipboard object and also the system's clipboard
+if possible.</docstring>
+ </method>
+ <method name="Flush" type="bool" overloaded="no">
+ <autodoc>Flush(self) -> bool</autodoc>
+ <docstring>Flushes the clipboard: this means that the data which is currently on
+clipboard will stay available even after the application exits,
+possibly eating memory, otherwise the clipboard will be emptied on
+exit. Returns False if the operation is unsuccesful for any reason.</docstring>
+ </method>
+ <method name="UsePrimarySelection" type="" overloaded="no">
+ <autodoc>UsePrimarySelection(self, bool primary=True)</autodoc>
+ <docstring>On platforms supporting it (the X11 based platforms), selects the
+so called PRIMARY SELECTION as the clipboard as opposed to the
+normal clipboard, if primary is True.</docstring>
+ <paramlist>
+ <param name="primary" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <staticmethod name="Get" type="Clipboard" overloaded="no">
+ <autodoc>Get() -> Clipboard</autodoc>
+ <docstring>Returns global instance (wxTheClipboard) of the object.</docstring>
+ </staticmethod>
+ </class>
+ <pythoncode>
+ class _wxPyDelayedInitWrapper(object):
+ def __init__(self, initfunc, *args, **kwargs):
+ self._initfunc = initfunc
+ self._args = args
+ self._kwargs = kwargs
+ self._instance = None
+ def _checkInstance(self):
+ if self._instance is None:
+ self._instance = self._initfunc(*self._args, **self._kwargs)
+ def __getattr__(self, name):
+ self._checkInstance()
+ return getattr(self._instance, name)
+ def __repr__(self):
+ self._checkInstance()
+ return repr(self._instance)
+ TheClipboard = _wxPyDelayedInitWrapper(Clipboard.Get)
+</pythoncode>
+ <class name="ClipboardLocker" oldname="wxClipboardLocker" module="_misc">
+ <docstring>A helpful class for opening the clipboard and automatically
+closing it when the locker is destroyed.</docstring>
+ <constructor name="ClipboardLocker" overloaded="no">
+ <autodoc>__init__(self, Clipboard clipboard=None) -> ClipboardLocker</autodoc>
+ <docstring>A helpful class for opening the clipboard and automatically
+closing it when the locker is destroyed.</docstring>
+ <paramlist>
+ <param name="clipboard" type="Clipboard" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxClipboardLocker" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="__nonzero__" type="bool" overloaded="no">
+ <autodoc>__nonzero__(self) -> bool</autodoc>
+ <docstring>A ClipboardLocker instance evaluates to True if the clipboard was
+successfully opened.</docstring>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="VideoMode" oldname="wxVideoMode" module="_misc">
+ <docstring>A simple struct containing video mode parameters for a display</docstring>
+ <constructor name="VideoMode" overloaded="no">
+ <autodoc>__init__(self, int width=0, int height=0, int depth=0, int freq=0) -> VideoMode</autodoc>
+ <docstring>A simple struct containing video mode parameters for a display</docstring>
+ <paramlist>
+ <param name="width" type="int" default="0"/>
+ <param name="height" type="int" default="0"/>
+ <param name="depth" type="int" default="0"/>
+ <param name="freq" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxVideoMode" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Matches" type="bool" overloaded="no">
+ <autodoc>Matches(self, VideoMode other) -> bool</autodoc>
+ <docstring>Returns true if this mode matches the other one in the sense that all
+non zero fields of the other mode have the same value in this
+one (except for refresh which is allowed to have a greater value)</docstring>
+ <paramlist>
+ <param name="other" type="VideoMode" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means unspecified</docstring>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means
+unspecified</docstring>
+ </method>
+ <method name="GetDepth" type="int" overloaded="no">
+ <autodoc>GetDepth(self) -> int</autodoc>
+ <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0
+means unspecified/known</docstring>
+ </method>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ <docstring>returns true if the object has been initialized</docstring>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, VideoMode other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="VideoMode" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, VideoMode other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="VideoMode" default=""/>
+ </paramlist>
+ </method>
+ <property name="w" type="int" readonly="no"/>
+ <property name="h" type="int" readonly="no"/>
+ <property name="bpp" type="int" readonly="no"/>
+ <property name="refresh" type="int" readonly="no"/>
+ </class>
+ <class name="Display" oldname="wxDisplay" module="_misc">
+ <docstring>Represents a display/monitor attached to the system</docstring>
+ <constructor name="Display" overloaded="no">
+ <autodoc>__init__(self, size_t index=0) -> Display</autodoc>
+ <docstring>Set up a Display instance with the specified display. The displays
+are numbered from 0 to GetCount() - 1, 0 is always the primary display
+and the only one which is always supported</docstring>
+ <paramlist>
+ <param name="index" type="size_t" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxDisplay" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="GetCount" type="size_t" overloaded="no">
+ <autodoc>GetCount() -> size_t</autodoc>
+ <docstring>Return the number of available displays.</docstring>
+ </staticmethod>
+ <staticmethod name="GetFromPoint" type="int" overloaded="no">
+ <autodoc>GetFromPoint(Point pt) -> int</autodoc>
+ <docstring>Find the display where the given point lies, return wx.NOT_FOUND if it
+doesn't belong to any display</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetFromWindow" type="int" overloaded="no">
+ <autodoc>GetFromWindow(Window window) -> int</autodoc>
+ <docstring>Find the display where the given window lies, return wx.NOT_FOUND if
+it is not shown at all.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ <docstring>Return true if the object was initialized successfully</docstring>
+ </method>
+ <method name="GetGeometry" type="Rect" overloaded="no">
+ <autodoc>GetGeometry(self) -> Rect</autodoc>
+ <docstring>Returns the bounding rectangle of the display whose index was passed
+to the constructor.</docstring>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ <docstring>Returns the display's name. A name is not available on all platforms.</docstring>
+ </method>
+ <method name="IsPrimary" type="bool" overloaded="no">
+ <autodoc>IsPrimary(self) -> bool</autodoc>
+ <docstring>Returns true if the display is the primary display. The primary
+display is the one whose index is 0.</docstring>
+ </method>
+ <method name="GetModes" type="PyObject" overloaded="no">
+ <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...]</autodoc>
+ <docstring>Enumerate all video modes supported by this display matching the given
+one (in the sense of VideoMode.Match()).
+
+As any mode matches the default value of the argument and there is
+always at least one video mode supported by display, the returned
+array is only empty for the default value of the argument if this
+function is not supported at all on this platform.</docstring>
+ <paramlist>
+ <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
+ </paramlist>
+ </method>
+ <method name="GetCurrentMode" type="VideoMode" overloaded="no">
+ <autodoc>GetCurrentMode(self) -> VideoMode</autodoc>
+ <docstring>Get the current video mode.</docstring>
+ </method>
+ <method name="ChangeMode" type="bool" overloaded="no">
+ <autodoc>ChangeMode(self, VideoMode mode=DefaultVideoMode) -> bool</autodoc>
+ <docstring>Changes the video mode of this display to the mode specified in the
+mode parameter.
+
+If wx.DefaultVideoMode is passed in as the mode parameter, the defined
+behaviour is that wx.Display will reset the video mode to the default
+mode used by the display. On Windows, the behavior is normal.
+However, there are differences on other platforms. On Unix variations
+using X11 extensions it should behave as defined, but some
+irregularities may occur.
+
+On wxMac passing in wx.DefaultVideoMode as the mode parameter does
+nothing. This happens because Carbon no longer has access to
+DMUseScreenPrefs, an undocumented function that changed the video mode
+to the system default by using the system's 'scrn' resource.
+
+Returns True if succeeded, False otherwise</docstring>
+ <paramlist>
+ <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
+ </paramlist>
+ </method>
+ <method name="ResetMode" type="" overloaded="no">
+ <autodoc>ResetMode(self)</autodoc>
+ <docstring>Restore the default video mode (just a more readable synonym)</docstring>
+ </method>
+ </class>
+ </module>
+ <module name="calendar">
+ <import name="_misc"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
+ <docstring>A set of customization attributes for a calendar date, which can be
+used to control the look of the Calendar object.</docstring>
+ <constructor name="CalendarDateAttr" overloaded="no">
+ <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,
+ Colour colBorder=wxNullColour, Font font=wxNullFont,
+ int border=CAL_BORDER_NONE) -> CalendarDateAttr</autodoc>
+ <docstring>Create a CalendarDateAttr.</docstring>
+ <paramlist>
+ <param name="colText" type="Colour" default="wxNullColour"/>
+ <param name="colBack" type="Colour" default="wxNullColour"/>
+ <param name="colBorder" type="Colour" default="wxNullColour"/>
+ <param name="font" type="Font" default="wxNullFont"/>
+ <param name="border" type="wxCalendarDateBorder" default="wxCAL_BORDER_NONE"/>
+ </paramlist>
+ </constructor>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, Colour colText)</autodoc>
+ <paramlist>
+ <param name="colText" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
+ <paramlist>
+ <param name="colBack" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBorderColour" type="" overloaded="no">
+ <autodoc>SetBorderColour(self, Colour col)</autodoc>
+ <paramlist>
+ <param name="col" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBorder" type="" overloaded="no">
+ <autodoc>SetBorder(self, int border)</autodoc>
+ <paramlist>
+ <param name="border" type="wxCalendarDateBorder" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHoliday" type="" overloaded="no">
+ <autodoc>SetHoliday(self, bool holiday)</autodoc>
+ <paramlist>
+ <param name="holiday" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasTextColour" type="bool" overloaded="no">
+ <autodoc>HasTextColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasBackgroundColour" type="bool" overloaded="no">
+ <autodoc>HasBackgroundColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasBorderColour" type="bool" overloaded="no">
+ <autodoc>HasBorderColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasFont" type="bool" overloaded="no">
+ <autodoc>HasFont(self) -> bool</autodoc>
+ </method>
+ <method name="HasBorder" type="bool" overloaded="no">
+ <autodoc>HasBorder(self) -> bool</autodoc>
+ </method>
+ <method name="IsHoliday" type="bool" overloaded="no">
+ <autodoc>IsHoliday(self) -> bool</autodoc>
+ </method>
+ <method name="GetTextColour" type="Colour" overloaded="no">
+ <autodoc>GetTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetBorderColour" type="Colour" overloaded="no">
+ <autodoc>GetBorderColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ </method>
+ <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no">
+ <autodoc>GetBorder(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar">
+ <baseclass name="CommandEvent"/>
+ <constructor name="CalendarEvent" overloaded="no">
+ <autodoc>__init__(self, CalendarCtrl cal, wxEventType type) -> CalendarEvent</autodoc>
+ <paramlist>
+ <param name="cal" type="wxCalendarCtrl" default=""/>
+ <param name="type" type="wxEventType" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="GetDate" type="DateTime" overloaded="no">
+ <autodoc>GetDate(self) -> DateTime</autodoc>
+ </method>
+ <method name="SetDate" type="" overloaded="no">
+ <autodoc>SetDate(self, DateTime date)</autodoc>
+ <paramlist>
+ <param name="date" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWeekDay" type="" overloaded="no">
+ <autodoc>SetWeekDay(self, int wd)</autodoc>
+ <paramlist>
+ <param name="wd" type="wxDateTime::WeekDay" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
+ <autodoc>GetWeekDay(self) -> int</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+EVT_CALENDAR = wx.PyEventBinder( wxEVT_CALENDAR_DOUBLECLICKED, 1)
+EVT_CALENDAR_SEL_CHANGED = wx.PyEventBinder( wxEVT_CALENDAR_SEL_CHANGED, 1)
+EVT_CALENDAR_DAY = wx.PyEventBinder( wxEVT_CALENDAR_DAY_CHANGED, 1)
+EVT_CALENDAR_MONTH = wx.PyEventBinder( wxEVT_CALENDAR_MONTH_CHANGED, 1)
+EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1)
+EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1)
+</pythoncode>
+ <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar">
+ <docstring>The calendar control allows the user to pick a date interactively.
+
+The CalendarCtrl displays a window containing several parts: the
+control to pick the month and the year at the top (either or both of
+them may be disabled) and a month area below them which shows all the
+days in the month. The user can move the current selection using the
+keyboard and select the date (generating EVT_CALENDAR event) by
+pressing <Return> or double clicking it.
+
+It has advanced possibilities for the customization of its
+display. All global settings (such as colours and fonts used) can, of
+course, be changed. But also, the display style for each day in the
+month can be set independently using CalendarDateAttr class.
+
+An item without custom attributes is drawn with the default colours
+and font and without border, but setting custom attributes with
+SetAttr allows to modify its appearance. Just create a custom
+attribute object and set it for the day you want to be displayed
+specially A day may be marked as being a holiday, (even if it is not
+recognized as one by wx.DateTime) by using the SetHoliday method.
+
+As the attributes are specified for each day, they may change when the
+month is changed, so you will often want to update them in an
+EVT_CALENDAR_MONTH event handler.
+
+Window Styles
+-------------
+ ============================== ============================
+ CAL_SUNDAY_FIRST Show Sunday as the first day
+ in the week
+ CAL_MONDAY_FIRST Show Monday as the first day
+ in the week
+ CAL_SHOW_HOLIDAYS Highlight holidays in the
+ calendar
+ CAL_NO_YEAR_CHANGE Disable the year changing
+ CAL_NO_MONTH_CHANGE Disable the month (and,
+ implicitly, the year) changing
+ CAL_SHOW_SURROUNDING_WEEKS Show the neighbouring weeks in
+ the previous and next months
+ CAL_SEQUENTIAL_MONTH_SELECTION Use alternative, more compact,
+ style for the month and year
+ selection controls.
+ ============================== ============================
+
+The default calendar style is CAL_SHOW_HOLIDAYS.
+
+Events
+-------
+ ============================= ==============================
+ EVT_CALENDAR A day was double clicked in the
+ calendar.
+ EVT_CALENDAR_SEL_CHANGED The selected date changed.
+ EVT_CALENDAR_DAY The selected day changed.
+ EVT_CALENDAR_MONTH The selected month changed.
+ EVT_CALENDAR_YEAR The selected year changed.
+ EVT_CALENDAR_WEEKDAY_CLICKED User clicked on the week day
+ header
+ ============================= ==============================
+
+Note that changing the selected date will result in one of
+EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED
+event.
+
+</docstring>
+ <baseclass name="Control"/>
+ <constructor name="CalendarCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, DateTime date=DefaultDateTime,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
+ String name=CalendarNameStr) -> CalendarCtrl</autodoc>
+ <docstring>Create and show a calendar control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="date" type="DateTime" default="wxDefaultDateTime"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/>
+ <param name="name" type="String" default="wxPyCalendarNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreCalendarCtrl" overloaded="no">
+ <autodoc>PreCalendarCtrl() -> CalendarCtrl</autodoc>
+ <docstring>Precreate a CalendarCtrl for 2-phase creation.</docstring>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id, DateTime date=DefaultDateTime,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
+ String name=CalendarNameStr) -> bool</autodoc>
+ <docstring>Acutally create the GUI portion of the CalendarCtrl for 2-phase
+creation.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="date" type="DateTime" default="wxDefaultDateTime"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS"/>
+ <param name="name" type="String" default="wxPyCalendarNameStr"/>
+ </paramlist>
+ </method>
+ <method name="SetDate" type="" overloaded="no">
+ <autodoc>SetDate(self, DateTime date)</autodoc>
+ <docstring>Sets the current date.</docstring>
+ <paramlist>
+ <param name="date" type="DateTime" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDate" type="DateTime" overloaded="no">
+ <autodoc>GetDate(self) -> DateTime</autodoc>
+ <docstring>Gets the currently selected date.</docstring>
+ </method>
+ <method name="SetLowerDateLimit" type="bool" overloaded="no">
+ <autodoc>SetLowerDateLimit(self, DateTime date=DefaultDateTime) -> bool</autodoc>
+ <docstring>set the range in which selection can occur</docstring>
+ <paramlist>
+ <param name="date" type="DateTime" default="wxDefaultDateTime"/>
+ </paramlist>
+ </method>
+ <method name="SetUpperDateLimit" type="bool" overloaded="no">
+ <autodoc>SetUpperDateLimit(self, DateTime date=DefaultDateTime) -> bool</autodoc>
+ <docstring>set the range in which selection can occur</docstring>
+ <paramlist>
+ <param name="date" type="DateTime" default="wxDefaultDateTime"/>
+ </paramlist>
+ </method>
+ <method name="GetLowerDateLimit" type="DateTime" overloaded="no">
+ <autodoc>GetLowerDateLimit(self) -> DateTime</autodoc>
+ <docstring>get the range in which selection can occur</docstring>
+ </method>
+ <method name="GetUpperDateLimit" type="DateTime" overloaded="no">
+ <autodoc>GetUpperDateLimit(self) -> DateTime</autodoc>
+ <docstring>get the range in which selection can occur</docstring>
+ </method>
+ <method name="SetDateRange" type="bool" overloaded="no">
+ <autodoc>SetDateRange(self, DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -> bool</autodoc>
+ <docstring>set the range in which selection can occur</docstring>
+ <paramlist>
+ <param name="lowerdate" type="DateTime" default="wxDefaultDateTime"/>
+ <param name="upperdate" type="DateTime" default="wxDefaultDateTime"/>
+ </paramlist>
+ </method>
+ <method name="EnableYearChange" type="" overloaded="no">
+ <autodoc>EnableYearChange(self, bool enable=True)</autodoc>
+ <docstring>This function should be used instead of changing CAL_NO_YEAR_CHANGE
+style bit directly. It allows or disallows the user to change the year
+interactively.</docstring>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="EnableMonthChange" type="" overloaded="no">
+ <autodoc>EnableMonthChange(self, bool enable=True)</autodoc>
+ <docstring>This function should be used instead of changing CAL_NO_MONTH_CHANGE
+style bit. It allows or disallows the user to change the month
+interactively. Note that if the month can not be changed, the year can
+not be changed either.</docstring>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="EnableHolidayDisplay" type="" overloaded="no">
+ <autodoc>EnableHolidayDisplay(self, bool display=True)</autodoc>
+ <docstring>This function should be used instead of changing CAL_SHOW_HOLIDAYS
+style bit directly. It enables or disables the special highlighting of
+the holidays.</docstring>
+ <paramlist>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetHeaderColours" type="" overloaded="no">
+ <autodoc>SetHeaderColours(self, Colour colFg, Colour colBg)</autodoc>
+ <docstring>Header colours are used for painting the weekdays at the top.</docstring>
+ <paramlist>
+ <param name="colFg" type="Colour" default=""/>
+ <param name="colBg" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHeaderColourFg" type="Colour" overloaded="no">
+ <autodoc>GetHeaderColourFg(self) -> Colour</autodoc>
+ <docstring>Header colours are used for painting the weekdays at the top.</docstring>
+ </method>
+ <method name="GetHeaderColourBg" type="Colour" overloaded="no">
+ <autodoc>GetHeaderColourBg(self) -> Colour</autodoc>
+ <docstring>Header colours are used for painting the weekdays at the top.</docstring>
+ </method>
+ <method name="SetHighlightColours" type="" overloaded="no">
+ <autodoc>SetHighlightColours(self, Colour colFg, Colour colBg)</autodoc>
+ <docstring>Highlight colour is used for the currently selected date.</docstring>
+ <paramlist>
+ <param name="colFg" type="Colour" default=""/>
+ <param name="colBg" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHighlightColourFg" type="Colour" overloaded="no">
+ <autodoc>GetHighlightColourFg(self) -> Colour</autodoc>
+ <docstring>Highlight colour is used for the currently selected date.</docstring>
+ </method>
+ <method name="GetHighlightColourBg" type="Colour" overloaded="no">
+ <autodoc>GetHighlightColourBg(self) -> Colour</autodoc>
+ <docstring>Highlight colour is used for the currently selected date.</docstring>
+ </method>
+ <method name="SetHolidayColours" type="" overloaded="no">
+ <autodoc>SetHolidayColours(self, Colour colFg, Colour colBg)</autodoc>
+ <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
+used).</docstring>
+ <paramlist>
+ <param name="colFg" type="Colour" default=""/>
+ <param name="colBg" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHolidayColourFg" type="Colour" overloaded="no">
+ <autodoc>GetHolidayColourFg(self) -> Colour</autodoc>
+ <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
+used).</docstring>
+ </method>
+ <method name="GetHolidayColourBg" type="Colour" overloaded="no">
+ <autodoc>GetHolidayColourBg(self) -> Colour</autodoc>
+ <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
+used).</docstring>
+ </method>
+ <method name="GetAttr" type="CalendarDateAttr" overloaded="no">
+ <autodoc>GetAttr(self, size_t day) -> CalendarDateAttr</autodoc>
+ <docstring>Returns the attribute for the given date (should be in the range
+1...31). The returned value may be None</docstring>
+ <paramlist>
+ <param name="day" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAttr" type="" overloaded="no">
+ <autodoc>SetAttr(self, size_t day, CalendarDateAttr attr)</autodoc>
+ <docstring>Associates the attribute with the specified date (in the range
+1...31). If the attribute passed is None, the items attribute is
+cleared.</docstring>
+ <paramlist>
+ <param name="day" type="size_t" default=""/>
+ <param name="attr" type="CalendarDateAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHoliday" type="" overloaded="no">
+ <autodoc>SetHoliday(self, size_t day)</autodoc>
+ <docstring>Marks the specified day as being a holiday in the current month.</docstring>
+ <paramlist>
+ <param name="day" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="ResetAttr" type="" overloaded="no">
+ <autodoc>ResetAttr(self, size_t day)</autodoc>
+ <docstring>Clears any attributes associated with the given day (in the range
+1...31).</docstring>
+ <paramlist>
+ <param name="day" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="PyObject" overloaded="no">
+ <autodoc>HitTest(Point pos) -> (result, date, weekday)</autodoc>
+ <docstring>Returns 3-tuple with information about the given position on the
+calendar control. The first value of the tuple is a result code and
+determines the validity of the remaining two values.
+The result codes are:
+
+ =================== ============================================
+ CAL_HITTEST_NOWHERE hit outside of anything
+ CAL_HITTEST_HEADER hit on the header, weekday is valid
+ CAL_HITTEST_DAY hit on a day in the calendar, date is set.
+ =================== ============================================
+</docstring>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMonthControl" type="Control" overloaded="no">
+ <autodoc>GetMonthControl(self) -> Control</autodoc>
+ <docstring>Get the currently shown control for month.</docstring>
+ </method>
+ <method name="GetYearControl" type="Control" overloaded="no">
+ <autodoc>GetYearControl(self) -> Control</autodoc>
+ <docstring>Get the currently shown control for year.</docstring>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ </module>
+ <module name="grid">
+ <import name="_windows"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid">
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetParameters" type="" overloaded="no">
+ <autodoc>SetParameters(self, String params)</autodoc>
+ <paramlist>
+ <param name="params" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="IncRef" type="" overloaded="no">
+ <autodoc>IncRef(self)</autodoc>
+ </method>
+ <method name="DecRef" type="" overloaded="no">
+ <autodoc>DecRef(self)</autodoc>
+ </method>
+ <method name="Draw" type="" overloaded="no">
+ <autodoc>Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row,
+ int col, bool isSelected)</autodoc>
+ <paramlist>
+ <param name="grid" type="wxGrid" default=""/>
+ <param name="attr" type="wxGridCellAttr" default=""/>
+ <param name="dc" type="DC" default=""/>
+ <param name="rect" type="Rect" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="isSelected" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBestSize" type="Size" overloaded="no">
+ <autodoc>GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size</autodoc>
+ <paramlist>
+ <param name="grid" type="wxGrid" default=""/>
+ <param name="attr" type="wxGridCellAttr" default=""/>
+ <param name="dc" type="DC" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clone" type="GridCellRenderer" overloaded="no">
+ <autodoc>Clone(self) -> GridCellRenderer</autodoc>
+ </method>
+ </class>
+ <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid">
+ <baseclass name="GridCellRenderer"/>
+ <constructor name="PyGridCellRenderer" overloaded="no">
+ <autodoc>__init__(self) -> PyGridCellRenderer</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetParameters" type="" overloaded="no">
+ <autodoc>base_SetParameters(self, String params)</autodoc>
+ <paramlist>
+ <param name="params" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid">
+ <baseclass name="GridCellRenderer"/>
+ <constructor name="GridCellStringRenderer" overloaded="no">
+ <autodoc>__init__(self) -> GridCellStringRenderer</autodoc>
+ </constructor>
+ </class>
+ <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid">
+ <baseclass name="GridCellStringRenderer"/>
+ <constructor name="GridCellNumberRenderer" overloaded="no">
+ <autodoc>__init__(self) -> GridCellNumberRenderer</autodoc>
+ </constructor>
+ </class>
+ <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid">
+ <baseclass name="GridCellStringRenderer"/>
+ <constructor name="GridCellFloatRenderer" overloaded="no">
+ <autodoc>__init__(self, int width=-1, int precision=-1) -> GridCellFloatRenderer</autodoc>
+ <paramlist>
+ <param name="width" type="int" default="-1"/>
+ <param name="precision" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrecision" type="int" overloaded="no">
+ <autodoc>GetPrecision(self) -> int</autodoc>
+ </method>
+ <method name="SetPrecision" type="" overloaded="no">
+ <autodoc>SetPrecision(self, int precision)</autodoc>
+ <paramlist>
+ <param name="precision" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid">
+ <baseclass name="GridCellRenderer"/>
+ <constructor name="GridCellBoolRenderer" overloaded="no">
+ <autodoc>__init__(self) -> GridCellBoolRenderer</autodoc>
+ </constructor>
+ </class>
+ <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid">
+ <baseclass name="GridCellStringRenderer"/>
+ <constructor name="GridCellDateTimeRenderer" overloaded="no">
+ <autodoc>__init__(self, String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer</autodoc>
+ <paramlist>
+ <param name="outformat" type="String" default="wxPyDateTimeFormatStr"/>
+ <param name="informat" type="String" default="wxPyDateTimeFormatStr"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid">
+ <baseclass name="GridCellStringRenderer"/>
+ <constructor name="GridCellEnumRenderer" overloaded="no">
+ <autodoc>__init__(self, String choices=EmptyString) -> GridCellEnumRenderer</autodoc>
+ <paramlist>
+ <param name="choices" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid">
+ <baseclass name="GridCellStringRenderer"/>
+ <constructor name="GridCellAutoWrapStringRenderer" overloaded="no">
+ <autodoc>__init__(self) -> GridCellAutoWrapStringRenderer</autodoc>
+ </constructor>
+ </class>
+ <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid">
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsCreated" type="bool" overloaded="no">
+ <autodoc>IsCreated(self) -> bool</autodoc>
+ </method>
+ <method name="GetControl" type="Control" overloaded="no">
+ <autodoc>GetControl(self) -> Control</autodoc>
+ </method>
+ <method name="SetControl" type="" overloaded="no">
+ <autodoc>SetControl(self, Control control)</autodoc>
+ <paramlist>
+ <param name="control" type="Control" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no">
+ <autodoc>GetCellAttr(self) -> GridCellAttr</autodoc>
+ </method>
+ <method name="SetCellAttr" type="" overloaded="no">
+ <autodoc>SetCellAttr(self, GridCellAttr attr)</autodoc>
+ <paramlist>
+ <param name="attr" type="wxGridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetParameters" type="" overloaded="no">
+ <autodoc>SetParameters(self, String params)</autodoc>
+ <paramlist>
+ <param name="params" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="IncRef" type="" overloaded="no">
+ <autodoc>IncRef(self)</autodoc>
+ </method>
+ <method name="DecRef" type="" overloaded="no">
+ <autodoc>DecRef(self)</autodoc>
+ </method>
+ <method name="Create" type="" overloaded="no">
+ <autodoc>Create(self, Window parent, int id, EvtHandler evtHandler)</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="evtHandler" type="EvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="BeginEdit" type="" overloaded="no">
+ <autodoc>BeginEdit(self, int row, int col, Grid grid)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="grid" type="wxGrid" default=""/>
+ </paramlist>
+ </method>
+ <method name="EndEdit" type="bool" overloaded="no">
+ <autodoc>EndEdit(self, int row, int col, Grid grid) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="grid" type="wxGrid" default=""/>
+ </paramlist>
+ </method>
+ <method name="Reset" type="" overloaded="no">
+ <autodoc>Reset(self)</autodoc>
+ </method>
+ <method name="Clone" type="GridCellEditor" overloaded="no">
+ <autodoc>Clone(self) -> GridCellEditor</autodoc>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="Show" type="" overloaded="no">
+ <autodoc>Show(self, bool show, GridCellAttr attr=None)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ <param name="attr" type="wxGridCellAttr" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="PaintBackground" type="" overloaded="no">
+ <autodoc>PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc>
+ <paramlist>
+ <param name="rectCell" type="Rect" default=""/>
+ <param name="attr" type="wxGridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsAcceptedKey" type="bool" overloaded="no">
+ <autodoc>IsAcceptedKey(self, KeyEvent event) -> bool</autodoc>
+ <paramlist>
+ <param name="event" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="StartingKey" type="" overloaded="no">
+ <autodoc>StartingKey(self, KeyEvent event)</autodoc>
+ <paramlist>
+ <param name="event" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="StartingClick" type="" overloaded="no">
+ <autodoc>StartingClick(self)</autodoc>
+ </method>
+ <method name="HandleReturn" type="" overloaded="no">
+ <autodoc>HandleReturn(self, KeyEvent event)</autodoc>
+ <paramlist>
+ <param name="event" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ </method>
+ </class>
+ <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid">
+ <baseclass name="GridCellEditor"/>
+ <constructor name="PyGridCellEditor" overloaded="no">
+ <autodoc>__init__(self) -> PyGridCellEditor</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetSize" type="" overloaded="no">
+ <autodoc>base_SetSize(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_Show" type="" overloaded="no">
+ <autodoc>base_Show(self, bool show, GridCellAttr attr=None)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ <param name="attr" type="wxGridCellAttr" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="base_PaintBackground" type="" overloaded="no">
+ <autodoc>base_PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc>
+ <paramlist>
+ <param name="rectCell" type="Rect" default=""/>
+ <param name="attr" type="wxGridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_IsAcceptedKey" type="bool" overloaded="no">
+ <autodoc>base_IsAcceptedKey(self, KeyEvent event) -> bool</autodoc>
+ <paramlist>
+ <param name="event" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_StartingKey" type="" overloaded="no">
+ <autodoc>base_StartingKey(self, KeyEvent event)</autodoc>
+ <paramlist>
+ <param name="event" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_StartingClick" type="" overloaded="no">
+ <autodoc>base_StartingClick(self)</autodoc>
+ </method>
+ <method name="base_HandleReturn" type="" overloaded="no">
+ <autodoc>base_HandleReturn(self, KeyEvent event)</autodoc>
+ <paramlist>
+ <param name="event" type="KeyEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_Destroy" type="" overloaded="no">
+ <autodoc>base_Destroy(self)</autodoc>
+ </method>
+ <method name="base_SetParameters" type="" overloaded="no">
+ <autodoc>base_SetParameters(self, String params)</autodoc>
+ <paramlist>
+ <param name="params" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid">
+ <baseclass name="GridCellEditor"/>
+ <constructor name="GridCellTextEditor" overloaded="no">
+ <autodoc>__init__(self) -> GridCellTextEditor</autodoc>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid">
+ <baseclass name="GridCellTextEditor"/>
+ <constructor name="GridCellNumberEditor" overloaded="no">
+ <autodoc>__init__(self, int min=-1, int max=-1) -> GridCellNumberEditor</autodoc>
+ <paramlist>
+ <param name="min" type="int" default="-1"/>
+ <param name="max" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid">
+ <baseclass name="GridCellTextEditor"/>
+ <constructor name="GridCellFloatEditor" overloaded="no">
+ <autodoc>__init__(self, int width=-1, int precision=-1) -> GridCellFloatEditor</autodoc>
+ <paramlist>
+ <param name="width" type="int" default="-1"/>
+ <param name="precision" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid">
+ <baseclass name="GridCellEditor"/>
+ <constructor name="GridCellBoolEditor" overloaded="no">
+ <autodoc>__init__(self) -> GridCellBoolEditor</autodoc>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid">
+ <baseclass name="GridCellEditor"/>
+ <constructor name="GridCellChoiceEditor" overloaded="no">
+ <autodoc>__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor</autodoc>
+ <paramlist>
+ <param name="choices" type="int" default="0"/>
+ <param name="choices_array" type="String" default="NULL"/>
+ <param name="allowOthers" type="bool" default="False"/>
+ </paramlist>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid">
+ <baseclass name="GridCellChoiceEditor"/>
+ <constructor name="GridCellEnumEditor" overloaded="no">
+ <autodoc>__init__(self, String choices=EmptyString) -> GridCellEnumEditor</autodoc>
+ <paramlist>
+ <param name="choices" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid">
+ <baseclass name="GridCellTextEditor"/>
+ <constructor name="GridCellAutoWrapStringEditor" overloaded="no">
+ <autodoc>__init__(self) -> GridCellAutoWrapStringEditor</autodoc>
+ </constructor>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ </class>
+ <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid">
+ <constructor name="GridCellAttr" overloaded="no">
+ <autodoc>__init__(self, GridCellAttr attrDefault=None) -> GridCellAttr</autodoc>
+ <paramlist>
+ <param name="attrDefault" type="GridCellAttr" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clone" type="GridCellAttr" overloaded="no">
+ <autodoc>Clone(self) -> GridCellAttr</autodoc>
+ </method>
+ <method name="MergeWith" type="" overloaded="no">
+ <autodoc>MergeWith(self, GridCellAttr mergefrom)</autodoc>
+ <paramlist>
+ <param name="mergefrom" type="GridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="IncRef" type="" overloaded="no">
+ <autodoc>IncRef(self)</autodoc>
+ </method>
+ <method name="DecRef" type="" overloaded="no">
+ <autodoc>DecRef(self)</autodoc>
+ </method>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, Colour colText)</autodoc>
+ <paramlist>
+ <param name="colText" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
+ <paramlist>
+ <param name="colBack" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAlignment" type="" overloaded="no">
+ <autodoc>SetAlignment(self, int hAlign, int vAlign)</autodoc>
+ <paramlist>
+ <param name="hAlign" type="int" default=""/>
+ <param name="vAlign" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, int num_rows, int num_cols)</autodoc>
+ <paramlist>
+ <param name="num_rows" type="int" default=""/>
+ <param name="num_cols" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOverflow" type="" overloaded="no">
+ <autodoc>SetOverflow(self, bool allow=True)</autodoc>
+ <paramlist>
+ <param name="allow" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetReadOnly" type="" overloaded="no">
+ <autodoc>SetReadOnly(self, bool isReadOnly=True)</autodoc>
+ <paramlist>
+ <param name="isReadOnly" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetRenderer" type="" overloaded="no">
+ <autodoc>SetRenderer(self, GridCellRenderer renderer)</autodoc>
+ <paramlist>
+ <param name="renderer" type="GridCellRenderer" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetEditor" type="" overloaded="no">
+ <autodoc>SetEditor(self, GridCellEditor editor)</autodoc>
+ <paramlist>
+ <param name="editor" type="GridCellEditor" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetKind" type="" overloaded="no">
+ <autodoc>SetKind(self, int kind)</autodoc>
+ <paramlist>
+ <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasTextColour" type="bool" overloaded="no">
+ <autodoc>HasTextColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasBackgroundColour" type="bool" overloaded="no">
+ <autodoc>HasBackgroundColour(self) -> bool</autodoc>
+ </method>
+ <method name="HasFont" type="bool" overloaded="no">
+ <autodoc>HasFont(self) -> bool</autodoc>
+ </method>
+ <method name="HasAlignment" type="bool" overloaded="no">
+ <autodoc>HasAlignment(self) -> bool</autodoc>
+ </method>
+ <method name="HasRenderer" type="bool" overloaded="no">
+ <autodoc>HasRenderer(self) -> bool</autodoc>
+ </method>
+ <method name="HasEditor" type="bool" overloaded="no">
+ <autodoc>HasEditor(self) -> bool</autodoc>
+ </method>
+ <method name="HasReadWriteMode" type="bool" overloaded="no">
+ <autodoc>HasReadWriteMode(self) -> bool</autodoc>
+ </method>
+ <method name="HasOverflowMode" type="bool" overloaded="no">
+ <autodoc>HasOverflowMode(self) -> bool</autodoc>
+ </method>
+ <method name="GetTextColour" type="Colour" overloaded="no">
+ <autodoc>GetTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ </method>
+ <method name="GetAlignment" type="" overloaded="no">
+ <autodoc>GetAlignment() -> (hAlign, vAlign)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="" overloaded="no">
+ <autodoc>GetSize() -> (num_rows, num_cols)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOverflow" type="bool" overloaded="no">
+ <autodoc>GetOverflow(self) -> bool</autodoc>
+ </method>
+ <method name="GetRenderer" type="GridCellRenderer" overloaded="no">
+ <autodoc>GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer</autodoc>
+ <paramlist>
+ <param name="grid" type="wxGrid" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEditor" type="GridCellEditor" overloaded="no">
+ <autodoc>GetEditor(self, Grid grid, int row, int col) -> GridCellEditor</autodoc>
+ <paramlist>
+ <param name="grid" type="wxGrid" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsReadOnly" type="bool" overloaded="no">
+ <autodoc>IsReadOnly(self) -> bool</autodoc>
+ </method>
+ <method name="GetKind" type="wxGridCellAttr::wxAttrKind" overloaded="no">
+ <autodoc>GetKind(self) -> int</autodoc>
+ </method>
+ <method name="SetDefAttr" type="" overloaded="no">
+ <autodoc>SetDefAttr(self, GridCellAttr defAttr)</autodoc>
+ <paramlist>
+ <param name="defAttr" type="GridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid">
+ <constructor name="GridCellAttrProvider" overloaded="no">
+ <autodoc>__init__(self) -> GridCellAttrProvider</autodoc>
+ </constructor>
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAttr" type="GridCellAttr" overloaded="no">
+ <autodoc>GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAttr" type="" overloaded="no">
+ <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowAttr" type="" overloaded="no">
+ <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColAttr" type="" overloaded="no">
+ <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="UpdateAttrRows" type="" overloaded="no">
+ <autodoc>UpdateAttrRows(self, size_t pos, int numRows)</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="numRows" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="UpdateAttrCols" type="" overloaded="no">
+ <autodoc>UpdateAttrCols(self, size_t pos, int numCols)</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default=""/>
+ <param name="numCols" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid">
+ <baseclass name="GridCellAttrProvider"/>
+ <constructor name="PyGridCellAttrProvider" overloaded="no">
+ <autodoc>__init__(self) -> PyGridCellAttrProvider</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
+ <autodoc>base_GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetAttr" type="" overloaded="no">
+ <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetRowAttr" type="" overloaded="no">
+ <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetColAttr" type="" overloaded="no">
+ <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="GridTableBase" oldname="wxGridTableBase" module="grid">
+ <baseclass name="Object"/>
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAttrProvider" type="" overloaded="no">
+ <autodoc>SetAttrProvider(self, GridCellAttrProvider attrProvider)</autodoc>
+ <paramlist>
+ <param name="attrProvider" type="GridCellAttrProvider" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAttrProvider" type="GridCellAttrProvider" overloaded="no">
+ <autodoc>GetAttrProvider(self) -> GridCellAttrProvider</autodoc>
+ </method>
+ <method name="SetView" type="" overloaded="no">
+ <autodoc>SetView(self, Grid grid)</autodoc>
+ <paramlist>
+ <param name="grid" type="wxGrid" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetView" type="wxGrid" overloaded="no">
+ <autodoc>GetView(self) -> Grid</autodoc>
+ </method>
+ <method name="GetNumberRows" type="int" overloaded="no">
+ <autodoc>GetNumberRows(self) -> int</autodoc>
+ </method>
+ <method name="GetNumberCols" type="int" overloaded="no">
+ <autodoc>GetNumberCols(self) -> int</autodoc>
+ </method>
+ <method name="IsEmptyCell" type="bool" overloaded="no">
+ <autodoc>IsEmptyCell(self, int row, int col) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self, int row, int col) -> String</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, int row, int col, String value)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTypeName" type="String" overloaded="no">
+ <autodoc>GetTypeName(self, int row, int col) -> String</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanGetValueAs" type="bool" overloaded="no">
+ <autodoc>CanGetValueAs(self, int row, int col, String typeName) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="typeName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanSetValueAs" type="bool" overloaded="no">
+ <autodoc>CanSetValueAs(self, int row, int col, String typeName) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="typeName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValueAsLong" type="long" overloaded="no">
+ <autodoc>GetValueAsLong(self, int row, int col) -> long</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValueAsDouble" type="double" overloaded="no">
+ <autodoc>GetValueAsDouble(self, int row, int col) -> double</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetValueAsBool" type="bool" overloaded="no">
+ <autodoc>GetValueAsBool(self, int row, int col) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValueAsLong" type="" overloaded="no">
+ <autodoc>SetValueAsLong(self, int row, int col, long value)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="value" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValueAsDouble" type="" overloaded="no">
+ <autodoc>SetValueAsDouble(self, int row, int col, double value)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="value" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValueAsBool" type="" overloaded="no">
+ <autodoc>SetValueAsBool(self, int row, int col, bool value)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="value" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ </method>
+ <method name="InsertRows" type="bool" overloaded="no">
+ <autodoc>InsertRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numRows" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="AppendRows" type="bool" overloaded="no">
+ <autodoc>AppendRows(self, size_t numRows=1) -> bool</autodoc>
+ <paramlist>
+ <param name="numRows" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="DeleteRows" type="bool" overloaded="no">
+ <autodoc>DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numRows" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="InsertCols" type="bool" overloaded="no">
+ <autodoc>InsertCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numCols" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="AppendCols" type="bool" overloaded="no">
+ <autodoc>AppendCols(self, size_t numCols=1) -> bool</autodoc>
+ <paramlist>
+ <param name="numCols" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="DeleteCols" type="bool" overloaded="no">
+ <autodoc>DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numCols" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="GetRowLabelValue" type="String" overloaded="no">
+ <autodoc>GetRowLabelValue(self, int row) -> String</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColLabelValue" type="String" overloaded="no">
+ <autodoc>GetColLabelValue(self, int col) -> String</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowLabelValue" type="" overloaded="no">
+ <autodoc>SetRowLabelValue(self, int row, String value)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColLabelValue" type="" overloaded="no">
+ <autodoc>SetColLabelValue(self, int col, String value)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanHaveAttributes" type="bool" overloaded="no">
+ <autodoc>CanHaveAttributes(self) -> bool</autodoc>
+ </method>
+ <method name="GetAttr" type="GridCellAttr" overloaded="no">
+ <autodoc>GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAttr" type="" overloaded="no">
+ <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowAttr" type="" overloaded="no">
+ <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColAttr" type="" overloaded="no">
+ <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid">
+ <baseclass name="GridTableBase"/>
+ <constructor name="PyGridTableBase" overloaded="no">
+ <autodoc>__init__(self) -> PyGridTableBase</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Destroy" type="" overloaded="no">
+ <autodoc>Destroy(self)</autodoc>
+ <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+ </method>
+ <method name="base_GetTypeName" type="String" overloaded="no">
+ <autodoc>base_GetTypeName(self, int row, int col) -> String</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_CanGetValueAs" type="bool" overloaded="no">
+ <autodoc>base_CanGetValueAs(self, int row, int col, String typeName) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="typeName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_CanSetValueAs" type="bool" overloaded="no">
+ <autodoc>base_CanSetValueAs(self, int row, int col, String typeName) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="typeName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_Clear" type="" overloaded="no">
+ <autodoc>base_Clear(self)</autodoc>
+ </method>
+ <method name="base_InsertRows" type="bool" overloaded="no">
+ <autodoc>base_InsertRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numRows" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="base_AppendRows" type="bool" overloaded="no">
+ <autodoc>base_AppendRows(self, size_t numRows=1) -> bool</autodoc>
+ <paramlist>
+ <param name="numRows" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="base_DeleteRows" type="bool" overloaded="no">
+ <autodoc>base_DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numRows" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="base_InsertCols" type="bool" overloaded="no">
+ <autodoc>base_InsertCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numCols" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="base_AppendCols" type="bool" overloaded="no">
+ <autodoc>base_AppendCols(self, size_t numCols=1) -> bool</autodoc>
+ <paramlist>
+ <param name="numCols" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="base_DeleteCols" type="bool" overloaded="no">
+ <autodoc>base_DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="size_t" default="0"/>
+ <param name="numCols" type="size_t" default="1"/>
+ </paramlist>
+ </method>
+ <method name="base_GetRowLabelValue" type="String" overloaded="no">
+ <autodoc>base_GetRowLabelValue(self, int row) -> String</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_GetColLabelValue" type="String" overloaded="no">
+ <autodoc>base_GetColLabelValue(self, int col) -> String</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetRowLabelValue" type="" overloaded="no">
+ <autodoc>base_SetRowLabelValue(self, int row, String value)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetColLabelValue" type="" overloaded="no">
+ <autodoc>base_SetColLabelValue(self, int col, String value)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_CanHaveAttributes" type="bool" overloaded="no">
+ <autodoc>base_CanHaveAttributes(self) -> bool</autodoc>
+ </method>
+ <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
+ <autodoc>base_GetAttr(self, int row, int col, int kind) -> GridCellAttr</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetAttr" type="" overloaded="no">
+ <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetRowAttr" type="" overloaded="no">
+ <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_SetColAttr" type="" overloaded="no">
+ <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc>
+ <paramlist>
+ <param name="attr" type="GridCellAttr" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="GridStringTable" oldname="wxGridStringTable" module="grid">
+ <baseclass name="GridTableBase"/>
+ <constructor name="GridStringTable" overloaded="no">
+ <autodoc>__init__(self, int numRows=0, int numCols=0) -> GridStringTable</autodoc>
+ <paramlist>
+ <param name="numRows" type="int" default="0"/>
+ <param name="numCols" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid">
+ <constructor name="GridTableMessage" overloaded="no">
+ <autodoc>__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage</autodoc>
+ <paramlist>
+ <param name="table" type="GridTableBase" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="comInt1" type="int" default="-1"/>
+ <param name="comInt2" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxGridTableMessage" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetTableObject" type="" overloaded="no">
+ <autodoc>SetTableObject(self, GridTableBase table)</autodoc>
+ <paramlist>
+ <param name="table" type="GridTableBase" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTableObject" type="GridTableBase" overloaded="no">
+ <autodoc>GetTableObject(self) -> GridTableBase</autodoc>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, int id)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetId" type="int" overloaded="no">
+ <autodoc>GetId(self) -> int</autodoc>
+ </method>
+ <method name="SetCommandInt" type="" overloaded="no">
+ <autodoc>SetCommandInt(self, int comInt1)</autodoc>
+ <paramlist>
+ <param name="comInt1" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCommandInt" type="int" overloaded="no">
+ <autodoc>GetCommandInt(self) -> int</autodoc>
+ </method>
+ <method name="SetCommandInt2" type="" overloaded="no">
+ <autodoc>SetCommandInt2(self, int comInt2)</autodoc>
+ <paramlist>
+ <param name="comInt2" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCommandInt2" type="int" overloaded="no">
+ <autodoc>GetCommandInt2(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid">
+ <constructor name="GridCellCoords" overloaded="no">
+ <autodoc>__init__(self, int r=-1, int c=-1) -> GridCellCoords</autodoc>
+ <paramlist>
+ <param name="r" type="int" default="-1"/>
+ <param name="c" type="int" default="-1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxGridCellCoords" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="GetRow" type="int" overloaded="no">
+ <autodoc>GetRow(self) -> int</autodoc>
+ </method>
+ <method name="SetRow" type="" overloaded="no">
+ <autodoc>SetRow(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCol" type="int" overloaded="no">
+ <autodoc>GetCol(self) -> int</autodoc>
+ </method>
+ <method name="SetCol" type="" overloaded="no">
+ <autodoc>SetCol(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, int row, int col)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, GridCellCoords other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="GridCellCoords" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, GridCellCoords other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="GridCellCoords" default=""/>
+ </paramlist>
+ </method>
+ <method name="Get" type="PyObject" overloaded="no">
+ <autodoc>Get(self) -> PyObject</autodoc>
+ </method>
+ </class>
+ <class name="Grid" oldname="wxGrid" module="grid">
+ <baseclass name="ScrolledWindow"/>
+ <constructor name="Grid" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=WANTS_CHARS,
+ String name=PanelNameStr) -> Grid</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxWANTS_CHARS"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreGrid" overloaded="no">
+ <autodoc>PreGrid() -> Grid</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=WANTS_CHARS,
+ String name=PanelNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxWANTS_CHARS"/>
+ <param name="name" type="String" default="wxPyPanelNameStr"/>
+ </paramlist>
+ </method>
+ <method name="CreateGrid" type="bool" overloaded="no">
+ <autodoc>CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc>
+ <paramlist>
+ <param name="numRows" type="int" default=""/>
+ <param name="numCols" type="int" default=""/>
+ <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/>
+ </paramlist>
+ </method>
+ <method name="SetSelectionMode" type="" overloaded="no">
+ <autodoc>SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)</autodoc>
+ <paramlist>
+ <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no">
+ <autodoc>GetSelectionMode(self) -> WXGRIDSELECTIONMODES</autodoc>
+ </method>
+ <method name="GetNumberRows" type="int" overloaded="no">
+ <autodoc>GetNumberRows(self) -> int</autodoc>
+ </method>
+ <method name="GetNumberCols" type="int" overloaded="no">
+ <autodoc>GetNumberCols(self) -> int</autodoc>
+ </method>
+ <method name="ProcessTableMessage" type="bool" overloaded="no">
+ <autodoc>ProcessTableMessage(self, GridTableMessage ??) -> bool</autodoc>
+ <paramlist>
+ <param name="" type="GridTableMessage" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTable" type="GridTableBase" overloaded="no">
+ <autodoc>GetTable(self) -> GridTableBase</autodoc>
+ </method>
+ <method name="SetTable" type="bool" overloaded="no">
+ <autodoc>SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool</autodoc>
+ <paramlist>
+ <param name="table" type="GridTableBase" default=""/>
+ <param name="takeOwnership" type="bool" default="False"/>
+ <param name="selmode" type="WXGRIDSELECTIONMODES" default="wxGrid::wxGridSelectCells"/>
+ </paramlist>
+ </method>
+ <method name="ClearGrid" type="" overloaded="no">
+ <autodoc>ClearGrid(self)</autodoc>
+ </method>
+ <method name="InsertRows" type="bool" overloaded="no">
+ <autodoc>InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default="0"/>
+ <param name="numRows" type="int" default="1"/>
+ <param name="updateLabels" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="AppendRows" type="bool" overloaded="no">
+ <autodoc>AppendRows(self, int numRows=1, bool updateLabels=True) -> bool</autodoc>
+ <paramlist>
+ <param name="numRows" type="int" default="1"/>
+ <param name="updateLabels" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DeleteRows" type="bool" overloaded="no">
+ <autodoc>DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default="0"/>
+ <param name="numRows" type="int" default="1"/>
+ <param name="updateLabels" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="InsertCols" type="bool" overloaded="no">
+ <autodoc>InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default="0"/>
+ <param name="numCols" type="int" default="1"/>
+ <param name="updateLabels" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="AppendCols" type="bool" overloaded="no">
+ <autodoc>AppendCols(self, int numCols=1, bool updateLabels=True) -> bool</autodoc>
+ <paramlist>
+ <param name="numCols" type="int" default="1"/>
+ <param name="updateLabels" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DeleteCols" type="bool" overloaded="no">
+ <autodoc>DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default="0"/>
+ <param name="numCols" type="int" default="1"/>
+ <param name="updateLabels" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DrawCellHighlight" type="" overloaded="no">
+ <autodoc>DrawCellHighlight(self, DC dc, GridCellAttr attr)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="attr" type="GridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawTextRectangle" type="" overloaded="no">
+ <autodoc>DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT,
+ int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="" type="String" default=""/>
+ <param name="" type="Rect" default=""/>
+ <param name="horizontalAlignment" type="int" default="wxLEFT"/>
+ <param name="verticalAlignment" type="int" default="wxTOP"/>
+ <param name="textOrientation" type="int" default="wxHORIZONTAL"/>
+ </paramlist>
+ </method>
+ <method name="GetTextBoxSize" type="" overloaded="no">
+ <autodoc>GetTextBoxSize(DC dc, list lines) -> (width, height)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="lines" type="wxArrayString" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ <param name="OUTPUT" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="BeginBatch" type="" overloaded="no">
+ <autodoc>BeginBatch(self)</autodoc>
+ </method>
+ <method name="EndBatch" type="" overloaded="no">
+ <autodoc>EndBatch(self)</autodoc>
+ </method>
+ <method name="GetBatchCount" type="int" overloaded="no">
+ <autodoc>GetBatchCount(self) -> int</autodoc>
+ </method>
+ <method name="ForceRefresh" type="" overloaded="no">
+ <autodoc>ForceRefresh(self)</autodoc>
+ </method>
+ <method name="IsEditable" type="bool" overloaded="no">
+ <autodoc>IsEditable(self) -> bool</autodoc>
+ </method>
+ <method name="EnableEditing" type="" overloaded="no">
+ <autodoc>EnableEditing(self, bool edit)</autodoc>
+ <paramlist>
+ <param name="edit" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableCellEditControl" type="" overloaded="no">
+ <autodoc>EnableCellEditControl(self, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DisableCellEditControl" type="" overloaded="no">
+ <autodoc>DisableCellEditControl(self)</autodoc>
+ </method>
+ <method name="CanEnableCellControl" type="bool" overloaded="no">
+ <autodoc>CanEnableCellControl(self) -> bool</autodoc>
+ </method>
+ <method name="IsCellEditControlEnabled" type="bool" overloaded="no">
+ <autodoc>IsCellEditControlEnabled(self) -> bool</autodoc>
+ </method>
+ <method name="IsCellEditControlShown" type="bool" overloaded="no">
+ <autodoc>IsCellEditControlShown(self) -> bool</autodoc>
+ </method>
+ <method name="IsCurrentCellReadOnly" type="bool" overloaded="no">
+ <autodoc>IsCurrentCellReadOnly(self) -> bool</autodoc>
+ </method>
+ <method name="ShowCellEditControl" type="" overloaded="no">
+ <autodoc>ShowCellEditControl(self)</autodoc>
+ </method>
+ <method name="HideCellEditControl" type="" overloaded="no">
+ <autodoc>HideCellEditControl(self)</autodoc>
+ </method>
+ <method name="SaveEditControlValue" type="" overloaded="no">
+ <autodoc>SaveEditControlValue(self)</autodoc>
+ </method>
+ <method name="XYToCell" type="GridCellCoords" overloaded="no">
+ <autodoc>XYToCell(self, int x, int y) -> GridCellCoords</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="YToRow" type="int" overloaded="no">
+ <autodoc>YToRow(self, int y) -> int</autodoc>
+ <paramlist>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="XToCol" type="int" overloaded="no">
+ <autodoc>XToCol(self, int x) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="YToEdgeOfRow" type="int" overloaded="no">
+ <autodoc>YToEdgeOfRow(self, int y) -> int</autodoc>
+ <paramlist>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="XToEdgeOfCol" type="int" overloaded="no">
+ <autodoc>XToEdgeOfCol(self, int x) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CellToRect" type="Rect" overloaded="no">
+ <autodoc>CellToRect(self, int row, int col) -> Rect</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetGridCursorRow" type="int" overloaded="no">
+ <autodoc>GetGridCursorRow(self) -> int</autodoc>
+ </method>
+ <method name="GetGridCursorCol" type="int" overloaded="no">
+ <autodoc>GetGridCursorCol(self) -> int</autodoc>
+ </method>
+ <method name="IsVisible" type="bool" overloaded="no">
+ <autodoc>IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="wholeCellVisible" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="MakeCellVisible" type="" overloaded="no">
+ <autodoc>MakeCellVisible(self, int row, int col)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetGridCursor" type="" overloaded="no">
+ <autodoc>SetGridCursor(self, int row, int col)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveCursorUp" type="bool" overloaded="no">
+ <autodoc>MoveCursorUp(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveCursorDown" type="bool" overloaded="no">
+ <autodoc>MoveCursorDown(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveCursorLeft" type="bool" overloaded="no">
+ <autodoc>MoveCursorLeft(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveCursorRight" type="bool" overloaded="no">
+ <autodoc>MoveCursorRight(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="MovePageDown" type="bool" overloaded="no">
+ <autodoc>MovePageDown(self) -> bool</autodoc>
+ </method>
+ <method name="MovePageUp" type="bool" overloaded="no">
+ <autodoc>MovePageUp(self) -> bool</autodoc>
+ </method>
+ <method name="MoveCursorUpBlock" type="bool" overloaded="no">
+ <autodoc>MoveCursorUpBlock(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveCursorDownBlock" type="bool" overloaded="no">
+ <autodoc>MoveCursorDownBlock(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveCursorLeftBlock" type="bool" overloaded="no">
+ <autodoc>MoveCursorLeftBlock(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="MoveCursorRightBlock" type="bool" overloaded="no">
+ <autodoc>MoveCursorRightBlock(self, bool expandSelection) -> bool</autodoc>
+ <paramlist>
+ <param name="expandSelection" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultRowLabelSize" type="int" overloaded="no">
+ <autodoc>GetDefaultRowLabelSize(self) -> int</autodoc>
+ </method>
+ <method name="GetRowLabelSize" type="int" overloaded="no">
+ <autodoc>GetRowLabelSize(self) -> int</autodoc>
+ </method>
+ <method name="GetDefaultColLabelSize" type="int" overloaded="no">
+ <autodoc>GetDefaultColLabelSize(self) -> int</autodoc>
+ </method>
+ <method name="GetColLabelSize" type="int" overloaded="no">
+ <autodoc>GetColLabelSize(self) -> int</autodoc>
+ </method>
+ <method name="GetLabelBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetLabelBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetLabelTextColour" type="Colour" overloaded="no">
+ <autodoc>GetLabelTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetLabelFont" type="Font" overloaded="no">
+ <autodoc>GetLabelFont(self) -> Font</autodoc>
+ </method>
+ <method name="GetRowLabelAlignment" type="" overloaded="no">
+ <autodoc>GetRowLabelAlignment() -> (horiz, vert)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColLabelAlignment" type="" overloaded="no">
+ <autodoc>GetColLabelAlignment() -> (horiz, vert)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColLabelTextOrientation" type="int" overloaded="no">
+ <autodoc>GetColLabelTextOrientation(self) -> int</autodoc>
+ </method>
+ <method name="GetRowLabelValue" type="String" overloaded="no">
+ <autodoc>GetRowLabelValue(self, int row) -> String</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColLabelValue" type="String" overloaded="no">
+ <autodoc>GetColLabelValue(self, int col) -> String</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetGridLineColour" type="Colour" overloaded="no">
+ <autodoc>GetGridLineColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetCellHighlightColour" type="Colour" overloaded="no">
+ <autodoc>GetCellHighlightColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetCellHighlightPenWidth" type="int" overloaded="no">
+ <autodoc>GetCellHighlightPenWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetCellHighlightROPenWidth" type="int" overloaded="no">
+ <autodoc>GetCellHighlightROPenWidth(self) -> int</autodoc>
+ </method>
+ <method name="SetRowLabelSize" type="" overloaded="no">
+ <autodoc>SetRowLabelSize(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColLabelSize" type="" overloaded="no">
+ <autodoc>SetColLabelSize(self, int height)</autodoc>
+ <paramlist>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLabelBackgroundColour" type="" overloaded="no">
+ <autodoc>SetLabelBackgroundColour(self, Colour ??)</autodoc>
+ <paramlist>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLabelTextColour" type="" overloaded="no">
+ <autodoc>SetLabelTextColour(self, Colour ??)</autodoc>
+ <paramlist>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLabelFont" type="" overloaded="no">
+ <autodoc>SetLabelFont(self, Font ??)</autodoc>
+ <paramlist>
+ <param name="" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowLabelAlignment" type="" overloaded="no">
+ <autodoc>SetRowLabelAlignment(self, int horiz, int vert)</autodoc>
+ <paramlist>
+ <param name="horiz" type="int" default=""/>
+ <param name="vert" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColLabelAlignment" type="" overloaded="no">
+ <autodoc>SetColLabelAlignment(self, int horiz, int vert)</autodoc>
+ <paramlist>
+ <param name="horiz" type="int" default=""/>
+ <param name="vert" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColLabelTextOrientation" type="" overloaded="no">
+ <autodoc>SetColLabelTextOrientation(self, int textOrientation)</autodoc>
+ <paramlist>
+ <param name="textOrientation" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowLabelValue" type="" overloaded="no">
+ <autodoc>SetRowLabelValue(self, int row, String ??)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColLabelValue" type="" overloaded="no">
+ <autodoc>SetColLabelValue(self, int col, String ??)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetGridLineColour" type="" overloaded="no">
+ <autodoc>SetGridLineColour(self, Colour ??)</autodoc>
+ <paramlist>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellHighlightColour" type="" overloaded="no">
+ <autodoc>SetCellHighlightColour(self, Colour ??)</autodoc>
+ <paramlist>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellHighlightPenWidth" type="" overloaded="no">
+ <autodoc>SetCellHighlightPenWidth(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellHighlightROPenWidth" type="" overloaded="no">
+ <autodoc>SetCellHighlightROPenWidth(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableDragRowSize" type="" overloaded="no">
+ <autodoc>EnableDragRowSize(self, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DisableDragRowSize" type="" overloaded="no">
+ <autodoc>DisableDragRowSize(self)</autodoc>
+ </method>
+ <method name="CanDragRowSize" type="bool" overloaded="no">
+ <autodoc>CanDragRowSize(self) -> bool</autodoc>
+ </method>
+ <method name="EnableDragColSize" type="" overloaded="no">
+ <autodoc>EnableDragColSize(self, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DisableDragColSize" type="" overloaded="no">
+ <autodoc>DisableDragColSize(self)</autodoc>
+ </method>
+ <method name="CanDragColSize" type="bool" overloaded="no">
+ <autodoc>CanDragColSize(self) -> bool</autodoc>
+ </method>
+ <method name="EnableDragGridSize" type="" overloaded="no">
+ <autodoc>EnableDragGridSize(self, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DisableDragGridSize" type="" overloaded="no">
+ <autodoc>DisableDragGridSize(self)</autodoc>
+ </method>
+ <method name="CanDragGridSize" type="bool" overloaded="no">
+ <autodoc>CanDragGridSize(self) -> bool</autodoc>
+ </method>
+ <method name="EnableDragCell" type="" overloaded="no">
+ <autodoc>EnableDragCell(self, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="DisableDragCell" type="" overloaded="no">
+ <autodoc>DisableDragCell(self)</autodoc>
+ </method>
+ <method name="CanDragCell" type="bool" overloaded="no">
+ <autodoc>CanDragCell(self) -> bool</autodoc>
+ </method>
+ <method name="SetAttr" type="" overloaded="no">
+ <autodoc>SetAttr(self, int row, int col, GridCellAttr attr)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="attr" type="GridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowAttr" type="" overloaded="no">
+ <autodoc>SetRowAttr(self, int row, GridCellAttr attr)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="attr" type="GridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColAttr" type="" overloaded="no">
+ <autodoc>SetColAttr(self, int col, GridCellAttr attr)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="attr" type="GridCellAttr" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColFormatBool" type="" overloaded="no">
+ <autodoc>SetColFormatBool(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColFormatNumber" type="" overloaded="no">
+ <autodoc>SetColFormatNumber(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColFormatFloat" type="" overloaded="no">
+ <autodoc>SetColFormatFloat(self, int col, int width=-1, int precision=-1)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="width" type="int" default="-1"/>
+ <param name="precision" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetColFormatCustom" type="" overloaded="no">
+ <autodoc>SetColFormatCustom(self, int col, String typeName)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="typeName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnableGridLines" type="" overloaded="no">
+ <autodoc>EnableGridLines(self, bool enable=True)</autodoc>
+ <paramlist>
+ <param name="enable" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GridLinesEnabled" type="bool" overloaded="no">
+ <autodoc>GridLinesEnabled(self) -> bool</autodoc>
+ </method>
+ <method name="GetDefaultRowSize" type="int" overloaded="no">
+ <autodoc>GetDefaultRowSize(self) -> int</autodoc>
+ </method>
+ <method name="GetRowSize" type="int" overloaded="no">
+ <autodoc>GetRowSize(self, int row) -> int</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultColSize" type="int" overloaded="no">
+ <autodoc>GetDefaultColSize(self) -> int</autodoc>
+ </method>
+ <method name="GetColSize" type="int" overloaded="no">
+ <autodoc>GetColSize(self, int col) -> int</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultCellBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetDefaultCellBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetCellBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetCellBackgroundColour(self, int row, int col) -> Colour</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultCellTextColour" type="Colour" overloaded="no">
+ <autodoc>GetDefaultCellTextColour(self) -> Colour</autodoc>
+ </method>
+ <method name="GetCellTextColour" type="Colour" overloaded="no">
+ <autodoc>GetCellTextColour(self, int row, int col) -> Colour</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultCellFont" type="Font" overloaded="no">
+ <autodoc>GetDefaultCellFont(self) -> Font</autodoc>
+ </method>
+ <method name="GetCellFont" type="Font" overloaded="no">
+ <autodoc>GetCellFont(self, int row, int col) -> Font</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultCellAlignment" type="" overloaded="no">
+ <autodoc>GetDefaultCellAlignment() -> (horiz, vert)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCellAlignment" type="" overloaded="no">
+ <autodoc>GetCellAlignment() -> (horiz, vert)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultCellOverflow" type="bool" overloaded="no">
+ <autodoc>GetDefaultCellOverflow(self) -> bool</autodoc>
+ </method>
+ <method name="GetCellOverflow" type="bool" overloaded="no">
+ <autodoc>GetCellOverflow(self, int row, int col) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCellSize" type="" overloaded="no">
+ <autodoc>GetCellSize(int row, int col) -> (num_rows, num_cols)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultRowSize" type="" overloaded="no">
+ <autodoc>SetDefaultRowSize(self, int height, bool resizeExistingRows=False)</autodoc>
+ <paramlist>
+ <param name="height" type="int" default=""/>
+ <param name="resizeExistingRows" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="SetRowSize" type="" overloaded="no">
+ <autodoc>SetRowSize(self, int row, int height)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultColSize" type="" overloaded="no">
+ <autodoc>SetDefaultColSize(self, int width, bool resizeExistingCols=False)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="resizeExistingCols" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="SetColSize" type="" overloaded="no">
+ <autodoc>SetColSize(self, int col, int width)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoSizeColumn" type="" overloaded="no">
+ <autodoc>AutoSizeColumn(self, int col, bool setAsMin=True)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="setAsMin" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="AutoSizeRow" type="" overloaded="no">
+ <autodoc>AutoSizeRow(self, int row, bool setAsMin=True)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="setAsMin" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="AutoSizeColumns" type="" overloaded="no">
+ <autodoc>AutoSizeColumns(self, bool setAsMin=True)</autodoc>
+ <paramlist>
+ <param name="setAsMin" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="AutoSizeRows" type="" overloaded="no">
+ <autodoc>AutoSizeRows(self, bool setAsMin=True)</autodoc>
+ <paramlist>
+ <param name="setAsMin" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="AutoSize" type="" overloaded="no">
+ <autodoc>AutoSize(self)</autodoc>
+ </method>
+ <method name="AutoSizeRowLabelSize" type="" overloaded="no">
+ <autodoc>AutoSizeRowLabelSize(self, int row)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoSizeColLabelSize" type="" overloaded="no">
+ <autodoc>AutoSizeColLabelSize(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColMinimalWidth" type="" overloaded="no">
+ <autodoc>SetColMinimalWidth(self, int col, int width)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowMinimalHeight" type="" overloaded="no">
+ <autodoc>SetRowMinimalHeight(self, int row, int width)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColMinimalAcceptableWidth" type="" overloaded="no">
+ <autodoc>SetColMinimalAcceptableWidth(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRowMinimalAcceptableHeight" type="" overloaded="no">
+ <autodoc>SetRowMinimalAcceptableHeight(self, int width)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no">
+ <autodoc>GetColMinimalAcceptableWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no">
+ <autodoc>GetRowMinimalAcceptableHeight(self) -> int</autodoc>
+ </method>
+ <method name="SetDefaultCellBackgroundColour" type="" overloaded="no">
+ <autodoc>SetDefaultCellBackgroundColour(self, Colour ??)</autodoc>
+ <paramlist>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellBackgroundColour" type="" overloaded="no">
+ <autodoc>SetCellBackgroundColour(self, int row, int col, Colour ??)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultCellTextColour" type="" overloaded="no">
+ <autodoc>SetDefaultCellTextColour(self, Colour ??)</autodoc>
+ <paramlist>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellTextColour" type="" overloaded="no">
+ <autodoc>SetCellTextColour(self, int row, int col, Colour ??)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultCellFont" type="" overloaded="no">
+ <autodoc>SetDefaultCellFont(self, Font ??)</autodoc>
+ <paramlist>
+ <param name="" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellFont" type="" overloaded="no">
+ <autodoc>SetCellFont(self, int row, int col, Font ??)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultCellAlignment" type="" overloaded="no">
+ <autodoc>SetDefaultCellAlignment(self, int horiz, int vert)</autodoc>
+ <paramlist>
+ <param name="horiz" type="int" default=""/>
+ <param name="vert" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellAlignment" type="" overloaded="no">
+ <autodoc>SetCellAlignment(self, int row, int col, int horiz, int vert)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="horiz" type="int" default=""/>
+ <param name="vert" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultCellOverflow" type="" overloaded="no">
+ <autodoc>SetDefaultCellOverflow(self, bool allow)</autodoc>
+ <paramlist>
+ <param name="allow" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellOverflow" type="" overloaded="no">
+ <autodoc>SetCellOverflow(self, int row, int col, bool allow)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="allow" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellSize" type="" overloaded="no">
+ <autodoc>SetCellSize(self, int row, int col, int num_rows, int num_cols)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="num_rows" type="int" default=""/>
+ <param name="num_cols" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultRenderer" type="" overloaded="no">
+ <autodoc>SetDefaultRenderer(self, GridCellRenderer renderer)</autodoc>
+ <paramlist>
+ <param name="renderer" type="GridCellRenderer" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellRenderer" type="" overloaded="no">
+ <autodoc>SetCellRenderer(self, int row, int col, GridCellRenderer renderer)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="renderer" type="GridCellRenderer" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultRenderer" type="GridCellRenderer" overloaded="no">
+ <autodoc>GetDefaultRenderer(self) -> GridCellRenderer</autodoc>
+ </method>
+ <method name="GetCellRenderer" type="GridCellRenderer" overloaded="no">
+ <autodoc>GetCellRenderer(self, int row, int col) -> GridCellRenderer</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDefaultEditor" type="" overloaded="no">
+ <autodoc>SetDefaultEditor(self, GridCellEditor editor)</autodoc>
+ <paramlist>
+ <param name="editor" type="GridCellEditor" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellEditor" type="" overloaded="no">
+ <autodoc>SetCellEditor(self, int row, int col, GridCellEditor editor)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="editor" type="GridCellEditor" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultEditor" type="GridCellEditor" overloaded="no">
+ <autodoc>GetDefaultEditor(self) -> GridCellEditor</autodoc>
+ </method>
+ <method name="GetCellEditor" type="GridCellEditor" overloaded="no">
+ <autodoc>GetCellEditor(self, int row, int col) -> GridCellEditor</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCellValue" type="String" overloaded="no">
+ <autodoc>GetCellValue(self, int row, int col) -> String</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCellValue" type="" overloaded="no">
+ <autodoc>SetCellValue(self, int row, int col, String s)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsReadOnly" type="bool" overloaded="no">
+ <autodoc>IsReadOnly(self, int row, int col) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetReadOnly" type="" overloaded="no">
+ <autodoc>SetReadOnly(self, int row, int col, bool isReadOnly=True)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="isReadOnly" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SelectRow" type="" overloaded="no">
+ <autodoc>SelectRow(self, int row, bool addToSelected=False)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="addToSelected" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="SelectCol" type="" overloaded="no">
+ <autodoc>SelectCol(self, int col, bool addToSelected=False)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ <param name="addToSelected" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="SelectBlock" type="" overloaded="no">
+ <autodoc>SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol,
+ bool addToSelected=False)</autodoc>
+ <paramlist>
+ <param name="topRow" type="int" default=""/>
+ <param name="leftCol" type="int" default=""/>
+ <param name="bottomRow" type="int" default=""/>
+ <param name="rightCol" type="int" default=""/>
+ <param name="addToSelected" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="SelectAll" type="" overloaded="no">
+ <autodoc>SelectAll(self)</autodoc>
+ </method>
+ <method name="IsSelection" type="bool" overloaded="no">
+ <autodoc>IsSelection(self) -> bool</autodoc>
+ </method>
+ <method name="ClearSelection" type="" overloaded="no">
+ <autodoc>ClearSelection(self)</autodoc>
+ </method>
+ <method name="IsInSelection" type="bool" overloaded="no">
+ <autodoc>IsInSelection(self, int row, int col) -> bool</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectedCells" type="wxGridCellCoordsArray" overloaded="no">
+ <autodoc>GetSelectedCells(self) -> wxGridCellCoordsArray</autodoc>
+ </method>
+ <method name="GetSelectionBlockTopLeft" type="wxGridCellCoordsArray" overloaded="no">
+ <autodoc>GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray</autodoc>
+ </method>
+ <method name="GetSelectionBlockBottomRight" type="wxGridCellCoordsArray" overloaded="no">
+ <autodoc>GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray</autodoc>
+ </method>
+ <method name="GetSelectedRows" type="wxArrayInt" overloaded="no">
+ <autodoc>GetSelectedRows(self) -> wxArrayInt</autodoc>
+ </method>
+ <method name="GetSelectedCols" type="wxArrayInt" overloaded="no">
+ <autodoc>GetSelectedCols(self) -> wxArrayInt</autodoc>
+ </method>
+ <method name="DeselectRow" type="" overloaded="no">
+ <autodoc>DeselectRow(self, int row)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeselectCol" type="" overloaded="no">
+ <autodoc>DeselectCol(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeselectCell" type="" overloaded="no">
+ <autodoc>DeselectCell(self, int row, int col)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="BlockToDeviceRect" type="Rect" overloaded="no">
+ <autodoc>BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect</autodoc>
+ <paramlist>
+ <param name="topLeft" type="GridCellCoords" default=""/>
+ <param name="bottomRight" type="GridCellCoords" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectionBackground" type="Colour" overloaded="no">
+ <autodoc>GetSelectionBackground(self) -> Colour</autodoc>
+ </method>
+ <method name="GetSelectionForeground" type="Colour" overloaded="no">
+ <autodoc>GetSelectionForeground(self) -> Colour</autodoc>
+ </method>
+ <method name="SetSelectionBackground" type="" overloaded="no">
+ <autodoc>SetSelectionBackground(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelectionForeground" type="" overloaded="no">
+ <autodoc>SetSelectionForeground(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="RegisterDataType" type="" overloaded="no">
+ <autodoc>RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc>
+ <paramlist>
+ <param name="typeName" type="String" default=""/>
+ <param name="renderer" type="GridCellRenderer" default=""/>
+ <param name="editor" type="GridCellEditor" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultEditorForCell" type="GridCellEditor" overloaded="no">
+ <autodoc>GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultRendererForCell" type="GridCellRenderer" overloaded="no">
+ <autodoc>GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultEditorForType" type="GridCellEditor" overloaded="no">
+ <autodoc>GetDefaultEditorForType(self, String typeName) -> GridCellEditor</autodoc>
+ <paramlist>
+ <param name="typeName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDefaultRendererForType" type="GridCellRenderer" overloaded="no">
+ <autodoc>GetDefaultRendererForType(self, String typeName) -> GridCellRenderer</autodoc>
+ <paramlist>
+ <param name="typeName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMargins" type="" overloaded="no">
+ <autodoc>SetMargins(self, int extraWidth, int extraHeight)</autodoc>
+ <paramlist>
+ <param name="extraWidth" type="int" default=""/>
+ <param name="extraHeight" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetGridWindow" type="Window" overloaded="no">
+ <autodoc>GetGridWindow(self) -> Window</autodoc>
+ </method>
+ <method name="GetGridRowLabelWindow" type="Window" overloaded="no">
+ <autodoc>GetGridRowLabelWindow(self) -> Window</autodoc>
+ </method>
+ <method name="GetGridColLabelWindow" type="Window" overloaded="no">
+ <autodoc>GetGridColLabelWindow(self) -> Window</autodoc>
+ </method>
+ <method name="GetGridCornerLabelWindow" type="Window" overloaded="no">
+ <autodoc>GetGridCornerLabelWindow(self) -> Window</autodoc>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="GridEvent" oldname="wxGridEvent" module="grid">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="GridEvent" overloaded="no">
+ <autodoc>__init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1,
+ int x=-1, int y=-1, bool sel=True, bool control=False,
+ bool shift=False, bool alt=False,
+ bool meta=False) -> GridEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="type" type="wxEventType" default=""/>
+ <param name="obj" type="Grid" default=""/>
+ <param name="row" type="int" default="-1"/>
+ <param name="col" type="int" default="-1"/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
+ <param name="sel" type="bool" default="True"/>
+ <param name="control" type="bool" default="False"/>
+ <param name="shift" type="bool" default="False"/>
+ <param name="alt" type="bool" default="False"/>
+ <param name="meta" type="bool" default="False"/>
+ </paramlist>
+ </constructor>
+ <method name="GetRow" type="int" overloaded="no">
+ <autodoc>GetRow(self) -> int</autodoc>
+ </method>
+ <method name="GetCol" type="int" overloaded="no">
+ <autodoc>GetCol(self) -> int</autodoc>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="Selecting" type="bool" overloaded="no">
+ <autodoc>Selecting(self) -> bool</autodoc>
+ </method>
+ <method name="ControlDown" type="bool" overloaded="no">
+ <autodoc>ControlDown(self) -> bool</autodoc>
+ </method>
+ <method name="MetaDown" type="bool" overloaded="no">
+ <autodoc>MetaDown(self) -> bool</autodoc>
+ </method>
+ <method name="ShiftDown" type="bool" overloaded="no">
+ <autodoc>ShiftDown(self) -> bool</autodoc>
+ </method>
+ <method name="AltDown" type="bool" overloaded="no">
+ <autodoc>AltDown(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="GridSizeEvent" overloaded="no">
+ <autodoc>__init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1,
+ int x=-1, int y=-1, bool control=False, bool shift=False,
+ bool alt=False, bool meta=False) -> GridSizeEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="type" type="wxEventType" default=""/>
+ <param name="obj" type="Grid" default=""/>
+ <param name="rowOrCol" type="int" default="-1"/>
+ <param name="x" type="int" default="-1"/>
+ <param name="y" type="int" default="-1"/>
+ <param name="control" type="bool" default="False"/>
+ <param name="shift" type="bool" default="False"/>
+ <param name="alt" type="bool" default="False"/>
+ <param name="meta" type="bool" default="False"/>
+ </paramlist>
+ </constructor>
+ <method name="GetRowOrCol" type="int" overloaded="no">
+ <autodoc>GetRowOrCol(self) -> int</autodoc>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self) -> Point</autodoc>
+ </method>
+ <method name="ControlDown" type="bool" overloaded="no">
+ <autodoc>ControlDown(self) -> bool</autodoc>
+ </method>
+ <method name="MetaDown" type="bool" overloaded="no">
+ <autodoc>MetaDown(self) -> bool</autodoc>
+ </method>
+ <method name="ShiftDown" type="bool" overloaded="no">
+ <autodoc>ShiftDown(self) -> bool</autodoc>
+ </method>
+ <method name="AltDown" type="bool" overloaded="no">
+ <autodoc>AltDown(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="GridRangeSelectEvent" overloaded="no">
+ <autodoc>__init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft,
+ GridCellCoords bottomRight, bool sel=True,
+ bool control=False, bool shift=False,
+ bool alt=False, bool meta=False) -> GridRangeSelectEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="type" type="wxEventType" default=""/>
+ <param name="obj" type="Grid" default=""/>
+ <param name="topLeft" type="GridCellCoords" default=""/>
+ <param name="bottomRight" type="GridCellCoords" default=""/>
+ <param name="sel" type="bool" default="True"/>
+ <param name="control" type="bool" default="False"/>
+ <param name="shift" type="bool" default="False"/>
+ <param name="alt" type="bool" default="False"/>
+ <param name="meta" type="bool" default="False"/>
+ </paramlist>
+ </constructor>
+ <method name="GetTopLeftCoords" type="GridCellCoords" overloaded="no">
+ <autodoc>GetTopLeftCoords(self) -> GridCellCoords</autodoc>
+ </method>
+ <method name="GetBottomRightCoords" type="GridCellCoords" overloaded="no">
+ <autodoc>GetBottomRightCoords(self) -> GridCellCoords</autodoc>
+ </method>
+ <method name="GetTopRow" type="int" overloaded="no">
+ <autodoc>GetTopRow(self) -> int</autodoc>
+ </method>
+ <method name="GetBottomRow" type="int" overloaded="no">
+ <autodoc>GetBottomRow(self) -> int</autodoc>
+ </method>
+ <method name="GetLeftCol" type="int" overloaded="no">
+ <autodoc>GetLeftCol(self) -> int</autodoc>
+ </method>
+ <method name="GetRightCol" type="int" overloaded="no">
+ <autodoc>GetRightCol(self) -> int</autodoc>
+ </method>
+ <method name="Selecting" type="bool" overloaded="no">
+ <autodoc>Selecting(self) -> bool</autodoc>
+ </method>
+ <method name="ControlDown" type="bool" overloaded="no">
+ <autodoc>ControlDown(self) -> bool</autodoc>
+ </method>
+ <method name="MetaDown" type="bool" overloaded="no">
+ <autodoc>MetaDown(self) -> bool</autodoc>
+ </method>
+ <method name="ShiftDown" type="bool" overloaded="no">
+ <autodoc>ShiftDown(self) -> bool</autodoc>
+ </method>
+ <method name="AltDown" type="bool" overloaded="no">
+ <autodoc>AltDown(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid">
+ <baseclass name="CommandEvent"/>
+ <constructor name="GridEditorCreatedEvent" overloaded="no">
+ <autodoc>__init__(self, int id, wxEventType type, Object obj, int row, int col,
+ Control ctrl) -> GridEditorCreatedEvent</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ <param name="type" type="wxEventType" default=""/>
+ <param name="obj" type="Object" default=""/>
+ <param name="row" type="int" default=""/>
+ <param name="col" type="int" default=""/>
+ <param name="ctrl" type="Control" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="GetRow" type="int" overloaded="no">
+ <autodoc>GetRow(self) -> int</autodoc>
+ </method>
+ <method name="GetCol" type="int" overloaded="no">
+ <autodoc>GetCol(self) -> int</autodoc>
+ </method>
+ <method name="GetControl" type="Control" overloaded="no">
+ <autodoc>GetControl(self) -> Control</autodoc>
+ </method>
+ <method name="SetRow" type="" overloaded="no">
+ <autodoc>SetRow(self, int row)</autodoc>
+ <paramlist>
+ <param name="row" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCol" type="" overloaded="no">
+ <autodoc>SetCol(self, int col)</autodoc>
+ <paramlist>
+ <param name="col" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetControl" type="" overloaded="no">
+ <autodoc>SetControl(self, Control ctrl)</autodoc>
+ <paramlist>
+ <param name="ctrl" type="Control" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK )
+EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK )
+EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK )
+EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK )
+EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK )
+EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK )
+EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK )
+EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK )
+EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE )
+EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE )
+EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT )
+EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE )
+EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL )
+EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
+EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
+EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
+EVT_GRID_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG )
+
+
+# The same as above but with the ability to specify an identifier
+EVT_GRID_CMD_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK, 1 )
+EVT_GRID_CMD_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK, 1 )
+EVT_GRID_CMD_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK, 1 )
+EVT_GRID_CMD_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK, 1 )
+EVT_GRID_CMD_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK, 1 )
+EVT_GRID_CMD_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK, 1 )
+EVT_GRID_CMD_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK, 1 )
+EVT_GRID_CMD_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK, 1 )
+EVT_GRID_CMD_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE, 1 )
+EVT_GRID_CMD_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE, 1 )
+EVT_GRID_CMD_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT, 1 )
+EVT_GRID_CMD_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE, 1 )
+EVT_GRID_CMD_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL, 1 )
+EVT_GRID_CMD_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN, 1 )
+EVT_GRID_CMD_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN, 1 )
+EVT_GRID_CMD_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED, 1 )
+EVT_GRID_CMD_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG, 1 )
+
+</pythoncode>
+ </module>
+ <module name="html">
+ <import name="_windows"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html">
+ <baseclass name="Object"/>
+ <constructor name="HtmlLinkInfo" overloaded="no">
+ <autodoc>__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo</autodoc>
+ <paramlist>
+ <param name="href" type="String" default=""/>
+ <param name="target" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <method name="GetHref" type="String" overloaded="no">
+ <autodoc>GetHref(self) -> String</autodoc>
+ </method>
+ <method name="GetTarget" type="String" overloaded="no">
+ <autodoc>GetTarget(self) -> String</autodoc>
+ </method>
+ <method name="GetEvent" type="MouseEvent" overloaded="no">
+ <autodoc>GetEvent(self) -> MouseEvent</autodoc>
+ </method>
+ <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no">
+ <autodoc>GetHtmlCell(self) -> HtmlCell</autodoc>
+ </method>
+ <method name="SetEvent" type="" overloaded="no">
+ <autodoc>SetEvent(self, MouseEvent e)</autodoc>
+ <paramlist>
+ <param name="e" type="MouseEvent" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHtmlCell" type="" overloaded="no">
+ <autodoc>SetHtmlCell(self, HtmlCell e)</autodoc>
+ <paramlist>
+ <param name="e" type="wxHtmlCell" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="HtmlTag" oldname="wxHtmlTag" module="html">
+ <baseclass name="Object"/>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="HasParam" type="bool" overloaded="no">
+ <autodoc>HasParam(self, String par) -> bool</autodoc>
+ <paramlist>
+ <param name="par" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetParam" type="String" overloaded="no">
+ <autodoc>GetParam(self, String par, int with_commas=False) -> String</autodoc>
+ <paramlist>
+ <param name="par" type="String" default=""/>
+ <param name="with_commas" type="int" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetAllParams" type="String" overloaded="no">
+ <autodoc>GetAllParams(self) -> String</autodoc>
+ </method>
+ <method name="HasEnding" type="bool" overloaded="no">
+ <autodoc>HasEnding(self) -> bool</autodoc>
+ </method>
+ <method name="GetBeginPos" type="int" overloaded="no">
+ <autodoc>GetBeginPos(self) -> int</autodoc>
+ </method>
+ <method name="GetEndPos1" type="int" overloaded="no">
+ <autodoc>GetEndPos1(self) -> int</autodoc>
+ </method>
+ <method name="GetEndPos2" type="int" overloaded="no">
+ <autodoc>GetEndPos2(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="HtmlParser" oldname="wxHtmlParser" module="html">
+ <baseclass name="Object"/>
+ <method name="SetFS" type="" overloaded="no">
+ <autodoc>SetFS(self, FileSystem fs)</autodoc>
+ <paramlist>
+ <param name="fs" type="FileSystem" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFS" type="FileSystem" overloaded="no">
+ <autodoc>GetFS(self) -> FileSystem</autodoc>
+ </method>
+ <method name="Parse" type="Object" overloaded="no">
+ <autodoc>Parse(self, String source) -> Object</autodoc>
+ <paramlist>
+ <param name="source" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="InitParser" type="" overloaded="no">
+ <autodoc>InitParser(self, String source)</autodoc>
+ <paramlist>
+ <param name="source" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoneParser" type="" overloaded="no">
+ <autodoc>DoneParser(self)</autodoc>
+ </method>
+ <method name="DoParsing" type="" overloaded="no">
+ <autodoc>DoParsing(self, int begin_pos, int end_pos)</autodoc>
+ <paramlist>
+ <param name="begin_pos" type="int" default=""/>
+ <param name="end_pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="StopParsing" type="" overloaded="no">
+ <autodoc>StopParsing(self)</autodoc>
+ </method>
+ <method name="AddTagHandler" type="" overloaded="no">
+ <autodoc>AddTagHandler(self, HtmlTagHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="wxHtmlTagHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSource" type="String" overloaded="no">
+ <autodoc>GetSource(self) -> String</autodoc>
+ </method>
+ <method name="PushTagHandler" type="" overloaded="no">
+ <autodoc>PushTagHandler(self, HtmlTagHandler handler, String tags)</autodoc>
+ <paramlist>
+ <param name="handler" type="wxHtmlTagHandler" default=""/>
+ <param name="tags" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="PopTagHandler" type="" overloaded="no">
+ <autodoc>PopTagHandler(self)</autodoc>
+ </method>
+ </class>
+ <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html">
+ <baseclass name="HtmlParser"/>
+ <constructor name="HtmlWinParser" overloaded="no">
+ <autodoc>__init__(self, HtmlWindow wnd=None) -> HtmlWinParser</autodoc>
+ <paramlist>
+ <param name="wnd" type="wxPyHtmlWindow" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="SetDC" type="" overloaded="no">
+ <autodoc>SetDC(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDC" type="DC" overloaded="no">
+ <autodoc>GetDC(self) -> DC</autodoc>
+ </method>
+ <method name="GetCharHeight" type="int" overloaded="no">
+ <autodoc>GetCharHeight(self) -> int</autodoc>
+ </method>
+ <method name="GetCharWidth" type="int" overloaded="no">
+ <autodoc>GetCharWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no">
+ <autodoc>GetWindow(self) -> HtmlWindow</autodoc>
+ </method>
+ <method name="SetFonts" type="" overloaded="no">
+ <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+ <paramlist>
+ <param name="normal_face" type="String" default=""/>
+ <param name="fixed_face" type="String" default=""/>
+ <param name="sizes" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="NormalizeFontSizes" type="" overloaded="no">
+ <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+ <paramlist>
+ <param name="size" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no">
+ <autodoc>GetContainer(self) -> HtmlContainerCell</autodoc>
+ </method>
+ <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no">
+ <autodoc>OpenContainer(self) -> HtmlContainerCell</autodoc>
+ </method>
+ <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no">
+ <autodoc>SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell</autodoc>
+ <paramlist>
+ <param name="c" type="wxHtmlContainerCell" default=""/>
+ </paramlist>
+ </method>
+ <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no">
+ <autodoc>CloseContainer(self) -> HtmlContainerCell</autodoc>
+ </method>
+ <method name="GetFontSize" type="int" overloaded="no">
+ <autodoc>GetFontSize(self) -> int</autodoc>
+ </method>
+ <method name="SetFontSize" type="" overloaded="no">
+ <autodoc>SetFontSize(self, int s)</autodoc>
+ <paramlist>
+ <param name="s" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFontBold" type="int" overloaded="no">
+ <autodoc>GetFontBold(self) -> int</autodoc>
+ </method>
+ <method name="SetFontBold" type="" overloaded="no">
+ <autodoc>SetFontBold(self, int x)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFontItalic" type="int" overloaded="no">
+ <autodoc>GetFontItalic(self) -> int</autodoc>
+ </method>
+ <method name="SetFontItalic" type="" overloaded="no">
+ <autodoc>SetFontItalic(self, int x)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFontUnderlined" type="int" overloaded="no">
+ <autodoc>GetFontUnderlined(self) -> int</autodoc>
+ </method>
+ <method name="SetFontUnderlined" type="" overloaded="no">
+ <autodoc>SetFontUnderlined(self, int x)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFontFixed" type="int" overloaded="no">
+ <autodoc>GetFontFixed(self) -> int</autodoc>
+ </method>
+ <method name="SetFontFixed" type="" overloaded="no">
+ <autodoc>SetFontFixed(self, int x)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlign" type="int" overloaded="no">
+ <autodoc>GetAlign(self) -> int</autodoc>
+ </method>
+ <method name="SetAlign" type="" overloaded="no">
+ <autodoc>SetAlign(self, int a)</autodoc>
+ <paramlist>
+ <param name="a" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLinkColor" type="Colour" overloaded="no">
+ <autodoc>GetLinkColor(self) -> Colour</autodoc>
+ </method>
+ <method name="SetLinkColor" type="" overloaded="no">
+ <autodoc>SetLinkColor(self, Colour clr)</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetActualColor" type="Colour" overloaded="no">
+ <autodoc>GetActualColor(self) -> Colour</autodoc>
+ </method>
+ <method name="SetActualColor" type="" overloaded="no">
+ <autodoc>SetActualColor(self, Colour clr)</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLink" type="" overloaded="no">
+ <autodoc>SetLink(self, String link)</autodoc>
+ <paramlist>
+ <param name="link" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateCurrentFont" type="Font" overloaded="no">
+ <autodoc>CreateCurrentFont(self) -> Font</autodoc>
+ </method>
+ <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
+ <autodoc>GetLink(self) -> HtmlLinkInfo</autodoc>
+ </method>
+ </class>
+ <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html">
+ <baseclass name="Object"/>
+ <constructor name="wxPyHtmlTagHandler" overloaded="no">
+ <autodoc>__init__(self) -> HtmlTagHandler</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetParser" type="" overloaded="no">
+ <autodoc>SetParser(self, HtmlParser parser)</autodoc>
+ <paramlist>
+ <param name="parser" type="HtmlParser" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetParser" type="HtmlParser" overloaded="no">
+ <autodoc>GetParser(self) -> HtmlParser</autodoc>
+ </method>
+ <method name="ParseInner" type="" overloaded="no">
+ <autodoc>ParseInner(self, HtmlTag tag)</autodoc>
+ <paramlist>
+ <param name="tag" type="HtmlTag" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html">
+ <baseclass name="HtmlTagHandler"/>
+ <constructor name="wxPyHtmlWinTagHandler" overloaded="no">
+ <autodoc>__init__(self) -> HtmlWinTagHandler</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetParser" type="" overloaded="no">
+ <autodoc>SetParser(self, HtmlParser parser)</autodoc>
+ <paramlist>
+ <param name="parser" type="HtmlParser" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetParser" type="HtmlWinParser" overloaded="no">
+ <autodoc>GetParser(self) -> HtmlWinParser</autodoc>
+ </method>
+ <method name="ParseInner" type="" overloaded="no">
+ <autodoc>ParseInner(self, HtmlTag tag)</autodoc>
+ <paramlist>
+ <param name="tag" type="HtmlTag" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <method name="HtmlWinParser_AddTagHandler" oldname="wxHtmlWinParser_AddTagHandler" type="" overloaded="no">
+ <autodoc>HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)</autodoc>
+ <paramlist>
+ <param name="tagHandlerClass" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="HtmlSelection" oldname="wxHtmlSelection" module="html">
+ <constructor name="HtmlSelection" overloaded="no">
+ <autodoc>__init__(self) -> HtmlSelection</autodoc>
+ </constructor>
+ <destructor name="~wxHtmlSelection" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Set" type="" overloaded="no">
+ <autodoc>Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc>
+ <paramlist>
+ <param name="fromPos" type="Point" default=""/>
+ <param name="fromCell" type="wxHtmlCell" default=""/>
+ <param name="toPos" type="Point" default=""/>
+ <param name="toCell" type="wxHtmlCell" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCells" type="" overloaded="no">
+ <autodoc>SetCells(self, HtmlCell fromCell, HtmlCell toCell)</autodoc>
+ <paramlist>
+ <param name="fromCell" type="wxHtmlCell" default=""/>
+ <param name="toCell" type="wxHtmlCell" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFromCell" type="wxHtmlCell" overloaded="no">
+ <autodoc>GetFromCell(self) -> HtmlCell</autodoc>
+ </method>
+ <method name="GetToCell" type="wxHtmlCell" overloaded="no">
+ <autodoc>GetToCell(self) -> HtmlCell</autodoc>
+ </method>
+ <method name="GetFromPos" type="Point" overloaded="no">
+ <autodoc>GetFromPos(self) -> Point</autodoc>
+ </method>
+ <method name="GetToPos" type="Point" overloaded="no">
+ <autodoc>GetToPos(self) -> Point</autodoc>
+ </method>
+ <method name="GetFromPrivPos" type="Point" overloaded="no">
+ <autodoc>GetFromPrivPos(self) -> Point</autodoc>
+ </method>
+ <method name="GetToPrivPos" type="Point" overloaded="no">
+ <autodoc>GetToPrivPos(self) -> Point</autodoc>
+ </method>
+ <method name="SetFromPrivPos" type="" overloaded="no">
+ <autodoc>SetFromPrivPos(self, Point pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetToPrivPos" type="" overloaded="no">
+ <autodoc>SetToPrivPos(self, Point pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearPrivPos" type="" overloaded="no">
+ <autodoc>ClearPrivPos(self)</autodoc>
+ </method>
+ <method name="IsEmpty" type="bool" overloaded="no">
+ <autodoc>IsEmpty(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html">
+ <constructor name="HtmlRenderingState" overloaded="no">
+ <autodoc>__init__(self) -> HtmlRenderingState</autodoc>
+ </constructor>
+ <destructor name="~wxHtmlRenderingState" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetSelectionState" type="" overloaded="no">
+ <autodoc>SetSelectionState(self, int s)</autodoc>
+ <paramlist>
+ <param name="s" type="wxHtmlSelectionState" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no">
+ <autodoc>GetSelectionState(self) -> int</autodoc>
+ </method>
+ <method name="SetFgColour" type="" overloaded="no">
+ <autodoc>SetFgColour(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFgColour" type="Colour" overloaded="no">
+ <autodoc>GetFgColour(self) -> Colour</autodoc>
+ </method>
+ <method name="SetBgColour" type="" overloaded="no">
+ <autodoc>SetBgColour(self, Colour c)</autodoc>
+ <paramlist>
+ <param name="c" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBgColour" type="Colour" overloaded="no">
+ <autodoc>GetBgColour(self) -> Colour</autodoc>
+ </method>
+ </class>
+ <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html">
+ <method name="GetSelectedTextColour" type="Colour" overloaded="no">
+ <autodoc>GetSelectedTextColour(self, Colour clr) -> Colour</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
+ <autodoc>GetSelectedTextBgColour(self, Colour clr) -> Colour</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html">
+ <baseclass name="HtmlRenderingStyle"/>
+ <method name="GetSelectedTextColour" type="Colour" overloaded="no">
+ <autodoc>GetSelectedTextColour(self, Colour clr) -> Colour</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
+ <autodoc>GetSelectedTextBgColour(self, Colour clr) -> Colour</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html">
+ <constructor name="HtmlRenderingInfo" overloaded="no">
+ <autodoc>__init__(self) -> HtmlRenderingInfo</autodoc>
+ </constructor>
+ <destructor name="~wxHtmlRenderingInfo" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, HtmlSelection s)</autodoc>
+ <paramlist>
+ <param name="s" type="HtmlSelection" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelection" type="HtmlSelection" overloaded="no">
+ <autodoc>GetSelection(self) -> HtmlSelection</autodoc>
+ </method>
+ <method name="SetStyle" type="" overloaded="no">
+ <autodoc>SetStyle(self, HtmlRenderingStyle style)</autodoc>
+ <paramlist>
+ <param name="style" type="HtmlRenderingStyle" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStyle" type="HtmlRenderingStyle" overloaded="no">
+ <autodoc>GetStyle(self) -> HtmlRenderingStyle</autodoc>
+ </method>
+ <method name="GetState" type="HtmlRenderingState" overloaded="no">
+ <autodoc>GetState(self) -> HtmlRenderingState</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="HtmlCell" oldname="wxHtmlCell" module="html">
+ <baseclass name="Object"/>
+ <constructor name="HtmlCell" overloaded="no">
+ <autodoc>__init__(self) -> HtmlCell</autodoc>
+ </constructor>
+ <method name="GetPosX" type="int" overloaded="no">
+ <autodoc>GetPosX(self) -> int</autodoc>
+ </method>
+ <method name="GetPosY" type="int" overloaded="no">
+ <autodoc>GetPosY(self) -> int</autodoc>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ </method>
+ <method name="GetDescent" type="int" overloaded="no">
+ <autodoc>GetDescent(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxTotalWidth" type="int" overloaded="no">
+ <autodoc>GetMaxTotalWidth(self) -> int</autodoc>
+ </method>
+ <method name="GetId" type="String" overloaded="no">
+ <autodoc>GetId(self) -> String</autodoc>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, String id)</autodoc>
+ <paramlist>
+ <param name="id" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
+ <autodoc>GetLink(self, int x=0, int y=0) -> HtmlLinkInfo</autodoc>
+ <paramlist>
+ <param name="x" type="int" default="0"/>
+ <param name="y" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetNext" type="HtmlCell" overloaded="no">
+ <autodoc>GetNext(self) -> HtmlCell</autodoc>
+ </method>
+ <method name="GetParent" type="wxHtmlContainerCell" overloaded="no">
+ <autodoc>GetParent(self) -> HtmlContainerCell</autodoc>
+ </method>
+ <method name="GetFirstChild" type="HtmlCell" overloaded="no">
+ <autodoc>GetFirstChild(self) -> HtmlCell</autodoc>
+ </method>
+ <method name="GetCursor" type="Cursor" overloaded="no">
+ <autodoc>GetCursor(self) -> Cursor</autodoc>
+ </method>
+ <method name="IsFormattingCell" type="bool" overloaded="no">
+ <autodoc>IsFormattingCell(self) -> bool</autodoc>
+ </method>
+ <method name="SetLink" type="" overloaded="no">
+ <autodoc>SetLink(self, HtmlLinkInfo link)</autodoc>
+ <paramlist>
+ <param name="link" type="HtmlLinkInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNext" type="" overloaded="no">
+ <autodoc>SetNext(self, HtmlCell cell)</autodoc>
+ <paramlist>
+ <param name="cell" type="HtmlCell" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetParent" type="" overloaded="no">
+ <autodoc>SetParent(self, HtmlContainerCell p)</autodoc>
+ <paramlist>
+ <param name="p" type="wxHtmlContainerCell" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPos" type="" overloaded="no">
+ <autodoc>SetPos(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Layout" type="" overloaded="no">
+ <autodoc>Layout(self, int w)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Draw" type="" overloaded="no">
+ <autodoc>Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="view_y1" type="int" default=""/>
+ <param name="view_y2" type="int" default=""/>
+ <param name="info" type="HtmlRenderingInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawInvisible" type="" overloaded="no">
+ <autodoc>DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="info" type="HtmlRenderingInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="Find" type="HtmlCell" overloaded="no">
+ <autodoc>Find(self, int condition, void param) -> HtmlCell</autodoc>
+ <paramlist>
+ <param name="condition" type="int" default=""/>
+ <param name="param" type="" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdjustPagebreak" type="bool" overloaded="no">
+ <autodoc>AdjustPagebreak(self, int INOUT) -> bool</autodoc>
+ <paramlist>
+ <param name="INOUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCanLiveOnPagebreak" type="" overloaded="no">
+ <autodoc>SetCanLiveOnPagebreak(self, bool can)</autodoc>
+ <paramlist>
+ <param name="can" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsLinebreakAllowed" type="bool" overloaded="no">
+ <autodoc>IsLinebreakAllowed(self) -> bool</autodoc>
+ </method>
+ <method name="IsTerminalCell" type="bool" overloaded="no">
+ <autodoc>IsTerminalCell(self) -> bool</autodoc>
+ </method>
+ <method name="FindCellByPos" type="HtmlCell" overloaded="no">
+ <autodoc>FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="flags" type="unsigned int" default="wxHTML_FIND_EXACT"/>
+ </paramlist>
+ </method>
+ <method name="GetAbsPos" type="Point" overloaded="no">
+ <autodoc>GetAbsPos(self) -> Point</autodoc>
+ </method>
+ <method name="GetFirstTerminal" type="HtmlCell" overloaded="no">
+ <autodoc>GetFirstTerminal(self) -> HtmlCell</autodoc>
+ </method>
+ <method name="GetLastTerminal" type="HtmlCell" overloaded="no">
+ <autodoc>GetLastTerminal(self) -> HtmlCell</autodoc>
+ </method>
+ <method name="GetDepth" type="unsigned int" overloaded="no">
+ <autodoc>GetDepth(self) -> unsigned int</autodoc>
+ </method>
+ <method name="IsBefore" type="bool" overloaded="no">
+ <autodoc>IsBefore(self, HtmlCell cell) -> bool</autodoc>
+ <paramlist>
+ <param name="cell" type="HtmlCell" default=""/>
+ </paramlist>
+ </method>
+ <method name="ConvertToText" type="String" overloaded="no">
+ <autodoc>ConvertToText(self, HtmlSelection sel) -> String</autodoc>
+ <paramlist>
+ <param name="sel" type="HtmlSelection" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html">
+ <baseclass name="HtmlCell"/>
+ <constructor name="HtmlWordCell" overloaded="no">
+ <autodoc>__init__(self, String word, DC dc) -> HtmlWordCell</autodoc>
+ <paramlist>
+ <param name="word" type="String" default=""/>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html">
+ <baseclass name="HtmlCell"/>
+ <constructor name="HtmlContainerCell" overloaded="no">
+ <autodoc>__init__(self, HtmlContainerCell parent) -> HtmlContainerCell</autodoc>
+ <paramlist>
+ <param name="parent" type="HtmlContainerCell" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="InsertCell" type="" overloaded="no">
+ <autodoc>InsertCell(self, HtmlCell cell)</autodoc>
+ <paramlist>
+ <param name="cell" type="HtmlCell" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAlignHor" type="" overloaded="no">
+ <autodoc>SetAlignHor(self, int al)</autodoc>
+ <paramlist>
+ <param name="al" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlignHor" type="int" overloaded="no">
+ <autodoc>GetAlignHor(self) -> int</autodoc>
+ </method>
+ <method name="SetAlignVer" type="" overloaded="no">
+ <autodoc>SetAlignVer(self, int al)</autodoc>
+ <paramlist>
+ <param name="al" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlignVer" type="int" overloaded="no">
+ <autodoc>GetAlignVer(self) -> int</autodoc>
+ </method>
+ <method name="SetIndent" type="" overloaded="no">
+ <autodoc>SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)</autodoc>
+ <paramlist>
+ <param name="i" type="int" default=""/>
+ <param name="what" type="int" default=""/>
+ <param name="units" type="int" default="wxHTML_UNITS_PIXELS"/>
+ </paramlist>
+ </method>
+ <method name="GetIndent" type="int" overloaded="no">
+ <autodoc>GetIndent(self, int ind) -> int</autodoc>
+ <paramlist>
+ <param name="ind" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetIndentUnits" type="int" overloaded="no">
+ <autodoc>GetIndentUnits(self, int ind) -> int</autodoc>
+ <paramlist>
+ <param name="ind" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAlign" type="" overloaded="no">
+ <autodoc>SetAlign(self, HtmlTag tag)</autodoc>
+ <paramlist>
+ <param name="tag" type="HtmlTag" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWidthFloat" type="" overloaded="no">
+ <autodoc>SetWidthFloat(self, int w, int units)</autodoc>
+ <paramlist>
+ <param name="w" type="int" default=""/>
+ <param name="units" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWidthFloatFromTag" type="" overloaded="no">
+ <autodoc>SetWidthFloatFromTag(self, HtmlTag tag)</autodoc>
+ <paramlist>
+ <param name="tag" type="HtmlTag" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinHeight" type="" overloaded="no">
+ <autodoc>SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)</autodoc>
+ <paramlist>
+ <param name="h" type="int" default=""/>
+ <param name="align" type="int" default="wxHTML_ALIGN_TOP"/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour clr)</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetBackgroundColour(self) -> Colour</autodoc>
+ </method>
+ <method name="SetBorder" type="" overloaded="no">
+ <autodoc>SetBorder(self, Colour clr1, Colour clr2)</autodoc>
+ <paramlist>
+ <param name="clr1" type="Colour" default=""/>
+ <param name="clr2" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstChild" type="HtmlCell" overloaded="no">
+ <autodoc>GetFirstChild(self) -> HtmlCell</autodoc>
+ </method>
+ </class>
+ <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html">
+ <baseclass name="HtmlCell"/>
+ <constructor name="HtmlColourCell" overloaded="no">
+ <autodoc>__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell</autodoc>
+ <paramlist>
+ <param name="clr" type="Colour" default=""/>
+ <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html">
+ <baseclass name="HtmlCell"/>
+ <constructor name="HtmlFontCell" overloaded="no">
+ <autodoc>__init__(self, Font font) -> HtmlFontCell</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html">
+ <baseclass name="HtmlCell"/>
+ <constructor name="HtmlWidgetCell" overloaded="no">
+ <autodoc>__init__(self, Window wnd, int w=0) -> HtmlWidgetCell</autodoc>
+ <paramlist>
+ <param name="wnd" type="Window" default=""/>
+ <param name="w" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html">
+ <baseclass name="Object"/>
+ <constructor name="wxPyHtmlFilter" overloaded="no">
+ <autodoc>__init__(self) -> HtmlFilter</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html">
+ <baseclass name="ScrolledWindow"/>
+ <constructor name="wxPyHtmlWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
+ String name=HtmlWindowNameStr) -> HtmlWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="int" default="wxHW_DEFAULT_STYLE"/>
+ <param name="name" type="String" default="wxPyHtmlWindowNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreHtmlWindow" overloaded="no">
+ <autodoc>PreHtmlWindow() -> HtmlWindow</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
+ String name=HtmlWindowNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="int" default="wxHW_SCROLLBAR_AUTO"/>
+ <param name="name" type="String" default="wxPyHtmlWindowNameStr"/>
+ </paramlist>
+ </method>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPage" type="bool" overloaded="no">
+ <autodoc>SetPage(self, String source) -> bool</autodoc>
+ <paramlist>
+ <param name="source" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadPage" type="bool" overloaded="no">
+ <autodoc>LoadPage(self, String location) -> bool</autodoc>
+ <paramlist>
+ <param name="location" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadFile" type="bool" overloaded="no">
+ <autodoc>LoadFile(self, String filename) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AppendToPage" type="bool" overloaded="no">
+ <autodoc>AppendToPage(self, String source) -> bool</autodoc>
+ <paramlist>
+ <param name="source" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOpenedPage" type="String" overloaded="no">
+ <autodoc>GetOpenedPage(self) -> String</autodoc>
+ </method>
+ <method name="GetOpenedAnchor" type="String" overloaded="no">
+ <autodoc>GetOpenedAnchor(self) -> String</autodoc>
+ </method>
+ <method name="GetOpenedPageTitle" type="String" overloaded="no">
+ <autodoc>GetOpenedPageTitle(self) -> String</autodoc>
+ </method>
+ <method name="SetRelatedFrame" type="" overloaded="no">
+ <autodoc>SetRelatedFrame(self, Frame frame, String format)</autodoc>
+ <paramlist>
+ <param name="frame" type="Frame" default=""/>
+ <param name="format" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRelatedFrame" type="Frame" overloaded="no">
+ <autodoc>GetRelatedFrame(self) -> Frame</autodoc>
+ </method>
+ <method name="SetRelatedStatusBar" type="" overloaded="no">
+ <autodoc>SetRelatedStatusBar(self, int bar)</autodoc>
+ <paramlist>
+ <param name="bar" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFonts" type="" overloaded="no">
+ <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+ <paramlist>
+ <param name="normal_face" type="String" default=""/>
+ <param name="fixed_face" type="String" default=""/>
+ <param name="sizes" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="NormalizeFontSizes" type="" overloaded="no">
+ <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+ <paramlist>
+ <param name="size" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetTitle" type="" overloaded="no">
+ <autodoc>SetTitle(self, String title)</autodoc>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBorders" type="" overloaded="no">
+ <autodoc>SetBorders(self, int b)</autodoc>
+ <paramlist>
+ <param name="b" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ReadCustomization" type="" overloaded="no">
+ <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
+ <paramlist>
+ <param name="cfg" type="ConfigBase" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="WriteCustomization" type="" overloaded="no">
+ <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
+ <paramlist>
+ <param name="cfg" type="ConfigBase" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="HistoryBack" type="bool" overloaded="no">
+ <autodoc>HistoryBack(self) -> bool</autodoc>
+ </method>
+ <method name="HistoryForward" type="bool" overloaded="no">
+ <autodoc>HistoryForward(self) -> bool</autodoc>
+ </method>
+ <method name="HistoryCanBack" type="bool" overloaded="no">
+ <autodoc>HistoryCanBack(self) -> bool</autodoc>
+ </method>
+ <method name="HistoryCanForward" type="bool" overloaded="no">
+ <autodoc>HistoryCanForward(self) -> bool</autodoc>
+ </method>
+ <method name="HistoryClear" type="" overloaded="no">
+ <autodoc>HistoryClear(self)</autodoc>
+ </method>
+ <method name="GetInternalRepresentation" type="HtmlContainerCell" overloaded="no">
+ <autodoc>GetInternalRepresentation(self) -> HtmlContainerCell</autodoc>
+ </method>
+ <method name="GetParser" type="HtmlWinParser" overloaded="no">
+ <autodoc>GetParser(self) -> HtmlWinParser</autodoc>
+ </method>
+ <method name="ScrollToAnchor" type="bool" overloaded="no">
+ <autodoc>ScrollToAnchor(self, String anchor) -> bool</autodoc>
+ <paramlist>
+ <param name="anchor" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasAnchor" type="bool" overloaded="no">
+ <autodoc>HasAnchor(self, String anchor) -> bool</autodoc>
+ <paramlist>
+ <param name="anchor" type="String" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="AddFilter" type="" overloaded="no">
+ <autodoc>AddFilter(HtmlFilter filter)</autodoc>
+ <paramlist>
+ <param name="filter" type="HtmlFilter" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="SelectWord" type="" overloaded="no">
+ <autodoc>SelectWord(self, Point pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SelectLine" type="" overloaded="no">
+ <autodoc>SelectLine(self, Point pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SelectAll" type="" overloaded="no">
+ <autodoc>SelectAll(self)</autodoc>
+ </method>
+ <method name="SelectionToText" type="String" overloaded="no">
+ <autodoc>SelectionToText(self) -> String</autodoc>
+ </method>
+ <method name="ToText" type="String" overloaded="no">
+ <autodoc>ToText(self) -> String</autodoc>
+ </method>
+ <method name="base_OnLinkClicked" type="" overloaded="no">
+ <autodoc>base_OnLinkClicked(self, HtmlLinkInfo link)</autodoc>
+ <paramlist>
+ <param name="link" type="HtmlLinkInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnSetTitle" type="" overloaded="no">
+ <autodoc>base_OnSetTitle(self, String title)</autodoc>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnCellMouseHover" type="" overloaded="no">
+ <autodoc>base_OnCellMouseHover(self, HtmlCell cell, int x, int y)</autodoc>
+ <paramlist>
+ <param name="cell" type="HtmlCell" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnCellClicked" type="" overloaded="no">
+ <autodoc>base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)</autodoc>
+ <paramlist>
+ <param name="cell" type="HtmlCell" default=""/>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="event" type="MouseEvent" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+ <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes</autodoc>
+ <docstring>Get the default attributes for this class. This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+ <paramlist>
+ <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html">
+ <baseclass name="Object"/>
+ <constructor name="HtmlDCRenderer" overloaded="no">
+ <autodoc>__init__(self) -> HtmlDCRenderer</autodoc>
+ </constructor>
+ <destructor name="~wxHtmlDCRenderer" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetDC" type="" overloaded="no">
+ <autodoc>SetDC(self, DC dc, int maxwidth)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="maxwidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHtmlText" type="" overloaded="no">
+ <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc>
+ <paramlist>
+ <param name="html" type="String" default=""/>
+ <param name="basepath" type="String" default="wxPyEmptyString"/>
+ <param name="isdir" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetFonts" type="" overloaded="no">
+ <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+ <paramlist>
+ <param name="normal_face" type="String" default=""/>
+ <param name="fixed_face" type="String" default=""/>
+ <param name="sizes" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="NormalizeFontSizes" type="" overloaded="no">
+ <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+ <paramlist>
+ <param name="size" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="Render" type="int" overloaded="no">
+ <autodoc>Render(self, int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
+ int choices=None, int LCOUNT=0) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="from" type="int" default="0"/>
+ <param name="dont_render" type="int" default="False"/>
+ <param name="to" type="int" default="INT_MAX"/>
+ <param name="choices" type="int" default="NULL"/>
+ <param name="LCOUNT" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetTotalHeight" type="int" overloaded="no">
+ <autodoc>GetTotalHeight(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html">
+ <baseclass name="Printout"/>
+ <constructor name="HtmlPrintout" overloaded="no">
+ <autodoc>__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout</autodoc>
+ <paramlist>
+ <param name="title" type="String" default="wxPyHtmlPrintoutTitleStr"/>
+ </paramlist>
+ </constructor>
+ <method name="SetHtmlText" type="" overloaded="no">
+ <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc>
+ <paramlist>
+ <param name="html" type="String" default=""/>
+ <param name="basepath" type="String" default="wxPyEmptyString"/>
+ <param name="isdir" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetHtmlFile" type="" overloaded="no">
+ <autodoc>SetHtmlFile(self, String htmlfile)</autodoc>
+ <paramlist>
+ <param name="htmlfile" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHeader" type="" overloaded="no">
+ <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc>
+ <paramlist>
+ <param name="header" type="String" default=""/>
+ <param name="pg" type="int" default="wxPAGE_ALL"/>
+ </paramlist>
+ </method>
+ <method name="SetFooter" type="" overloaded="no">
+ <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc>
+ <paramlist>
+ <param name="footer" type="String" default=""/>
+ <param name="pg" type="int" default="wxPAGE_ALL"/>
+ </paramlist>
+ </method>
+ <method name="SetFonts" type="" overloaded="no">
+ <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+ <paramlist>
+ <param name="normal_face" type="String" default=""/>
+ <param name="fixed_face" type="String" default=""/>
+ <param name="sizes" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="NormalizeFontSizes" type="" overloaded="no">
+ <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+ <paramlist>
+ <param name="size" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetMargins" type="" overloaded="no">
+ <autodoc>SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
+ float right=25.2, float spaces=5)</autodoc>
+ <paramlist>
+ <param name="top" type="float" default="25.2"/>
+ <param name="bottom" type="float" default="25.2"/>
+ <param name="left" type="float" default="25.2"/>
+ <param name="right" type="float" default="25.2"/>
+ <param name="spaces" type="float" default="5"/>
+ </paramlist>
+ </method>
+ <staticmethod name="AddFilter" type="" overloaded="no">
+ <autodoc>AddFilter(wxHtmlFilter filter)</autodoc>
+ <paramlist>
+ <param name="filter" type="wxHtmlFilter" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="CleanUpStatics" type="" overloaded="no">
+ <autodoc>CleanUpStatics()</autodoc>
+ </staticmethod>
+ </class>
+ <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html">
+ <baseclass name="Object"/>
+ <constructor name="HtmlEasyPrinting" overloaded="no">
+ <autodoc>__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting</autodoc>
+ <paramlist>
+ <param name="name" type="String" default="wxPyHtmlPrintingTitleStr"/>
+ <param name="parentWindow" type="Window" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxHtmlEasyPrinting" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="PreviewFile" type="" overloaded="no">
+ <autodoc>PreviewFile(self, String htmlfile)</autodoc>
+ <paramlist>
+ <param name="htmlfile" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="PreviewText" type="" overloaded="no">
+ <autodoc>PreviewText(self, String htmltext, String basepath=EmptyString)</autodoc>
+ <paramlist>
+ <param name="htmltext" type="String" default=""/>
+ <param name="basepath" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="PrintFile" type="" overloaded="no">
+ <autodoc>PrintFile(self, String htmlfile)</autodoc>
+ <paramlist>
+ <param name="htmlfile" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="PrintText" type="" overloaded="no">
+ <autodoc>PrintText(self, String htmltext, String basepath=EmptyString)</autodoc>
+ <paramlist>
+ <param name="htmltext" type="String" default=""/>
+ <param name="basepath" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="PrinterSetup" type="" overloaded="no">
+ <autodoc>PrinterSetup(self)</autodoc>
+ </method>
+ <method name="PageSetup" type="" overloaded="no">
+ <autodoc>PageSetup(self)</autodoc>
+ </method>
+ <method name="SetHeader" type="" overloaded="no">
+ <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc>
+ <paramlist>
+ <param name="header" type="String" default=""/>
+ <param name="pg" type="int" default="wxPAGE_ALL"/>
+ </paramlist>
+ </method>
+ <method name="SetFooter" type="" overloaded="no">
+ <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc>
+ <paramlist>
+ <param name="footer" type="String" default=""/>
+ <param name="pg" type="int" default="wxPAGE_ALL"/>
+ </paramlist>
+ </method>
+ <method name="SetFonts" type="" overloaded="no">
+ <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+ <paramlist>
+ <param name="normal_face" type="String" default=""/>
+ <param name="fixed_face" type="String" default=""/>
+ <param name="sizes" type="PyObject" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="NormalizeFontSizes" type="" overloaded="no">
+ <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+ <paramlist>
+ <param name="size" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="GetPrintData" type="PrintData" overloaded="no">
+ <autodoc>GetPrintData(self) -> PrintData</autodoc>
+ </method>
+ <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
+ <autodoc>GetPageSetupData(self) -> PageSetupDialogData</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html">
+ <constructor name="HtmlBookRecord" overloaded="no">
+ <autodoc>__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord</autodoc>
+ <paramlist>
+ <param name="bookfile" type="String" default=""/>
+ <param name="basepath" type="String" default=""/>
+ <param name="title" type="String" default=""/>
+ <param name="start" type="String" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="GetBookFile" type="String" overloaded="no">
+ <autodoc>GetBookFile(self) -> String</autodoc>
+ </method>
+ <method name="GetTitle" type="String" overloaded="no">
+ <autodoc>GetTitle(self) -> String</autodoc>
+ </method>
+ <method name="GetStart" type="String" overloaded="no">
+ <autodoc>GetStart(self) -> String</autodoc>
+ </method>
+ <method name="GetBasePath" type="String" overloaded="no">
+ <autodoc>GetBasePath(self) -> String</autodoc>
+ </method>
+ <method name="SetContentsRange" type="" overloaded="no">
+ <autodoc>SetContentsRange(self, int start, int end)</autodoc>
+ <paramlist>
+ <param name="start" type="int" default=""/>
+ <param name="end" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetContentsStart" type="int" overloaded="no">
+ <autodoc>GetContentsStart(self) -> int</autodoc>
+ </method>
+ <method name="GetContentsEnd" type="int" overloaded="no">
+ <autodoc>GetContentsEnd(self) -> int</autodoc>
+ </method>
+ <method name="SetTitle" type="" overloaded="no">
+ <autodoc>SetTitle(self, String title)</autodoc>
+ <paramlist>
+ <param name="title" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBasePath" type="" overloaded="no">
+ <autodoc>SetBasePath(self, String path)</autodoc>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStart" type="" overloaded="no">
+ <autodoc>SetStart(self, String start)</autodoc>
+ <paramlist>
+ <param name="start" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFullPath" type="String" overloaded="no">
+ <autodoc>GetFullPath(self, String page) -> String</autodoc>
+ <paramlist>
+ <param name="page" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html">
+ <method name="GetLevel" type="int" overloaded="no">
+ <autodoc>GetLevel(self) -> int</autodoc>
+ </method>
+ <method name="GetID" type="int" overloaded="no">
+ <autodoc>GetID(self) -> int</autodoc>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="GetPage" type="String" overloaded="no">
+ <autodoc>GetPage(self) -> String</autodoc>
+ </method>
+ <method name="GetBook" type="HtmlBookRecord" overloaded="no">
+ <autodoc>GetBook(self) -> HtmlBookRecord</autodoc>
+ </method>
+ </class>
+ <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html">
+ <method name="Search" type="bool" overloaded="no">
+ <autodoc>Search(self) -> bool</autodoc>
+ </method>
+ <method name="IsActive" type="bool" overloaded="no">
+ <autodoc>IsActive(self) -> bool</autodoc>
+ </method>
+ <method name="GetCurIndex" type="int" overloaded="no">
+ <autodoc>GetCurIndex(self) -> int</autodoc>
+ </method>
+ <method name="GetMaxIndex" type="int" overloaded="no">
+ <autodoc>GetMaxIndex(self) -> int</autodoc>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="GetContentsItem" type="HtmlContentsItem" overloaded="no">
+ <autodoc>GetContentsItem(self) -> HtmlContentsItem</autodoc>
+ </method>
+ </class>
+ <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html">
+ <constructor name="HtmlHelpData" overloaded="no">
+ <autodoc>__init__(self) -> HtmlHelpData</autodoc>
+ </constructor>
+ <destructor name="~wxHtmlHelpData" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetTempDir" type="" overloaded="no">
+ <autodoc>SetTempDir(self, String path)</autodoc>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddBook" type="bool" overloaded="no">
+ <autodoc>AddBook(self, String book) -> bool</autodoc>
+ <paramlist>
+ <param name="book" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindPageByName" type="String" overloaded="no">
+ <autodoc>FindPageByName(self, String page) -> String</autodoc>
+ <paramlist>
+ <param name="page" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindPageById" type="String" overloaded="no">
+ <autodoc>FindPageById(self, int id) -> String</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBookRecArray" type="wxHtmlBookRecArray" overloaded="no">
+ <autodoc>GetBookRecArray(self) -> wxHtmlBookRecArray</autodoc>
+ </method>
+ <method name="GetContents" type="HtmlContentsItem" overloaded="no">
+ <autodoc>GetContents(self) -> HtmlContentsItem</autodoc>
+ </method>
+ <method name="GetContentsCnt" type="int" overloaded="no">
+ <autodoc>GetContentsCnt(self) -> int</autodoc>
+ </method>
+ <method name="GetIndex" type="HtmlContentsItem" overloaded="no">
+ <autodoc>GetIndex(self) -> HtmlContentsItem</autodoc>
+ </method>
+ <method name="GetIndexCnt" type="int" overloaded="no">
+ <autodoc>GetIndexCnt(self) -> int</autodoc>
+ </method>
+ </class>
+ <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html">
+ <baseclass name="Frame"/>
+ <constructor name="HtmlHelpFrame" overloaded="no">
+ <autodoc>__init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
+ HtmlHelpData data=None) -> HtmlHelpFrame</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="" type="int" default=""/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
+ <param name="data" type="HtmlHelpData" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetData" type="HtmlHelpData" overloaded="no">
+ <autodoc>GetData(self) -> HtmlHelpData</autodoc>
+ </method>
+ <method name="SetTitleFormat" type="" overloaded="no">
+ <autodoc>SetTitleFormat(self, String format)</autodoc>
+ <paramlist>
+ <param name="format" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Display" type="" overloaded="no">
+ <autodoc>Display(self, String x)</autodoc>
+ <paramlist>
+ <param name="x" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DisplayID" type="" overloaded="no">
+ <autodoc>DisplayID(self, int id)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DisplayContents" type="" overloaded="no">
+ <autodoc>DisplayContents(self)</autodoc>
+ </method>
+ <method name="DisplayIndex" type="" overloaded="no">
+ <autodoc>DisplayIndex(self)</autodoc>
+ </method>
+ <method name="KeywordSearch" type="bool" overloaded="no">
+ <autodoc>KeywordSearch(self, String keyword) -> bool</autodoc>
+ <paramlist>
+ <param name="keyword" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="UseConfig" type="" overloaded="no">
+ <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc>
+ <paramlist>
+ <param name="config" type="ConfigBase" default=""/>
+ <param name="rootpath" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="ReadCustomization" type="" overloaded="no">
+ <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
+ <paramlist>
+ <param name="cfg" type="ConfigBase" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="WriteCustomization" type="" overloaded="no">
+ <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
+ <paramlist>
+ <param name="cfg" type="ConfigBase" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html">
+ <baseclass name="EvtHandler"/>
+ <constructor name="HtmlHelpController" overloaded="no">
+ <autodoc>__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController</autodoc>
+ <paramlist>
+ <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxHtmlHelpController" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetTitleFormat" type="" overloaded="no">
+ <autodoc>SetTitleFormat(self, String format)</autodoc>
+ <paramlist>
+ <param name="format" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTempDir" type="" overloaded="no">
+ <autodoc>SetTempDir(self, String path)</autodoc>
+ <paramlist>
+ <param name="path" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddBook" type="bool" overloaded="no">
+ <autodoc>AddBook(self, String book, int show_wait_msg=False) -> bool</autodoc>
+ <paramlist>
+ <param name="book" type="String" default=""/>
+ <param name="show_wait_msg" type="int" default="False"/>
+ </paramlist>
+ </method>
+ <method name="Display" type="" overloaded="no">
+ <autodoc>Display(self, String x)</autodoc>
+ <paramlist>
+ <param name="x" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DisplayID" type="" overloaded="no">
+ <autodoc>DisplayID(self, int id)</autodoc>
+ <paramlist>
+ <param name="id" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DisplayContents" type="" overloaded="no">
+ <autodoc>DisplayContents(self)</autodoc>
+ </method>
+ <method name="DisplayIndex" type="" overloaded="no">
+ <autodoc>DisplayIndex(self)</autodoc>
+ </method>
+ <method name="KeywordSearch" type="bool" overloaded="no">
+ <autodoc>KeywordSearch(self, String keyword) -> bool</autodoc>
+ <paramlist>
+ <param name="keyword" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="UseConfig" type="" overloaded="no">
+ <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc>
+ <paramlist>
+ <param name="config" type="ConfigBase" default=""/>
+ <param name="rootpath" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="ReadCustomization" type="" overloaded="no">
+ <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
+ <paramlist>
+ <param name="cfg" type="ConfigBase" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="WriteCustomization" type="" overloaded="no">
+ <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
+ <paramlist>
+ <param name="cfg" type="ConfigBase" default=""/>
+ <param name="path" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="GetFrame" type="HtmlHelpFrame" overloaded="no">
+ <autodoc>GetFrame(self) -> HtmlHelpFrame</autodoc>
+ </method>
+ </class>
+ </module>
+ <module name="wizard">
+ <import name="_windows"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <pythoncode>
+EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
+EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
+EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1)
+EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
+EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
+</pythoncode>
+ <class name="WizardEvent" oldname="wxWizardEvent" module="wizard">
+ <baseclass name="NotifyEvent"/>
+ <constructor name="WizardEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
+ WizardPage page=None) -> WizardEvent</autodoc>
+ <paramlist>
+ <param name="type" type="wxEventType" default="wxEVT_NULL"/>
+ <param name="id" type="int" default="-1"/>
+ <param name="direction" type="bool" default="True"/>
+ <param name="page" type="wxWizardPage" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetDirection" type="bool" overloaded="no">
+ <autodoc>GetDirection(self) -> bool</autodoc>
+ </method>
+ <method name="GetPage" type="wxWizardPage" overloaded="no">
+ <autodoc>GetPage(self) -> WizardPage</autodoc>
+ </method>
+ </class>
+ <class name="WizardPage" oldname="wxWizardPage" module="wizard">
+ <baseclass name="Panel"/>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="wxWizard" default=""/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="resource" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="GetPrev" type="WizardPage" overloaded="no">
+ <autodoc>GetPrev(self) -> WizardPage</autodoc>
+ </method>
+ <method name="GetNext" type="WizardPage" overloaded="no">
+ <autodoc>GetNext(self) -> WizardPage</autodoc>
+ </method>
+ <method name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(self) -> Bitmap</autodoc>
+ </method>
+ </class>
+ <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard">
+ <baseclass name="WizardPage"/>
+ <constructor name="PyWizardPage" overloaded="no">
+ <autodoc>__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage</autodoc>
+ <paramlist>
+ <param name="parent" type="wxWizard" default=""/>
+ <param name="bitmap" type="Bitmap" default="&wxNullBitmap"/>
+ <param name="resource" type="String" default="&wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PrePyWizardPage" overloaded="no">
+ <autodoc>PrePyWizardPage() -> PyWizardPage</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="wxWizard" default=""/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="resource" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoMoveWindow" type="" overloaded="no">
+ <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetSize" type="" overloaded="no">
+ <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetClientSize" type="" overloaded="no">
+ <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
+ <paramlist>
+ <param name="width" type="int" default=""/>
+ <param name="height" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoSetVirtualSize" type="" overloaded="no">
+ <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetSize" type="" overloaded="no">
+ <autodoc>base_DoGetSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetClientSize" type="" overloaded="no">
+ <autodoc>base_DoGetClientSize() -> (width, height)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetPosition" type="" overloaded="no">
+ <autodoc>base_DoGetPosition() -> (x,y)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetVirtualSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_DoGetBestSize" type="Size" overloaded="no">
+ <autodoc>base_DoGetBestSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_InitDialog" type="" overloaded="no">
+ <autodoc>base_InitDialog(self)</autodoc>
+ </method>
+ <method name="base_TransferDataToWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataToWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
+ <autodoc>base_TransferDataFromWindow(self) -> bool</autodoc>
+ </method>
+ <method name="base_Validate" type="bool" overloaded="no">
+ <autodoc>base_Validate(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocus" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocus(self) -> bool</autodoc>
+ </method>
+ <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
+ <autodoc>base_AcceptsFocusFromKeyboard(self) -> bool</autodoc>
+ </method>
+ <method name="base_GetMaxSize" type="Size" overloaded="no">
+ <autodoc>base_GetMaxSize(self) -> Size</autodoc>
+ </method>
+ <method name="base_AddChild" type="" overloaded="no">
+ <autodoc>base_AddChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_RemoveChild" type="" overloaded="no">
+ <autodoc>base_RemoveChild(self, Window child)</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard">
+ <baseclass name="WizardPage"/>
+ <constructor name="WizardPageSimple" overloaded="no">
+ <autodoc>__init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
+ Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple</autodoc>
+ <paramlist>
+ <param name="parent" type="wxWizard" default=""/>
+ <param name="prev" type="WizardPage" default="NULL"/>
+ <param name="next" type="WizardPage" default="NULL"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="resource" type="wxChar" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreWizardPageSimple" overloaded="no">
+ <autodoc>PreWizardPageSimple() -> WizardPageSimple</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None,
+ Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="wxWizard" default="NULL"/>
+ <param name="prev" type="WizardPage" default="NULL"/>
+ <param name="next" type="WizardPage" default="NULL"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="resource" type="wxChar" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="SetPrev" type="" overloaded="no">
+ <autodoc>SetPrev(self, WizardPage prev)</autodoc>
+ <paramlist>
+ <param name="prev" type="WizardPage" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNext" type="" overloaded="no">
+ <autodoc>SetNext(self, WizardPage next)</autodoc>
+ <paramlist>
+ <param name="next" type="WizardPage" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="Chain" type="" overloaded="no">
+ <autodoc>Chain(WizardPageSimple first, WizardPageSimple second)</autodoc>
+ <paramlist>
+ <param name="first" type="WizardPageSimple" default=""/>
+ <param name="second" type="WizardPageSimple" default=""/>
+ </paramlist>
+ </staticmethod>
+ </class>
+ <class name="Wizard" oldname="wxWizard" module="wizard">
+ <baseclass name="Dialog"/>
+ <constructor name="Wizard" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString,
+ Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
+ long style=DEFAULT_DIALOG_STYLE) -> Wizard</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreWizard" overloaded="no">
+ <autodoc>PreWizard() -> Wizard</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString,
+ Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="title" type="String" default="wxPyEmptyString"/>
+ <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ </paramlist>
+ </method>
+ <method name="Init" type="" overloaded="no">
+ <autodoc>Init(self)</autodoc>
+ </method>
+ <method name="RunWizard" type="bool" overloaded="no">
+ <autodoc>RunWizard(self, WizardPage firstPage) -> bool</autodoc>
+ <paramlist>
+ <param name="firstPage" type="WizardPage" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCurrentPage" type="WizardPage" overloaded="no">
+ <autodoc>GetCurrentPage(self) -> WizardPage</autodoc>
+ </method>
+ <method name="SetPageSize" type="" overloaded="no">
+ <autodoc>SetPageSize(self, Size size)</autodoc>
+ <paramlist>
+ <param name="size" type="Size" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPageSize" type="Size" overloaded="no">
+ <autodoc>GetPageSize(self) -> Size</autodoc>
+ </method>
+ <method name="FitToPage" type="" overloaded="no">
+ <autodoc>FitToPage(self, WizardPage firstPage)</autodoc>
+ <paramlist>
+ <param name="firstPage" type="WizardPage" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPageAreaSizer" type="Sizer" overloaded="no">
+ <autodoc>GetPageAreaSizer(self) -> Sizer</autodoc>
+ </method>
+ <method name="SetBorder" type="" overloaded="no">
+ <autodoc>SetBorder(self, int border)</autodoc>
+ <paramlist>
+ <param name="border" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsRunning" type="bool" overloaded="no">
+ <autodoc>IsRunning(self) -> bool</autodoc>
+ </method>
+ <method name="ShowPage" type="bool" overloaded="no">
+ <autodoc>ShowPage(self, WizardPage page, bool goingForward=True) -> bool</autodoc>
+ <paramlist>
+ <param name="page" type="WizardPage" default=""/>
+ <param name="goingForward" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="HasNextPage" type="bool" overloaded="no">
+ <autodoc>HasNextPage(self, WizardPage page) -> bool</autodoc>
+ <paramlist>
+ <param name="page" type="WizardPage" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasPrevPage" type="bool" overloaded="no">
+ <autodoc>HasPrevPage(self, WizardPage page) -> bool</autodoc>
+ <paramlist>
+ <param name="page" type="WizardPage" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ </module>
+ <module name="glcanvas">
+ <import name="_core"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <class name="GLContext" oldname="wxGLContext" module="glcanvas">
+ <baseclass name="Object"/>
+ <constructor name="GLContext" overloaded="no">
+ <autodoc>__init__(self, bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette,
+ GLContext other=None) -> GLContext</autodoc>
+ <paramlist>
+ <param name="isRGB" type="bool" default=""/>
+ <param name="win" type="wxGLCanvas" default=""/>
+ <param name="palette" type="Palette" default="wxNullPalette"/>
+ <param name="other" type="GLContext" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxGLContext" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetCurrent" type="" overloaded="no">
+ <autodoc>SetCurrent(self)</autodoc>
+ </method>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, String colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SwapBuffers" type="" overloaded="no">
+ <autodoc>SwapBuffers(self)</autodoc>
+ </method>
+ <method name="SetupPixelFormat" type="" overloaded="no">
+ <autodoc>SetupPixelFormat(self)</autodoc>
+ </method>
+ <method name="SetupPalette" type="" overloaded="no">
+ <autodoc>SetupPalette(self, wxPalette palette)</autodoc>
+ <paramlist>
+ <param name="palette" type="Palette" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateDefaultPalette" type="Palette" overloaded="no">
+ <autodoc>CreateDefaultPalette(self) -> wxPalette</autodoc>
+ </method>
+ <method name="GetPalette" type="Palette" overloaded="no">
+ <autodoc>GetPalette(self) -> wxPalette</autodoc>
+ </method>
+ <method name="GetWindow" type="Window" overloaded="no">
+ <autodoc>GetWindow(self) -> Window</autodoc>
+ </method>
+ </class>
+ <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas">
+ <baseclass name="Window"/>
+ <constructor name="GLCanvas" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=GLCanvasNameStr,
+ int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyGLCanvasNameStr"/>
+ <param name="attribList" type="int" default="NULL"/>
+ <param name="palette" type="Palette" default="wxNullPalette"/>
+ </paramlist>
+ </constructor>
+ <constructor name="GLCanvasWithContext" overloaded="no">
+ <autodoc>GLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize,
+ long style=0, String name=GLCanvasNameStr,
+ int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="shared" type="GLContext" default="NULL"/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPyGLCanvasNameStr"/>
+ <param name="attribList" type="int" default="NULL"/>
+ <param name="palette" type="Palette" default="wxNullPalette"/>
+ </paramlist>
+ </constructor>
+ <method name="SetCurrent" type="" overloaded="no">
+ <autodoc>SetCurrent(self)</autodoc>
+ </method>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, String colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SwapBuffers" type="" overloaded="no">
+ <autodoc>SwapBuffers(self)</autodoc>
+ </method>
+ <method name="GetContext" type="GLContext" overloaded="no">
+ <autodoc>GetContext(self) -> GLContext</autodoc>
+ </method>
+ </class>
+ </module>
+ <module name="ogl">
+ <import name="_windows"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <pythoncode>
+ import warnings
+ warnings.warn("This module is deprecated. Please use the wx.lib.ogl package instead.",
+ DeprecationWarning, stacklevel=2)
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl">
+ <baseclass name="Object"/>
+ <constructor name="ShapeRegion" overloaded="no">
+ <autodoc>__init__(self) -> ShapeRegion</autodoc>
+ </constructor>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String s)</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font f)</autodoc>
+ <paramlist>
+ <param name="f" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMinSize" type="" overloaded="no">
+ <autodoc>SetMinSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetProportions" type="" overloaded="no">
+ <autodoc>SetProportions(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFormatMode" type="" overloaded="no">
+ <autodoc>SetFormatMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetName" type="" overloaded="no">
+ <autodoc>SetName(self, String s)</autodoc>
+ <paramlist>
+ <param name="s" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColour" type="" overloaded="no">
+ <autodoc>SetColour(self, String col)</autodoc>
+ <paramlist>
+ <param name="col" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self) -> Font</autodoc>
+ </method>
+ <method name="GetMinSize" type="" overloaded="no">
+ <autodoc>GetMinSize(self, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetProportion" type="" overloaded="no">
+ <autodoc>GetProportion(self, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="" overloaded="no">
+ <autodoc>GetSize(self, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPosition" type="" overloaded="no">
+ <autodoc>GetPosition(self, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFormatMode" type="int" overloaded="no">
+ <autodoc>GetFormatMode(self) -> int</autodoc>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="GetColour" type="String" overloaded="no">
+ <autodoc>GetColour(self) -> String</autodoc>
+ </method>
+ <method name="GetActualColourObject" type="Colour" overloaded="no">
+ <autodoc>GetActualColourObject(self) -> Colour</autodoc>
+ </method>
+ <method name="GetFormattedText" type="wxList" overloaded="no">
+ <autodoc>GetFormattedText(self) -> wxList</autodoc>
+ </method>
+ <method name="GetPenColour" type="String" overloaded="no">
+ <autodoc>GetPenColour(self) -> String</autodoc>
+ </method>
+ <method name="GetPenStyle" type="int" overloaded="no">
+ <autodoc>GetPenStyle(self) -> int</autodoc>
+ </method>
+ <method name="SetPenStyle" type="" overloaded="no">
+ <autodoc>SetPenStyle(self, int style)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPenColour" type="" overloaded="no">
+ <autodoc>SetPenColour(self, String col)</autodoc>
+ <paramlist>
+ <param name="col" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetActualPen" type="Pen" overloaded="no">
+ <autodoc>GetActualPen(self) -> wxPen</autodoc>
+ </method>
+ <method name="GetWidth" type="double" overloaded="no">
+ <autodoc>GetWidth(self) -> double</autodoc>
+ </method>
+ <method name="GetHeight" type="double" overloaded="no">
+ <autodoc>GetHeight(self) -> double</autodoc>
+ </method>
+ <method name="ClearText" type="" overloaded="no">
+ <autodoc>ClearText(self)</autodoc>
+ </method>
+ </class>
+ <class name="AttachmentPoint" oldname="wxAttachmentPoint" module="ogl">
+ <baseclass name="Object"/>
+ <constructor name="AttachmentPoint" overloaded="no">
+ <autodoc>__init__(self, int id=0, double x=0.0, double y=0.0) -> AttachmentPoint</autodoc>
+ <paramlist>
+ <param name="id" type="int" default="0"/>
+ <param name="x" type="double" default="0.0"/>
+ <param name="y" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <property name="m_id" type="int" readonly="no"/>
+ <property name="m_x" type="double" readonly="no"/>
+ <property name="m_y" type="double" readonly="no"/>
+ </class>
+ <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl">
+ <baseclass name="Object"/>
+ <constructor name="PyShapeEvtHandler" overloaded="no">
+ <autodoc>__init__(self, PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler</autodoc>
+ <paramlist>
+ <param name="prev" type="PyShapeEvtHandler" default="NULL"/>
+ <param name="shape" type="wxPyShape" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="_setOORInfo" type="" overloaded="no">
+ <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
+ <paramlist>
+ <param name="_self" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetShape" type="" overloaded="no">
+ <autodoc>SetShape(self, PyShape sh)</autodoc>
+ <paramlist>
+ <param name="sh" type="wxPyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetShape" type="wxPyShape" overloaded="no">
+ <autodoc>GetShape(self) -> PyShape</autodoc>
+ </method>
+ <method name="SetPreviousHandler" type="" overloaded="no">
+ <autodoc>SetPreviousHandler(self, PyShapeEvtHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="PyShapeEvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPreviousHandler" type="PyShapeEvtHandler" overloaded="no">
+ <autodoc>GetPreviousHandler(self) -> PyShapeEvtHandler</autodoc>
+ </method>
+ <method name="CreateNewCopy" type="PyShapeEvtHandler" overloaded="no">
+ <autodoc>CreateNewCopy(self) -> PyShapeEvtHandler</autodoc>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyShape" oldname="wxPyShape" module="ogl">
+ <baseclass name="PyShapeEvtHandler"/>
+ <constructor name="PyShape" overloaded="no">
+ <autodoc>__init__(self, PyShapeCanvas can=None) -> PyShape</autodoc>
+ <paramlist>
+ <param name="can" type="wxPyShapeCanvas" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBoundingBoxMax" type="" overloaded="no">
+ <autodoc>GetBoundingBoxMax(self, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBoundingBoxMin" type="" overloaded="no">
+ <autodoc>GetBoundingBoxMin(self, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPerimeterPoint" type="bool" overloaded="no">
+ <autodoc>GetPerimeterPoint(self, double x1, double y1, double x2, double y2, double OUTPUT,
+ double OUTPUT) -> bool</autodoc>
+ <paramlist>
+ <param name="x1" type="double" default=""/>
+ <param name="y1" type="double" default=""/>
+ <param name="x2" type="double" default=""/>
+ <param name="y2" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
+ <autodoc>GetCanvas(self) -> PyShapeCanvas</autodoc>
+ </method>
+ <method name="SetCanvas" type="" overloaded="no">
+ <autodoc>SetCanvas(self, PyShapeCanvas the_canvas)</autodoc>
+ <paramlist>
+ <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddToCanvas" type="" overloaded="no">
+ <autodoc>AddToCanvas(self, PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc>
+ <paramlist>
+ <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
+ <param name="addAfter" type="PyShape" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="InsertInCanvas" type="" overloaded="no">
+ <autodoc>InsertInCanvas(self, PyShapeCanvas the_canvas)</autodoc>
+ <paramlist>
+ <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveFromCanvas" type="" overloaded="no">
+ <autodoc>RemoveFromCanvas(self, PyShapeCanvas the_canvas)</autodoc>
+ <paramlist>
+ <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetX" type="double" overloaded="no">
+ <autodoc>GetX(self) -> double</autodoc>
+ </method>
+ <method name="GetY" type="double" overloaded="no">
+ <autodoc>GetY(self) -> double</autodoc>
+ </method>
+ <method name="SetX" type="" overloaded="no">
+ <autodoc>SetX(self, double x)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetY" type="" overloaded="no">
+ <autodoc>SetY(self, double y)</autodoc>
+ <paramlist>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetParent" type="PyShape" overloaded="no">
+ <autodoc>GetParent(self) -> PyShape</autodoc>
+ </method>
+ <method name="SetParent" type="" overloaded="no">
+ <autodoc>SetParent(self, PyShape p)</autodoc>
+ <paramlist>
+ <param name="p" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTopAncestor" type="PyShape" overloaded="no">
+ <autodoc>GetTopAncestor(self) -> PyShape</autodoc>
+ </method>
+ <method name="GetChildren" type="PyObject" overloaded="no">
+ <autodoc>GetChildren(self) -> PyObject</autodoc>
+ </method>
+ <method name="Unlink" type="" overloaded="no">
+ <autodoc>Unlink(self)</autodoc>
+ </method>
+ <method name="SetDrawHandles" type="" overloaded="no">
+ <autodoc>SetDrawHandles(self, bool drawH)</autodoc>
+ <paramlist>
+ <param name="drawH" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDrawHandles" type="bool" overloaded="no">
+ <autodoc>GetDrawHandles(self) -> bool</autodoc>
+ </method>
+ <method name="MakeControlPoints" type="" overloaded="no">
+ <autodoc>MakeControlPoints(self)</autodoc>
+ </method>
+ <method name="DeleteControlPoints" type="" overloaded="no">
+ <autodoc>DeleteControlPoints(self, DC dc=None)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="ResetControlPoints" type="" overloaded="no">
+ <autodoc>ResetControlPoints(self)</autodoc>
+ </method>
+ <method name="GetEventHandler" type="PyShapeEvtHandler" overloaded="no">
+ <autodoc>GetEventHandler(self) -> PyShapeEvtHandler</autodoc>
+ </method>
+ <method name="SetEventHandler" type="" overloaded="no">
+ <autodoc>SetEventHandler(self, PyShapeEvtHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="PyShapeEvtHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="MakeMandatoryControlPoints" type="" overloaded="no">
+ <autodoc>MakeMandatoryControlPoints(self)</autodoc>
+ </method>
+ <method name="ResetMandatoryControlPoints" type="" overloaded="no">
+ <autodoc>ResetMandatoryControlPoints(self)</autodoc>
+ </method>
+ <method name="Recompute" type="bool" overloaded="no">
+ <autodoc>Recompute(self) -> bool</autodoc>
+ </method>
+ <method name="CalculateSize" type="" overloaded="no">
+ <autodoc>CalculateSize(self)</autodoc>
+ </method>
+ <method name="Select" type="" overloaded="no">
+ <autodoc>Select(self, bool select=True, DC dc=None)</autodoc>
+ <paramlist>
+ <param name="select" type="bool" default="True"/>
+ <param name="dc" type="DC" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="SetHighlight" type="" overloaded="no">
+ <autodoc>SetHighlight(self, bool hi=True, bool recurse=False)</autodoc>
+ <paramlist>
+ <param name="hi" type="bool" default="True"/>
+ <param name="recurse" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="IsHighlighted" type="bool" overloaded="no">
+ <autodoc>IsHighlighted(self) -> bool</autodoc>
+ </method>
+ <method name="Selected" type="bool" overloaded="no">
+ <autodoc>Selected(self) -> bool</autodoc>
+ </method>
+ <method name="AncestorSelected" type="bool" overloaded="no">
+ <autodoc>AncestorSelected(self) -> bool</autodoc>
+ </method>
+ <method name="SetSensitivityFilter" type="" overloaded="no">
+ <autodoc>SetSensitivityFilter(self, int sens=OP_ALL, bool recursive=False)</autodoc>
+ <paramlist>
+ <param name="sens" type="int" default="OP_ALL"/>
+ <param name="recursive" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetSensitivityFilter" type="int" overloaded="no">
+ <autodoc>GetSensitivityFilter(self) -> int</autodoc>
+ </method>
+ <method name="SetDraggable" type="" overloaded="no">
+ <autodoc>SetDraggable(self, bool drag, bool recursive=False)</autodoc>
+ <paramlist>
+ <param name="drag" type="bool" default=""/>
+ <param name="recursive" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="SetFixedSize" type="" overloaded="no">
+ <autodoc>SetFixedSize(self, bool x, bool y)</autodoc>
+ <paramlist>
+ <param name="x" type="bool" default=""/>
+ <param name="y" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFixedSize" type="" overloaded="no">
+ <autodoc>GetFixedSize(self, bool OUTPUT, bool OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="bool" default=""/>
+ <param name="OUTPUT" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFixedWidth" type="bool" overloaded="no">
+ <autodoc>GetFixedWidth(self) -> bool</autodoc>
+ </method>
+ <method name="GetFixedHeight" type="bool" overloaded="no">
+ <autodoc>GetFixedHeight(self) -> bool</autodoc>
+ </method>
+ <method name="SetSpaceAttachments" type="" overloaded="no">
+ <autodoc>SetSpaceAttachments(self, bool sp)</autodoc>
+ <paramlist>
+ <param name="sp" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSpaceAttachments" type="bool" overloaded="no">
+ <autodoc>GetSpaceAttachments(self) -> bool</autodoc>
+ </method>
+ <method name="SetShadowMode" type="" overloaded="no">
+ <autodoc>SetShadowMode(self, int mode, bool redraw=False)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ <param name="redraw" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetShadowMode" type="int" overloaded="no">
+ <autodoc>GetShadowMode(self) -> int</autodoc>
+ </method>
+ <method name="HitTest" type="bool" overloaded="no">
+ <autodoc>HitTest(self, double x, double y, int OUTPUT, double OUTPUT) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCentreResize" type="" overloaded="no">
+ <autodoc>SetCentreResize(self, bool cr)</autodoc>
+ <paramlist>
+ <param name="cr" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCentreResize" type="bool" overloaded="no">
+ <autodoc>GetCentreResize(self) -> bool</autodoc>
+ </method>
+ <method name="SetMaintainAspectRatio" type="" overloaded="no">
+ <autodoc>SetMaintainAspectRatio(self, bool ar)</autodoc>
+ <paramlist>
+ <param name="ar" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMaintainAspectRatio" type="bool" overloaded="no">
+ <autodoc>GetMaintainAspectRatio(self) -> bool</autodoc>
+ </method>
+ <method name="GetLines" type="PyObject" overloaded="no">
+ <autodoc>GetLines(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetDisableLabel" type="" overloaded="no">
+ <autodoc>SetDisableLabel(self, bool flag)</autodoc>
+ <paramlist>
+ <param name="flag" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDisableLabel" type="bool" overloaded="no">
+ <autodoc>GetDisableLabel(self) -> bool</autodoc>
+ </method>
+ <method name="SetAttachmentMode" type="" overloaded="no">
+ <autodoc>SetAttachmentMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAttachmentMode" type="int" overloaded="no">
+ <autodoc>GetAttachmentMode(self) -> int</autodoc>
+ </method>
+ <method name="SetId" type="" overloaded="no">
+ <autodoc>SetId(self, long i)</autodoc>
+ <paramlist>
+ <param name="i" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetId" type="long" overloaded="no">
+ <autodoc>GetId(self) -> long</autodoc>
+ </method>
+ <method name="SetPen" type="" overloaded="no">
+ <autodoc>SetPen(self, wxPen pen)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBrush" type="" overloaded="no">
+ <autodoc>SetBrush(self, wxBrush brush)</autodoc>
+ <paramlist>
+ <param name="brush" type="Brush" default=""/>
+ </paramlist>
+ </method>
+ <method name="Show" type="" overloaded="no">
+ <autodoc>Show(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsShown" type="bool" overloaded="no">
+ <autodoc>IsShown(self) -> bool</autodoc>
+ </method>
+ <method name="Move" type="" overloaded="no">
+ <autodoc>Move(self, DC dc, double x1, double y1, bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x1" type="double" default=""/>
+ <param name="y1" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Erase" type="" overloaded="no">
+ <autodoc>Erase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="EraseContents" type="" overloaded="no">
+ <autodoc>EraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="Draw" type="" overloaded="no">
+ <autodoc>Draw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="Flash" type="" overloaded="no">
+ <autodoc>Flash(self)</autodoc>
+ </method>
+ <method name="MoveLinks" type="" overloaded="no">
+ <autodoc>MoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawContents" type="" overloaded="no">
+ <autodoc>DrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, double x, double y, bool recursive=True)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="recursive" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetAttachmentSize" type="" overloaded="no">
+ <autodoc>SetAttachmentSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="Attach" type="" overloaded="no">
+ <autodoc>Attach(self, PyShapeCanvas can)</autodoc>
+ <paramlist>
+ <param name="can" type="wxPyShapeCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="Detach" type="" overloaded="no">
+ <autodoc>Detach(self)</autodoc>
+ </method>
+ <method name="Constrain" type="bool" overloaded="no">
+ <autodoc>Constrain(self) -> bool</autodoc>
+ </method>
+ <method name="AddLine" type="" overloaded="no">
+ <autodoc>AddLine(self, PyLineShape line, PyShape other, int attachFrom=0,
+ int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc>
+ <paramlist>
+ <param name="line" type="wxPyLineShape" default=""/>
+ <param name="other" type="PyShape" default=""/>
+ <param name="attachFrom" type="int" default="0"/>
+ <param name="attachTo" type="int" default="0"/>
+ <param name="positionFrom" type="int" default="-1"/>
+ <param name="positionTo" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="GetLinePosition" type="int" overloaded="no">
+ <autodoc>GetLinePosition(self, PyLineShape line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="wxPyLineShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddText" type="" overloaded="no">
+ <autodoc>AddText(self, String string)</autodoc>
+ <paramlist>
+ <param name="string" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPen" type="Pen" overloaded="no">
+ <autodoc>GetPen(self) -> wxPen</autodoc>
+ </method>
+ <method name="GetBrush" type="Brush" overloaded="no">
+ <autodoc>GetBrush(self) -> wxBrush</autodoc>
+ </method>
+ <method name="SetDefaultRegionSize" type="" overloaded="no">
+ <autodoc>SetDefaultRegionSize(self)</autodoc>
+ </method>
+ <method name="FormatText" type="" overloaded="no">
+ <autodoc>FormatText(self, DC dc, String s, int regionId=0)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="s" type="String" default=""/>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetFormatMode" type="" overloaded="no">
+ <autodoc>SetFormatMode(self, int mode, int regionId=0)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetFormatMode" type="int" overloaded="no">
+ <autodoc>GetFormatMode(self, int regionId=0) -> int</autodoc>
+ <paramlist>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font, int regionId=0)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self, int regionId=0) -> Font</autodoc>
+ <paramlist>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, String colour, int regionId=0)</autodoc>
+ <paramlist>
+ <param name="colour" type="String" default=""/>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetTextColour" type="String" overloaded="no">
+ <autodoc>GetTextColour(self, int regionId=0) -> String</autodoc>
+ <paramlist>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetNumberOfTextRegions" type="int" overloaded="no">
+ <autodoc>GetNumberOfTextRegions(self) -> int</autodoc>
+ </method>
+ <method name="SetRegionName" type="" overloaded="no">
+ <autodoc>SetRegionName(self, String name, int regionId=0)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetRegionName" type="String" overloaded="no">
+ <autodoc>GetRegionName(self, int regionId) -> String</autodoc>
+ <paramlist>
+ <param name="regionId" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRegionId" type="int" overloaded="no">
+ <autodoc>GetRegionId(self, String name) -> int</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="NameRegions" type="" overloaded="no">
+ <autodoc>NameRegions(self, String parentName=EmptyString)</autodoc>
+ <paramlist>
+ <param name="parentName" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </method>
+ <method name="GetRegions" type="PyObject" overloaded="no">
+ <autodoc>GetRegions(self) -> PyObject</autodoc>
+ </method>
+ <method name="AddRegion" type="" overloaded="no">
+ <autodoc>AddRegion(self, ShapeRegion region)</autodoc>
+ <paramlist>
+ <param name="region" type="ShapeRegion" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearRegions" type="" overloaded="no">
+ <autodoc>ClearRegions(self)</autodoc>
+ </method>
+ <method name="AssignNewIds" type="" overloaded="no">
+ <autodoc>AssignNewIds(self)</autodoc>
+ </method>
+ <method name="FindRegion" type="PyShape" overloaded="no">
+ <autodoc>FindRegion(self, String regionName, int OUTPUT) -> PyShape</autodoc>
+ <paramlist>
+ <param name="regionName" type="String" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindRegionNames" type="" overloaded="no">
+ <autodoc>FindRegionNames(self, wxStringList list)</autodoc>
+ <paramlist>
+ <param name="list" type="wxStringList" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearText" type="" overloaded="no">
+ <autodoc>ClearText(self, int regionId=0)</autodoc>
+ <paramlist>
+ <param name="regionId" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="RemoveLine" type="" overloaded="no">
+ <autodoc>RemoveLine(self, PyLineShape line)</autodoc>
+ <paramlist>
+ <param name="line" type="wxPyLineShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAttachmentPosition" type="bool" overloaded="no">
+ <autodoc>GetAttachmentPosition(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
+ int no_arcs=1, PyLineShape line=None) -> bool</autodoc>
+ <paramlist>
+ <param name="attachment" type="int" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="nth" type="int" default="0"/>
+ <param name="no_arcs" type="int" default="1"/>
+ <param name="line" type="wxPyLineShape" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="GetNumberOfAttachments" type="int" overloaded="no">
+ <autodoc>GetNumberOfAttachments(self) -> int</autodoc>
+ </method>
+ <method name="AttachmentIsValid" type="bool" overloaded="no">
+ <autodoc>AttachmentIsValid(self, int attachment) -> bool</autodoc>
+ <paramlist>
+ <param name="attachment" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAttachments" type="PyObject" overloaded="no">
+ <autodoc>GetAttachments(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetAttachmentPositionEdge" type="bool" overloaded="no">
+ <autodoc>GetAttachmentPositionEdge(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
+ int no_arcs=1, PyLineShape line=None) -> bool</autodoc>
+ <paramlist>
+ <param name="attachment" type="int" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="nth" type="int" default="0"/>
+ <param name="no_arcs" type="int" default="1"/>
+ <param name="line" type="wxPyLineShape" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="CalcSimpleAttachment" type="RealPoint" overloaded="no">
+ <autodoc>CalcSimpleAttachment(self, RealPoint pt1, RealPoint pt2, int nth, int noArcs,
+ PyLineShape line) -> RealPoint</autodoc>
+ <paramlist>
+ <param name="pt1" type="RealPoint" default=""/>
+ <param name="pt2" type="RealPoint" default=""/>
+ <param name="nth" type="int" default=""/>
+ <param name="noArcs" type="int" default=""/>
+ <param name="line" type="wxPyLineShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="AttachmentSortTest" type="bool" overloaded="no">
+ <autodoc>AttachmentSortTest(self, int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool</autodoc>
+ <paramlist>
+ <param name="attachmentPoint" type="int" default=""/>
+ <param name="pt1" type="RealPoint" default=""/>
+ <param name="pt2" type="RealPoint" default=""/>
+ </paramlist>
+ </method>
+ <method name="EraseLinks" type="" overloaded="no">
+ <autodoc>EraseLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="attachment" type="int" default="-1"/>
+ <param name="recurse" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="DrawLinks" type="" overloaded="no">
+ <autodoc>DrawLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="attachment" type="int" default="-1"/>
+ <param name="recurse" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="MoveLineToNewAttachment" type="bool" overloaded="no">
+ <autodoc>MoveLineToNewAttachment(self, DC dc, PyLineShape to_move, double x, double y) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="to_move" type="wxPyLineShape" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="ApplyAttachmentOrdering" type="" overloaded="no">
+ <autodoc>ApplyAttachmentOrdering(self, PyObject linesToSort)</autodoc>
+ <paramlist>
+ <param name="linesToSort" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBranchingAttachmentRoot" type="RealPoint" overloaded="no">
+ <autodoc>GetBranchingAttachmentRoot(self, int attachment) -> RealPoint</autodoc>
+ <paramlist>
+ <param name="attachment" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no">
+ <autodoc>GetBranchingAttachmentInfo(self, int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
+ RealPoint shoulder2) -> bool</autodoc>
+ <paramlist>
+ <param name="attachment" type="int" default=""/>
+ <param name="root" type="RealPoint" default=""/>
+ <param name="neck" type="RealPoint" default=""/>
+ <param name="shoulder1" type="RealPoint" default=""/>
+ <param name="shoulder2" type="RealPoint" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no">
+ <autodoc>GetBranchingAttachmentPoint(self, int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool</autodoc>
+ <paramlist>
+ <param name="attachment" type="int" default=""/>
+ <param name="n" type="int" default=""/>
+ <param name="attachmentPoint" type="RealPoint" default=""/>
+ <param name="stemPoint" type="RealPoint" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAttachmentLineCount" type="int" overloaded="no">
+ <autodoc>GetAttachmentLineCount(self, int attachment) -> int</autodoc>
+ <paramlist>
+ <param name="attachment" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBranchNeckLength" type="" overloaded="no">
+ <autodoc>SetBranchNeckLength(self, int len)</autodoc>
+ <paramlist>
+ <param name="len" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBranchNeckLength" type="int" overloaded="no">
+ <autodoc>GetBranchNeckLength(self) -> int</autodoc>
+ </method>
+ <method name="SetBranchStemLength" type="" overloaded="no">
+ <autodoc>SetBranchStemLength(self, int len)</autodoc>
+ <paramlist>
+ <param name="len" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBranchStemLength" type="int" overloaded="no">
+ <autodoc>GetBranchStemLength(self) -> int</autodoc>
+ </method>
+ <method name="SetBranchSpacing" type="" overloaded="no">
+ <autodoc>SetBranchSpacing(self, int len)</autodoc>
+ <paramlist>
+ <param name="len" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBranchSpacing" type="int" overloaded="no">
+ <autodoc>GetBranchSpacing(self) -> int</autodoc>
+ </method>
+ <method name="SetBranchStyle" type="" overloaded="no">
+ <autodoc>SetBranchStyle(self, long style)</autodoc>
+ <paramlist>
+ <param name="style" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBranchStyle" type="long" overloaded="no">
+ <autodoc>GetBranchStyle(self) -> long</autodoc>
+ </method>
+ <method name="PhysicalToLogicalAttachment" type="int" overloaded="no">
+ <autodoc>PhysicalToLogicalAttachment(self, int physicalAttachment) -> int</autodoc>
+ <paramlist>
+ <param name="physicalAttachment" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LogicalToPhysicalAttachment" type="int" overloaded="no">
+ <autodoc>LogicalToPhysicalAttachment(self, int logicalAttachment) -> int</autodoc>
+ <paramlist>
+ <param name="logicalAttachment" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Draggable" type="bool" overloaded="no">
+ <autodoc>Draggable(self) -> bool</autodoc>
+ </method>
+ <method name="HasDescendant" type="bool" overloaded="no">
+ <autodoc>HasDescendant(self, PyShape image) -> bool</autodoc>
+ <paramlist>
+ <param name="image" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateNewCopy" type="PyShape" overloaded="no">
+ <autodoc>CreateNewCopy(self, bool resetMapping=True, bool recompute=True) -> PyShape</autodoc>
+ <paramlist>
+ <param name="resetMapping" type="bool" default="True"/>
+ <param name="recompute" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="Copy" type="" overloaded="no">
+ <autodoc>Copy(self, PyShape copy)</autodoc>
+ <paramlist>
+ <param name="copy" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="CopyWithHandler" type="" overloaded="no">
+ <autodoc>CopyWithHandler(self, PyShape copy)</autodoc>
+ <paramlist>
+ <param name="copy" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="Rotate" type="" overloaded="no">
+ <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="theta" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRotation" type="double" overloaded="no">
+ <autodoc>GetRotation(self) -> double</autodoc>
+ </method>
+ <method name="SetRotation" type="" overloaded="no">
+ <autodoc>SetRotation(self, double rotation)</autodoc>
+ <paramlist>
+ <param name="rotation" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearAttachments" type="" overloaded="no">
+ <autodoc>ClearAttachments(self)</autodoc>
+ </method>
+ <method name="Recentre" type="" overloaded="no">
+ <autodoc>Recentre(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearPointList" type="" overloaded="no">
+ <autodoc>ClearPointList(self, wxList list)</autodoc>
+ <paramlist>
+ <param name="list" type="wxList" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBackgroundPen" type="Pen" overloaded="no">
+ <autodoc>GetBackgroundPen(self) -> wxPen</autodoc>
+ </method>
+ <method name="GetBackgroundBrush" type="Brush" overloaded="no">
+ <autodoc>GetBackgroundBrush(self) -> wxBrush</autodoc>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl">
+ <baseclass name="Object"/>
+ <constructor name="PseudoMetaFile" overloaded="no">
+ <autodoc>__init__(self) -> PseudoMetaFile</autodoc>
+ </constructor>
+ <destructor name="~wxPseudoMetaFile" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Draw" type="" overloaded="no">
+ <autodoc>Draw(self, DC dc, double xoffset, double yoffset)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="xoffset" type="double" default=""/>
+ <param name="yoffset" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ </method>
+ <method name="Copy" type="" overloaded="no">
+ <autodoc>Copy(self, PseudoMetaFile copy)</autodoc>
+ <paramlist>
+ <param name="copy" type="PseudoMetaFile" default=""/>
+ </paramlist>
+ </method>
+ <method name="Scale" type="" overloaded="no">
+ <autodoc>Scale(self, double sx, double sy)</autodoc>
+ <paramlist>
+ <param name="sx" type="double" default=""/>
+ <param name="sy" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScaleTo" type="" overloaded="no">
+ <autodoc>ScaleTo(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="Translate" type="" overloaded="no">
+ <autodoc>Translate(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="Rotate" type="" overloaded="no">
+ <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="theta" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadFromMetaFile" type="bool" overloaded="no">
+ <autodoc>LoadFromMetaFile(self, String filename, double width, double height) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="width" type="double" default=""/>
+ <param name="height" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBounds" type="" overloaded="no">
+ <autodoc>GetBounds(self, double minX, double minY, double maxX, double maxY)</autodoc>
+ <paramlist>
+ <param name="minX" type="double" default=""/>
+ <param name="minY" type="double" default=""/>
+ <param name="maxX" type="double" default=""/>
+ <param name="maxY" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalculateSize" type="" overloaded="no">
+ <autodoc>CalculateSize(self, PyDrawnShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="wxPyDrawnShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRotateable" type="" overloaded="no">
+ <autodoc>SetRotateable(self, bool rot)</autodoc>
+ <paramlist>
+ <param name="rot" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetRotateable" type="bool" overloaded="no">
+ <autodoc>GetRotateable(self) -> bool</autodoc>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFillBrush" type="" overloaded="no">
+ <autodoc>SetFillBrush(self, wxBrush brush)</autodoc>
+ <paramlist>
+ <param name="brush" type="Brush" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFillBrush" type="Brush" overloaded="no">
+ <autodoc>GetFillBrush(self) -> wxBrush</autodoc>
+ </method>
+ <method name="SetOutlinePen" type="" overloaded="no">
+ <autodoc>SetOutlinePen(self, wxPen pen)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOutlinePen" type="Pen" overloaded="no">
+ <autodoc>GetOutlinePen(self) -> wxPen</autodoc>
+ </method>
+ <method name="SetOutlineOp" type="" overloaded="no">
+ <autodoc>SetOutlineOp(self, int op)</autodoc>
+ <paramlist>
+ <param name="op" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOutlineOp" type="int" overloaded="no">
+ <autodoc>GetOutlineOp(self) -> int</autodoc>
+ </method>
+ <method name="IsValid" type="bool" overloaded="no">
+ <autodoc>IsValid(self) -> bool</autodoc>
+ </method>
+ <method name="DrawLine" type="" overloaded="no">
+ <autodoc>DrawLine(self, Point pt1, Point pt2)</autodoc>
+ <paramlist>
+ <param name="pt1" type="Point" default=""/>
+ <param name="pt2" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRectangle" type="" overloaded="no">
+ <autodoc>DrawRectangle(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRoundedRectangle" type="" overloaded="no">
+ <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ <param name="radius" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawArc" type="" overloaded="no">
+ <autodoc>DrawArc(self, Point centrePt, Point startPt, Point endPt)</autodoc>
+ <paramlist>
+ <param name="centrePt" type="Point" default=""/>
+ <param name="startPt" type="Point" default=""/>
+ <param name="endPt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipticArc" type="" overloaded="no">
+ <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ <param name="startAngle" type="double" default=""/>
+ <param name="endAngle" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipse" type="" overloaded="no">
+ <autodoc>DrawEllipse(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawPoint" type="" overloaded="no">
+ <autodoc>DrawPoint(self, Point pt)</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawText" type="" overloaded="no">
+ <autodoc>DrawText(self, String text, Point pt)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawLines" type="" overloaded="no">
+ <autodoc>DrawLines(self, int points, Point points_array)</autodoc>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawPolygon" type="" overloaded="no">
+ <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="DrawSpline" type="" overloaded="no">
+ <autodoc>DrawSpline(self, int points, Point points_array)</autodoc>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClippingRect" type="" overloaded="no">
+ <autodoc>SetClippingRect(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DestroyClippingRect" type="" overloaded="no">
+ <autodoc>DestroyClippingRect(self)</autodoc>
+ </method>
+ <method name="SetPen" type="" overloaded="no">
+ <autodoc>SetPen(self, wxPen pen, bool isOutline=FALSE)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ <param name="isOutline" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="SetBrush" type="" overloaded="no">
+ <autodoc>SetBrush(self, wxBrush brush, bool isFill=FALSE)</autodoc>
+ <paramlist>
+ <param name="brush" type="Brush" default=""/>
+ <param name="isFill" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="SetFont" type="" overloaded="no">
+ <autodoc>SetFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTextColour" type="" overloaded="no">
+ <autodoc>SetTextColour(self, Colour colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundColour" type="" overloaded="no">
+ <autodoc>SetBackgroundColour(self, Colour colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBackgroundMode" type="" overloaded="no">
+ <autodoc>SetBackgroundMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl">
+ <baseclass name="PyShape"/>
+ <constructor name="PyRectangleShape" overloaded="no">
+ <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyRectangleShape</autodoc>
+ <paramlist>
+ <param name="width" type="double" default="0.0"/>
+ <param name="height" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCornerRadius" type="" overloaded="no">
+ <autodoc>SetCornerRadius(self, double radius)</autodoc>
+ <paramlist>
+ <param name="radius" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCornerRadius" type="double" overloaded="no">
+ <autodoc>GetCornerRadius(self) -> double</autodoc>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="wxPyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl">
+ <baseclass name="PyRectangleShape"/>
+ <constructor name="PyControlPoint" overloaded="no">
+ <autodoc>__init__(self, PyShapeCanvas the_canvas=None, PyShape object=None,
+ double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
+ int the_type=0) -> PyControlPoint</autodoc>
+ <paramlist>
+ <param name="the_canvas" type="wxPyShapeCanvas" default="NULL"/>
+ <param name="object" type="PyShape" default="NULL"/>
+ <param name="size" type="double" default="0.0"/>
+ <param name="the_xoffset" type="double" default="0.0"/>
+ <param name="the_yoffset" type="double" default="0.0"/>
+ <param name="the_type" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCornerRadius" type="" overloaded="no">
+ <autodoc>SetCornerRadius(self, double radius)</autodoc>
+ <paramlist>
+ <param name="radius" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl">
+ <baseclass name="PyRectangleShape"/>
+ <constructor name="PyBitmapShape" overloaded="no">
+ <autodoc>__init__(self) -> PyBitmapShape</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(self) -> Bitmap</autodoc>
+ </method>
+ <method name="GetFilename" type="String" overloaded="no">
+ <autodoc>GetFilename(self) -> String</autodoc>
+ </method>
+ <method name="SetBitmap" type="" overloaded="no">
+ <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
+ <paramlist>
+ <param name="bitmap" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFilename" type="" overloaded="no">
+ <autodoc>SetFilename(self, String filename)</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl">
+ <baseclass name="PyRectangleShape"/>
+ <constructor name="PyDrawnShape" overloaded="no">
+ <autodoc>__init__(self) -> PyDrawnShape</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalculateSize" type="" overloaded="no">
+ <autodoc>CalculateSize(self)</autodoc>
+ </method>
+ <method name="DestroyClippingRect" type="" overloaded="no">
+ <autodoc>DestroyClippingRect(self)</autodoc>
+ </method>
+ <method name="DrawArc" type="" overloaded="no">
+ <autodoc>DrawArc(self, Point centrePoint, Point startPoint, Point endPoint)</autodoc>
+ <paramlist>
+ <param name="centrePoint" type="Point" default=""/>
+ <param name="startPoint" type="Point" default=""/>
+ <param name="endPoint" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawAtAngle" type="" overloaded="no">
+ <autodoc>DrawAtAngle(self, int angle)</autodoc>
+ <paramlist>
+ <param name="angle" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawEllipticArc" type="" overloaded="no">
+ <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ <param name="startAngle" type="double" default=""/>
+ <param name="endAngle" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawLine" type="" overloaded="no">
+ <autodoc>DrawLine(self, Point point1, Point point2)</autodoc>
+ <paramlist>
+ <param name="point1" type="Point" default=""/>
+ <param name="point2" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawLines" type="" overloaded="no">
+ <autodoc>DrawLines(self, int points, Point points_array)</autodoc>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawPoint" type="" overloaded="no">
+ <autodoc>DrawPoint(self, Point point)</autodoc>
+ <paramlist>
+ <param name="point" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawPolygon" type="" overloaded="no">
+ <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="DrawRectangle" type="" overloaded="no">
+ <autodoc>DrawRectangle(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRoundedRectangle" type="" overloaded="no">
+ <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ <param name="radius" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawSpline" type="" overloaded="no">
+ <autodoc>DrawSpline(self, int points, Point points_array)</autodoc>
+ <paramlist>
+ <param name="points" type="int" default=""/>
+ <param name="points_array" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawText" type="" overloaded="no">
+ <autodoc>DrawText(self, String text, Point point)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="point" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAngle" type="int" overloaded="no">
+ <autodoc>GetAngle(self) -> int</autodoc>
+ </method>
+ <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
+ <autodoc>GetMetaFile(self) -> PseudoMetaFile</autodoc>
+ </method>
+ <method name="GetRotation" type="double" overloaded="no">
+ <autodoc>GetRotation(self) -> double</autodoc>
+ </method>
+ <method name="LoadFromMetaFile" type="bool" overloaded="no">
+ <autodoc>LoadFromMetaFile(self, String filename) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="Rotate" type="" overloaded="no">
+ <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="theta" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetClippingRect" type="" overloaded="no">
+ <autodoc>SetClippingRect(self, Rect rect)</autodoc>
+ <paramlist>
+ <param name="rect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDrawnBackgroundColour" type="" overloaded="no">
+ <autodoc>SetDrawnBackgroundColour(self, Colour colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDrawnBackgroundMode" type="" overloaded="no">
+ <autodoc>SetDrawnBackgroundMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDrawnBrush" type="" overloaded="no">
+ <autodoc>SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)</autodoc>
+ <paramlist>
+ <param name="pen" type="Brush" default=""/>
+ <param name="isOutline" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="SetDrawnFont" type="" overloaded="no">
+ <autodoc>SetDrawnFont(self, Font font)</autodoc>
+ <paramlist>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDrawnPen" type="" overloaded="no">
+ <autodoc>SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ <param name="isOutline" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="SetDrawnTextColour" type="" overloaded="no">
+ <autodoc>SetDrawnTextColour(self, Colour colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="Scale" type="" overloaded="no">
+ <autodoc>Scale(self, double sx, double sy)</autodoc>
+ <paramlist>
+ <param name="sx" type="double" default=""/>
+ <param name="sy" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSaveToFile" type="" overloaded="no">
+ <autodoc>SetSaveToFile(self, bool save)</autodoc>
+ <paramlist>
+ <param name="save" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Translate" type="" overloaded="no">
+ <autodoc>Translate(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl">
+ <baseclass name="Object"/>
+ <constructor name="OGLConstraint" overloaded="no">
+ <autodoc>__init__(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc>
+ <paramlist>
+ <param name="type" type="int" default=""/>
+ <param name="constraining" type="PyShape" default=""/>
+ <param name="constrained" type="PyObject" default=""/>
+ </paramlist>
+ </constructor>
+ <method name="Evaluate" type="bool" overloaded="no">
+ <autodoc>Evaluate(self) -> bool</autodoc>
+ </method>
+ <method name="SetSpacing" type="" overloaded="no">
+ <autodoc>SetSpacing(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="Equals" type="bool" overloaded="no">
+ <autodoc>Equals(self, double a, double b) -> bool</autodoc>
+ <paramlist>
+ <param name="a" type="double" default=""/>
+ <param name="b" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl">
+ <baseclass name="PyRectangleShape"/>
+ <constructor name="PyCompositeShape" overloaded="no">
+ <autodoc>__init__(self) -> PyCompositeShape</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddChild" type="" overloaded="no">
+ <autodoc>AddChild(self, PyShape child, PyShape addAfter=None)</autodoc>
+ <paramlist>
+ <param name="child" type="PyShape" default=""/>
+ <param name="addAfter" type="PyShape" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="AddConstraint" type="OGLConstraint" overloaded="no">
+ <autodoc>AddConstraint(self, OGLConstraint constraint) -> OGLConstraint</autodoc>
+ <paramlist>
+ <param name="constraint" type="OGLConstraint" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddConstrainedShapes" type="OGLConstraint" overloaded="no">
+ <autodoc>AddConstrainedShapes(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint</autodoc>
+ <paramlist>
+ <param name="type" type="int" default=""/>
+ <param name="constraining" type="PyShape" default=""/>
+ <param name="constrained" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddSimpleConstraint" type="OGLConstraint" overloaded="no">
+ <autodoc>AddSimpleConstraint(self, int type, PyShape constraining, PyShape constrained) -> OGLConstraint</autodoc>
+ <paramlist>
+ <param name="type" type="int" default=""/>
+ <param name="constraining" type="PyShape" default=""/>
+ <param name="constrained" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="CalculateSize" type="" overloaded="no">
+ <autodoc>CalculateSize(self)</autodoc>
+ </method>
+ <method name="ContainsDivision" type="bool" overloaded="no">
+ <autodoc>ContainsDivision(self, PyDivisionShape division) -> bool</autodoc>
+ <paramlist>
+ <param name="division" type="wxPyDivisionShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteConstraint" type="" overloaded="no">
+ <autodoc>DeleteConstraint(self, OGLConstraint constraint)</autodoc>
+ <paramlist>
+ <param name="constraint" type="OGLConstraint" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteConstraintsInvolvingChild" type="" overloaded="no">
+ <autodoc>DeleteConstraintsInvolvingChild(self, PyShape child)</autodoc>
+ <paramlist>
+ <param name="child" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindContainerImage" type="PyShape" overloaded="no">
+ <autodoc>FindContainerImage(self) -> PyShape</autodoc>
+ </method>
+ <method name="GetConstraints" type="PyObject" overloaded="no">
+ <autodoc>GetConstraints(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetDivisions" type="PyObject" overloaded="no">
+ <autodoc>GetDivisions(self) -> PyObject</autodoc>
+ </method>
+ <method name="MakeContainer" type="" overloaded="no">
+ <autodoc>MakeContainer(self)</autodoc>
+ </method>
+ <method name="Recompute" type="bool" overloaded="no">
+ <autodoc>Recompute(self) -> bool</autodoc>
+ </method>
+ <method name="RemoveChild" type="" overloaded="no">
+ <autodoc>RemoveChild(self, PyShape child)</autodoc>
+ <paramlist>
+ <param name="child" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl">
+ <baseclass name="PyRectangleShape"/>
+ <constructor name="PyDividedShape" overloaded="no">
+ <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyDividedShape</autodoc>
+ <paramlist>
+ <param name="width" type="double" default="0.0"/>
+ <param name="height" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="EditRegions" type="" overloaded="no">
+ <autodoc>EditRegions(self)</autodoc>
+ </method>
+ <method name="SetRegionSizes" type="" overloaded="no">
+ <autodoc>SetRegionSizes(self)</autodoc>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl">
+ <baseclass name="PyCompositeShape"/>
+ <constructor name="PyDivisionShape" overloaded="no">
+ <autodoc>__init__(self) -> PyDivisionShape</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdjustBottom" type="" overloaded="no">
+ <autodoc>AdjustBottom(self, double bottom, bool test)</autodoc>
+ <paramlist>
+ <param name="bottom" type="double" default=""/>
+ <param name="test" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdjustLeft" type="" overloaded="no">
+ <autodoc>AdjustLeft(self, double left, bool test)</autodoc>
+ <paramlist>
+ <param name="left" type="double" default=""/>
+ <param name="test" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdjustRight" type="" overloaded="no">
+ <autodoc>AdjustRight(self, double right, bool test)</autodoc>
+ <paramlist>
+ <param name="right" type="double" default=""/>
+ <param name="test" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AdjustTop" type="" overloaded="no">
+ <autodoc>AdjustTop(self, double top, bool test)</autodoc>
+ <paramlist>
+ <param name="top" type="double" default=""/>
+ <param name="test" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Divide" type="" overloaded="no">
+ <autodoc>Divide(self, int direction)</autodoc>
+ <paramlist>
+ <param name="direction" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="EditEdge" type="" overloaded="no">
+ <autodoc>EditEdge(self, int side)</autodoc>
+ <paramlist>
+ <param name="side" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBottomSide" type="PyDivisionShape" overloaded="no">
+ <autodoc>GetBottomSide(self) -> PyDivisionShape</autodoc>
+ </method>
+ <method name="GetHandleSide" type="int" overloaded="no">
+ <autodoc>GetHandleSide(self) -> int</autodoc>
+ </method>
+ <method name="GetLeftSide" type="PyDivisionShape" overloaded="no">
+ <autodoc>GetLeftSide(self) -> PyDivisionShape</autodoc>
+ </method>
+ <method name="GetLeftSideColour" type="String" overloaded="no">
+ <autodoc>GetLeftSideColour(self) -> String</autodoc>
+ </method>
+ <method name="GetLeftSidePen" type="Pen" overloaded="no">
+ <autodoc>GetLeftSidePen(self) -> wxPen</autodoc>
+ </method>
+ <method name="GetRightSide" type="PyDivisionShape" overloaded="no">
+ <autodoc>GetRightSide(self) -> PyDivisionShape</autodoc>
+ </method>
+ <method name="GetTopSide" type="PyDivisionShape" overloaded="no">
+ <autodoc>GetTopSide(self) -> PyDivisionShape</autodoc>
+ </method>
+ <method name="GetTopSidePen" type="Pen" overloaded="no">
+ <autodoc>GetTopSidePen(self) -> wxPen</autodoc>
+ </method>
+ <method name="ResizeAdjoining" type="" overloaded="no">
+ <autodoc>ResizeAdjoining(self, int side, double newPos, bool test)</autodoc>
+ <paramlist>
+ <param name="side" type="int" default=""/>
+ <param name="newPos" type="double" default=""/>
+ <param name="test" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="PopupMenu" type="" overloaded="no">
+ <autodoc>PopupMenu(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetBottomSide" type="" overloaded="no">
+ <autodoc>SetBottomSide(self, PyDivisionShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyDivisionShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHandleSide" type="" overloaded="no">
+ <autodoc>SetHandleSide(self, int side)</autodoc>
+ <paramlist>
+ <param name="side" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLeftSide" type="" overloaded="no">
+ <autodoc>SetLeftSide(self, PyDivisionShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyDivisionShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLeftSideColour" type="" overloaded="no">
+ <autodoc>SetLeftSideColour(self, String colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLeftSidePen" type="" overloaded="no">
+ <autodoc>SetLeftSidePen(self, wxPen pen)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetRightSide" type="" overloaded="no">
+ <autodoc>SetRightSide(self, PyDivisionShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyDivisionShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTopSide" type="" overloaded="no">
+ <autodoc>SetTopSide(self, PyDivisionShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyDivisionShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTopSideColour" type="" overloaded="no">
+ <autodoc>SetTopSideColour(self, String colour)</autodoc>
+ <paramlist>
+ <param name="colour" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTopSidePen" type="" overloaded="no">
+ <autodoc>SetTopSidePen(self, wxPen pen)</autodoc>
+ <paramlist>
+ <param name="pen" type="Pen" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl">
+ <baseclass name="PyShape"/>
+ <constructor name="PyEllipseShape" overloaded="no">
+ <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyEllipseShape</autodoc>
+ <paramlist>
+ <param name="width" type="double" default="0.0"/>
+ <param name="height" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl">
+ <baseclass name="PyEllipseShape"/>
+ <constructor name="PyCircleShape" overloaded="no">
+ <autodoc>__init__(self, double width=0.0) -> PyCircleShape</autodoc>
+ <paramlist>
+ <param name="width" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="ArrowHead" oldname="wxArrowHead" module="ogl">
+ <baseclass name="Object"/>
+ <constructor name="ArrowHead" overloaded="no">
+ <autodoc>__init__(self, int type=0, int end=0, double size=0.0, double dist=0.0,
+ String name=EmptyString, PseudoMetaFile mf=None,
+ long arrowId=-1) -> ArrowHead</autodoc>
+ <paramlist>
+ <param name="type" type="int" default="0"/>
+ <param name="end" type="int" default="0"/>
+ <param name="size" type="double" default="0.0"/>
+ <param name="dist" type="double" default="0.0"/>
+ <param name="name" type="String" default="wxPyEmptyString"/>
+ <param name="mf" type="PseudoMetaFile" default="NULL"/>
+ <param name="arrowId" type="long" default="-1"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxArrowHead" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="_GetType" type="int" overloaded="no">
+ <autodoc>_GetType(self) -> int</autodoc>
+ </method>
+ <method name="GetPosition" type="int" overloaded="no">
+ <autodoc>GetPosition(self) -> int</autodoc>
+ </method>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetXOffset" type="double" overloaded="no">
+ <autodoc>GetXOffset(self) -> double</autodoc>
+ </method>
+ <method name="GetYOffset" type="double" overloaded="no">
+ <autodoc>GetYOffset(self) -> double</autodoc>
+ </method>
+ <method name="GetSpacing" type="double" overloaded="no">
+ <autodoc>GetSpacing(self) -> double</autodoc>
+ </method>
+ <method name="GetSize" type="double" overloaded="no">
+ <autodoc>GetSize(self) -> double</autodoc>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="SetXOffset" type="" overloaded="no">
+ <autodoc>SetXOffset(self, double x)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetYOffset" type="" overloaded="no">
+ <autodoc>SetYOffset(self, double y)</autodoc>
+ <paramlist>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
+ <autodoc>GetMetaFile(self) -> PseudoMetaFile</autodoc>
+ </method>
+ <method name="GetId" type="long" overloaded="no">
+ <autodoc>GetId(self) -> long</autodoc>
+ </method>
+ <method name="GetArrowEnd" type="int" overloaded="no">
+ <autodoc>GetArrowEnd(self) -> int</autodoc>
+ </method>
+ <method name="GetArrowSize" type="double" overloaded="no">
+ <autodoc>GetArrowSize(self) -> double</autodoc>
+ </method>
+ <method name="SetSize" type="" overloaded="no">
+ <autodoc>SetSize(self, double size)</autodoc>
+ <paramlist>
+ <param name="size" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSpacing" type="" overloaded="no">
+ <autodoc>SetSpacing(self, double sp)</autodoc>
+ <paramlist>
+ <param name="sp" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyLineShape" oldname="wxPyLineShape" module="ogl">
+ <baseclass name="PyShape"/>
+ <constructor name="PyLineShape" overloaded="no">
+ <autodoc>__init__(self) -> PyLineShape</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddArrow" type="" overloaded="no">
+ <autodoc>AddArrow(self, int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
+ double xOffset=0.0, String name=EmptyString,
+ PseudoMetaFile mf=None, long arrowId=-1)</autodoc>
+ <paramlist>
+ <param name="type" type="int" default=""/>
+ <param name="end" type="int" default="ARROW_POSITION_END"/>
+ <param name="arrowSize" type="double" default="10.0"/>
+ <param name="xOffset" type="double" default="0.0"/>
+ <param name="name" type="String" default="wxPyEmptyString"/>
+ <param name="mf" type="PseudoMetaFile" default="NULL"/>
+ <param name="arrowId" type="long" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="AddArrowOrdered" type="" overloaded="no">
+ <autodoc>AddArrowOrdered(self, ArrowHead arrow, PyObject referenceList, int end)</autodoc>
+ <paramlist>
+ <param name="arrow" type="ArrowHead" default=""/>
+ <param name="referenceList" type="PyObject" default=""/>
+ <param name="end" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearArrow" type="bool" overloaded="no">
+ <autodoc>ClearArrow(self, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearArrowsAtPosition" type="" overloaded="no">
+ <autodoc>ClearArrowsAtPosition(self, int position=-1)</autodoc>
+ <paramlist>
+ <param name="position" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="DrawArrow" type="" overloaded="no">
+ <autodoc>DrawArrow(self, DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="arrow" type="ArrowHead" default=""/>
+ <param name="xOffset" type="double" default=""/>
+ <param name="proportionalOffset" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteArrowHeadId" type="bool" overloaded="no">
+ <autodoc>DeleteArrowHeadId(self, long arrowId) -> bool</autodoc>
+ <paramlist>
+ <param name="arrowId" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteArrowHead" type="bool" overloaded="no">
+ <autodoc>DeleteArrowHead(self, int position, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="position" type="int" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteLineControlPoint" type="bool" overloaded="no">
+ <autodoc>DeleteLineControlPoint(self) -> bool</autodoc>
+ </method>
+ <method name="DrawArrows" type="" overloaded="no">
+ <autodoc>DrawArrows(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="DrawRegion" type="" overloaded="no">
+ <autodoc>DrawRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="region" type="ShapeRegion" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="EraseRegion" type="" overloaded="no">
+ <autodoc>EraseRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="region" type="ShapeRegion" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindArrowHeadId" type="ArrowHead" overloaded="no">
+ <autodoc>FindArrowHeadId(self, long arrowId) -> ArrowHead</autodoc>
+ <paramlist>
+ <param name="arrowId" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindArrowHead" type="ArrowHead" overloaded="no">
+ <autodoc>FindArrowHead(self, int position, String name) -> ArrowHead</autodoc>
+ <paramlist>
+ <param name="position" type="int" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindLineEndPoints" type="" overloaded="no">
+ <autodoc>FindLineEndPoints(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindLinePosition" type="int" overloaded="no">
+ <autodoc>FindLinePosition(self, double x, double y) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindMinimumWidth" type="double" overloaded="no">
+ <autodoc>FindMinimumWidth(self) -> double</autodoc>
+ </method>
+ <method name="FindNth" type="" overloaded="no">
+ <autodoc>FindNth(self, PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc>
+ <paramlist>
+ <param name="image" type="PyShape" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="incoming" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAttachmentFrom" type="int" overloaded="no">
+ <autodoc>GetAttachmentFrom(self) -> int</autodoc>
+ </method>
+ <method name="GetAttachmentTo" type="int" overloaded="no">
+ <autodoc>GetAttachmentTo(self) -> int</autodoc>
+ </method>
+ <method name="GetEnds" type="" overloaded="no">
+ <autodoc>GetEnds(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFrom" type="PyShape" overloaded="no">
+ <autodoc>GetFrom(self) -> PyShape</autodoc>
+ </method>
+ <method name="GetLabelPosition" type="" overloaded="no">
+ <autodoc>GetLabelPosition(self, int position, double OUTPUT, double OUTPUT)</autodoc>
+ <paramlist>
+ <param name="position" type="int" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ <param name="OUTPUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNextControlPoint" type="RealPoint" overloaded="no">
+ <autodoc>GetNextControlPoint(self, PyShape shape) -> RealPoint</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTo" type="PyShape" overloaded="no">
+ <autodoc>GetTo(self) -> PyShape</autodoc>
+ </method>
+ <method name="Initialise" type="" overloaded="no">
+ <autodoc>Initialise(self)</autodoc>
+ </method>
+ <method name="InsertLineControlPoint" type="" overloaded="no">
+ <autodoc>InsertLineControlPoint(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsEnd" type="bool" overloaded="no">
+ <autodoc>IsEnd(self, PyShape shape) -> bool</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSpline" type="bool" overloaded="no">
+ <autodoc>IsSpline(self) -> bool</autodoc>
+ </method>
+ <method name="MakeLineControlPoints" type="" overloaded="no">
+ <autodoc>MakeLineControlPoints(self, int n)</autodoc>
+ <paramlist>
+ <param name="n" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineControlPoints" type="PyObject" overloaded="no">
+ <autodoc>GetLineControlPoints(self) -> PyObject</autodoc>
+ </method>
+ <method name="SetLineControlPoints" type="" overloaded="no">
+ <autodoc>SetLineControlPoints(self, PyObject list)</autodoc>
+ <paramlist>
+ <param name="list" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAttachmentFrom" type="" overloaded="no">
+ <autodoc>SetAttachmentFrom(self, int fromAttach)</autodoc>
+ <paramlist>
+ <param name="fromAttach" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAttachments" type="" overloaded="no">
+ <autodoc>SetAttachments(self, int fromAttach, int toAttach)</autodoc>
+ <paramlist>
+ <param name="fromAttach" type="int" default=""/>
+ <param name="toAttach" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAttachmentTo" type="" overloaded="no">
+ <autodoc>SetAttachmentTo(self, int toAttach)</autodoc>
+ <paramlist>
+ <param name="toAttach" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetEnds" type="" overloaded="no">
+ <autodoc>SetEnds(self, double x1, double y1, double x2, double y2)</autodoc>
+ <paramlist>
+ <param name="x1" type="double" default=""/>
+ <param name="y1" type="double" default=""/>
+ <param name="x2" type="double" default=""/>
+ <param name="y2" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFrom" type="" overloaded="no">
+ <autodoc>SetFrom(self, PyShape object)</autodoc>
+ <paramlist>
+ <param name="object" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetIgnoreOffsets" type="" overloaded="no">
+ <autodoc>SetIgnoreOffsets(self, bool ignore)</autodoc>
+ <paramlist>
+ <param name="ignore" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSpline" type="" overloaded="no">
+ <autodoc>SetSpline(self, bool spline)</autodoc>
+ <paramlist>
+ <param name="spline" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTo" type="" overloaded="no">
+ <autodoc>SetTo(self, PyShape object)</autodoc>
+ <paramlist>
+ <param name="object" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="Straighten" type="" overloaded="no">
+ <autodoc>Straighten(self, DC dc=None)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Unlink" type="" overloaded="no">
+ <autodoc>Unlink(self)</autodoc>
+ </method>
+ <method name="SetAlignmentOrientation" type="" overloaded="no">
+ <autodoc>SetAlignmentOrientation(self, bool isEnd, bool isHoriz)</autodoc>
+ <paramlist>
+ <param name="isEnd" type="bool" default=""/>
+ <param name="isHoriz" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAlignmentType" type="" overloaded="no">
+ <autodoc>SetAlignmentType(self, bool isEnd, int alignType)</autodoc>
+ <paramlist>
+ <param name="isEnd" type="bool" default=""/>
+ <param name="alignType" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlignmentOrientation" type="bool" overloaded="no">
+ <autodoc>GetAlignmentOrientation(self, bool isEnd) -> bool</autodoc>
+ <paramlist>
+ <param name="isEnd" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlignmentType" type="int" overloaded="no">
+ <autodoc>GetAlignmentType(self, bool isEnd) -> int</autodoc>
+ <paramlist>
+ <param name="isEnd" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetAlignmentStart" type="int" overloaded="no">
+ <autodoc>GetAlignmentStart(self) -> int</autodoc>
+ </method>
+ <method name="GetAlignmentEnd" type="int" overloaded="no">
+ <autodoc>GetAlignmentEnd(self) -> int</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl">
+ <baseclass name="PyShape"/>
+ <constructor name="PyPolygonShape" overloaded="no">
+ <autodoc>__init__(self) -> PyPolygonShape</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="Create" type="PyObject" overloaded="no">
+ <autodoc>Create(self, PyObject points) -> PyObject</autodoc>
+ <paramlist>
+ <param name="points" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddPolygonPoint" type="" overloaded="no">
+ <autodoc>AddPolygonPoint(self, int pos=0)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="CalculatePolygonCentre" type="" overloaded="no">
+ <autodoc>CalculatePolygonCentre(self)</autodoc>
+ </method>
+ <method name="DeletePolygonPoint" type="" overloaded="no">
+ <autodoc>DeletePolygonPoint(self, int pos=0)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetPoints" type="PyObject" overloaded="no">
+ <autodoc>GetPoints(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetOriginalPoints" type="PyObject" overloaded="no">
+ <autodoc>GetOriginalPoints(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetOriginalWidth" type="double" overloaded="no">
+ <autodoc>GetOriginalWidth(self) -> double</autodoc>
+ </method>
+ <method name="GetOriginalHeight" type="double" overloaded="no">
+ <autodoc>GetOriginalHeight(self) -> double</autodoc>
+ </method>
+ <method name="SetOriginalWidth" type="" overloaded="no">
+ <autodoc>SetOriginalWidth(self, double w)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetOriginalHeight" type="" overloaded="no">
+ <autodoc>SetOriginalHeight(self, double h)</autodoc>
+ <paramlist>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="UpdateOriginalPoints" type="" overloaded="no">
+ <autodoc>UpdateOriginalPoints(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyTextShape" oldname="wxPyTextShape" module="ogl">
+ <baseclass name="PyRectangleShape"/>
+ <constructor name="PyTextShape" overloaded="no">
+ <autodoc>__init__(self, double width=0.0, double height=0.0) -> PyTextShape</autodoc>
+ <paramlist>
+ <param name="width" type="double" default="0.0"/>
+ <param name="height" type="double" default="0.0"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDelete" type="" overloaded="no">
+ <autodoc>base_OnDelete(self)</autodoc>
+ </method>
+ <method name="base_OnDraw" type="" overloaded="no">
+ <autodoc>base_OnDraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawContents" type="" overloaded="no">
+ <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawBranches" type="" overloaded="no">
+ <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="erase" type="bool" default="FALSE"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLinks" type="" overloaded="no">
+ <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnErase" type="" overloaded="no">
+ <autodoc>base_OnErase(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseContents" type="" overloaded="no">
+ <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnHighlight" type="" overloaded="no">
+ <autodoc>base_OnHighlight(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftDoubleClick" type="" overloaded="no">
+ <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSize" type="" overloaded="no">
+ <autodoc>base_OnSize(self, double x, double y)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePre" type="bool" overloaded="no">
+ <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True) -> bool</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnMovePost" type="" overloaded="no">
+ <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
+ bool display=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="old_x" type="double" default=""/>
+ <param name="old_y" type="double" default=""/>
+ <param name="display" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawOutline" type="" overloaded="no">
+ <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnDrawControlPoints" type="" overloaded="no">
+ <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEraseControlPoints" type="" overloaded="no">
+ <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnMoveLink" type="" overloaded="no">
+ <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="moveControlPoints" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
+ int attachment=0)</autodoc>
+ <paramlist>
+ <param name="pt" type="PyControlPoint" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ <param name="attachment" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginSize" type="" overloaded="no">
+ <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndSize" type="" overloaded="no">
+ <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
+ <paramlist>
+ <param name="w" type="double" default=""/>
+ <param name="h" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="Diagram" oldname="wxDiagram" module="ogl">
+ <baseclass name="Object"/>
+ <constructor name="Diagram" overloaded="no">
+ <autodoc>__init__(self) -> Diagram</autodoc>
+ </constructor>
+ <method name="AddShape" type="" overloaded="no">
+ <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ <param name="addAfter" type="PyShape" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteAllShapes" type="" overloaded="no">
+ <autodoc>DeleteAllShapes(self)</autodoc>
+ </method>
+ <method name="DrawOutline" type="" overloaded="no">
+ <autodoc>DrawOutline(self, DC dc, double x1, double y1, double x2, double y2)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ <param name="x1" type="double" default=""/>
+ <param name="y1" type="double" default=""/>
+ <param name="x2" type="double" default=""/>
+ <param name="y2" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindShape" type="PyShape" overloaded="no">
+ <autodoc>FindShape(self, long id) -> PyShape</autodoc>
+ <paramlist>
+ <param name="id" type="long" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
+ <autodoc>GetCanvas(self) -> PyShapeCanvas</autodoc>
+ </method>
+ <method name="GetCount" type="int" overloaded="no">
+ <autodoc>GetCount(self) -> int</autodoc>
+ </method>
+ <method name="GetGridSpacing" type="double" overloaded="no">
+ <autodoc>GetGridSpacing(self) -> double</autodoc>
+ </method>
+ <method name="GetMouseTolerance" type="int" overloaded="no">
+ <autodoc>GetMouseTolerance(self) -> int</autodoc>
+ </method>
+ <method name="GetShapeList" type="PyObject" overloaded="no">
+ <autodoc>GetShapeList(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetQuickEditMode" type="bool" overloaded="no">
+ <autodoc>GetQuickEditMode(self) -> bool</autodoc>
+ </method>
+ <method name="GetSnapToGrid" type="bool" overloaded="no">
+ <autodoc>GetSnapToGrid(self) -> bool</autodoc>
+ </method>
+ <method name="InsertShape" type="" overloaded="no">
+ <autodoc>InsertShape(self, PyShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="RecentreAll" type="" overloaded="no">
+ <autodoc>RecentreAll(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="Redraw" type="" overloaded="no">
+ <autodoc>Redraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveAllShapes" type="" overloaded="no">
+ <autodoc>RemoveAllShapes(self)</autodoc>
+ </method>
+ <method name="RemoveShape" type="" overloaded="no">
+ <autodoc>RemoveShape(self, PyShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCanvas" type="" overloaded="no">
+ <autodoc>SetCanvas(self, PyShapeCanvas canvas)</autodoc>
+ <paramlist>
+ <param name="canvas" type="wxPyShapeCanvas" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetGridSpacing" type="" overloaded="no">
+ <autodoc>SetGridSpacing(self, double spacing)</autodoc>
+ <paramlist>
+ <param name="spacing" type="double" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMouseTolerance" type="" overloaded="no">
+ <autodoc>SetMouseTolerance(self, int tolerance)</autodoc>
+ <paramlist>
+ <param name="tolerance" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetQuickEditMode" type="" overloaded="no">
+ <autodoc>SetQuickEditMode(self, bool mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSnapToGrid" type="" overloaded="no">
+ <autodoc>SetSnapToGrid(self, bool snap)</autodoc>
+ <paramlist>
+ <param name="snap" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowAll" type="" overloaded="no">
+ <autodoc>ShowAll(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="Snap" type="" overloaded="no">
+ <autodoc>Snap(self, double INOUT, double INOUT)</autodoc>
+ <paramlist>
+ <param name="INOUT" type="double" default=""/>
+ <param name="INOUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl">
+ <baseclass name="ScrolledWindow"/>
+ <constructor name="PyShapeCanvas" overloaded="no">
+ <autodoc>__init__(self, Window parent=None, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=BORDER,
+ String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default="NULL"/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxBORDER"/>
+ <param name="name" type="String" default="wxPyShapeCanvasNameStr"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddShape" type="" overloaded="no">
+ <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ <param name="addAfter" type="PyShape" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="FindShape" type="PyShape" overloaded="no">
+ <autodoc>FindShape(self, double x1, double y, int OUTPUT, wxClassInfo info=None,
+ PyShape notImage=None) -> PyShape</autodoc>
+ <paramlist>
+ <param name="x1" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="info" type="wxClassInfo" default="NULL"/>
+ <param name="notImage" type="PyShape" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="FindFirstSensitiveShape" type="PyShape" overloaded="no">
+ <autodoc>FindFirstSensitiveShape(self, double x1, double y, int OUTPUT, int op) -> PyShape</autodoc>
+ <paramlist>
+ <param name="x1" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="op" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDiagram" type="Diagram" overloaded="no">
+ <autodoc>GetDiagram(self) -> Diagram</autodoc>
+ </method>
+ <method name="GetQuickEditMode" type="bool" overloaded="no">
+ <autodoc>GetQuickEditMode(self) -> bool</autodoc>
+ </method>
+ <method name="InsertShape" type="" overloaded="no">
+ <autodoc>InsertShape(self, PyShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragLeft" type="" overloaded="no">
+ <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnBeginDragRight" type="" overloaded="no">
+ <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragLeft" type="" overloaded="no">
+ <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnEndDragRight" type="" overloaded="no">
+ <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragLeft" type="" overloaded="no">
+ <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnDragRight" type="" overloaded="no">
+ <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="draw" type="bool" default=""/>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnLeftClick" type="" overloaded="no">
+ <autodoc>base_OnLeftClick(self, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="base_OnRightClick" type="" overloaded="no">
+ <autodoc>base_OnRightClick(self, double x, double y, int keys=0)</autodoc>
+ <paramlist>
+ <param name="x" type="double" default=""/>
+ <param name="y" type="double" default=""/>
+ <param name="keys" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="Redraw" type="" overloaded="no">
+ <autodoc>Redraw(self, DC dc)</autodoc>
+ <paramlist>
+ <param name="dc" type="DC" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveShape" type="" overloaded="no">
+ <autodoc>RemoveShape(self, PyShape shape)</autodoc>
+ <paramlist>
+ <param name="shape" type="PyShape" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDiagram" type="" overloaded="no">
+ <autodoc>SetDiagram(self, Diagram diagram)</autodoc>
+ <paramlist>
+ <param name="diagram" type="Diagram" default=""/>
+ </paramlist>
+ </method>
+ <method name="Snap" type="" overloaded="no">
+ <autodoc>Snap(self, double INOUT, double INOUT)</autodoc>
+ <paramlist>
+ <param name="INOUT" type="double" default=""/>
+ <param name="INOUT" type="double" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+# Aliases
+ShapeCanvas = PyShapeCanvas
+ShapeEvtHandler = PyShapeEvtHandler
+Shape = PyShape
+RectangleShape = PyRectangleShape
+BitmapShape = PyBitmapShape
+DrawnShape = PyDrawnShape
+CompositeShape = PyCompositeShape
+DividedShape = PyDividedShape
+DivisionShape = PyDivisionShape
+EllipseShape = PyEllipseShape
+CircleShape = PyCircleShape
+LineShape = PyLineShape
+PolygonShape = PyPolygonShape
+TextShape = PyTextShape
+ControlPoint = PyControlPoint
+</pythoncode>
+ <method name="OGLInitialize" oldname="wxOGLInitialize" type="" overloaded="no">
+ <autodoc>OGLInitialize()</autodoc>
+ </method>
+ <method name="OGLCleanUp" oldname="wxOGLCleanUp" type="" overloaded="no">
+ <autodoc>OGLCleanUp()</autodoc>
+ </method>
+ </module>
+ <module name="stc">
+ <import name="_core"/>
+ <import name="_misc"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc">
+ <baseclass name="Control"/>
+ <constructor name="StyledTextCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=STCNameStr) -> StyledTextCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxPySTCNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreStyledTextCtrl" overloaded="no">
+ <autodoc>PreStyledTextCtrl() -> StyledTextCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=wxSTCNameStr)</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="wxID_ANY"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ <param name="name" type="String" default="wxSTCNameStr"/>
+ </paramlist>
+ </method>
+ <method name="AddText" type="" overloaded="no">
+ <autodoc>AddText(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddStyledText" type="" overloaded="no">
+ <autodoc>AddStyledText(self, wxMemoryBuffer data)</autodoc>
+ <paramlist>
+ <param name="data" type="wxMemoryBuffer" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertText" type="" overloaded="no">
+ <autodoc>InsertText(self, int pos, String text)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearAll" type="" overloaded="no">
+ <autodoc>ClearAll(self)</autodoc>
+ </method>
+ <method name="ClearDocumentStyle" type="" overloaded="no">
+ <autodoc>ClearDocumentStyle(self)</autodoc>
+ </method>
+ <method name="GetLength" type="int" overloaded="no">
+ <autodoc>GetLength(self) -> int</autodoc>
+ </method>
+ <method name="GetCharAt" type="int" overloaded="no">
+ <autodoc>GetCharAt(self, int pos) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCurrentPos" type="int" overloaded="no">
+ <autodoc>GetCurrentPos(self) -> int</autodoc>
+ </method>
+ <method name="GetAnchor" type="int" overloaded="no">
+ <autodoc>GetAnchor(self) -> int</autodoc>
+ </method>
+ <method name="GetStyleAt" type="int" overloaded="no">
+ <autodoc>GetStyleAt(self, int pos) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="Redo" type="" overloaded="no">
+ <autodoc>Redo(self)</autodoc>
+ </method>
+ <method name="SetUndoCollection" type="" overloaded="no">
+ <autodoc>SetUndoCollection(self, bool collectUndo)</autodoc>
+ <paramlist>
+ <param name="collectUndo" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SelectAll" type="" overloaded="no">
+ <autodoc>SelectAll(self)</autodoc>
+ </method>
+ <method name="SetSavePoint" type="" overloaded="no">
+ <autodoc>SetSavePoint(self)</autodoc>
+ </method>
+ <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no">
+ <autodoc>GetStyledText(self, int startPos, int endPos) -> wxMemoryBuffer</autodoc>
+ <paramlist>
+ <param name="startPos" type="int" default=""/>
+ <param name="endPos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanRedo" type="bool" overloaded="no">
+ <autodoc>CanRedo(self) -> bool</autodoc>
+ </method>
+ <method name="MarkerLineFromHandle" type="int" overloaded="no">
+ <autodoc>MarkerLineFromHandle(self, int handle) -> int</autodoc>
+ <paramlist>
+ <param name="handle" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerDeleteHandle" type="" overloaded="no">
+ <autodoc>MarkerDeleteHandle(self, int handle)</autodoc>
+ <paramlist>
+ <param name="handle" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUndoCollection" type="bool" overloaded="no">
+ <autodoc>GetUndoCollection(self) -> bool</autodoc>
+ </method>
+ <method name="GetViewWhiteSpace" type="int" overloaded="no">
+ <autodoc>GetViewWhiteSpace(self) -> int</autodoc>
+ </method>
+ <method name="SetViewWhiteSpace" type="" overloaded="no">
+ <autodoc>SetViewWhiteSpace(self, int viewWS)</autodoc>
+ <paramlist>
+ <param name="viewWS" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="PositionFromPoint" type="int" overloaded="no">
+ <autodoc>PositionFromPoint(self, Point pt) -> int</autodoc>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </method>
+ <method name="PositionFromPointClose" type="int" overloaded="no">
+ <autodoc>PositionFromPointClose(self, int x, int y) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GotoLine" type="" overloaded="no">
+ <autodoc>GotoLine(self, int line)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GotoPos" type="" overloaded="no">
+ <autodoc>GotoPos(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAnchor" type="" overloaded="no">
+ <autodoc>SetAnchor(self, int posAnchor)</autodoc>
+ <paramlist>
+ <param name="posAnchor" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCurLine" type="String" overloaded="no">
+ <autodoc>GetCurLine(self, int OUTPUT) -> String</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEndStyled" type="int" overloaded="no">
+ <autodoc>GetEndStyled(self) -> int</autodoc>
+ </method>
+ <method name="ConvertEOLs" type="" overloaded="no">
+ <autodoc>ConvertEOLs(self, int eolMode)</autodoc>
+ <paramlist>
+ <param name="eolMode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEOLMode" type="int" overloaded="no">
+ <autodoc>GetEOLMode(self) -> int</autodoc>
+ </method>
+ <method name="SetEOLMode" type="" overloaded="no">
+ <autodoc>SetEOLMode(self, int eolMode)</autodoc>
+ <paramlist>
+ <param name="eolMode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="StartStyling" type="" overloaded="no">
+ <autodoc>StartStyling(self, int pos, int mask)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ <param name="mask" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyling" type="" overloaded="no">
+ <autodoc>SetStyling(self, int length, int style)</autodoc>
+ <paramlist>
+ <param name="length" type="int" default=""/>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBufferedDraw" type="bool" overloaded="no">
+ <autodoc>GetBufferedDraw(self) -> bool</autodoc>
+ </method>
+ <method name="SetBufferedDraw" type="" overloaded="no">
+ <autodoc>SetBufferedDraw(self, bool buffered)</autodoc>
+ <paramlist>
+ <param name="buffered" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTabWidth" type="" overloaded="no">
+ <autodoc>SetTabWidth(self, int tabWidth)</autodoc>
+ <paramlist>
+ <param name="tabWidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTabWidth" type="int" overloaded="no">
+ <autodoc>GetTabWidth(self) -> int</autodoc>
+ </method>
+ <method name="SetCodePage" type="" overloaded="no">
+ <autodoc>SetCodePage(self, int codePage)</autodoc>
+ <paramlist>
+ <param name="codePage" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerDefine" type="" overloaded="no">
+ <autodoc>MarkerDefine(self, int markerNumber, int markerSymbol, Colour foreground=wxNullColour,
+ Colour background=wxNullColour)</autodoc>
+ <paramlist>
+ <param name="markerNumber" type="int" default=""/>
+ <param name="markerSymbol" type="int" default=""/>
+ <param name="foreground" type="Colour" default="wxNullColour"/>
+ <param name="background" type="Colour" default="wxNullColour"/>
+ </paramlist>
+ </method>
+ <method name="MarkerSetForeground" type="" overloaded="no">
+ <autodoc>MarkerSetForeground(self, int markerNumber, Colour fore)</autodoc>
+ <paramlist>
+ <param name="markerNumber" type="int" default=""/>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerSetBackground" type="" overloaded="no">
+ <autodoc>MarkerSetBackground(self, int markerNumber, Colour back)</autodoc>
+ <paramlist>
+ <param name="markerNumber" type="int" default=""/>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerAdd" type="int" overloaded="no">
+ <autodoc>MarkerAdd(self, int line, int markerNumber) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ <param name="markerNumber" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerDelete" type="" overloaded="no">
+ <autodoc>MarkerDelete(self, int line, int markerNumber)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ <param name="markerNumber" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerDeleteAll" type="" overloaded="no">
+ <autodoc>MarkerDeleteAll(self, int markerNumber)</autodoc>
+ <paramlist>
+ <param name="markerNumber" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerGet" type="int" overloaded="no">
+ <autodoc>MarkerGet(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerNext" type="int" overloaded="no">
+ <autodoc>MarkerNext(self, int lineStart, int markerMask) -> int</autodoc>
+ <paramlist>
+ <param name="lineStart" type="int" default=""/>
+ <param name="markerMask" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerPrevious" type="int" overloaded="no">
+ <autodoc>MarkerPrevious(self, int lineStart, int markerMask) -> int</autodoc>
+ <paramlist>
+ <param name="lineStart" type="int" default=""/>
+ <param name="markerMask" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="MarkerDefineBitmap" type="" overloaded="no">
+ <autodoc>MarkerDefineBitmap(self, int markerNumber, Bitmap bmp)</autodoc>
+ <paramlist>
+ <param name="markerNumber" type="int" default=""/>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginType" type="" overloaded="no">
+ <autodoc>SetMarginType(self, int margin, int marginType)</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ <param name="marginType" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMarginType" type="int" overloaded="no">
+ <autodoc>GetMarginType(self, int margin) -> int</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginWidth" type="" overloaded="no">
+ <autodoc>SetMarginWidth(self, int margin, int pixelWidth)</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ <param name="pixelWidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMarginWidth" type="int" overloaded="no">
+ <autodoc>GetMarginWidth(self, int margin) -> int</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginMask" type="" overloaded="no">
+ <autodoc>SetMarginMask(self, int margin, int mask)</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ <param name="mask" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMarginMask" type="int" overloaded="no">
+ <autodoc>GetMarginMask(self, int margin) -> int</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMarginSensitive" type="" overloaded="no">
+ <autodoc>SetMarginSensitive(self, int margin, bool sensitive)</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ <param name="sensitive" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMarginSensitive" type="bool" overloaded="no">
+ <autodoc>GetMarginSensitive(self, int margin) -> bool</autodoc>
+ <paramlist>
+ <param name="margin" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleClearAll" type="" overloaded="no">
+ <autodoc>StyleClearAll(self)</autodoc>
+ </method>
+ <method name="StyleSetForeground" type="" overloaded="no">
+ <autodoc>StyleSetForeground(self, int style, Colour fore)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetBackground" type="" overloaded="no">
+ <autodoc>StyleSetBackground(self, int style, Colour back)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetBold" type="" overloaded="no">
+ <autodoc>StyleSetBold(self, int style, bool bold)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="bold" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetItalic" type="" overloaded="no">
+ <autodoc>StyleSetItalic(self, int style, bool italic)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="italic" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetSize" type="" overloaded="no">
+ <autodoc>StyleSetSize(self, int style, int sizePoints)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="sizePoints" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetFaceName" type="" overloaded="no">
+ <autodoc>StyleSetFaceName(self, int style, String fontName)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="fontName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetEOLFilled" type="" overloaded="no">
+ <autodoc>StyleSetEOLFilled(self, int style, bool filled)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="filled" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleResetDefault" type="" overloaded="no">
+ <autodoc>StyleResetDefault(self)</autodoc>
+ </method>
+ <method name="StyleSetUnderline" type="" overloaded="no">
+ <autodoc>StyleSetUnderline(self, int style, bool underline)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="underline" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetCase" type="" overloaded="no">
+ <autodoc>StyleSetCase(self, int style, int caseForce)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="caseForce" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetCharacterSet" type="" overloaded="no">
+ <autodoc>StyleSetCharacterSet(self, int style, int characterSet)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="characterSet" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetHotSpot" type="" overloaded="no">
+ <autodoc>StyleSetHotSpot(self, int style, bool hotspot)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="hotspot" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelForeground" type="" overloaded="no">
+ <autodoc>SetSelForeground(self, bool useSetting, Colour fore)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelBackground" type="" overloaded="no">
+ <autodoc>SetSelBackground(self, bool useSetting, Colour back)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCaretForeground" type="" overloaded="no">
+ <autodoc>SetCaretForeground(self, Colour fore)</autodoc>
+ <paramlist>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="CmdKeyAssign" type="" overloaded="no">
+ <autodoc>CmdKeyAssign(self, int key, int modifiers, int cmd)</autodoc>
+ <paramlist>
+ <param name="key" type="int" default=""/>
+ <param name="modifiers" type="int" default=""/>
+ <param name="cmd" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CmdKeyClear" type="" overloaded="no">
+ <autodoc>CmdKeyClear(self, int key, int modifiers)</autodoc>
+ <paramlist>
+ <param name="key" type="int" default=""/>
+ <param name="modifiers" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CmdKeyClearAll" type="" overloaded="no">
+ <autodoc>CmdKeyClearAll(self)</autodoc>
+ </method>
+ <method name="SetStyleBytes" type="" overloaded="no">
+ <autodoc>SetStyleBytes(self, int length, char styleBytes)</autodoc>
+ <paramlist>
+ <param name="length" type="int" default=""/>
+ <param name="styleBytes" type="char" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetVisible" type="" overloaded="no">
+ <autodoc>StyleSetVisible(self, int style, bool visible)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="visible" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCaretPeriod" type="int" overloaded="no">
+ <autodoc>GetCaretPeriod(self) -> int</autodoc>
+ </method>
+ <method name="SetCaretPeriod" type="" overloaded="no">
+ <autodoc>SetCaretPeriod(self, int periodMilliseconds)</autodoc>
+ <paramlist>
+ <param name="periodMilliseconds" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWordChars" type="" overloaded="no">
+ <autodoc>SetWordChars(self, String characters)</autodoc>
+ <paramlist>
+ <param name="characters" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="BeginUndoAction" type="" overloaded="no">
+ <autodoc>BeginUndoAction(self)</autodoc>
+ </method>
+ <method name="EndUndoAction" type="" overloaded="no">
+ <autodoc>EndUndoAction(self)</autodoc>
+ </method>
+ <method name="IndicatorSetStyle" type="" overloaded="no">
+ <autodoc>IndicatorSetStyle(self, int indic, int style)</autodoc>
+ <paramlist>
+ <param name="indic" type="int" default=""/>
+ <param name="style" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IndicatorGetStyle" type="int" overloaded="no">
+ <autodoc>IndicatorGetStyle(self, int indic) -> int</autodoc>
+ <paramlist>
+ <param name="indic" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="IndicatorSetForeground" type="" overloaded="no">
+ <autodoc>IndicatorSetForeground(self, int indic, Colour fore)</autodoc>
+ <paramlist>
+ <param name="indic" type="int" default=""/>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="IndicatorGetForeground" type="Colour" overloaded="no">
+ <autodoc>IndicatorGetForeground(self, int indic) -> Colour</autodoc>
+ <paramlist>
+ <param name="indic" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWhitespaceForeground" type="" overloaded="no">
+ <autodoc>SetWhitespaceForeground(self, bool useSetting, Colour fore)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWhitespaceBackground" type="" overloaded="no">
+ <autodoc>SetWhitespaceBackground(self, bool useSetting, Colour back)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStyleBits" type="" overloaded="no">
+ <autodoc>SetStyleBits(self, int bits)</autodoc>
+ <paramlist>
+ <param name="bits" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStyleBits" type="int" overloaded="no">
+ <autodoc>GetStyleBits(self) -> int</autodoc>
+ </method>
+ <method name="SetLineState" type="" overloaded="no">
+ <autodoc>SetLineState(self, int line, int state)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ <param name="state" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineState" type="int" overloaded="no">
+ <autodoc>GetLineState(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMaxLineState" type="int" overloaded="no">
+ <autodoc>GetMaxLineState(self) -> int</autodoc>
+ </method>
+ <method name="GetCaretLineVisible" type="bool" overloaded="no">
+ <autodoc>GetCaretLineVisible(self) -> bool</autodoc>
+ </method>
+ <method name="SetCaretLineVisible" type="" overloaded="no">
+ <autodoc>SetCaretLineVisible(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCaretLineBack" type="Colour" overloaded="no">
+ <autodoc>GetCaretLineBack(self) -> Colour</autodoc>
+ </method>
+ <method name="SetCaretLineBack" type="" overloaded="no">
+ <autodoc>SetCaretLineBack(self, Colour back)</autodoc>
+ <paramlist>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetChangeable" type="" overloaded="no">
+ <autodoc>StyleSetChangeable(self, int style, bool changeable)</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="changeable" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompShow" type="" overloaded="no">
+ <autodoc>AutoCompShow(self, int lenEntered, String itemList)</autodoc>
+ <paramlist>
+ <param name="lenEntered" type="int" default=""/>
+ <param name="itemList" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompCancel" type="" overloaded="no">
+ <autodoc>AutoCompCancel(self)</autodoc>
+ </method>
+ <method name="AutoCompActive" type="bool" overloaded="no">
+ <autodoc>AutoCompActive(self) -> bool</autodoc>
+ </method>
+ <method name="AutoCompPosStart" type="int" overloaded="no">
+ <autodoc>AutoCompPosStart(self) -> int</autodoc>
+ </method>
+ <method name="AutoCompComplete" type="" overloaded="no">
+ <autodoc>AutoCompComplete(self)</autodoc>
+ </method>
+ <method name="AutoCompStops" type="" overloaded="no">
+ <autodoc>AutoCompStops(self, String characterSet)</autodoc>
+ <paramlist>
+ <param name="characterSet" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompSetSeparator" type="" overloaded="no">
+ <autodoc>AutoCompSetSeparator(self, int separatorCharacter)</autodoc>
+ <paramlist>
+ <param name="separatorCharacter" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompGetSeparator" type="int" overloaded="no">
+ <autodoc>AutoCompGetSeparator(self) -> int</autodoc>
+ </method>
+ <method name="AutoCompSelect" type="" overloaded="no">
+ <autodoc>AutoCompSelect(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompSetCancelAtStart" type="" overloaded="no">
+ <autodoc>AutoCompSetCancelAtStart(self, bool cancel)</autodoc>
+ <paramlist>
+ <param name="cancel" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no">
+ <autodoc>AutoCompGetCancelAtStart(self) -> bool</autodoc>
+ </method>
+ <method name="AutoCompSetFillUps" type="" overloaded="no">
+ <autodoc>AutoCompSetFillUps(self, String characterSet)</autodoc>
+ <paramlist>
+ <param name="characterSet" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompSetChooseSingle" type="" overloaded="no">
+ <autodoc>AutoCompSetChooseSingle(self, bool chooseSingle)</autodoc>
+ <paramlist>
+ <param name="chooseSingle" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompGetChooseSingle" type="bool" overloaded="no">
+ <autodoc>AutoCompGetChooseSingle(self) -> bool</autodoc>
+ </method>
+ <method name="AutoCompSetIgnoreCase" type="" overloaded="no">
+ <autodoc>AutoCompSetIgnoreCase(self, bool ignoreCase)</autodoc>
+ <paramlist>
+ <param name="ignoreCase" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no">
+ <autodoc>AutoCompGetIgnoreCase(self) -> bool</autodoc>
+ </method>
+ <method name="UserListShow" type="" overloaded="no">
+ <autodoc>UserListShow(self, int listType, String itemList)</autodoc>
+ <paramlist>
+ <param name="listType" type="int" default=""/>
+ <param name="itemList" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompSetAutoHide" type="" overloaded="no">
+ <autodoc>AutoCompSetAutoHide(self, bool autoHide)</autodoc>
+ <paramlist>
+ <param name="autoHide" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompGetAutoHide" type="bool" overloaded="no">
+ <autodoc>AutoCompGetAutoHide(self) -> bool</autodoc>
+ </method>
+ <method name="AutoCompSetDropRestOfWord" type="" overloaded="no">
+ <autodoc>AutoCompSetDropRestOfWord(self, bool dropRestOfWord)</autodoc>
+ <paramlist>
+ <param name="dropRestOfWord" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no">
+ <autodoc>AutoCompGetDropRestOfWord(self) -> bool</autodoc>
+ </method>
+ <method name="RegisterImage" type="" overloaded="no">
+ <autodoc>RegisterImage(self, int type, Bitmap bmp)</autodoc>
+ <paramlist>
+ <param name="type" type="int" default=""/>
+ <param name="bmp" type="Bitmap" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearRegisteredImages" type="" overloaded="no">
+ <autodoc>ClearRegisteredImages(self)</autodoc>
+ </method>
+ <method name="AutoCompGetTypeSeparator" type="int" overloaded="no">
+ <autodoc>AutoCompGetTypeSeparator(self) -> int</autodoc>
+ </method>
+ <method name="AutoCompSetTypeSeparator" type="" overloaded="no">
+ <autodoc>AutoCompSetTypeSeparator(self, int separatorCharacter)</autodoc>
+ <paramlist>
+ <param name="separatorCharacter" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetIndent" type="" overloaded="no">
+ <autodoc>SetIndent(self, int indentSize)</autodoc>
+ <paramlist>
+ <param name="indentSize" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetIndent" type="int" overloaded="no">
+ <autodoc>GetIndent(self) -> int</autodoc>
+ </method>
+ <method name="SetUseTabs" type="" overloaded="no">
+ <autodoc>SetUseTabs(self, bool useTabs)</autodoc>
+ <paramlist>
+ <param name="useTabs" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUseTabs" type="bool" overloaded="no">
+ <autodoc>GetUseTabs(self) -> bool</autodoc>
+ </method>
+ <method name="SetLineIndentation" type="" overloaded="no">
+ <autodoc>SetLineIndentation(self, int line, int indentSize)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ <param name="indentSize" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineIndentation" type="int" overloaded="no">
+ <autodoc>GetLineIndentation(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineIndentPosition" type="int" overloaded="no">
+ <autodoc>GetLineIndentPosition(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumn" type="int" overloaded="no">
+ <autodoc>GetColumn(self, int pos) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetUseHorizontalScrollBar" type="" overloaded="no">
+ <autodoc>SetUseHorizontalScrollBar(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no">
+ <autodoc>GetUseHorizontalScrollBar(self) -> bool</autodoc>
+ </method>
+ <method name="SetIndentationGuides" type="" overloaded="no">
+ <autodoc>SetIndentationGuides(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetIndentationGuides" type="bool" overloaded="no">
+ <autodoc>GetIndentationGuides(self) -> bool</autodoc>
+ </method>
+ <method name="SetHighlightGuide" type="" overloaded="no">
+ <autodoc>SetHighlightGuide(self, int column)</autodoc>
+ <paramlist>
+ <param name="column" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetHighlightGuide" type="int" overloaded="no">
+ <autodoc>GetHighlightGuide(self) -> int</autodoc>
+ </method>
+ <method name="GetLineEndPosition" type="int" overloaded="no">
+ <autodoc>GetLineEndPosition(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCodePage" type="int" overloaded="no">
+ <autodoc>GetCodePage(self) -> int</autodoc>
+ </method>
+ <method name="GetCaretForeground" type="Colour" overloaded="no">
+ <autodoc>GetCaretForeground(self) -> Colour</autodoc>
+ </method>
+ <method name="GetReadOnly" type="bool" overloaded="no">
+ <autodoc>GetReadOnly(self) -> bool</autodoc>
+ </method>
+ <method name="SetCurrentPos" type="" overloaded="no">
+ <autodoc>SetCurrentPos(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelectionStart" type="" overloaded="no">
+ <autodoc>SetSelectionStart(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectionStart" type="int" overloaded="no">
+ <autodoc>GetSelectionStart(self) -> int</autodoc>
+ </method>
+ <method name="SetSelectionEnd" type="" overloaded="no">
+ <autodoc>SetSelectionEnd(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectionEnd" type="int" overloaded="no">
+ <autodoc>GetSelectionEnd(self) -> int</autodoc>
+ </method>
+ <method name="SetPrintMagnification" type="" overloaded="no">
+ <autodoc>SetPrintMagnification(self, int magnification)</autodoc>
+ <paramlist>
+ <param name="magnification" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintMagnification" type="int" overloaded="no">
+ <autodoc>GetPrintMagnification(self) -> int</autodoc>
+ </method>
+ <method name="SetPrintColourMode" type="" overloaded="no">
+ <autodoc>SetPrintColourMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintColourMode" type="int" overloaded="no">
+ <autodoc>GetPrintColourMode(self) -> int</autodoc>
+ </method>
+ <method name="FindText" type="int" overloaded="no">
+ <autodoc>FindText(self, int minPos, int maxPos, String text, int flags=0) -> int</autodoc>
+ <paramlist>
+ <param name="minPos" type="int" default=""/>
+ <param name="maxPos" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="FormatRange" type="int" overloaded="no">
+ <autodoc>FormatRange(self, bool doDraw, int startPos, int endPos, DC draw, DC target,
+ Rect renderRect, Rect pageRect) -> int</autodoc>
+ <paramlist>
+ <param name="doDraw" type="bool" default=""/>
+ <param name="startPos" type="int" default=""/>
+ <param name="endPos" type="int" default=""/>
+ <param name="draw" type="DC" default=""/>
+ <param name="target" type="DC" default=""/>
+ <param name="renderRect" type="Rect" default=""/>
+ <param name="pageRect" type="Rect" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstVisibleLine" type="int" overloaded="no">
+ <autodoc>GetFirstVisibleLine(self) -> int</autodoc>
+ </method>
+ <method name="GetLine" type="String" overloaded="no">
+ <autodoc>GetLine(self, int line) -> String</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineCount" type="int" overloaded="no">
+ <autodoc>GetLineCount(self) -> int</autodoc>
+ </method>
+ <method name="SetMarginLeft" type="" overloaded="no">
+ <autodoc>SetMarginLeft(self, int pixelWidth)</autodoc>
+ <paramlist>
+ <param name="pixelWidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMarginLeft" type="int" overloaded="no">
+ <autodoc>GetMarginLeft(self) -> int</autodoc>
+ </method>
+ <method name="SetMarginRight" type="" overloaded="no">
+ <autodoc>SetMarginRight(self, int pixelWidth)</autodoc>
+ <paramlist>
+ <param name="pixelWidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMarginRight" type="int" overloaded="no">
+ <autodoc>GetMarginRight(self) -> int</autodoc>
+ </method>
+ <method name="GetModify" type="bool" overloaded="no">
+ <autodoc>GetModify(self) -> bool</autodoc>
+ </method>
+ <method name="SetSelection" type="" overloaded="no">
+ <autodoc>SetSelection(self, int start, int end)</autodoc>
+ <paramlist>
+ <param name="start" type="int" default=""/>
+ <param name="end" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectedText" type="String" overloaded="no">
+ <autodoc>GetSelectedText(self) -> String</autodoc>
+ </method>
+ <method name="GetTextRange" type="String" overloaded="no">
+ <autodoc>GetTextRange(self, int startPos, int endPos) -> String</autodoc>
+ <paramlist>
+ <param name="startPos" type="int" default=""/>
+ <param name="endPos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="HideSelection" type="" overloaded="no">
+ <autodoc>HideSelection(self, bool normal)</autodoc>
+ <paramlist>
+ <param name="normal" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="LineFromPosition" type="int" overloaded="no">
+ <autodoc>LineFromPosition(self, int pos) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="PositionFromLine" type="int" overloaded="no">
+ <autodoc>PositionFromLine(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LineScroll" type="" overloaded="no">
+ <autodoc>LineScroll(self, int columns, int lines)</autodoc>
+ <paramlist>
+ <param name="columns" type="int" default=""/>
+ <param name="lines" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnsureCaretVisible" type="" overloaded="no">
+ <autodoc>EnsureCaretVisible(self)</autodoc>
+ </method>
+ <method name="ReplaceSelection" type="" overloaded="no">
+ <autodoc>ReplaceSelection(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetReadOnly" type="" overloaded="no">
+ <autodoc>SetReadOnly(self, bool readOnly)</autodoc>
+ <paramlist>
+ <param name="readOnly" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="CanPaste" type="bool" overloaded="no">
+ <autodoc>CanPaste(self) -> bool</autodoc>
+ </method>
+ <method name="CanUndo" type="bool" overloaded="no">
+ <autodoc>CanUndo(self) -> bool</autodoc>
+ </method>
+ <method name="EmptyUndoBuffer" type="" overloaded="no">
+ <autodoc>EmptyUndoBuffer(self)</autodoc>
+ </method>
+ <method name="Undo" type="" overloaded="no">
+ <autodoc>Undo(self)</autodoc>
+ </method>
+ <method name="Cut" type="" overloaded="no">
+ <autodoc>Cut(self)</autodoc>
+ </method>
+ <method name="Copy" type="" overloaded="no">
+ <autodoc>Copy(self)</autodoc>
+ </method>
+ <method name="Paste" type="" overloaded="no">
+ <autodoc>Paste(self)</autodoc>
+ </method>
+ <method name="Clear" type="" overloaded="no">
+ <autodoc>Clear(self)</autodoc>
+ </method>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <method name="GetTextLength" type="int" overloaded="no">
+ <autodoc>GetTextLength(self) -> int</autodoc>
+ </method>
+ <method name="SetOvertype" type="" overloaded="no">
+ <autodoc>SetOvertype(self, bool overtype)</autodoc>
+ <paramlist>
+ <param name="overtype" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetOvertype" type="bool" overloaded="no">
+ <autodoc>GetOvertype(self) -> bool</autodoc>
+ </method>
+ <method name="SetCaretWidth" type="" overloaded="no">
+ <autodoc>SetCaretWidth(self, int pixelWidth)</autodoc>
+ <paramlist>
+ <param name="pixelWidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCaretWidth" type="int" overloaded="no">
+ <autodoc>GetCaretWidth(self) -> int</autodoc>
+ </method>
+ <method name="SetTargetStart" type="" overloaded="no">
+ <autodoc>SetTargetStart(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTargetStart" type="int" overloaded="no">
+ <autodoc>GetTargetStart(self) -> int</autodoc>
+ </method>
+ <method name="SetTargetEnd" type="" overloaded="no">
+ <autodoc>SetTargetEnd(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTargetEnd" type="int" overloaded="no">
+ <autodoc>GetTargetEnd(self) -> int</autodoc>
+ </method>
+ <method name="ReplaceTarget" type="int" overloaded="no">
+ <autodoc>ReplaceTarget(self, String text) -> int</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="ReplaceTargetRE" type="int" overloaded="no">
+ <autodoc>ReplaceTargetRE(self, String text) -> int</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SearchInTarget" type="int" overloaded="no">
+ <autodoc>SearchInTarget(self, String text) -> int</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSearchFlags" type="" overloaded="no">
+ <autodoc>SetSearchFlags(self, int flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSearchFlags" type="int" overloaded="no">
+ <autodoc>GetSearchFlags(self) -> int</autodoc>
+ </method>
+ <method name="CallTipShow" type="" overloaded="no">
+ <autodoc>CallTipShow(self, int pos, String definition)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ <param name="definition" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="CallTipCancel" type="" overloaded="no">
+ <autodoc>CallTipCancel(self)</autodoc>
+ </method>
+ <method name="CallTipActive" type="bool" overloaded="no">
+ <autodoc>CallTipActive(self) -> bool</autodoc>
+ </method>
+ <method name="CallTipPosAtStart" type="int" overloaded="no">
+ <autodoc>CallTipPosAtStart(self) -> int</autodoc>
+ </method>
+ <method name="CallTipSetHighlight" type="" overloaded="no">
+ <autodoc>CallTipSetHighlight(self, int start, int end)</autodoc>
+ <paramlist>
+ <param name="start" type="int" default=""/>
+ <param name="end" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CallTipSetBackground" type="" overloaded="no">
+ <autodoc>CallTipSetBackground(self, Colour back)</autodoc>
+ <paramlist>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="CallTipSetForeground" type="" overloaded="no">
+ <autodoc>CallTipSetForeground(self, Colour fore)</autodoc>
+ <paramlist>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="CallTipSetForegroundHighlight" type="" overloaded="no">
+ <autodoc>CallTipSetForegroundHighlight(self, Colour fore)</autodoc>
+ <paramlist>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="VisibleFromDocLine" type="int" overloaded="no">
+ <autodoc>VisibleFromDocLine(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DocLineFromVisible" type="int" overloaded="no">
+ <autodoc>DocLineFromVisible(self, int lineDisplay) -> int</autodoc>
+ <paramlist>
+ <param name="lineDisplay" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFoldLevel" type="" overloaded="no">
+ <autodoc>SetFoldLevel(self, int line, int level)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ <param name="level" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFoldLevel" type="int" overloaded="no">
+ <autodoc>GetFoldLevel(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLastChild" type="int" overloaded="no">
+ <autodoc>GetLastChild(self, int line, int level) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ <param name="level" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFoldParent" type="int" overloaded="no">
+ <autodoc>GetFoldParent(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowLines" type="" overloaded="no">
+ <autodoc>ShowLines(self, int lineStart, int lineEnd)</autodoc>
+ <paramlist>
+ <param name="lineStart" type="int" default=""/>
+ <param name="lineEnd" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="HideLines" type="" overloaded="no">
+ <autodoc>HideLines(self, int lineStart, int lineEnd)</autodoc>
+ <paramlist>
+ <param name="lineStart" type="int" default=""/>
+ <param name="lineEnd" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineVisible" type="bool" overloaded="no">
+ <autodoc>GetLineVisible(self, int line) -> bool</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFoldExpanded" type="" overloaded="no">
+ <autodoc>SetFoldExpanded(self, int line, bool expanded)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ <param name="expanded" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFoldExpanded" type="bool" overloaded="no">
+ <autodoc>GetFoldExpanded(self, int line) -> bool</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ToggleFold" type="" overloaded="no">
+ <autodoc>ToggleFold(self, int line)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnsureVisible" type="" overloaded="no">
+ <autodoc>EnsureVisible(self, int line)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFoldFlags" type="" overloaded="no">
+ <autodoc>SetFoldFlags(self, int flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="EnsureVisibleEnforcePolicy" type="" overloaded="no">
+ <autodoc>EnsureVisibleEnforcePolicy(self, int line)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetTabIndents" type="" overloaded="no">
+ <autodoc>SetTabIndents(self, bool tabIndents)</autodoc>
+ <paramlist>
+ <param name="tabIndents" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTabIndents" type="bool" overloaded="no">
+ <autodoc>GetTabIndents(self) -> bool</autodoc>
+ </method>
+ <method name="SetBackSpaceUnIndents" type="" overloaded="no">
+ <autodoc>SetBackSpaceUnIndents(self, bool bsUnIndents)</autodoc>
+ <paramlist>
+ <param name="bsUnIndents" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBackSpaceUnIndents" type="bool" overloaded="no">
+ <autodoc>GetBackSpaceUnIndents(self) -> bool</autodoc>
+ </method>
+ <method name="SetMouseDwellTime" type="" overloaded="no">
+ <autodoc>SetMouseDwellTime(self, int periodMilliseconds)</autodoc>
+ <paramlist>
+ <param name="periodMilliseconds" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMouseDwellTime" type="int" overloaded="no">
+ <autodoc>GetMouseDwellTime(self) -> int</autodoc>
+ </method>
+ <method name="WordStartPosition" type="int" overloaded="no">
+ <autodoc>WordStartPosition(self, int pos, bool onlyWordCharacters) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ <param name="onlyWordCharacters" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="WordEndPosition" type="int" overloaded="no">
+ <autodoc>WordEndPosition(self, int pos, bool onlyWordCharacters) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ <param name="onlyWordCharacters" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWrapMode" type="" overloaded="no">
+ <autodoc>SetWrapMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWrapMode" type="int" overloaded="no">
+ <autodoc>GetWrapMode(self) -> int</autodoc>
+ </method>
+ <method name="SetLayoutCache" type="" overloaded="no">
+ <autodoc>SetLayoutCache(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLayoutCache" type="int" overloaded="no">
+ <autodoc>GetLayoutCache(self) -> int</autodoc>
+ </method>
+ <method name="SetScrollWidth" type="" overloaded="no">
+ <autodoc>SetScrollWidth(self, int pixelWidth)</autodoc>
+ <paramlist>
+ <param name="pixelWidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetScrollWidth" type="int" overloaded="no">
+ <autodoc>GetScrollWidth(self) -> int</autodoc>
+ </method>
+ <method name="TextWidth" type="int" overloaded="no">
+ <autodoc>TextWidth(self, int style, String text) -> int</autodoc>
+ <paramlist>
+ <param name="style" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetEndAtLastLine" type="" overloaded="no">
+ <autodoc>SetEndAtLastLine(self, bool endAtLastLine)</autodoc>
+ <paramlist>
+ <param name="endAtLastLine" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEndAtLastLine" type="int" overloaded="no">
+ <autodoc>GetEndAtLastLine(self) -> int</autodoc>
+ </method>
+ <method name="TextHeight" type="int" overloaded="no">
+ <autodoc>TextHeight(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetUseVerticalScrollBar" type="" overloaded="no">
+ <autodoc>SetUseVerticalScrollBar(self, bool show)</autodoc>
+ <paramlist>
+ <param name="show" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUseVerticalScrollBar" type="bool" overloaded="no">
+ <autodoc>GetUseVerticalScrollBar(self) -> bool</autodoc>
+ </method>
+ <method name="AppendText" type="" overloaded="no">
+ <autodoc>AppendText(self, int length, String text)</autodoc>
+ <paramlist>
+ <param name="length" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTwoPhaseDraw" type="bool" overloaded="no">
+ <autodoc>GetTwoPhaseDraw(self) -> bool</autodoc>
+ </method>
+ <method name="SetTwoPhaseDraw" type="" overloaded="no">
+ <autodoc>SetTwoPhaseDraw(self, bool twoPhase)</autodoc>
+ <paramlist>
+ <param name="twoPhase" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="TargetFromSelection" type="" overloaded="no">
+ <autodoc>TargetFromSelection(self)</autodoc>
+ </method>
+ <method name="LinesJoin" type="" overloaded="no">
+ <autodoc>LinesJoin(self)</autodoc>
+ </method>
+ <method name="LinesSplit" type="" overloaded="no">
+ <autodoc>LinesSplit(self, int pixelWidth)</autodoc>
+ <paramlist>
+ <param name="pixelWidth" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFoldMarginColour" type="" overloaded="no">
+ <autodoc>SetFoldMarginColour(self, bool useSetting, Colour back)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFoldMarginHiColour" type="" overloaded="no">
+ <autodoc>SetFoldMarginHiColour(self, bool useSetting, Colour fore)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="LineDown" type="" overloaded="no">
+ <autodoc>LineDown(self)</autodoc>
+ <docstring>This is just a wrapper for ScrollLines(1).</docstring>
+ </method>
+ <method name="LineDownExtend" type="" overloaded="no">
+ <autodoc>LineDownExtend(self)</autodoc>
+ </method>
+ <method name="LineUp" type="" overloaded="no">
+ <autodoc>LineUp(self)</autodoc>
+ <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
+ </method>
+ <method name="LineUpExtend" type="" overloaded="no">
+ <autodoc>LineUpExtend(self)</autodoc>
+ </method>
+ <method name="CharLeft" type="" overloaded="no">
+ <autodoc>CharLeft(self)</autodoc>
+ </method>
+ <method name="CharLeftExtend" type="" overloaded="no">
+ <autodoc>CharLeftExtend(self)</autodoc>
+ </method>
+ <method name="CharRight" type="" overloaded="no">
+ <autodoc>CharRight(self)</autodoc>
+ </method>
+ <method name="CharRightExtend" type="" overloaded="no">
+ <autodoc>CharRightExtend(self)</autodoc>
+ </method>
+ <method name="WordLeft" type="" overloaded="no">
+ <autodoc>WordLeft(self)</autodoc>
+ </method>
+ <method name="WordLeftExtend" type="" overloaded="no">
+ <autodoc>WordLeftExtend(self)</autodoc>
+ </method>
+ <method name="WordRight" type="" overloaded="no">
+ <autodoc>WordRight(self)</autodoc>
+ </method>
+ <method name="WordRightExtend" type="" overloaded="no">
+ <autodoc>WordRightExtend(self)</autodoc>
+ </method>
+ <method name="Home" type="" overloaded="no">
+ <autodoc>Home(self)</autodoc>
+ </method>
+ <method name="HomeExtend" type="" overloaded="no">
+ <autodoc>HomeExtend(self)</autodoc>
+ </method>
+ <method name="LineEnd" type="" overloaded="no">
+ <autodoc>LineEnd(self)</autodoc>
+ </method>
+ <method name="LineEndExtend" type="" overloaded="no">
+ <autodoc>LineEndExtend(self)</autodoc>
+ </method>
+ <method name="DocumentStart" type="" overloaded="no">
+ <autodoc>DocumentStart(self)</autodoc>
+ </method>
+ <method name="DocumentStartExtend" type="" overloaded="no">
+ <autodoc>DocumentStartExtend(self)</autodoc>
+ </method>
+ <method name="DocumentEnd" type="" overloaded="no">
+ <autodoc>DocumentEnd(self)</autodoc>
+ </method>
+ <method name="DocumentEndExtend" type="" overloaded="no">
+ <autodoc>DocumentEndExtend(self)</autodoc>
+ </method>
+ <method name="PageUp" type="" overloaded="no">
+ <autodoc>PageUp(self)</autodoc>
+ <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
+ </method>
+ <method name="PageUpExtend" type="" overloaded="no">
+ <autodoc>PageUpExtend(self)</autodoc>
+ </method>
+ <method name="PageDown" type="" overloaded="no">
+ <autodoc>PageDown(self)</autodoc>
+ <docstring>This is just a wrapper for ScrollPages(1).</docstring>
+ </method>
+ <method name="PageDownExtend" type="" overloaded="no">
+ <autodoc>PageDownExtend(self)</autodoc>
+ </method>
+ <method name="EditToggleOvertype" type="" overloaded="no">
+ <autodoc>EditToggleOvertype(self)</autodoc>
+ </method>
+ <method name="Cancel" type="" overloaded="no">
+ <autodoc>Cancel(self)</autodoc>
+ </method>
+ <method name="DeleteBack" type="" overloaded="no">
+ <autodoc>DeleteBack(self)</autodoc>
+ </method>
+ <method name="Tab" type="" overloaded="no">
+ <autodoc>Tab(self)</autodoc>
+ </method>
+ <method name="BackTab" type="" overloaded="no">
+ <autodoc>BackTab(self)</autodoc>
+ </method>
+ <method name="NewLine" type="" overloaded="no">
+ <autodoc>NewLine(self)</autodoc>
+ </method>
+ <method name="FormFeed" type="" overloaded="no">
+ <autodoc>FormFeed(self)</autodoc>
+ </method>
+ <method name="VCHome" type="" overloaded="no">
+ <autodoc>VCHome(self)</autodoc>
+ </method>
+ <method name="VCHomeExtend" type="" overloaded="no">
+ <autodoc>VCHomeExtend(self)</autodoc>
+ </method>
+ <method name="ZoomIn" type="" overloaded="no">
+ <autodoc>ZoomIn(self)</autodoc>
+ </method>
+ <method name="ZoomOut" type="" overloaded="no">
+ <autodoc>ZoomOut(self)</autodoc>
+ </method>
+ <method name="DelWordLeft" type="" overloaded="no">
+ <autodoc>DelWordLeft(self)</autodoc>
+ </method>
+ <method name="DelWordRight" type="" overloaded="no">
+ <autodoc>DelWordRight(self)</autodoc>
+ </method>
+ <method name="LineCut" type="" overloaded="no">
+ <autodoc>LineCut(self)</autodoc>
+ </method>
+ <method name="LineDelete" type="" overloaded="no">
+ <autodoc>LineDelete(self)</autodoc>
+ </method>
+ <method name="LineTranspose" type="" overloaded="no">
+ <autodoc>LineTranspose(self)</autodoc>
+ </method>
+ <method name="LineDuplicate" type="" overloaded="no">
+ <autodoc>LineDuplicate(self)</autodoc>
+ </method>
+ <method name="LowerCase" type="" overloaded="no">
+ <autodoc>LowerCase(self)</autodoc>
+ </method>
+ <method name="UpperCase" type="" overloaded="no">
+ <autodoc>UpperCase(self)</autodoc>
+ </method>
+ <method name="LineScrollDown" type="" overloaded="no">
+ <autodoc>LineScrollDown(self)</autodoc>
+ </method>
+ <method name="LineScrollUp" type="" overloaded="no">
+ <autodoc>LineScrollUp(self)</autodoc>
+ </method>
+ <method name="DeleteBackNotLine" type="" overloaded="no">
+ <autodoc>DeleteBackNotLine(self)</autodoc>
+ </method>
+ <method name="HomeDisplay" type="" overloaded="no">
+ <autodoc>HomeDisplay(self)</autodoc>
+ </method>
+ <method name="HomeDisplayExtend" type="" overloaded="no">
+ <autodoc>HomeDisplayExtend(self)</autodoc>
+ </method>
+ <method name="LineEndDisplay" type="" overloaded="no">
+ <autodoc>LineEndDisplay(self)</autodoc>
+ </method>
+ <method name="LineEndDisplayExtend" type="" overloaded="no">
+ <autodoc>LineEndDisplayExtend(self)</autodoc>
+ </method>
+ <method name="HomeWrap" type="" overloaded="no">
+ <autodoc>HomeWrap(self)</autodoc>
+ </method>
+ <method name="HomeWrapExtend" type="" overloaded="no">
+ <autodoc>HomeWrapExtend(self)</autodoc>
+ </method>
+ <method name="LineEndWrap" type="" overloaded="no">
+ <autodoc>LineEndWrap(self)</autodoc>
+ </method>
+ <method name="LineEndWrapExtend" type="" overloaded="no">
+ <autodoc>LineEndWrapExtend(self)</autodoc>
+ </method>
+ <method name="VCHomeWrap" type="" overloaded="no">
+ <autodoc>VCHomeWrap(self)</autodoc>
+ </method>
+ <method name="VCHomeWrapExtend" type="" overloaded="no">
+ <autodoc>VCHomeWrapExtend(self)</autodoc>
+ </method>
+ <method name="LineCopy" type="" overloaded="no">
+ <autodoc>LineCopy(self)</autodoc>
+ </method>
+ <method name="MoveCaretInsideView" type="" overloaded="no">
+ <autodoc>MoveCaretInsideView(self)</autodoc>
+ </method>
+ <method name="LineLength" type="int" overloaded="no">
+ <autodoc>LineLength(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="BraceHighlight" type="" overloaded="no">
+ <autodoc>BraceHighlight(self, int pos1, int pos2)</autodoc>
+ <paramlist>
+ <param name="pos1" type="int" default=""/>
+ <param name="pos2" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="BraceBadLight" type="" overloaded="no">
+ <autodoc>BraceBadLight(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="BraceMatch" type="int" overloaded="no">
+ <autodoc>BraceMatch(self, int pos) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetViewEOL" type="bool" overloaded="no">
+ <autodoc>GetViewEOL(self) -> bool</autodoc>
+ </method>
+ <method name="SetViewEOL" type="" overloaded="no">
+ <autodoc>SetViewEOL(self, bool visible)</autodoc>
+ <paramlist>
+ <param name="visible" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetDocPointer" type="" overloaded="no">
+ <autodoc>GetDocPointer(self) -> void</autodoc>
+ </method>
+ <method name="SetDocPointer" type="" overloaded="no">
+ <autodoc>SetDocPointer(self, void docPointer)</autodoc>
+ <paramlist>
+ <param name="docPointer" type="" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetModEventMask" type="" overloaded="no">
+ <autodoc>SetModEventMask(self, int mask)</autodoc>
+ <paramlist>
+ <param name="mask" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEdgeColumn" type="int" overloaded="no">
+ <autodoc>GetEdgeColumn(self) -> int</autodoc>
+ </method>
+ <method name="SetEdgeColumn" type="" overloaded="no">
+ <autodoc>SetEdgeColumn(self, int column)</autodoc>
+ <paramlist>
+ <param name="column" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEdgeMode" type="int" overloaded="no">
+ <autodoc>GetEdgeMode(self) -> int</autodoc>
+ </method>
+ <method name="SetEdgeMode" type="" overloaded="no">
+ <autodoc>SetEdgeMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetEdgeColour" type="Colour" overloaded="no">
+ <autodoc>GetEdgeColour(self) -> Colour</autodoc>
+ </method>
+ <method name="SetEdgeColour" type="" overloaded="no">
+ <autodoc>SetEdgeColour(self, Colour edgeColour)</autodoc>
+ <paramlist>
+ <param name="edgeColour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SearchAnchor" type="" overloaded="no">
+ <autodoc>SearchAnchor(self)</autodoc>
+ </method>
+ <method name="SearchNext" type="int" overloaded="no">
+ <autodoc>SearchNext(self, int flags, String text) -> int</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SearchPrev" type="int" overloaded="no">
+ <autodoc>SearchPrev(self, int flags, String text) -> int</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LinesOnScreen" type="int" overloaded="no">
+ <autodoc>LinesOnScreen(self) -> int</autodoc>
+ </method>
+ <method name="UsePopUp" type="" overloaded="no">
+ <autodoc>UsePopUp(self, bool allowPopUp)</autodoc>
+ <paramlist>
+ <param name="allowPopUp" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SelectionIsRectangle" type="bool" overloaded="no">
+ <autodoc>SelectionIsRectangle(self) -> bool</autodoc>
+ </method>
+ <method name="SetZoom" type="" overloaded="no">
+ <autodoc>SetZoom(self, int zoom)</autodoc>
+ <paramlist>
+ <param name="zoom" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetZoom" type="int" overloaded="no">
+ <autodoc>GetZoom(self) -> int</autodoc>
+ </method>
+ <method name="CreateDocument" type="" overloaded="no">
+ <autodoc>CreateDocument(self) -> void</autodoc>
+ </method>
+ <method name="AddRefDocument" type="" overloaded="no">
+ <autodoc>AddRefDocument(self, void docPointer)</autodoc>
+ <paramlist>
+ <param name="docPointer" type="" default=""/>
+ </paramlist>
+ </method>
+ <method name="ReleaseDocument" type="" overloaded="no">
+ <autodoc>ReleaseDocument(self, void docPointer)</autodoc>
+ <paramlist>
+ <param name="docPointer" type="" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetModEventMask" type="int" overloaded="no">
+ <autodoc>GetModEventMask(self) -> int</autodoc>
+ </method>
+ <method name="SetSTCFocus" type="" overloaded="no">
+ <autodoc>SetSTCFocus(self, bool focus)</autodoc>
+ <paramlist>
+ <param name="focus" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSTCFocus" type="bool" overloaded="no">
+ <autodoc>GetSTCFocus(self) -> bool</autodoc>
+ </method>
+ <method name="SetStatus" type="" overloaded="no">
+ <autodoc>SetStatus(self, int statusCode)</autodoc>
+ <paramlist>
+ <param name="statusCode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStatus" type="int" overloaded="no">
+ <autodoc>GetStatus(self) -> int</autodoc>
+ </method>
+ <method name="SetMouseDownCaptures" type="" overloaded="no">
+ <autodoc>SetMouseDownCaptures(self, bool captures)</autodoc>
+ <paramlist>
+ <param name="captures" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMouseDownCaptures" type="bool" overloaded="no">
+ <autodoc>GetMouseDownCaptures(self) -> bool</autodoc>
+ </method>
+ <method name="SetSTCCursor" type="" overloaded="no">
+ <autodoc>SetSTCCursor(self, int cursorType)</autodoc>
+ <paramlist>
+ <param name="cursorType" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSTCCursor" type="int" overloaded="no">
+ <autodoc>GetSTCCursor(self) -> int</autodoc>
+ </method>
+ <method name="SetControlCharSymbol" type="" overloaded="no">
+ <autodoc>SetControlCharSymbol(self, int symbol)</autodoc>
+ <paramlist>
+ <param name="symbol" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetControlCharSymbol" type="int" overloaded="no">
+ <autodoc>GetControlCharSymbol(self) -> int</autodoc>
+ </method>
+ <method name="WordPartLeft" type="" overloaded="no">
+ <autodoc>WordPartLeft(self)</autodoc>
+ </method>
+ <method name="WordPartLeftExtend" type="" overloaded="no">
+ <autodoc>WordPartLeftExtend(self)</autodoc>
+ </method>
+ <method name="WordPartRight" type="" overloaded="no">
+ <autodoc>WordPartRight(self)</autodoc>
+ </method>
+ <method name="WordPartRightExtend" type="" overloaded="no">
+ <autodoc>WordPartRightExtend(self)</autodoc>
+ </method>
+ <method name="SetVisiblePolicy" type="" overloaded="no">
+ <autodoc>SetVisiblePolicy(self, int visiblePolicy, int visibleSlop)</autodoc>
+ <paramlist>
+ <param name="visiblePolicy" type="int" default=""/>
+ <param name="visibleSlop" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="DelLineLeft" type="" overloaded="no">
+ <autodoc>DelLineLeft(self)</autodoc>
+ </method>
+ <method name="DelLineRight" type="" overloaded="no">
+ <autodoc>DelLineRight(self)</autodoc>
+ </method>
+ <method name="SetXOffset" type="" overloaded="no">
+ <autodoc>SetXOffset(self, int newOffset)</autodoc>
+ <paramlist>
+ <param name="newOffset" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetXOffset" type="int" overloaded="no">
+ <autodoc>GetXOffset(self) -> int</autodoc>
+ </method>
+ <method name="ChooseCaretX" type="" overloaded="no">
+ <autodoc>ChooseCaretX(self)</autodoc>
+ </method>
+ <method name="SetXCaretPolicy" type="" overloaded="no">
+ <autodoc>SetXCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc>
+ <paramlist>
+ <param name="caretPolicy" type="int" default=""/>
+ <param name="caretSlop" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetYCaretPolicy" type="" overloaded="no">
+ <autodoc>SetYCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc>
+ <paramlist>
+ <param name="caretPolicy" type="int" default=""/>
+ <param name="caretSlop" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetPrintWrapMode" type="" overloaded="no">
+ <autodoc>SetPrintWrapMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrintWrapMode" type="int" overloaded="no">
+ <autodoc>GetPrintWrapMode(self) -> int</autodoc>
+ </method>
+ <method name="SetHotspotActiveForeground" type="" overloaded="no">
+ <autodoc>SetHotspotActiveForeground(self, bool useSetting, Colour fore)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="fore" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHotspotActiveBackground" type="" overloaded="no">
+ <autodoc>SetHotspotActiveBackground(self, bool useSetting, Colour back)</autodoc>
+ <paramlist>
+ <param name="useSetting" type="bool" default=""/>
+ <param name="back" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHotspotActiveUnderline" type="" overloaded="no">
+ <autodoc>SetHotspotActiveUnderline(self, bool underline)</autodoc>
+ <paramlist>
+ <param name="underline" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHotspotSingleLine" type="" overloaded="no">
+ <autodoc>SetHotspotSingleLine(self, bool singleLine)</autodoc>
+ <paramlist>
+ <param name="singleLine" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="ParaDown" type="" overloaded="no">
+ <autodoc>ParaDown(self)</autodoc>
+ </method>
+ <method name="ParaDownExtend" type="" overloaded="no">
+ <autodoc>ParaDownExtend(self)</autodoc>
+ </method>
+ <method name="ParaUp" type="" overloaded="no">
+ <autodoc>ParaUp(self)</autodoc>
+ </method>
+ <method name="ParaUpExtend" type="" overloaded="no">
+ <autodoc>ParaUpExtend(self)</autodoc>
+ </method>
+ <method name="PositionBefore" type="int" overloaded="no">
+ <autodoc>PositionBefore(self, int pos) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="PositionAfter" type="int" overloaded="no">
+ <autodoc>PositionAfter(self, int pos) -> int</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CopyRange" type="" overloaded="no">
+ <autodoc>CopyRange(self, int start, int end)</autodoc>
+ <paramlist>
+ <param name="start" type="int" default=""/>
+ <param name="end" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="CopyText" type="" overloaded="no">
+ <autodoc>CopyText(self, int length, String text)</autodoc>
+ <paramlist>
+ <param name="length" type="int" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelectionMode" type="" overloaded="no">
+ <autodoc>SetSelectionMode(self, int mode)</autodoc>
+ <paramlist>
+ <param name="mode" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelectionMode" type="int" overloaded="no">
+ <autodoc>GetSelectionMode(self) -> int</autodoc>
+ </method>
+ <method name="GetLineSelStartPosition" type="int" overloaded="no">
+ <autodoc>GetLineSelStartPosition(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineSelEndPosition" type="int" overloaded="no">
+ <autodoc>GetLineSelEndPosition(self, int line) -> int</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="LineDownRectExtend" type="" overloaded="no">
+ <autodoc>LineDownRectExtend(self)</autodoc>
+ </method>
+ <method name="LineUpRectExtend" type="" overloaded="no">
+ <autodoc>LineUpRectExtend(self)</autodoc>
+ </method>
+ <method name="CharLeftRectExtend" type="" overloaded="no">
+ <autodoc>CharLeftRectExtend(self)</autodoc>
+ </method>
+ <method name="CharRightRectExtend" type="" overloaded="no">
+ <autodoc>CharRightRectExtend(self)</autodoc>
+ </method>
+ <method name="HomeRectExtend" type="" overloaded="no">
+ <autodoc>HomeRectExtend(self)</autodoc>
+ </method>
+ <method name="VCHomeRectExtend" type="" overloaded="no">
+ <autodoc>VCHomeRectExtend(self)</autodoc>
+ </method>
+ <method name="LineEndRectExtend" type="" overloaded="no">
+ <autodoc>LineEndRectExtend(self)</autodoc>
+ </method>
+ <method name="PageUpRectExtend" type="" overloaded="no">
+ <autodoc>PageUpRectExtend(self)</autodoc>
+ </method>
+ <method name="PageDownRectExtend" type="" overloaded="no">
+ <autodoc>PageDownRectExtend(self)</autodoc>
+ </method>
+ <method name="StutteredPageUp" type="" overloaded="no">
+ <autodoc>StutteredPageUp(self)</autodoc>
+ </method>
+ <method name="StutteredPageUpExtend" type="" overloaded="no">
+ <autodoc>StutteredPageUpExtend(self)</autodoc>
+ </method>
+ <method name="StutteredPageDown" type="" overloaded="no">
+ <autodoc>StutteredPageDown(self)</autodoc>
+ </method>
+ <method name="StutteredPageDownExtend" type="" overloaded="no">
+ <autodoc>StutteredPageDownExtend(self)</autodoc>
+ </method>
+ <method name="WordLeftEnd" type="" overloaded="no">
+ <autodoc>WordLeftEnd(self)</autodoc>
+ </method>
+ <method name="WordLeftEndExtend" type="" overloaded="no">
+ <autodoc>WordLeftEndExtend(self)</autodoc>
+ </method>
+ <method name="WordRightEnd" type="" overloaded="no">
+ <autodoc>WordRightEnd(self)</autodoc>
+ </method>
+ <method name="WordRightEndExtend" type="" overloaded="no">
+ <autodoc>WordRightEndExtend(self)</autodoc>
+ </method>
+ <method name="SetWhitespaceChars" type="" overloaded="no">
+ <autodoc>SetWhitespaceChars(self, String characters)</autodoc>
+ <paramlist>
+ <param name="characters" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCharsDefault" type="" overloaded="no">
+ <autodoc>SetCharsDefault(self)</autodoc>
+ </method>
+ <method name="AutoCompGetCurrent" type="int" overloaded="no">
+ <autodoc>AutoCompGetCurrent(self) -> int</autodoc>
+ </method>
+ <method name="StartRecord" type="" overloaded="no">
+ <autodoc>StartRecord(self)</autodoc>
+ </method>
+ <method name="StopRecord" type="" overloaded="no">
+ <autodoc>StopRecord(self)</autodoc>
+ </method>
+ <method name="SetLexer" type="" overloaded="no">
+ <autodoc>SetLexer(self, int lexer)</autodoc>
+ <paramlist>
+ <param name="lexer" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLexer" type="int" overloaded="no">
+ <autodoc>GetLexer(self) -> int</autodoc>
+ </method>
+ <method name="Colourise" type="" overloaded="no">
+ <autodoc>Colourise(self, int start, int end)</autodoc>
+ <paramlist>
+ <param name="start" type="int" default=""/>
+ <param name="end" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetProperty" type="" overloaded="no">
+ <autodoc>SetProperty(self, String key, String value)</autodoc>
+ <paramlist>
+ <param name="key" type="String" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetKeyWords" type="" overloaded="no">
+ <autodoc>SetKeyWords(self, int keywordSet, String keyWords)</autodoc>
+ <paramlist>
+ <param name="keywordSet" type="int" default=""/>
+ <param name="keyWords" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLexerLanguage" type="" overloaded="no">
+ <autodoc>SetLexerLanguage(self, String language)</autodoc>
+ <paramlist>
+ <param name="language" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCurrentLine" type="int" overloaded="no">
+ <autodoc>GetCurrentLine(self) -> int</autodoc>
+ </method>
+ <method name="StyleSetSpec" type="" overloaded="no">
+ <autodoc>StyleSetSpec(self, int styleNum, String spec)</autodoc>
+ <paramlist>
+ <param name="styleNum" type="int" default=""/>
+ <param name="spec" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetFont" type="" overloaded="no">
+ <autodoc>StyleSetFont(self, int styleNum, Font font)</autodoc>
+ <paramlist>
+ <param name="styleNum" type="int" default=""/>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="StyleSetFontAttr" type="" overloaded="no">
+ <autodoc>StyleSetFontAttr(self, int styleNum, int size, String faceName, bool bold,
+ bool italic, bool underline)</autodoc>
+ <paramlist>
+ <param name="styleNum" type="int" default=""/>
+ <param name="size" type="int" default=""/>
+ <param name="faceName" type="String" default=""/>
+ <param name="bold" type="bool" default=""/>
+ <param name="italic" type="bool" default=""/>
+ <param name="underline" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="CmdKeyExecute" type="" overloaded="no">
+ <autodoc>CmdKeyExecute(self, int cmd)</autodoc>
+ <paramlist>
+ <param name="cmd" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMargins" type="" overloaded="no">
+ <autodoc>SetMargins(self, int left, int right)</autodoc>
+ <paramlist>
+ <param name="left" type="int" default=""/>
+ <param name="right" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSelection" type="" overloaded="no">
+ <autodoc>GetSelection(self, int OUTPUT, int OUTPUT)</autodoc>
+ <paramlist>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="PointFromPosition" type="Point" overloaded="no">
+ <autodoc>PointFromPosition(self, int pos) -> Point</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollToLine" type="" overloaded="no">
+ <autodoc>ScrollToLine(self, int line)</autodoc>
+ <paramlist>
+ <param name="line" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollToColumn" type="" overloaded="no">
+ <autodoc>ScrollToColumn(self, int column)</autodoc>
+ <paramlist>
+ <param name="column" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SendMsg" type="long" overloaded="no">
+ <autodoc>SendMsg(self, int msg, long wp=0, long lp=0) -> long</autodoc>
+ <paramlist>
+ <param name="msg" type="int" default=""/>
+ <param name="wp" type="long" default="0"/>
+ <param name="lp" type="long" default="0"/>
+ </paramlist>
+ </method>
+ <method name="SetVScrollBar" type="" overloaded="no">
+ <autodoc>SetVScrollBar(self, wxScrollBar bar)</autodoc>
+ <paramlist>
+ <param name="bar" type="ScrollBar" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetHScrollBar" type="" overloaded="no">
+ <autodoc>SetHScrollBar(self, wxScrollBar bar)</autodoc>
+ <paramlist>
+ <param name="bar" type="ScrollBar" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLastKeydownProcessed" type="bool" overloaded="no">
+ <autodoc>GetLastKeydownProcessed(self) -> bool</autodoc>
+ </method>
+ <method name="SetLastKeydownProcessed" type="" overloaded="no">
+ <autodoc>SetLastKeydownProcessed(self, bool val)</autodoc>
+ <paramlist>
+ <param name="val" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SaveFile" type="bool" overloaded="no">
+ <autodoc>SaveFile(self, String filename) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadFile" type="bool" overloaded="no">
+ <autodoc>LoadFile(self, String filename) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoDragOver" type="wxDragResult" overloaded="no">
+ <autodoc>DoDragOver(self, int x, int y, int def) -> int</autodoc>
+ <paramlist>
+ <param name="x" type="int" default=""/>
+ <param name="y" type="int" default=""/>
+ <param name="def" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="DoDropText" type="bool" overloaded="no">
+ <autodoc>DoDropText(self, long x, long y, String data) -> bool</autodoc>
+ <paramlist>
+ <param name="x" type="long" default=""/>
+ <param name="y" type="long" default=""/>
+ <param name="data" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetUseAntiAliasing" type="" overloaded="no">
+ <autodoc>SetUseAntiAliasing(self, bool useAA)</autodoc>
+ <paramlist>
+ <param name="useAA" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetUseAntiAliasing" type="bool" overloaded="no">
+ <autodoc>GetUseAntiAliasing(self) -> bool</autodoc>
+ </method>
+ </class>
+ <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc">
+ <baseclass name="CommandEvent"/>
+ <constructor name="StyledTextEvent" overloaded="no">
+ <autodoc>__init__(self, wxEventType commandType=0, int id=0) -> StyledTextEvent</autodoc>
+ <paramlist>
+ <param name="commandType" type="wxEventType" default="0"/>
+ <param name="id" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxStyledTextEvent" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="SetPosition" type="" overloaded="no">
+ <autodoc>SetPosition(self, int pos)</autodoc>
+ <paramlist>
+ <param name="pos" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetKey" type="" overloaded="no">
+ <autodoc>SetKey(self, int k)</autodoc>
+ <paramlist>
+ <param name="k" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetModifiers" type="" overloaded="no">
+ <autodoc>SetModifiers(self, int m)</autodoc>
+ <paramlist>
+ <param name="m" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetModificationType" type="" overloaded="no">
+ <autodoc>SetModificationType(self, int t)</autodoc>
+ <paramlist>
+ <param name="t" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String t)</autodoc>
+ <paramlist>
+ <param name="t" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLength" type="" overloaded="no">
+ <autodoc>SetLength(self, int len)</autodoc>
+ <paramlist>
+ <param name="len" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLinesAdded" type="" overloaded="no">
+ <autodoc>SetLinesAdded(self, int num)</autodoc>
+ <paramlist>
+ <param name="num" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLine" type="" overloaded="no">
+ <autodoc>SetLine(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFoldLevelNow" type="" overloaded="no">
+ <autodoc>SetFoldLevelNow(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFoldLevelPrev" type="" overloaded="no">
+ <autodoc>SetFoldLevelPrev(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMargin" type="" overloaded="no">
+ <autodoc>SetMargin(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMessage" type="" overloaded="no">
+ <autodoc>SetMessage(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWParam" type="" overloaded="no">
+ <autodoc>SetWParam(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetLParam" type="" overloaded="no">
+ <autodoc>SetLParam(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetListType" type="" overloaded="no">
+ <autodoc>SetListType(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetX" type="" overloaded="no">
+ <autodoc>SetX(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetY" type="" overloaded="no">
+ <autodoc>SetY(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDragText" type="" overloaded="no">
+ <autodoc>SetDragText(self, String val)</autodoc>
+ <paramlist>
+ <param name="val" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDragAllowMove" type="" overloaded="no">
+ <autodoc>SetDragAllowMove(self, bool val)</autodoc>
+ <paramlist>
+ <param name="val" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetDragResult" type="" overloaded="no">
+ <autodoc>SetDragResult(self, int val)</autodoc>
+ <paramlist>
+ <param name="val" type="wxDragResult" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPosition" type="int" overloaded="no">
+ <autodoc>GetPosition(self) -> int</autodoc>
+ </method>
+ <method name="GetKey" type="int" overloaded="no">
+ <autodoc>GetKey(self) -> int</autodoc>
+ </method>
+ <method name="GetModifiers" type="int" overloaded="no">
+ <autodoc>GetModifiers(self) -> int</autodoc>
+ </method>
+ <method name="GetModificationType" type="int" overloaded="no">
+ <autodoc>GetModificationType(self) -> int</autodoc>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <method name="GetLength" type="int" overloaded="no">
+ <autodoc>GetLength(self) -> int</autodoc>
+ </method>
+ <method name="GetLinesAdded" type="int" overloaded="no">
+ <autodoc>GetLinesAdded(self) -> int</autodoc>
+ </method>
+ <method name="GetLine" type="int" overloaded="no">
+ <autodoc>GetLine(self) -> int</autodoc>
+ </method>
+ <method name="GetFoldLevelNow" type="int" overloaded="no">
+ <autodoc>GetFoldLevelNow(self) -> int</autodoc>
+ </method>
+ <method name="GetFoldLevelPrev" type="int" overloaded="no">
+ <autodoc>GetFoldLevelPrev(self) -> int</autodoc>
+ </method>
+ <method name="GetMargin" type="int" overloaded="no">
+ <autodoc>GetMargin(self) -> int</autodoc>
+ </method>
+ <method name="GetMessage" type="int" overloaded="no">
+ <autodoc>GetMessage(self) -> int</autodoc>
+ </method>
+ <method name="GetWParam" type="int" overloaded="no">
+ <autodoc>GetWParam(self) -> int</autodoc>
+ </method>
+ <method name="GetLParam" type="int" overloaded="no">
+ <autodoc>GetLParam(self) -> int</autodoc>
+ </method>
+ <method name="GetListType" type="int" overloaded="no">
+ <autodoc>GetListType(self) -> int</autodoc>
+ </method>
+ <method name="GetX" type="int" overloaded="no">
+ <autodoc>GetX(self) -> int</autodoc>
+ </method>
+ <method name="GetY" type="int" overloaded="no">
+ <autodoc>GetY(self) -> int</autodoc>
+ </method>
+ <method name="GetDragText" type="String" overloaded="no">
+ <autodoc>GetDragText(self) -> String</autodoc>
+ </method>
+ <method name="GetDragAllowMove" type="bool" overloaded="no">
+ <autodoc>GetDragAllowMove(self) -> bool</autodoc>
+ </method>
+ <method name="GetDragResult" type="wxDragResult" overloaded="no">
+ <autodoc>GetDragResult(self) -> int</autodoc>
+ </method>
+ <method name="GetShift" type="bool" overloaded="no">
+ <autodoc>GetShift(self) -> bool</autodoc>
+ </method>
+ <method name="GetControl" type="bool" overloaded="no">
+ <autodoc>GetControl(self) -> bool</autodoc>
+ </method>
+ <method name="GetAlt" type="bool" overloaded="no">
+ <autodoc>GetAlt(self) -> bool</autodoc>
+ </method>
+ <method name="Clone" type="Event" overloaded="no">
+ <autodoc>Clone(self) -> Event</autodoc>
+ </method>
+ </class>
+ <pythoncode>
+EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 )
+EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 )
+EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 )
+EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 )
+EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 )
+EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 )
+EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 )
+EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 )
+EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 )
+EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 )
+EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
+EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
+EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
+EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
+EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
+EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )
+EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 )
+EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 )
+EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 )
+EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 )
+EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 )
+EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 )
+EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 )
+EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
+EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
+</pythoncode>
+ </module>
+ <module name="xrc">
+ <import name="_core"/>
+ <pythoncode> wx = _core </pythoncode>
+ <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="XmlResource" oldname="wxXmlResource" module="xrc">
+ <baseclass name="Object"/>
+ <constructor name="XmlResource" overloaded="no">
+ <autodoc>__init__(self, String filemask, int flags=XRC_USE_LOCALE) -> XmlResource</autodoc>
+ <paramlist>
+ <param name="filemask" type="String" default=""/>
+ <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
+ </paramlist>
+ </constructor>
+ <constructor name="EmptyXmlResource" overloaded="no">
+ <autodoc>EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxXmlResource" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Load" type="bool" overloaded="no">
+ <autodoc>Load(self, String filemask) -> bool</autodoc>
+ <paramlist>
+ <param name="filemask" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadFromString" type="bool" overloaded="no">
+ <autodoc>LoadFromString(self, String data) -> bool</autodoc>
+ <paramlist>
+ <param name="data" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="InitAllHandlers" type="" overloaded="no">
+ <autodoc>InitAllHandlers(self)</autodoc>
+ </method>
+ <method name="AddHandler" type="" overloaded="no">
+ <autodoc>AddHandler(self, XmlResourceHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="wxPyXmlResourceHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertHandler" type="" overloaded="no">
+ <autodoc>InsertHandler(self, XmlResourceHandler handler)</autodoc>
+ <paramlist>
+ <param name="handler" type="wxPyXmlResourceHandler" default=""/>
+ </paramlist>
+ </method>
+ <method name="ClearHandlers" type="" overloaded="no">
+ <autodoc>ClearHandlers(self)</autodoc>
+ </method>
+ <staticmethod name="AddSubclassFactory" type="" overloaded="no">
+ <autodoc>AddSubclassFactory(XmlSubclassFactory factory)</autodoc>
+ <paramlist>
+ <param name="factory" type="wxPyXmlSubclassFactory" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="LoadMenu" type="Menu" overloaded="no">
+ <autodoc>LoadMenu(self, String name) -> Menu</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadMenuBar" type="MenuBar" overloaded="no">
+ <autodoc>LoadMenuBar(self, String name) -> MenuBar</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadMenuBarOnFrame" type="MenuBar" overloaded="no">
+ <autodoc>LoadMenuBarOnFrame(self, Window parent, String name) -> MenuBar</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadToolBar" type="ToolBar" overloaded="no">
+ <autodoc>LoadToolBar(self, Window parent, String name) -> wxToolBar</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadDialog" type="Dialog" overloaded="no">
+ <autodoc>LoadDialog(self, Window parent, String name) -> wxDialog</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadOnDialog" type="bool" overloaded="no">
+ <autodoc>LoadOnDialog(self, wxDialog dlg, Window parent, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="dlg" type="Dialog" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadPanel" type="Panel" overloaded="no">
+ <autodoc>LoadPanel(self, Window parent, String name) -> wxPanel</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadOnPanel" type="bool" overloaded="no">
+ <autodoc>LoadOnPanel(self, wxPanel panel, Window parent, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="panel" type="Panel" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadFrame" type="Frame" overloaded="no">
+ <autodoc>LoadFrame(self, Window parent, String name) -> wxFrame</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadOnFrame" type="bool" overloaded="no">
+ <autodoc>LoadOnFrame(self, wxFrame frame, Window parent, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="frame" type="Frame" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadObject" type="Object" overloaded="no">
+ <autodoc>LoadObject(self, Window parent, String name, String classname) -> Object</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ <param name="classname" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadOnObject" type="bool" overloaded="no">
+ <autodoc>LoadOnObject(self, Object instance, Window parent, String name, String classname) -> bool</autodoc>
+ <paramlist>
+ <param name="instance" type="Object" default=""/>
+ <param name="parent" type="Window" default=""/>
+ <param name="name" type="String" default=""/>
+ <param name="classname" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadBitmap" type="Bitmap" overloaded="no">
+ <autodoc>LoadBitmap(self, String name) -> Bitmap</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="LoadIcon" type="Icon" overloaded="no">
+ <autodoc>LoadIcon(self, String name) -> Icon</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AttachUnknownControl" type="bool" overloaded="no">
+ <autodoc>AttachUnknownControl(self, String name, Window control, Window parent=None) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="control" type="Window" default=""/>
+ <param name="parent" type="Window" default="NULL"/>
+ </paramlist>
+ </method>
+ <staticmethod name="GetXRCID" type="int" overloaded="no">
+ <autodoc>GetXRCID(String str_id) -> int</autodoc>
+ <paramlist>
+ <param name="str_id" type="String" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="GetVersion" type="long" overloaded="no">
+ <autodoc>GetVersion(self) -> long</autodoc>
+ </method>
+ <method name="CompareVersion" type="int" overloaded="no">
+ <autodoc>CompareVersion(self, int major, int minor, int release, int revision) -> int</autodoc>
+ <paramlist>
+ <param name="major" type="int" default=""/>
+ <param name="minor" type="int" default=""/>
+ <param name="release" type="int" default=""/>
+ <param name="revision" type="int" default=""/>
+ </paramlist>
+ </method>
+ <staticmethod name="Get" type="XmlResource" overloaded="no">
+ <autodoc>Get() -> XmlResource</autodoc>
+ </staticmethod>
+ <staticmethod name="Set" type="XmlResource" overloaded="no">
+ <autodoc>Set(XmlResource res) -> XmlResource</autodoc>
+ <paramlist>
+ <param name="res" type="XmlResource" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="GetFlags" type="int" overloaded="no">
+ <autodoc>GetFlags(self) -> int</autodoc>
+ </method>
+ <method name="SetFlags" type="" overloaded="no">
+ <autodoc>SetFlags(self, int flags)</autodoc>
+ <paramlist>
+ <param name="flags" type="int" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+def XRCID(str_id):
+ return XmlResource_GetXRCID(str_id)
+
+def XRCCTRL(window, str_id, *ignoreargs):
+ return window.FindWindowById(XRCID(str_id))
+</pythoncode>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc">
+ <constructor name="wxPyXmlSubclassFactory" overloaded="no">
+ <autodoc>__init__(self) -> XmlSubclassFactory</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="XmlProperty" oldname="wxXmlProperty" module="xrc">
+ <constructor name="XmlProperty" overloaded="no">
+ <autodoc>__init__(self, String name=EmptyString, String value=EmptyString,
+ XmlProperty next=None) -> XmlProperty</autodoc>
+ <paramlist>
+ <param name="name" type="String" default="wxPyEmptyString"/>
+ <param name="value" type="String" default="wxPyEmptyString"/>
+ <param name="next" type="XmlProperty" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ <method name="GetNext" type="XmlProperty" overloaded="no">
+ <autodoc>GetNext(self) -> XmlProperty</autodoc>
+ </method>
+ <method name="SetName" type="" overloaded="no">
+ <autodoc>SetName(self, String name)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, String value)</autodoc>
+ <paramlist>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNext" type="" overloaded="no">
+ <autodoc>SetNext(self, XmlProperty next)</autodoc>
+ <paramlist>
+ <param name="next" type="XmlProperty" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="XmlNode" oldname="wxXmlNode" module="xrc">
+ <constructor name="XmlNode" overloaded="no">
+ <autodoc>__init__(self, XmlNode parent=None, int type=0, String name=EmptyString,
+ String content=EmptyString, XmlProperty props=None,
+ XmlNode next=None) -> XmlNode</autodoc>
+ <paramlist>
+ <param name="parent" type="XmlNode" default="NULL"/>
+ <param name="type" type="wxXmlNodeType" default="0"/>
+ <param name="name" type="String" default="wxPyEmptyString"/>
+ <param name="content" type="String" default="wxPyEmptyString"/>
+ <param name="props" type="XmlProperty" default="NULL"/>
+ <param name="next" type="XmlNode" default="NULL"/>
+ </paramlist>
+ </constructor>
+ <constructor name="XmlNodeEasy" overloaded="no">
+ <autodoc>XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode</autodoc>
+ <paramlist>
+ <param name="type" type="wxXmlNodeType" default=""/>
+ <param name="name" type="String" default=""/>
+ <param name="content" type="String" default="wxPyEmptyString"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxXmlNode" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="AddChild" type="" overloaded="no">
+ <autodoc>AddChild(self, XmlNode child)</autodoc>
+ <paramlist>
+ <param name="child" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertChild" type="" overloaded="no">
+ <autodoc>InsertChild(self, XmlNode child, XmlNode before_node)</autodoc>
+ <paramlist>
+ <param name="child" type="XmlNode" default=""/>
+ <param name="before_node" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveChild" type="bool" overloaded="no">
+ <autodoc>RemoveChild(self, XmlNode child) -> bool</autodoc>
+ <paramlist>
+ <param name="child" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddProperty" type="" overloaded="no">
+ <autodoc>AddProperty(self, XmlProperty prop)</autodoc>
+ <paramlist>
+ <param name="prop" type="XmlProperty" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddPropertyName" type="" overloaded="no">
+ <autodoc>AddPropertyName(self, String name, String value)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="value" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteProperty" type="bool" overloaded="no">
+ <autodoc>DeleteProperty(self, String name) -> bool</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetType" type="wxXmlNodeType" overloaded="no">
+ <autodoc>GetType(self) -> int</autodoc>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="GetContent" type="String" overloaded="no">
+ <autodoc>GetContent(self) -> String</autodoc>
+ </method>
+ <method name="GetParent" type="XmlNode" overloaded="no">
+ <autodoc>GetParent(self) -> XmlNode</autodoc>
+ </method>
+ <method name="GetNext" type="XmlNode" overloaded="no">
+ <autodoc>GetNext(self) -> XmlNode</autodoc>
+ </method>
+ <method name="GetChildren" type="XmlNode" overloaded="no">
+ <autodoc>GetChildren(self) -> XmlNode</autodoc>
+ </method>
+ <method name="GetProperties" type="XmlProperty" overloaded="no">
+ <autodoc>GetProperties(self) -> XmlProperty</autodoc>
+ </method>
+ <method name="GetPropVal" type="String" overloaded="no">
+ <autodoc>GetPropVal(self, String propName, String defaultVal) -> String</autodoc>
+ <paramlist>
+ <param name="propName" type="String" default=""/>
+ <param name="defaultVal" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasProp" type="bool" overloaded="no">
+ <autodoc>HasProp(self, String propName) -> bool</autodoc>
+ <paramlist>
+ <param name="propName" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetType" type="" overloaded="no">
+ <autodoc>SetType(self, int type)</autodoc>
+ <paramlist>
+ <param name="type" type="wxXmlNodeType" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetName" type="" overloaded="no">
+ <autodoc>SetName(self, String name)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetContent" type="" overloaded="no">
+ <autodoc>SetContent(self, String con)</autodoc>
+ <paramlist>
+ <param name="con" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetParent" type="" overloaded="no">
+ <autodoc>SetParent(self, XmlNode parent)</autodoc>
+ <paramlist>
+ <param name="parent" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetNext" type="" overloaded="no">
+ <autodoc>SetNext(self, XmlNode next)</autodoc>
+ <paramlist>
+ <param name="next" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetChildren" type="" overloaded="no">
+ <autodoc>SetChildren(self, XmlNode child)</autodoc>
+ <paramlist>
+ <param name="child" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetProperties" type="" overloaded="no">
+ <autodoc>SetProperties(self, XmlProperty prop)</autodoc>
+ <paramlist>
+ <param name="prop" type="XmlProperty" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="XmlDocument" oldname="wxXmlDocument" module="xrc">
+ <baseclass name="Object"/>
+ <constructor name="XmlDocument" overloaded="no">
+ <autodoc>__init__(self, String filename, String encoding=UTF8String) -> XmlDocument</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="encoding" type="String" default="wxPyUTF8String"/>
+ </paramlist>
+ </constructor>
+ <constructor name="XmlDocumentFromStream" overloaded="no">
+ <autodoc>XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ <param name="encoding" type="String" default="wxPyUTF8String"/>
+ </paramlist>
+ </constructor>
+ <constructor name="EmptyXmlDocument" overloaded="no">
+ <autodoc>EmptyXmlDocument() -> XmlDocument</autodoc>
+ </constructor>
+ <destructor name="~wxXmlDocument" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Load" type="bool" overloaded="no">
+ <autodoc>Load(self, String filename, String encoding=UTF8String) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ <param name="encoding" type="String" default="wxPyUTF8String"/>
+ </paramlist>
+ </method>
+ <method name="LoadFromStream" type="bool" overloaded="no">
+ <autodoc>LoadFromStream(self, InputStream stream, String encoding=UTF8String) -> bool</autodoc>
+ <paramlist>
+ <param name="stream" type="wxInputStream" default=""/>
+ <param name="encoding" type="String" default="wxPyUTF8String"/>
+ </paramlist>
+ </method>
+ <method name="Save" type="bool" overloaded="no">
+ <autodoc>Save(self, String filename) -> bool</autodoc>
+ <paramlist>
+ <param name="filename" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SaveToStream" type="bool" overloaded="no">
+ <autodoc>SaveToStream(self, OutputStream stream) -> bool</autodoc>
+ <paramlist>
+ <param name="stream" type="OutputStream" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ </method>
+ <method name="GetRoot" type="XmlNode" overloaded="no">
+ <autodoc>GetRoot(self) -> XmlNode</autodoc>
+ </method>
+ <method name="GetVersion" type="String" overloaded="no">
+ <autodoc>GetVersion(self) -> String</autodoc>
+ </method>
+ <method name="GetFileEncoding" type="String" overloaded="no">
+ <autodoc>GetFileEncoding(self) -> String</autodoc>
+ </method>
+ <method name="SetRoot" type="" overloaded="no">
+ <autodoc>SetRoot(self, XmlNode node)</autodoc>
+ <paramlist>
+ <param name="node" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetVersion" type="" overloaded="no">
+ <autodoc>SetVersion(self, String version)</autodoc>
+ <paramlist>
+ <param name="version" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetFileEncoding" type="" overloaded="no">
+ <autodoc>SetFileEncoding(self, String encoding)</autodoc>
+ <paramlist>
+ <param name="encoding" type="String" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc">
+ <baseclass name="Object"/>
+ <constructor name="wxPyXmlResourceHandler" overloaded="no">
+ <autodoc>__init__(self) -> XmlResourceHandler</autodoc>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateResource" type="Object" overloaded="no">
+ <autodoc>CreateResource(self, XmlNode node, Object parent, Object instance) -> Object</autodoc>
+ <paramlist>
+ <param name="node" type="XmlNode" default=""/>
+ <param name="parent" type="Object" default=""/>
+ <param name="instance" type="Object" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetParentResource" type="" overloaded="no">
+ <autodoc>SetParentResource(self, XmlResource res)</autodoc>
+ <paramlist>
+ <param name="res" type="XmlResource" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetResource" type="XmlResource" overloaded="no">
+ <autodoc>GetResource(self) -> XmlResource</autodoc>
+ </method>
+ <method name="GetNode" type="XmlNode" overloaded="no">
+ <autodoc>GetNode(self) -> XmlNode</autodoc>
+ </method>
+ <method name="GetClass" type="String" overloaded="no">
+ <autodoc>GetClass(self) -> String</autodoc>
+ </method>
+ <method name="GetParent" type="Object" overloaded="no">
+ <autodoc>GetParent(self) -> Object</autodoc>
+ </method>
+ <method name="GetInstance" type="Object" overloaded="no">
+ <autodoc>GetInstance(self) -> Object</autodoc>
+ </method>
+ <method name="GetParentAsWindow" type="Window" overloaded="no">
+ <autodoc>GetParentAsWindow(self) -> Window</autodoc>
+ </method>
+ <method name="GetInstanceAsWindow" type="Window" overloaded="no">
+ <autodoc>GetInstanceAsWindow(self) -> Window</autodoc>
+ </method>
+ <method name="IsOfClass" type="bool" overloaded="no">
+ <autodoc>IsOfClass(self, XmlNode node, String classname) -> bool</autodoc>
+ <paramlist>
+ <param name="node" type="XmlNode" default=""/>
+ <param name="classname" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNodeContent" type="String" overloaded="no">
+ <autodoc>GetNodeContent(self, XmlNode node) -> String</autodoc>
+ <paramlist>
+ <param name="node" type="XmlNode" default=""/>
+ </paramlist>
+ </method>
+ <method name="HasParam" type="bool" overloaded="no">
+ <autodoc>HasParam(self, String param) -> bool</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetParamNode" type="XmlNode" overloaded="no">
+ <autodoc>GetParamNode(self, String param) -> XmlNode</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetParamValue" type="String" overloaded="no">
+ <autodoc>GetParamValue(self, String param) -> String</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddStyle" type="" overloaded="no">
+ <autodoc>AddStyle(self, String name, int value)</autodoc>
+ <paramlist>
+ <param name="name" type="String" default=""/>
+ <param name="value" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddWindowStyles" type="" overloaded="no">
+ <autodoc>AddWindowStyles(self)</autodoc>
+ </method>
+ <method name="GetStyle" type="int" overloaded="no">
+ <autodoc>GetStyle(self, String param=StyleString, int defaults=0) -> int</autodoc>
+ <paramlist>
+ <param name="param" type="String" default="wxPyStyleString"/>
+ <param name="defaults" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self, String param, bool translate=True) -> String</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ <param name="translate" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetID" type="int" overloaded="no">
+ <autodoc>GetID(self) -> int</autodoc>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ </method>
+ <method name="GetBool" type="bool" overloaded="no">
+ <autodoc>GetBool(self, String param, bool defaultv=False) -> bool</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ <param name="defaultv" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="GetLong" type="long" overloaded="no">
+ <autodoc>GetLong(self, String param, long defaultv=0) -> long</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ <param name="defaultv" type="long" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetColour" type="Colour" overloaded="no">
+ <autodoc>GetColour(self, String param) -> Colour</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetSize" type="Size" overloaded="no">
+ <autodoc>GetSize(self, String param=SizeString) -> Size</autodoc>
+ <paramlist>
+ <param name="param" type="String" default="wxPySizeString"/>
+ </paramlist>
+ </method>
+ <method name="GetPosition" type="Point" overloaded="no">
+ <autodoc>GetPosition(self, String param=PosString) -> Point</autodoc>
+ <paramlist>
+ <param name="param" type="String" default="wxPyPosString"/>
+ </paramlist>
+ </method>
+ <method name="GetDimension" type="int" overloaded="no">
+ <autodoc>GetDimension(self, String param, int defaultv=0) -> int</autodoc>
+ <paramlist>
+ <param name="param" type="String" default=""/>
+ <param name="defaultv" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetBitmap" type="Bitmap" overloaded="no">
+ <autodoc>GetBitmap(self, String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER,
+ Size size=DefaultSize) -> Bitmap</autodoc>
+ <paramlist>
+ <param name="param" type="String" default="wxPyBitmapString"/>
+ <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ </paramlist>
+ </method>
+ <method name="GetIcon" type="Icon" overloaded="no">
+ <autodoc>GetIcon(self, String param=IconString, wxArtClient defaultArtClient=wxART_OTHER,
+ Size size=DefaultSize) -> Icon</autodoc>
+ <paramlist>
+ <param name="param" type="String" default="wxPyIconString"/>
+ <param name="defaultArtClient" type="wxArtClient" default="wxART_OTHER"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ </paramlist>
+ </method>
+ <method name="GetFont" type="Font" overloaded="no">
+ <autodoc>GetFont(self, String param=FontString) -> Font</autodoc>
+ <paramlist>
+ <param name="param" type="String" default="wxPyFontString"/>
+ </paramlist>
+ </method>
+ <method name="SetupWindow" type="" overloaded="no">
+ <autodoc>SetupWindow(self, Window wnd)</autodoc>
+ <paramlist>
+ <param name="wnd" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="CreateChildren" type="" overloaded="no">
+ <autodoc>CreateChildren(self, Object parent, bool this_hnd_only=False)</autodoc>
+ <paramlist>
+ <param name="parent" type="Object" default=""/>
+ <param name="this_hnd_only" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="CreateChildrenPrivately" type="" overloaded="no">
+ <autodoc>CreateChildrenPrivately(self, Object parent, XmlNode rootnode=None)</autodoc>
+ <paramlist>
+ <param name="parent" type="Object" default=""/>
+ <param name="rootnode" type="XmlNode" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="CreateResFromNode" type="Object" overloaded="no">
+ <autodoc>CreateResFromNode(self, XmlNode node, Object parent, Object instance=None) -> Object</autodoc>
+ <paramlist>
+ <param name="node" type="XmlNode" default=""/>
+ <param name="parent" type="Object" default=""/>
+ <param name="instance" type="Object" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="GetCurFileSystem" type="FileSystem" overloaded="no">
+ <autodoc>GetCurFileSystem(self) -> FileSystem</autodoc>
+ </method>
+ </class>
+ <pythoncode>#----------------------------------------------------------------------------
+# The global was removed in favor of static accessor functions. This is for
+# backwards compatibility:
+
+TheXmlResource = XmlResource_Get()
+
+
+#----------------------------------------------------------------------------
+# Create a factory for handling the subclass property of the object tag.
+
+
+def _my_import(name):
+ mod = __import__(name)
+ components = name.split('.')
+ for comp in components[1:]:
+ mod = getattr(mod, comp)
+ return mod
+
+
+class XmlSubclassFactory_Python(XmlSubclassFactory):
+ def __init__(self):
+ XmlSubclassFactory.__init__(self)
+
+ def Create(self, className):
+ assert className.find('.') != -1, "Module name must be specified!"
+ mname = className[:className.rfind('.')]
+ cname = className[className.rfind('.')+1:]
+ module = _my_import(mname)
+ klass = getattr(module, cname)
+ inst = klass()
+ return inst
+
+
+XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
+
+#----------------------------------------------------------------------------
+</pythoncode>
+ </module>
+ <module name="gizmos">
+ <import name="_windows"/>
+ <import name="_controls"/>
+ <pythoncode> import wx </pythoncode>
+ <pythoncode> __docfilter__ = wx._core.__DocFilter(globals()) </pythoncode>
+ <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos">
+ <baseclass name="CommandEvent"/>
+ <constructor name="DynamicSashSplitEvent" overloaded="no">
+ <autodoc>__init__(self, Object target) -> DynamicSashSplitEvent</autodoc>
+ <paramlist>
+ <param name="target" type="Object" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos">
+ <baseclass name="CommandEvent"/>
+ <constructor name="DynamicSashUnifyEvent" overloaded="no">
+ <autodoc>__init__(self, Object target) -> DynamicSashUnifyEvent</autodoc>
+ <paramlist>
+ <param name="target" type="Object" default=""/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos">
+ <baseclass name="Window"/>
+ <constructor name="DynamicSashWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
+ String name=DynamicSashNameStr) -> DynamicSashWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
+ <param name="name" type="String" default="wxPyDynamicSashNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreDynamicSashWindow" overloaded="no">
+ <autodoc>PreDynamicSashWindow() -> DynamicSashWindow</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
+ String name=DynamicSashNameStr) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
+ <param name="name" type="String" default="wxPyDynamicSashNameStr"/>
+ </paramlist>
+ </method>
+ <method name="GetHScrollBar" type="ScrollBar" overloaded="no">
+ <autodoc>GetHScrollBar(self, Window child) -> ScrollBar</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetVScrollBar" type="ScrollBar" overloaded="no">
+ <autodoc>GetVScrollBar(self, Window child) -> ScrollBar</autodoc>
+ <paramlist>
+ <param name="child" type="Window" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode>
+EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
+EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
+</pythoncode>
+ <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos">
+ <baseclass name="Panel"/>
+ <constructor name="EditableListBox" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString,
+ Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
+ String name=EditableListBoxNameStr) -> EditableListBox</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="label" type="String" default="wxPyEmptyString"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/>
+ <param name="name" type="String" default="wxPyEditableListBoxNameStr"/>
+ </paramlist>
+ </constructor>
+ <method name="SetStrings" type="" overloaded="no">
+ <autodoc>SetStrings(self, wxArrayString strings)</autodoc>
+ <paramlist>
+ <param name="strings" type="wxArrayString" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetStrings" type="PyObject" overloaded="no">
+ <autodoc>GetStrings(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetListCtrl" type="ListCtrl" overloaded="no">
+ <autodoc>GetListCtrl(self) -> ListCtrl</autodoc>
+ </method>
+ <method name="GetDelButton" type="BitmapButton" overloaded="no">
+ <autodoc>GetDelButton(self) -> BitmapButton</autodoc>
+ </method>
+ <method name="GetNewButton" type="BitmapButton" overloaded="no">
+ <autodoc>GetNewButton(self) -> BitmapButton</autodoc>
+ </method>
+ <method name="GetUpButton" type="BitmapButton" overloaded="no">
+ <autodoc>GetUpButton(self) -> BitmapButton</autodoc>
+ </method>
+ <method name="GetDownButton" type="BitmapButton" overloaded="no">
+ <autodoc>GetDownButton(self) -> BitmapButton</autodoc>
+ </method>
+ <method name="GetEditButton" type="BitmapButton" overloaded="no">
+ <autodoc>GetEditButton(self) -> BitmapButton</autodoc>
+ </method>
+ </class>
+ <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos">
+ <baseclass name="TreeCtrl"/>
+ <constructor name="RemotelyScrolledTreeCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default=""/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTR_HAS_BUTTONS"/>
+ </paramlist>
+ </constructor>
+ <method name="HideVScrollbar" type="" overloaded="no">
+ <autodoc>HideVScrollbar(self)</autodoc>
+ </method>
+ <method name="AdjustRemoteScrollbars" type="" overloaded="no">
+ <autodoc>AdjustRemoteScrollbars(self)</autodoc>
+ </method>
+ <method name="GetScrolledWindow" type="ScrolledWindow" overloaded="no">
+ <autodoc>GetScrolledWindow(self) -> ScrolledWindow</autodoc>
+ </method>
+ <method name="ScrollToLine" type="" overloaded="no">
+ <autodoc>ScrollToLine(self, int posHoriz, int posVert)</autodoc>
+ <paramlist>
+ <param name="posHoriz" type="int" default=""/>
+ <param name="posVert" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetCompanionWindow" type="" overloaded="no">
+ <autodoc>SetCompanionWindow(self, Window companion)</autodoc>
+ <paramlist>
+ <param name="companion" type="Window" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCompanionWindow" type="Window" overloaded="no">
+ <autodoc>GetCompanionWindow(self) -> Window</autodoc>
+ </method>
+ </class>
+ <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos">
+ <baseclass name="Window"/>
+ <constructor name="wxPyTreeCompanionWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0) -> TreeCompanionWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </constructor>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetTreeCtrl" type="RemotelyScrolledTreeCtrl" overloaded="no">
+ <autodoc>GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl</autodoc>
+ </method>
+ <method name="SetTreeCtrl" type="" overloaded="no">
+ <autodoc>SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)</autodoc>
+ <paramlist>
+ <param name="treeCtrl" type="RemotelyScrolledTreeCtrl" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos">
+ <baseclass name="SplitterWindow"/>
+ <constructor name="ThinSplitterWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxSP_3D|wxCLIP_CHILDREN"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos">
+ <baseclass name="ScrolledWindow"/>
+ <constructor name="SplitterScrolledWindow" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0) -> SplitterScrolledWindow</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="0"/>
+ </paramlist>
+ </constructor>
+ </class>
+ <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos">
+ <baseclass name="Control"/>
+ <constructor name="LEDNumberCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreLEDNumberCtrl" overloaded="no">
+ <autodoc>PreLEDNumberCtrl() -> LEDNumberCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxLED_ALIGN_LEFT|wxLED_DRAW_FADED"/>
+ </paramlist>
+ </method>
+ <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no">
+ <autodoc>GetAlignment(self) -> int</autodoc>
+ </method>
+ <method name="GetDrawFaded" type="bool" overloaded="no">
+ <autodoc>GetDrawFaded(self) -> bool</autodoc>
+ </method>
+ <method name="GetValue" type="String" overloaded="no">
+ <autodoc>GetValue(self) -> String</autodoc>
+ </method>
+ <method name="SetAlignment" type="" overloaded="no">
+ <autodoc>SetAlignment(self, int Alignment, bool Redraw=true)</autodoc>
+ <paramlist>
+ <param name="Alignment" type="wxLEDValueAlign" default=""/>
+ <param name="Redraw" type="bool" default="true"/>
+ </paramlist>
+ </method>
+ <method name="SetDrawFaded" type="" overloaded="no">
+ <autodoc>SetDrawFaded(self, bool DrawFaded, bool Redraw=true)</autodoc>
+ <paramlist>
+ <param name="DrawFaded" type="bool" default=""/>
+ <param name="Redraw" type="bool" default="true"/>
+ </paramlist>
+ </method>
+ <method name="SetValue" type="" overloaded="no">
+ <autodoc>SetValue(self, String Value, bool Redraw=true)</autodoc>
+ <paramlist>
+ <param name="Value" type="String" default=""/>
+ <param name="Redraw" type="bool" default="true"/>
+ </paramlist>
+ </method>
+ </class>
+ <pythoncode> wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC </pythoncode>
+ <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos">
+ <baseclass name="Object"/>
+ <constructor name="TreeListColumnInfo" overloaded="no">
+ <autodoc>__init__(self, String text=EmptyString, int image=-1, size_t width=100,
+ bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo</autodoc>
+ <paramlist>
+ <param name="text" type="String" default="wxPyEmptyString"/>
+ <param name="image" type="int" default="-1"/>
+ <param name="width" type="size_t" default="100"/>
+ <param name="shown" type="bool" default="True"/>
+ <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/>
+ </paramlist>
+ </constructor>
+ <method name="GetShown" type="bool" overloaded="no">
+ <autodoc>GetShown(self) -> bool</autodoc>
+ </method>
+ <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no">
+ <autodoc>GetAlignment(self) -> int</autodoc>
+ </method>
+ <method name="GetText" type="String" overloaded="no">
+ <autodoc>GetText(self) -> String</autodoc>
+ </method>
+ <method name="GetImage" type="int" overloaded="no">
+ <autodoc>GetImage(self) -> int</autodoc>
+ </method>
+ <method name="GetSelectedImage" type="int" overloaded="no">
+ <autodoc>GetSelectedImage(self) -> int</autodoc>
+ </method>
+ <method name="GetWidth" type="size_t" overloaded="no">
+ <autodoc>GetWidth(self) -> size_t</autodoc>
+ </method>
+ <method name="SetShown" type="" overloaded="no">
+ <autodoc>SetShown(self, bool shown)</autodoc>
+ <paramlist>
+ <param name="shown" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetAlignment" type="" overloaded="no">
+ <autodoc>SetAlignment(self, int alignment)</autodoc>
+ <paramlist>
+ <param name="alignment" type="wxTreeListColumnAlign" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetText" type="" overloaded="no">
+ <autodoc>SetText(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetImage" type="" overloaded="no">
+ <autodoc>SetImage(self, int image)</autodoc>
+ <paramlist>
+ <param name="image" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetSelectedImage" type="" overloaded="no">
+ <autodoc>SetSelectedImage(self, int image)</autodoc>
+ <paramlist>
+ <param name="image" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetWidth" type="" overloaded="no">
+ <autodoc>SetWidth(self, size_t with)</autodoc>
+ <paramlist>
+ <param name="with" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ </class>
+ <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos">
+ <baseclass name="Control"/>
+ <constructor name="wxPyTreeListCtrl" overloaded="no">
+ <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ String name=TreeListCtrlNameStr) -> TreeListCtrl</autodoc>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/>
+ </paramlist>
+ </constructor>
+ <constructor name="PreTreeListCtrl" overloaded="no">
+ <autodoc>PreTreeListCtrl() -> TreeListCtrl</autodoc>
+ </constructor>
+ <method name="Create" type="bool" overloaded="no">
+ <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ String name=TreeListCtrlNameStr) -> bool</autodoc>
+ <docstring>Do the 2nd phase and create the GUI control.</docstring>
+ <paramlist>
+ <param name="parent" type="Window" default=""/>
+ <param name="id" type="int" default="-1"/>
+ <param name="pos" type="Point" default="wxDefaultPosition"/>
+ <param name="size" type="Size" default="wxDefaultSize"/>
+ <param name="style" type="long" default="wxTR_DEFAULT_STYLE"/>
+ <param name="validator" type="Validator" default="wxDefaultValidator"/>
+ <param name="name" type="String" default="wxPyTreeListCtrlNameStr"/>
+ </paramlist>
+ </method>
+ <method name="_setCallbackInfo" type="" overloaded="no">
+ <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+ <paramlist>
+ <param name="self" type="PyObject" default=""/>
+ <param name="_class" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetCount" type="size_t" overloaded="no">
+ <autodoc>GetCount(self) -> size_t</autodoc>
+ </method>
+ <method name="GetIndent" type="unsigned int" overloaded="no">
+ <autodoc>GetIndent(self) -> unsigned int</autodoc>
+ </method>
+ <method name="SetIndent" type="" overloaded="no">
+ <autodoc>SetIndent(self, unsigned int indent)</autodoc>
+ <paramlist>
+ <param name="indent" type="unsigned int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLineSpacing" type="unsigned int" overloaded="no">
+ <autodoc>GetLineSpacing(self) -> unsigned int</autodoc>
+ </method>
+ <method name="SetLineSpacing" type="" overloaded="no">
+ <autodoc>SetLineSpacing(self, unsigned int spacing)</autodoc>
+ <paramlist>
+ <param name="spacing" type="unsigned int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetImageList" type="ImageList" overloaded="no">
+ <autodoc>GetImageList(self) -> ImageList</autodoc>
+ </method>
+ <method name="GetStateImageList" type="ImageList" overloaded="no">
+ <autodoc>GetStateImageList(self) -> ImageList</autodoc>
+ </method>
+ <method name="GetButtonsImageList" type="ImageList" overloaded="no">
+ <autodoc>GetButtonsImageList(self) -> ImageList</autodoc>
+ </method>
+ <method name="SetImageList" type="" overloaded="no">
+ <autodoc>SetImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetStateImageList" type="" overloaded="no">
+ <autodoc>SetStateImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetButtonsImageList" type="" overloaded="no">
+ <autodoc>SetButtonsImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="AssignImageList" type="" overloaded="no">
+ <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="AssignStateImageList" type="" overloaded="no">
+ <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="AssignButtonsImageList" type="" overloaded="no">
+ <autodoc>AssignButtonsImageList(self, ImageList imageList)</autodoc>
+ <paramlist>
+ <param name="imageList" type="ImageList" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddColumn" type="" overloaded="no">
+ <autodoc>AddColumn(self, String text)</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddColumnInfo" type="" overloaded="no">
+ <autodoc>AddColumnInfo(self, TreeListColumnInfo col)</autodoc>
+ <paramlist>
+ <param name="col" type="TreeListColumnInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertColumn" type="" overloaded="no">
+ <autodoc>InsertColumn(self, size_t before, String text)</autodoc>
+ <paramlist>
+ <param name="before" type="size_t" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="InsertColumnInfo" type="" overloaded="no">
+ <autodoc>InsertColumnInfo(self, size_t before, TreeListColumnInfo col)</autodoc>
+ <paramlist>
+ <param name="before" type="size_t" default=""/>
+ <param name="col" type="TreeListColumnInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="RemoveColumn" type="" overloaded="no">
+ <autodoc>RemoveColumn(self, size_t column)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumnCount" type="size_t" overloaded="no">
+ <autodoc>GetColumnCount(self) -> size_t</autodoc>
+ </method>
+ <method name="SetColumnWidth" type="" overloaded="no">
+ <autodoc>SetColumnWidth(self, size_t column, size_t width)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ <param name="width" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumnWidth" type="int" overloaded="no">
+ <autodoc>GetColumnWidth(self, size_t column) -> int</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetMainColumn" type="" overloaded="no">
+ <autodoc>SetMainColumn(self, size_t column)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetMainColumn" type="size_t" overloaded="no">
+ <autodoc>GetMainColumn(self) -> size_t</autodoc>
+ </method>
+ <method name="SetColumnText" type="" overloaded="no">
+ <autodoc>SetColumnText(self, size_t column, String text)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ <param name="text" type="String" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumnText" type="String" overloaded="no">
+ <autodoc>GetColumnText(self, size_t column) -> String</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColumn" type="" overloaded="no">
+ <autodoc>SetColumn(self, size_t column, TreeListColumnInfo info)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ <param name="info" type="TreeListColumnInfo" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumn" type="TreeListColumnInfo" overloaded="no">
+ <autodoc>GetColumn(self, size_t column) -> TreeListColumnInfo</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColumnAlignment" type="" overloaded="no">
+ <autodoc>SetColumnAlignment(self, size_t column, int align)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ <param name="align" type="wxTreeListColumnAlign" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no">
+ <autodoc>GetColumnAlignment(self, size_t column) -> int</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetColumnImage" type="" overloaded="no">
+ <autodoc>SetColumnImage(self, size_t column, int image)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ <param name="image" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetColumnImage" type="int" overloaded="no">
+ <autodoc>GetColumnImage(self, size_t column) -> int</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="ShowColumn" type="" overloaded="no">
+ <autodoc>ShowColumn(self, size_t column, bool shown)</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ <param name="shown" type="bool" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsColumnShown" type="bool" overloaded="no">
+ <autodoc>IsColumnShown(self, size_t column) -> bool</autodoc>
+ <paramlist>
+ <param name="column" type="size_t" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemText" type="String" overloaded="no">
+ <autodoc>GetItemText(self, TreeItemId item, int column=-1) -> String</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="column" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="GetItemImage" type="int" overloaded="no">
+ <autodoc>GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="column" type="int" default="-1"/>
+ <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
+ </paramlist>
+ </method>
+ <method name="SetItemText" type="" overloaded="no">
+ <autodoc>SetItemText(self, TreeItemId item, String text, int column=-1)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="column" type="int" default="-1"/>
+ </paramlist>
+ </method>
+ <method name="SetItemImage" type="" overloaded="no">
+ <autodoc>SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="image" type="int" default=""/>
+ <param name="column" type="int" default="-1"/>
+ <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
+ </paramlist>
+ </method>
+ <method name="GetItemData" type="TreeItemData" overloaded="no">
+ <autodoc>GetItemData(self, TreeItemId item) -> TreeItemData</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemData" type="" overloaded="no">
+ <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="data" type="TreeItemData" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemPyData" type="PyObject" overloaded="no">
+ <autodoc>GetItemPyData(self, TreeItemId item) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemPyData" type="" overloaded="no">
+ <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="obj" type="PyObject" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemHasChildren" type="" overloaded="no">
+ <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="has" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetItemBold" type="" overloaded="no">
+ <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="bold" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="SetItemTextColour" type="" overloaded="no">
+ <autodoc>SetItemTextColour(self, TreeItemId item, Colour colour)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemBackgroundColour" type="" overloaded="no">
+ <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour colour)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="colour" type="Colour" default=""/>
+ </paramlist>
+ </method>
+ <method name="SetItemFont" type="" overloaded="no">
+ <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="font" type="Font" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemBold" type="bool" overloaded="no">
+ <autodoc>GetItemBold(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemTextColour" type="Colour" overloaded="no">
+ <autodoc>GetItemTextColour(self, TreeItemId item) -> Colour</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
+ <autodoc>GetItemBackgroundColour(self, TreeItemId item) -> Colour</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetItemFont" type="Font" overloaded="no">
+ <autodoc>GetItemFont(self, TreeItemId item) -> Font</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsVisible" type="bool" overloaded="no">
+ <autodoc>IsVisible(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="ItemHasChildren" type="bool" overloaded="no">
+ <autodoc>ItemHasChildren(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsExpanded" type="bool" overloaded="no">
+ <autodoc>IsExpanded(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsSelected" type="bool" overloaded="no">
+ <autodoc>IsSelected(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="IsBold" type="bool" overloaded="no">
+ <autodoc>IsBold(self, TreeItemId item) -> bool</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetChildrenCount" type="size_t" overloaded="no">
+ <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="recursively" type="bool" default="True"/>
+ </paramlist>
+ </method>
+ <method name="GetRootItem" type="TreeItemId" overloaded="no">
+ <autodoc>GetRootItem(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="GetSelection" type="TreeItemId" overloaded="no">
+ <autodoc>GetSelection(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="GetSelections" type="PyObject" overloaded="no">
+ <autodoc>GetSelections(self) -> PyObject</autodoc>
+ </method>
+ <method name="GetItemParent" type="TreeItemId" overloaded="no">
+ <autodoc>GetItemParent(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstChild" type="PyObject" overloaded="no">
+ <autodoc>GetFirstChild(self, TreeItemId item) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNextChild" type="PyObject" overloaded="no">
+ <autodoc>GetNextChild(self, TreeItemId item, void cookie) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="cookie" type="" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetLastChild" type="TreeItemId" overloaded="no">
+ <autodoc>GetLastChild(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNextSibling" type="TreeItemId" overloaded="no">
+ <autodoc>GetNextSibling(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
+ <autodoc>GetPrevSibling(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
+ <autodoc>GetFirstVisibleItem(self) -> TreeItemId</autodoc>
+ </method>
+ <method name="GetNextVisible" type="TreeItemId" overloaded="no">
+ <autodoc>GetNextVisible(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
+ <autodoc>GetPrevVisible(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetNext" type="TreeItemId" overloaded="no">
+ <autodoc>GetNext(self, TreeItemId item) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="AddRoot" type="TreeItemId" overloaded="no">
+ <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="PrependItem" type="TreeItemId" overloaded="no">
+ <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="InsertItem" type="wxTreeItemId" overloaded="no">
- <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text,
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="InsertItem" type="TreeItemId" overloaded="no">
+ <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="idPrevious" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="InsertItemBefore" type="wxTreeItemId" overloaded="no">
- <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1,
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="idPrevious" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
+ <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
int selectedImage=-1, TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="index" type="size_t" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="AppendItem" type="wxTreeItemId" overloaded="no">
- <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="index" type="size_t" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="AppendItem" type="TreeItemId" overloaded="no">
+ <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId</autodoc>
- <paramlist>
- <param name="parent" type="r.q(const).wxTreeItemId" default=""/>
- <param name="text" type="r.q(const).wxString" default=""/>
- <param name="image" type="int" default="-1"/>
- <param name="selectedImage" type="int" default="-1"/>
- <param name="data" type="p.wxPyTreeItemData" default="NULL"/>
- </paramlist>
- </method>
- <method name="Delete" type="void" overloaded="no">
- <autodoc>Delete(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="DeleteChildren" type="void" overloaded="no">
- <autodoc>DeleteChildren(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="DeleteAllItems" type="void" overloaded="no">
- <autodoc>DeleteAllItems()</autodoc>
- </method>
- <method name="Expand" type="void" overloaded="no">
- <autodoc>Expand(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="ExpandAll" type="void" overloaded="no">
- <autodoc>ExpandAll(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Collapse" type="void" overloaded="no">
- <autodoc>Collapse(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="CollapseAndReset" type="void" overloaded="no">
- <autodoc>CollapseAndReset(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Toggle" type="void" overloaded="no">
- <autodoc>Toggle(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Unselect" type="void" overloaded="no">
- <autodoc>Unselect()</autodoc>
- </method>
- <method name="UnselectAll" type="void" overloaded="no">
- <autodoc>UnselectAll()</autodoc>
- </method>
- <method name="SelectItem" type="void" overloaded="no">
- <autodoc>SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="unselect_others" type="bool" default="True"/>
- <param name="extended_select" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="EnsureVisible" type="void" overloaded="no">
- <autodoc>EnsureVisible(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="ScrollTo" type="void" overloaded="no">
- <autodoc>ScrollTo(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="HitTest" type="wxTreeItemId" overloaded="no">
- <autodoc>HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId</autodoc>
- <paramlist>
- <param name="point" type="r.q(const).wxPoint" default=""/>
- <param name="OUTPUT" type="r.int" default=""/>
- <param name="OUTPUT" type="r.int" default=""/>
- </paramlist>
- </method>
- <method name="GetBoundingRect" type="PyObject" overloaded="no">
- <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="textOnly" type="bool" default="False"/>
- </paramlist>
- </method>
- <method name="EditLabel" type="void" overloaded="no">
- <autodoc>EditLabel(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="Edit" type="void" overloaded="no">
- <autodoc>Edit(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="SortChildren" type="void" overloaded="no">
- <autodoc>SortChildren(TreeItemId item)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="GetItemSelectedImage" type="int" overloaded="no">
- <autodoc>GetItemSelectedImage(TreeItemId item) -> int</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- </paramlist>
- </method>
- <method name="SetItemSelectedImage" type="void" overloaded="no">
- <autodoc>SetItemSelectedImage(TreeItemId item, int image)</autodoc>
- <paramlist>
- <param name="item" type="r.q(const).wxTreeItemId" default=""/>
- <param name="image" type="int" default=""/>
- </paramlist>
- </method>
- <method name="GetHeaderWindow" type="wxWindow" overloaded="no">
- <autodoc>GetHeaderWindow() -> Window</autodoc>
- </method>
- <method name="GetMainWindow" type="wxWindow" overloaded="no">
- <autodoc>GetMainWindow() -> Window</autodoc>
- </method>
- </class>
-</module></wxPython-metadata>
+ <paramlist>
+ <param name="parent" type="TreeItemId" default=""/>
+ <param name="text" type="String" default=""/>
+ <param name="image" type="int" default="-1"/>
+ <param name="selectedImage" type="int" default="-1"/>
+ <param name="data" type="TreeItemData" default="NULL"/>
+ </paramlist>
+ </method>
+ <method name="Delete" type="" overloaded="no">
+ <autodoc>Delete(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteChildren" type="" overloaded="no">
+ <autodoc>DeleteChildren(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="DeleteAllItems" type="" overloaded="no">
+ <autodoc>DeleteAllItems(self)</autodoc>
+ </method>
+ <method name="Expand" type="" overloaded="no">
+ <autodoc>Expand(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="ExpandAll" type="" overloaded="no">
+ <autodoc>ExpandAll(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Collapse" type="" overloaded="no">
+ <autodoc>Collapse(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="CollapseAndReset" type="" overloaded="no">
+ <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Toggle" type="" overloaded="no">
+ <autodoc>Toggle(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Unselect" type="" overloaded="no">
+ <autodoc>Unselect(self)</autodoc>
+ </method>
+ <method name="UnselectAll" type="" overloaded="no">
+ <autodoc>UnselectAll(self)</autodoc>
+ </method>
+ <method name="SelectItem" type="" overloaded="no">
+ <autodoc>SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="unselect_others" type="bool" default="True"/>
+ <param name="extended_select" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="SelectAll" type="" overloaded="no">
+ <autodoc>SelectAll(self, bool extended_select=False)</autodoc>
+ <paramlist>
+ <param name="extended_select" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="EnsureVisible" type="" overloaded="no">
+ <autodoc>EnsureVisible(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="ScrollTo" type="" overloaded="no">
+ <autodoc>ScrollTo(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="HitTest" type="TreeItemId" overloaded="no">
+ <autodoc>HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="point" type="Point" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ <param name="OUTPUT" type="int" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetBoundingRect" type="PyObject" overloaded="no">
+ <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="textOnly" type="bool" default="False"/>
+ </paramlist>
+ </method>
+ <method name="EditLabel" type="" overloaded="no">
+ <autodoc>EditLabel(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="Edit" type="" overloaded="no">
+ <autodoc>Edit(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="SortChildren" type="" overloaded="no">
+ <autodoc>SortChildren(self, TreeItemId item)</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ </paramlist>
+ </method>
+ <method name="FindItem" type="TreeItemId" overloaded="no">
+ <autodoc>FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId</autodoc>
+ <paramlist>
+ <param name="item" type="TreeItemId" default=""/>
+ <param name="str" type="String" default=""/>
+ <param name="flags" type="int" default="0"/>
+ </paramlist>
+ </method>
+ <method name="GetHeaderWindow" type="Window" overloaded="no">
+ <autodoc>GetHeaderWindow(self) -> Window</autodoc>
+ </method>
+ <method name="GetMainWindow" type="ScrolledWindow" overloaded="no">
+ <autodoc>GetMainWindow(self) -> ScrolledWindow</autodoc>
+ </method>
+ </class>
+ </module>
+</wxPython-metadata>