X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dd25e819c43606f2e9075a37fb01f8d25e8b5cc..64ff2615ae052f1d698d52f0e7df5497176eac79:/wxPython/docs/xml/wxPython-metadata.xml diff --git a/wxPython/docs/xml/wxPython-metadata.xml b/wxPython/docs/xml/wxPython-metadata.xml index 6e45e88ab9..8c0171e6e4 100644 --- a/wxPython/docs/xml/wxPython-metadata.xml +++ b/wxPython/docs/xml/wxPython-metadata.xml @@ -17,11 +17,11 @@ wx = _sys.modules[__name__] The base class for most wx objects, although in wxPython not much functionality is needed nor exposed. - + GetClassName() -> String Returns the class name of the C++ object using wxRTTI. - + Destroy() Deletes the C++ object this Python object is a proxy for. @@ -54,47 +54,47 @@ instead. __eq__(Size sz) -> bool Test for equality of wx.Size objects. - + __ne__(Size sz) -> bool Test for inequality. - + - + __add__(Size sz) -> Size Add sz's proprties to this and return the result. - + - + __sub__(Size sz) -> Size Subtract sz's properties from this and return the result. - + - + IncTo(Size sz) Increments this object so that both of its dimensions are not less than the corresponding dimensions of the size. - + - + DecTo(Size sz) Decrements this object so that both of its dimensions are not greater than the corresponding dimensions of the size. - + - + Set(int w, int h) Set both width and height. @@ -102,13 +102,13 @@ than the corresponding dimensions of the size. - + SetWidth(int w) - + SetHeight(int h) @@ -149,31 +149,31 @@ accept a (x,y) tuple. __eq__(RealPoint pt) -> bool Test for equality of wx.RealPoint objects. - + __ne__(RealPoint pt) -> bool Test for inequality of wx.RealPoint objects. - + - + __add__(RealPoint pt) -> RealPoint Add pt's proprties to this and return the result. - + - + __sub__(RealPoint pt) -> RealPoint Subtract pt's proprties from this and return the result - + - + Set(double x, double y) Set both the x and y properties @@ -210,45 +210,45 @@ properties. Most places in wxPython that expect a wx.Point can also accept a __eq__(Point pt) -> bool Test for equality of wx.Point objects. - + __ne__(Point pt) -> bool Test for inequality of wx.Point objects. - + - + __add__(Point pt) -> Point Add pt's proprties to this and return the result. - + - + __sub__(Point pt) -> Point Subtract pt's proprties from this and return the result - + - + __iadd__(Point pt) -> Point Add pt to this object. - + - + __isub__(Point pt) -> Point Subtract pt from this object. - + - + Set(long x, long y) Set both the x and y properties @@ -282,16 +282,16 @@ accept a (x,y,width,height) tuple. RectPP(Point topLeft, Point bottomRight) -> Rect Create a new Rect object from Points representing two corners. - - + + RectPS(Point pos, Size size) -> Rect Create a new Rect from a position and size. - - + + @@ -300,7 +300,7 @@ accept a (x,y,width,height) tuple. GetX() -> int - + SetX(int x) @@ -309,7 +309,7 @@ accept a (x,y,width,height) tuple. GetY() -> int - + SetY(int y) @@ -318,7 +318,7 @@ accept a (x,y,width,height) tuple. GetWidth() -> int - + SetWidth(int w) @@ -327,46 +327,46 @@ accept a (x,y,width,height) tuple. GetHeight() -> int - + SetHeight(int h) - + GetPosition() -> Point - + SetPosition(Point p) - + - + GetSize() -> Size - + SetSize(Size s) - + - + GetTopLeft() -> Point - + SetTopLeft(Point p) - + - + GetBottomRight() -> Point - + SetBottomRight(Point p) - + @@ -381,31 +381,31 @@ accept a (x,y,width,height) tuple. GetRight() -> int - + SetLeft(int left) - + SetRight(int right) - + SetTop(int top) - + SetBottom(int bottom) - + Inflate(int dx, int dy) -> Rect 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. @@ -414,7 +414,7 @@ accept a (x,y,width,height) tuple. - + Deflate(int dx, int dy) -> Rect 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 @@ -424,7 +424,7 @@ method is the opposite of Inflate. - + OffsetXY(int dx, int dy) 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 @@ -434,46 +434,46 @@ it is moved to the left or top respectively. - + Offset(Point pt) Same as OffsetXY but uses dx,dy from Point - + - + Intersect(Rect rect) -> Rect Return the intersectsion of this rectangle and rect. - + - + __add__(Rect rect) -> Rect Add the properties of rect to this rectangle and return the result. - + - + __iadd__(Rect rect) -> Rect Add the properties of rect to this rectangle, updating this rectangle. - + __eq__(Rect rect) -> bool Test for equality. - + __ne__(Rect rect) -> bool Test for inequality. - + @@ -488,21 +488,21 @@ it is moved to the left or top respectively. Inside(Point pt) -> bool Return True if the point is (not strcitly) inside the rect. - + Intersects(Rect rect) -> bool Returns True if the rectangles have a non empty intersection. - + - + Set(int x=0, int y=0, int width=0, int height=0) Set all rectangle properties. @@ -521,8 +521,8 @@ it is moved to the left or top respectively. IntersectRect(Rect r1, Rect r2) -> Rect Calculate and return the intersection of r1 and r2. - - + + @@ -542,30 +542,30 @@ it is moved to the left or top respectively. Point2DCopy(Point2D pt) -> Point2D Create a w.Point2D object. - + Point2DFromPoint(Point pt) -> Point2D Create a w.Point2D object. - + - + GetFloor() -> (x,y) Convert to integer - - + + - + GetRounded() -> (x,y) Convert to integer - - + + @@ -574,13 +574,13 @@ it is moved to the left or top respectively. GetVectorAngle() -> double - + SetVectorLength(double length) - + SetVectorAngle(double degrees) @@ -589,72 +589,72 @@ it is moved to the left or top respectively. GetDistance(Point2D pt) -> double - + GetDistanceSquare(Point2D pt) -> double - + GetDotProduct(Point2D vec) -> double - + GetCrossProduct(Point2D vec) -> double - + - + __neg__() -> Point2D the reflection of this point - + __iadd__(Point2D pt) -> Point2D - + - + __isub__(Point2D pt) -> Point2D - + - + __imul__(Point2D pt) -> Point2D - + - + __idiv__(Point2D pt) -> Point2D - + __eq__(Point2D pt) -> bool Test for equality - + __ne__(Point2D pt) -> bool Test for inequality - + - + Set(double x=0, double y=0) @@ -673,13 +673,13 @@ it is moved to the left or top respectively. __init__(PyObject p) -> InputStream - + - + close() - + flush() @@ -703,7 +703,7 @@ it is moved to the left or top respectively. - + seek(int offset, int whence=0) @@ -746,10 +746,10 @@ it is moved to the left or top respectively. - + write(PyObject obj) - + @@ -757,15 +757,15 @@ it is moved to the left or top respectively. #--------------------------------------------------------------------------- - + __init__(InputStream stream, String loc, String mimetype, String anchor, DateTime modif) -> FSFile - - - - + + + + @@ -775,13 +775,13 @@ it is moved to the left or top respectively. GetStream() -> InputStream - + GetMimeType() -> String - + GetLocation() -> String - + GetAnchor() -> String @@ -790,196 +790,196 @@ it is moved to the left or top respectively. - + __init__() -> FileSystemHandler - + _setCallbackInfo(PyObject self, PyObject _class) - - + + CanOpen(String location) -> bool - + - + OpenFile(FileSystem fs, String location) -> FSFile - - + + - + FindFirst(String spec, int flags=0) -> String - + - + FindNext() -> String - + GetProtocol(String location) -> String - + - + GetLeftLocation(String location) -> String - + - + GetAnchor(String location) -> String - + - + GetRightLocation(String location) -> String - + - + GetMimeTypeFromExt(String location) -> String - + - + __init__() -> FileSystem __del__() - + ChangePathTo(String location, bool is_dir=False) - + - + GetPath() -> String - + OpenFile(String location) -> FSFile - + - + FindFirst(String spec, int flags=0) -> String - + - + FindNext() -> String - - FileSystem.AddHandler(CPPFileSystemHandler handler) + + AddHandler(CPPFileSystemHandler handler) - + - - FileSystem.CleanUpHandlers() + + CleanUpHandlers() - - FileSystem.FileNameToURL(String filename) -> String + + FileNameToURL(String filename) -> String - + - + FileSystem_URLToFileName(String url) -> String - + - + __init__() -> InternetFSHandler CanOpen(String location) -> bool - + - + OpenFile(FileSystem fs, String location) -> FSFile - - + + - + __init__() -> ZipFSHandler CanOpen(String location) -> bool - + - + OpenFile(FileSystem fs, String location) -> FSFile - - + + - + FindFirst(String spec, int flags=0) -> String - + - + FindNext() -> String - + __wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type) - - + + - + __wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type) - - + + - + __wxMemoryFSHandler_AddFile_Data(String filename, PyObject data) - - + + @@ -993,37 +993,37 @@ def MemoryFSHandler_AddFile(filename, a, b=''): else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' - + __init__() -> MemoryFSHandler - - MemoryFSHandler.RemoveFile(String filename) + + RemoveFile(String filename) - + CanOpen(String location) -> bool - + - + OpenFile(FileSystem fs, String location) -> FSFile - - + + - + FindFirst(String spec, int flags=0) -> String - + - + FindNext() -> String @@ -1031,47 +1031,47 @@ def MemoryFSHandler_AddFile(filename, a, b=''): #--------------------------------------------------------------------------- - - + + GetName() -> String - + GetExtension() -> String GetType() -> long - + GetMimeType() -> String CanRead(String name) -> bool - + - + SetName(String name) - + - + SetExtension(String extension) - + - + SetType(long type) - + SetMimeType(String mimetype) - + @@ -1080,7 +1080,7 @@ def MemoryFSHandler_AddFile(filename, a, b=''): __init__() -> ImageHistogram - ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long Get the key in the histogram for the given RGB values @@ -1094,9 +1094,9 @@ def MemoryFSHandler_AddFile(filename, a, b=''): startR, startG, startB. Returns a tuple consisting of a success flag and rgb values. - - - + + + @@ -1104,11 +1104,11 @@ values. - + __init__(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image - + @@ -1116,15 +1116,15 @@ values. ImageFromMime(String name, String mimetype, int index=-1) -> Image - - + + ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image - + @@ -1132,8 +1132,8 @@ values. ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -> Image - - + + @@ -1148,7 +1148,7 @@ values. ImageFromBitmap(Bitmap bitmap) -> Image - + @@ -1156,45 +1156,45 @@ values. - + __del__() - + Create(int width, int height) - + Destroy() Deletes the C++ object this Python object is a proxy for. - + Scale(int width, int height) -> Image - + ShrinkBy(int xFactor, int yFactor) -> Image - + Rescale(int width, int height) -> Image - + SetRGB(int x, int y, unsigned char r, unsigned char g, unsigned char b) @@ -1225,7 +1225,7 @@ values. - + SetAlpha(int x, int y, unsigned char alpha) @@ -1249,9 +1249,9 @@ values. startR, startG, startB. Returns a tuple consisting of a success flag and rgb values. - - - + + + @@ -1260,29 +1260,29 @@ values. SetMaskFromImage(Image mask, byte mr, byte mg, byte mb) -> bool - + - Image.CanRead(String name) -> bool + CanRead(String name) -> bool - + - Image.GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int + GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int - + LoadFile(String name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool - + @@ -1290,35 +1290,35 @@ values. LoadMimeFile(String name, String mimetype, int index=-1) -> bool - - + + SaveFile(String name, int type) -> bool - + SaveMimeFile(String name, String mimetype) -> bool - - + + - Image.CanReadStream(InputStream stream) -> bool + CanReadStream(InputStream stream) -> bool - + LoadStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool - + @@ -1326,8 +1326,8 @@ values. LoadMimeStream(InputStream stream, String mimetype, int index=-1) -> bool - - + + @@ -1340,19 +1340,19 @@ values. GetHeight() -> int - + GetSubImage(Rect rect) -> Image - + - + Copy() -> Image - + Paste(Image image, int x, int y) - + @@ -1360,40 +1360,40 @@ values. GetData() -> PyObject - + SetData(PyObject data) - + GetDataBuffer() -> PyObject - + SetDataBuffer(PyObject data) - + GetAlphaData() -> PyObject - + SetAlphaData(PyObject data) - + GetAlphaBuffer() -> PyObject - + SetAlphaBuffer(PyObject data) - + - + SetMaskColour(unsigned char r, unsigned char g, unsigned char b) @@ -1410,7 +1410,7 @@ values. GetMaskBlue() -> unsigned char - + SetMask(bool mask=True) @@ -1419,29 +1419,29 @@ values. HasMask() -> bool - + Rotate(double angle, Point centre_of_rotation, bool interpolating=True, Point offset_after_rotation=None) -> Image - + - + - + Rotate90(bool clockwise=True) -> Image - + Mirror(bool horizontally=True) -> Image - + Replace(unsigned char r1, unsigned char g1, unsigned char b1, unsigned char r2, unsigned char g2, unsigned char b2) @@ -1453,7 +1453,7 @@ values. - + ConvertToMono(unsigned char r, unsigned char g, unsigned char b) -> Image @@ -1461,36 +1461,36 @@ values. - + SetOption(String name, String value) - - + + - + SetOptionInt(String name, int value) - + - + GetOption(String name) -> String - + GetOptionInt(String name) -> int - + HasOption(String name) -> bool - + @@ -1502,29 +1502,29 @@ values. ComputeHistogram(ImageHistogram h) -> unsigned long - + - - Image.AddHandler(ImageHandler handler) + + AddHandler(ImageHandler handler) - + - - Image.InsertHandler(ImageHandler handler) + + InsertHandler(ImageHandler handler) - + - Image.RemoveHandler(String name) -> bool + RemoveHandler(String name) -> bool - + - - Image.GetImageExtWildcard() -> String + + GetImageExtWildcard() -> String ConvertToBitmap() -> Bitmap @@ -1538,71 +1538,71 @@ values. - + InitAllImageHandlers() - + __init__() -> BMPHandler - + __init__() -> ICOHandler - + __init__() -> CURHandler - + __init__() -> ANIHandler - + __init__() -> PNGHandler - + __init__() -> GIFHandler - + __init__() -> PCXHandler - + __init__() -> JPEGHandler - + __init__() -> PNMHandler - + __init__() -> XPMHandler - + __init__() -> TIFFHandler @@ -1611,32 +1611,32 @@ values. #--------------------------------------------------------------------------- - + __init__() -> EvtHandler - + GetNextHandler() -> EvtHandler - + GetPreviousHandler() -> EvtHandler - + SetNextHandler(EvtHandler handler) - + - + SetPreviousHandler(EvtHandler handler) - + GetEvtHandlerEnabled() -> bool - + SetEvtHandlerEnabled(bool enabled) @@ -1645,25 +1645,25 @@ values. ProcessEvent(Event event) -> bool - + - + AddPendingEvent(Event event) - + - + ProcessPendingEvents() - + Connect(int id, int lastId, int eventType, PyObject func) - + @@ -1674,10 +1674,10 @@ values. - + _setOORInfo(PyObject _self) - + @@ -1886,10 +1886,6 @@ EVT_COMMAND_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1) 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) @@ -1933,11 +1929,11 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __del__() - + SetEventType(wxEventType typ) @@ -1946,19 +1942,19 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetEventType() -> wxEventType - + GetEventObject() -> Object - + SetEventObject(Object obj) - + GetTimestamp() -> long - + SetTimestamp(long ts=0) @@ -1967,7 +1963,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetId() -> int - + SetId(int Id) @@ -1976,7 +1972,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) IsCommandEvent() -> bool - + Skip(bool skip=True) @@ -1991,13 +1987,13 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) StopPropagation() -> int - + ResumePropagation(int propagationLevel) - + Clone() -> Event @@ -2008,7 +2004,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) __init__(Event event) -> PropagationDisabler - + @@ -2019,7 +2015,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) __init__(Event event) -> PropagateOnce - + @@ -2030,7 +2026,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent @@ -2041,13 +2037,13 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetSelection() -> int - + SetString(String s) - + - + GetString() -> String @@ -2056,7 +2052,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) IsSelection() -> bool - + SetExtraLong(long extraLong) @@ -2065,7 +2061,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetExtraLong() -> long - + SetInt(int i) @@ -2074,7 +2070,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetInt() -> long - + Clone() -> Event @@ -2082,7 +2078,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent @@ -2090,10 +2086,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) - + Veto() - + Allow() @@ -2104,7 +2100,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, int orient=0) -> ScrollEvent @@ -2121,13 +2117,13 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetPosition() -> int - + SetOrientation(int orient) - + SetPosition(int pos) @@ -2138,7 +2134,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent @@ -2153,13 +2149,13 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetPosition() -> int - + SetOrientation(int orient) - + SetPosition(int pos) @@ -2170,7 +2166,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType mouseType=wxEVT_NULL) -> MouseEvent @@ -2273,22 +2269,22 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) Leaving() -> bool - + GetPosition() -> Point Returns the position of the mouse in window coordinates when the event happened. - + GetPositionTuple() -> (x,y) Returns the position of the mouse in window coordinates when the event happened. - - + + - + GetLogicalPosition(DC dc) -> Point - + @@ -2326,7 +2322,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int x=0, int y=0) -> SetCursorEvent @@ -2340,13 +2336,13 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetY() -> int - + SetCursor(Cursor cursor) - + - + GetCursor() -> Cursor @@ -2357,7 +2353,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType keyType=wxEVT_NULL) -> KeyEvent @@ -2391,16 +2387,16 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetRawKeyFlags() -> unsigned int - + GetPosition() -> Point Find the position of the event. - + GetPositionTuple() -> (x,y) Find the position of the event. - - + + @@ -2424,73 +2420,73 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(Size sz=DefaultSize, int winid=0) -> SizeEvent - + - + GetSize() -> Size - + GetRect() -> Rect - + SetRect(Rect rect) - + - + SetSize(Size size) - + - - + + #--------------------------------------------------------------------------- - + __init__(Point pos=DefaultPosition, int winid=0) -> MoveEvent - + - + GetPosition() -> Point - + GetRect() -> Rect - + SetRect(Rect rect) - + - + SetPosition(Point pos) - + - - + + #--------------------------------------------------------------------------- - + __init__(int Id=0) -> PaintEvent @@ -2499,7 +2495,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) - + __init__(int winid=0) -> NcPaintEvent @@ -2511,12 +2507,12 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int Id=0, DC dc=(wxDC *) NULL) -> EraseEvent - + @@ -2527,7 +2523,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent @@ -2538,10 +2534,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetWindow() -> Window - + SetWindow(Window win) - + @@ -2549,11 +2545,11 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(Window win=None) -> ChildFocusEvent - + @@ -2564,7 +2560,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent @@ -2581,7 +2577,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int Id=0) -> InitDialogEvent @@ -2593,13 +2589,13 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent - + @@ -2616,7 +2612,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent @@ -2624,7 +2620,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) - + SetLoggingOff(bool logOff) @@ -2633,13 +2629,13 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetLoggingOff() -> bool - + Veto(bool veto=True) - + SetCanVeto(bool canVeto) @@ -2656,7 +2652,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int winid=0, bool show=False) -> ShowEvent @@ -2664,7 +2660,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) - + SetShow(bool show) @@ -2678,7 +2674,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int id=0, bool iconized=True) -> IconizeEvent @@ -2694,7 +2690,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int id=0) -> MaximizeEvent @@ -2706,8 +2702,8 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - - + + GetPosition() -> Point @@ -2721,7 +2717,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int commandId=0) -> UpdateUIEvent @@ -2734,7 +2730,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetEnabled() -> bool - + GetText() -> String @@ -2746,57 +2742,57 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetSetEnabled() -> bool - + Check(bool check) - + Enable(bool enable) - + SetText(String text) - + - - UpdateUIEvent.SetUpdateInterval(long updateInterval) + + SetUpdateInterval(long updateInterval) - UpdateUIEvent.GetUpdateInterval() -> long + GetUpdateInterval() -> long - UpdateUIEvent.CanUpdate(Window win) -> bool + CanUpdate(Window win) -> bool - + - - UpdateUIEvent.ResetUpdateTime() + + ResetUpdateTime() - - UpdateUIEvent.SetMode(int mode) + + SetMode(int mode) - UpdateUIEvent.GetMode() -> int + GetMode() -> int #--------------------------------------------------------------------------- - + __init__() -> SysColourChangedEvent @@ -2805,12 +2801,12 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent - + @@ -2821,7 +2817,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__() -> DisplayChangedEvent @@ -2830,17 +2826,17 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int id=0) -> PaletteChangedEvent - + SetChangedWindow(Window win) - + @@ -2851,14 +2847,14 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int winid=0) -> QueryNewPaletteEvent - + SetPaletteRealized(bool realized) @@ -2872,14 +2868,14 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__() -> NavigationKeyEvent GetDirection() -> bool - + SetDirection(bool bForward) @@ -2888,7 +2884,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) IsWindowChange() -> bool - + SetWindowChange(bool bIs) @@ -2897,10 +2893,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) GetCurrentFocus() -> Window - + SetCurrentFocus(Window win) - + @@ -2908,11 +2904,11 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(Window win=None) -> WindowCreateEvent - + @@ -2920,11 +2916,11 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) - + __init__(Window win=None) -> WindowDestroyEvent - + @@ -2935,22 +2931,22 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent - + - + GetPosition() -> Point - + SetPosition(Point pos) - + @@ -2958,11 +2954,11 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__() -> IdleEvent - + RequestMore(bool needMore=True) @@ -2971,19 +2967,19 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) MoreRequested() -> bool - - IdleEvent.SetMode(int mode) + + SetMode(int mode) - IdleEvent.GetMode() -> int + GetMode() -> int - IdleEvent.CanSend(Window win) -> bool + CanSend(Window win) -> bool - + @@ -2991,7 +2987,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__(int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent @@ -3002,10 +2998,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) __del__() - + SetSelf(PyObject self) - + @@ -3013,7 +3009,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) - + __init__(wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent @@ -3024,10 +3020,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) __del__() - + SetSelf(PyObject self) - + @@ -3038,54 +3034,55 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- - + __init__() -> PyApp + Create a new application object, starting the bootstrap process. __del__() - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + GetAppName() -> String Get the application name. - + SetAppName(String name) Set the application name. This value may be used automatically by wx.Config and such. - + - + GetClassName() -> String Get the application's class name. - + SetClassName(String name) Set the application's class name. This value may be used for X-resources if applicable for the platform - + - + GetVendorName() -> String Get the application's vendor name. - + SetVendorName(String name) Set the application's vendor name. This value may be used automatically by wx.Config and such. - + @@ -3096,7 +3093,7 @@ 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 - + ProcessPendingEvents() 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 @@ -3117,7 +3114,7 @@ WARNING: This function is dangerous as it can lead to unexpected - + WakeUpIdle() Make sure that idle events are sent again @@ -3125,11 +3122,11 @@ WARNING: This function is dangerous as it can lead to unexpected MainLoop() -> int Execute the main GUI loop, the function returns when the loop ends. - + Exit() Exit the main loop thus terminating the application. - + ExitMainLoop() Exit the main GUI loop during the next iteration (i.e. it does not stop the program immediately!) @@ -3154,19 +3151,19 @@ needed, False if not. Send idle event to window and all subwindows. Returns True if more idle time is requested. - - + + IsActive() -> bool Return True if our app has focus. - + SetTopWindow(Window win) Set the "main" top level window - + @@ -3175,7 +3172,7 @@ is requested. SetTopWindow(), will return just some top level window and, if there not any, will return None) - + SetExitOnFrameDelete(bool flag) 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 @@ -3191,7 +3188,7 @@ from somewhere. GetExitOnFrameDelete() -> bool Get the current exit behaviour setting. - + SetUseBestVisual(bool flag) 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.) @@ -3203,7 +3200,7 @@ where more than one is available, (Sun, SGI, XFree86 4, etc.) GetUseBestVisual() -> bool Get current UseBestVisual setting. - + SetPrintMode(int mode) @@ -3212,7 +3209,7 @@ where more than one is available, (Sun, SGI, XFree86 4, etc.) GetPrintMode() -> int - + SetAssertMode(int mode) Set the OnAssert behaviour for debug and hybrid builds. The following flags may be or'd together: @@ -3231,56 +3228,56 @@ may be or'd together: Get the current OnAssert behaviour setting. - PyApp.GetMacSupportPCMenuShortcuts() -> bool + GetMacSupportPCMenuShortcuts() -> bool - PyApp.GetMacAboutMenuItemId() -> long + GetMacAboutMenuItemId() -> long - PyApp.GetMacPreferencesMenuItemId() -> long + GetMacPreferencesMenuItemId() -> long - PyApp.GetMacExitMenuItemId() -> long + GetMacExitMenuItemId() -> long - - PyApp.GetMacHelpMenuTitleName() -> String + + GetMacHelpMenuTitleName() -> String - - PyApp.SetMacSupportPCMenuShortcuts(bool val) + + SetMacSupportPCMenuShortcuts(bool val) - - PyApp.SetMacAboutMenuItemId(long val) + + SetMacAboutMenuItemId(long val) - - PyApp.SetMacPreferencesMenuItemId(long val) + + SetMacPreferencesMenuItemId(long val) - - PyApp.SetMacExitMenuItemId(long val) + + SetMacExitMenuItemId(long val) - - PyApp.SetMacHelpMenuTitleName(String val) + + SetMacHelpMenuTitleName(String val) - + - + _BootstrapApp() For internal use only - PyApp.GetComCtl32Version() -> int + GetComCtl32Version() -> int 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. @@ -3288,7 +3285,7 @@ wasn't found at all. Raises an exception on non-Windows platforms. #--------------------------------------------------------------------------- - + Exit() Force an exit of the application. Convenience for wx.GetApp().Exit() @@ -3309,27 +3306,27 @@ implementation of some limited user interaction. Returns the result of the call to wx.Yield. - + - + WakeUpIdle() Cause the message queue to become empty again, so idle events will be sent. - + PostEvent(EvtHandler dest, Event event) Send an event to a window or other wx.EvtHandler to be processed later. - - + + - + App_CleanUp() For internal use only, it is used to cleanup after wxWindows when Python shuts down. - + GetApp() -> PyApp Return a reference to the current wx.App object. @@ -3358,6 +3355,7 @@ class PyOnDemandOutputWindow: style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) self.text = wx.TextCtrl(self.frame, -1, "", style = wx.TE_MULTILINE | wx.TE_READONLY) + self.text.AppendText(st) self.frame.SetSize((450, 300)) self.frame.Show(True) EVT_CLOSE(self.frame, self.OnCloseWindow) @@ -3557,25 +3555,25 @@ _sys.__wxPythonCleanup = __wxPyCleanup() - + __del__() - + Set(int flags, int keyCode, int cmd, MenuItem item=None) - + - + SetMenuItem(MenuItem item) - + @@ -3592,14 +3590,14 @@ _sys.__wxPythonCleanup = __wxPyCleanup() - + __init__(entries) -> AcceleratorTable Construct an AcceleratorTable from a list of AcceleratorEntry items or 3-tuples (flags, keyCode, cmdID) - + @@ -3609,119 +3607,543 @@ _sys.__wxPythonCleanup = __wxPyCleanup() Ok() -> bool - + GetAccelFromString(String label) -> AcceleratorEntry - + #--------------------------------------------------------------------------- - + +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. + + + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PanelNameStr) -> Window + Construct and show a generic Window. + + 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. + + - - - - + + + + - + PreWindow() -> Window + Precreate a Window for 2-phase creation. + + 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. + + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool + Create the GUI part of the Window for 2-phase creation mode. - - - - + + + + - + Close(bool force=False) -> bool + 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. Destroy() -> bool - Deletes the C++ object this Python object is a proxy for. + 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. DestroyChildren() -> bool + Destroys all children of a window. Called automatically by the destructor. IsBeingDeleted() -> bool + Is the window in the process of being deleted? - + SetTitle(String title) + Sets the window's title. Applicable only to frames and dialogs. - + - + GetTitle() -> String + Gets the window's title. Applicable only to frames and dialogs. - + SetLabel(String label) + Set the text which the window shows in its label if applicable. - + - + GetLabel() -> String - - + 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. + + SetName(String name) + 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 - + - + GetName() -> String + Returns the window's 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. - + SetId(int winid) + 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. GetId() -> int + 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. - Window.NewControlId() -> int + NewControlId() -> int + Generate a control id for the controls which were not given one. - Window.NextControlId(int winid) -> int + NextControlId(int winid) -> int + Get the id of the control following the one with the given +(autogenerated) id - Window.PrevControlId(int winid) -> int + PrevControlId(int winid) -> int + Get the id of the control preceding the one with the given +(autogenerated) id - + SetSize(Size size) + Sets the size of the window in pixels. - + - + SetDimensions(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO) + 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. @@ -3730,149 +4152,220 @@ _sys.__wxPythonCleanup = __wxPyCleanup() - + SetRect(Rect rect, int sizeFlags=SIZE_AUTO) + Sets the position and size of the window in pixels using a wx.Rect. - + - + SetSizeWH(int width, int height) + Sets the size of the window in pixels. - + Move(Point pt, int flags=SIZE_USE_EXISTING) + Moves the window to the given position. - + - + MoveXY(int x, int y, int flags=SIZE_USE_EXISTING) + Moves the window to the given position. - + Raise() + Raises the window to the top of the window hierarchy if it is a +managed window (dialog or frame). - + Lower() + Lowers the window to the bottom of the window hierarchy if it is a +managed window (dialog or frame). - + SetClientSize(Size size) + 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. - + - + SetClientSizeWH(int width, int height) + 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. - + SetClientRect(Rect rect) + 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. - + - + GetPosition() -> Point Get the window's position. - + GetPositionTuple() -> (x,y) Get the window's position. - - + + - + GetSize() -> Size Get the window size. - + GetSizeTuple() -> (width, height) Get the window size. - - + + - + GetRect() -> Rect + Returns the size and position of the window as a wx.Rect object. - + GetClientSize() -> Size - Get the window's client size. + 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. - + GetClientSizeTuple() -> (width, height) - Get the window's client size. + 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. - - + + - + GetClientAreaOrigin() -> Point + 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...) - + GetClientRect() -> Rect + Get the client area position and size as a wx.Rect object. - + GetBestSize() -> Size - Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice") - - + This functions 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. + + GetBestSizeTuple() -> (width, height) - Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice") + This functions 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. - - + + - + GetAdjustedBestSize() -> Size - - + 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. + + Center(int direction=BOTH) + 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. - + CenterOnScreen(int dir=BOTH) + Center on screen (only works for top level windows) - + CenterOnParent(int dir=BOTH) + Center with respect to the the parent window - + Fit() - - + 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. + + FitInside() + 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. - + SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, int incH=-1) + 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. The +resizing increments are only significant under Motif or Xt. @@ -3882,8 +4375,12 @@ using which it will still look "nice") - + SetVirtualSizeHints(int minW, int minH, int maxW=-1, int maxH=-1) + 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. @@ -3903,244 +4400,351 @@ using which it will still look "nice") GetMaxHeight() -> int - + GetMaxSize() -> Size - + SetVirtualSize(Size size) - 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. + 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. - + - + SetVirtualSizeWH(int w, int h) - 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. + 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. - + GetVirtualSize() -> Size - 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. + 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. - + GetVirtualSizeTuple() -> (width, height) - 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. + 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. - - + + - + GetBestVirtualSize() -> Size + Return the largest of ClientSize and BestSize (as determined by a +sizer, interior children, or other means) Show(bool show=True) -> bool + 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. Hide() -> bool + Equivalent to calling Show(False). Enable(bool enable=True) -> bool + 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. Disable() -> bool + Disables the window, same as Enable(false). IsShown() -> bool + Returns true if the window is shown, false if it has been hidden. IsEnabled() -> bool + Returns true if the window is enabled for input, false otherwise. - + SetWindowStyleFlag(long style) + Sets the style of the window. Please note that some styles cannot be +changed after the window creation and that Refresh() might be called +after changing the others for the change to take place immediately. GetWindowStyleFlag() -> long - - - SetWindowStyle(long style) - - - - - - GetWindowStyle() -> long + Gets the window style that was passed to the constructor or Create +method. HasFlag(int flag) -> bool + Test if the given style is set for this window. IsRetained() -> bool + Returns true if the window is retained, false otherwise. Retained +windows are only available on X platforms. - + SetExtraStyle(long exStyle) + 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() GetExtraStyle() -> long + Returns the extra style bits for the window. - + MakeModal(bool modal=True) + Disables all other windows in the application so that the user can +only interact with this window. Passing False will reverse this +effect. - + SetThemeEnabled(bool enableTheme) + 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. GetThemeEnabled() -> bool + Return the themeEnabled flag. - - ShouldInheritColours() -> bool - - + SetFocus() + Set's the focus to this window, allowing it to receive keyboard input. - + SetFocusFromKbd() + Set focus to this window as the result of a keyboard action. Normally +only called internally. - - Window.FindFocus() -> Window + + FindFocus() -> Window + Returns the window or control that currently has the keyboard focus, +or None. AcceptsFocus() -> bool + Can this window have focus? AcceptsFocusFromKeyboard() -> bool + 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. - + GetDefaultItem() -> Window + 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. - + SetDefaultItem(Window child) -> Window + Set this child as default, return the old default. - + - + SetTmpDefaultItem(Window win) + Set this child as temporary default - + GetChildren() -> PyObject + 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. - + GetParent() -> Window + Returns the parent window of this window, or None if there isn't one. - + GetGrandParent() -> Window + Returns the parent of the parent of this window, or None if there isn't one. IsTopLevel() -> bool + 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). Reparent(Window newParent) -> bool + 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) - + - + AddChild(Window child) + Adds a child window. This is called automatically by window creation +functions so should not be required by the application programmer. - + - + RemoveChild(Window child) + Removes a child window. This is called automatically by window +deletion functions so should not be required by the application +programmer. - + - + FindWindowById(long winid) -> Window + Find a chld of this window by window ID - + FindWindowByName(String name) -> Window + Find a child of this window by name - + - + GetEventHandler() -> EvtHandler + Returns the event handler for this window. By default, the window is +its own event handler. - + SetEventHandler(EvtHandler handler) + 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. - + - + PushEventHandler(EvtHandler handler) + 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. - + - + PopEventHandler(bool deleteHandler=False) -> EvtHandler + 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. RemoveEventHandler(EvtHandler handler) -> bool + 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.) - + - + SetValidator(Validator validator) + Deletes the current validator (if any) and sets the window validator, +having called wx.Validator.Clone to create a new validator of this +type. - + GetValidator() -> Validator + Returns a pointer to the current validator for the window, or None if +there is none. - + SetAcceleratorTable(AcceleratorTable accel) + Sets the accelerator table for this window. - + - + GetAcceleratorTable() -> AcceleratorTable + Gets the accelerator table for this window. RegisterHotKey(int hotkeyId, int modifiers, int keycode) -> bool + 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. @@ -4149,104 +4753,178 @@ more or less independent of the screen window size. UnregisterHotKey(int hotkeyId) -> bool + Unregisters a system wide hotkey. - + ConvertDialogPointToPixels(Point pt) -> Point + 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. - + - + ConvertDialogSizeToPixels(Size sz) -> Size + 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. - + - + DLG_PNT(Point pt) -> Point + 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. - + - + DLG_SZE(Size sz) -> Size + 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. - + - + ConvertPixelPointToDialog(Point pt) -> Point - + - + ConvertPixelSizeToDialog(Size sz) -> Size - + - + WarpPointer(int x, int y) + 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. - + CaptureMouse() + 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. - + ReleaseMouse() + Releases mouse input captured with wx.Window.CaptureMouse. - - Window.GetCapture() -> Window + + GetCapture() -> Window + Returns the window which currently captures the mouse or None HasCapture() -> bool + Returns true if this window has the current mouse capture. - + Refresh(bool eraseBackground=True, Rect rect=None) + 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. - + - + RefreshRect(Rect rect) + 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. - + - + Update() - - + 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. + + ClearBackground() + Clears the window by filling it with the current background +colour. Does not cause an erase background event to be generated. - + Freeze() + 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. + +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. - + Thaw() + Reenables window updating after a previous call to Freeze. - + PrepareDC(DC dc) + Call this function to prepare the device context for drawing a +scrolled image. It sets the device origin according to the current +scroll position. - + GetUpdateRegion() -> Region + Returns the region specifying which parts of the window have been +damaged. Should only be called within an EVT_PAINT handler. - + GetUpdateClientRect() -> Rect + Get the update rectangle region bounding box in client coords. IsExposed(int x, int y, int w=1, int h=1) -> bool + 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. @@ -4256,117 +4934,164 @@ more or less independent of the screen window size. IsExposedPoint(Point pt) -> bool + 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. - + isExposedRect(Rect rect) -> bool + 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. - + SetBackgroundColour(Colour colour) -> bool + 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. + +Note that setting the background colour does not cause an immediate +refresh, so you may wish to call ClearBackground or Refresh after +calling this function. + +Use this function with care under GTK+ as the new appearance of the +window might not look equally well when used with themes, i.e GTK+'s +ability to change its look as the user wishes with run-time loadable +modules. - + SetForegroundColour(Colour colour) -> bool + 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. - + GetBackgroundColour() -> Colour + Returns the background colour of the window. GetForegroundColour() -> Colour + 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. SetCursor(Cursor cursor) -> bool + 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. - + GetCursor() -> Cursor + Return the cursor associated with this window. SetFont(Font font) -> bool + Sets the font for this window. - + GetFont() -> Font + Returns a reference to the font for this window. - + SetCaret(Caret caret) + Sets the caret associated with the window. - + GetCaret() -> Caret + Returns the caret associated with the window. GetCharHeight() -> int + Get the (average) character size for the current font. GetCharWidth() -> int + Get the (average) character size for the current font. - + GetTextExtent(String string) -> (width, height) Get the width and height of the text using the current font. - - - + + + - + GetFullTextExtent(String string, Font font=None) -> (width, height, descent, externalLeading) - Get the width, height, decent and leading of the text using the current or specified font. + Get the width, height, decent and leading of the text using the +current or specified font. - - - - - - + + + + + + - - ClientToScreenXY(int x, int y) + + ClientToScreenXY(int x, int y) -> (x,y) + Converts to screen coordinates from coordinates relative to this window. - - + + - - ScreenToClientXY(int x, int y) + + ScreenToClientXY(int x, int y) -> (x,y) + Converts from screen to client window coordinates. - - + + - + ClientToScreen(Point pt) -> Point + Converts to screen coordinates from coordinates relative to this window. - + - + ScreenToClient(Point pt) -> Point + Converts from screen to client window coordinates. - + HitTestXY(int x, int y) -> int + Test where the given (in client coords) point lies @@ -4374,239 +5099,403 @@ more or less independent of the screen window size. HitTest(Point pt) -> int + Test where the given (in client coords) point lies - + - - GetBorderFlags(long flags) -> int + + 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. + - - GetBorder() -> int + + GetBorder(long flags) -> int +GetBorder() -> int + Get border for the flags of this window - + UpdateWindowUI(long flags=UPDATE_UI_NONE) + 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); + PopupMenuXY(Menu menu, int x, int y) -> bool + 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. - + PopupMenu(Menu menu, Point pos) -> bool + 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. - - + + GetHandle() -> long + 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. HasScrollbar(int orient) -> bool + Does the window have the scrollbar for this orientation? - - SetScrollbar(int orient, int pos, int thumbvisible, int range, bool refresh=True) + + SetScrollbar(int orientation, int pos, int thumbvisible, int range, + bool refresh=True) + Sets the scrollbar properties of a built-in scrollbar. + + orientation: Determines the scrollbar whose page size is to be + set. May be wx.HORIZONTAL or wx.VERTICAL. + + position: The position of the scrollbar in scroll units. + + thumbSize: The size of the thumb, or visible portion of the + scrollbar, in scroll units. + + range: The maximum position of the scrollbar. + + refresh: True to redraw the scrollbar, false otherwise. - + - - SetScrollPos(int orient, int pos, bool refresh=True) + + SetScrollPos(int orientation, int pos, bool refresh=True) + Sets the position of one of the built-in scrollbars. - + - GetScrollPos(int orient) -> int + GetScrollPos(int orientation) -> int + Returns the built-in scrollbar position. - + - GetScrollThumb(int orient) -> int + GetScrollThumb(int orientation) -> int + Returns the built-in scrollbar thumb size. - + - GetScrollRange(int orient) -> int + GetScrollRange(int orientation) -> int + Returns the built-in scrollbar range. - + - + ScrollWindow(int dx, int dy, Rect rect=None) + 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. + + dx: Amount to scroll horizontally. + + dy: Amount to scroll vertically. + + 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. - + ScrollLines(int lines) -> bool + 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. ScrollPages(int pages) -> bool + 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. LineUp() -> bool + This is just a wrapper for ScrollLines(-1). LineDown() -> bool + This is just a wrapper for ScrollLines(1). PageUp() -> bool + This is just a wrapper for ScrollPages(-1). PageDown() -> bool + This is just a wrapper for ScrollPages(1). - + SetHelpText(String text) + 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. - + - + SetHelpTextForId(String text) + Associate this help text with all windows with the same id as this +one. - + - + GetHelpText() -> String + 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. - + SetToolTipString(String tip) + Attach a tooltip to the window. - + - + SetToolTip(ToolTip tip) + Attach a tooltip to the window. - + GetToolTip() -> ToolTip + get the associated tooltip or None if none - - SetDropTarget(PyDropTarget dropTarget) + + SetDropTarget(DropTarget dropTarget) + Associates a drop target with this window. If the window already has +a drop target, it is deleted. - + - GetDropTarget() -> PyDropTarget + GetDropTarget() -> DropTarget + Returns the associated drop target, which may be None. - + SetConstraints(LayoutConstraints constraints) + 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. - + GetConstraints() -> LayoutConstraints + Returns a pointer to the window's layout constraints, or None if there +are none. - + SetAutoLayout(bool autoLayout) + 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. GetAutoLayout() -> bool + Returns the current autoLayout setting Layout() -> bool + 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. - + SetSizer(Sizer sizer, bool deleteOld=True) - - + 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. + + - + SetSizerAndFit(Sizer sizer, bool deleteOld=True) + The same as SetSizer, except it also sets the size hints for the +window based on the sizer's minimum size. - + GetSizer() -> Sizer + Return the sizer associated with the window by a previous call to +SetSizer or None if there isn't one. - + SetContainingSizer(Sizer sizer) + 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. - + GetContainingSizer() -> Sizer + Return the sizer that this window is a member of, if any, otherwise None. 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)) - + FindWindowById(long id, Window parent=None) -> Window + 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. - + - + FindWindowByName(String name, Window parent=None) -> Window + 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. - - + + - + FindWindowByLabel(String label, Window parent=None) -> Window + 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. - - + + - + Window_FromHWND(unsigned long hWnd) -> Window @@ -4616,17 +5505,17 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__() -> Validator - + Clone() -> Validator Validate(Window parent) -> bool - + @@ -4635,35 +5524,35 @@ def DLG_SZE(win, size_width, height=None): TransferFromWindow() -> bool - + GetWindow() -> Window - + SetWindow(Window window) - + - Validator.IsSilent() -> bool + IsSilent() -> bool - - Validator.SetBellOnError(int doIt=True) + + SetBellOnError(int doIt=True) - + __init__() -> PyValidator - + _setCallbackInfo(PyObject self, PyObject _class, int incref=True) - - + + @@ -4672,153 +5561,153 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__(String title=EmptyString, long style=0) -> Menu - + - - Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) + + Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem - - + + - - AppendSeparator() + + AppendSeparator() -> MenuItem - - AppendCheckItem(int id, String text, String help=EmptyString) + + AppendCheckItem(int id, String text, String help=EmptyString) -> MenuItem - - + + - - AppendRadioItem(int id, String text, String help=EmptyString) + + AppendRadioItem(int id, String text, String help=EmptyString) -> MenuItem - - + + - - AppendMenu(int id, String text, Menu submenu, String help=EmptyString) + + AppendMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem - - - + + + - - AppendItem(MenuItem item) + + AppendItem(MenuItem item) -> MenuItem - + - + Break() - - InsertItem(size_t pos, MenuItem item) -> bool + + InsertItem(size_t pos, MenuItem item) -> MenuItem - + - + Insert(size_t pos, int id, String text, String help=EmptyString, - int kind=ITEM_NORMAL) + int kind=ITEM_NORMAL) -> MenuItem - - + + - - InsertSeparator(size_t pos) + + InsertSeparator(size_t pos) -> MenuItem - - InsertCheckItem(size_t pos, int id, String text, String help=EmptyString) + + InsertCheckItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem - - + + - - InsertRadioItem(size_t pos, int id, String text, String help=EmptyString) + + InsertRadioItem(size_t pos, int id, String text, String help=EmptyString) -> MenuItem - - + + - - InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString) + + InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem - - - + + + - - PrependItem(MenuItem item) + + PrependItem(MenuItem item) -> MenuItem - + - - Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) + + Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem - - + + - - PrependSeparator() + + PrependSeparator() -> MenuItem - - PrependCheckItem(int id, String text, String help=EmptyString) + + PrependCheckItem(int id, String text, String help=EmptyString) -> MenuItem - - + + - - PrependRadioItem(int id, String text, String help=EmptyString) + + PrependRadioItem(int id, String text, String help=EmptyString) -> MenuItem - - + + - - PrependMenu(int id, String text, Menu submenu, String help=EmptyString) + + PrependMenu(int id, String text, Menu submenu, String help=EmptyString) -> MenuItem - - - + + + @@ -4830,7 +5719,7 @@ def DLG_SZE(win, size_width, height=None): RemoveItem(MenuItem item) -> MenuItem - + @@ -4842,10 +5731,10 @@ def DLG_SZE(win, size_width, height=None): DeleteItem(MenuItem item) -> bool - + - + Destroy() Deletes the C++ object this Python object is a proxy for. @@ -4860,7 +5749,7 @@ def DLG_SZE(win, size_width, height=None): DestroyItem(MenuItem item) -> bool Deletes the C++ object this Python object is a proxy for. - + @@ -4872,7 +5761,7 @@ def DLG_SZE(win, size_width, height=None): FindItem(String item) -> int - + @@ -4887,7 +5776,7 @@ def DLG_SZE(win, size_width, height=None): - + Enable(int id, bool enable) @@ -4900,7 +5789,7 @@ def DLG_SZE(win, size_width, height=None): - + Check(int id, bool check) @@ -4913,90 +5802,90 @@ def DLG_SZE(win, size_width, height=None): - + SetLabel(int id, String label) - + - + GetLabel(int id) -> String - + SetHelpString(int id, String helpString) - + - + GetHelpString(int id) -> String - + SetTitle(String title) - + - + GetTitle() -> String - + SetEventHandler(EvtHandler handler) - + - + GetEventHandler() -> EvtHandler - + SetInvokingWindow(Window win) - + - + GetInvokingWindow() -> Window GetStyle() -> long - + UpdateUI(EvtHandler source=None) - + GetMenuBar() -> MenuBar - + Attach(wxMenuBarBase menubar) - + - + Detach() IsAttached() -> bool - + SetParent(Menu parent) - + - + GetParent() -> Menu @@ -5004,7 +5893,7 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__(long style=0) -> MenuBar @@ -5014,42 +5903,42 @@ def DLG_SZE(win, size_width, height=None): Append(Menu menu, String title) -> bool - - + + Insert(size_t pos, Menu menu, String title) -> bool - - + + GetMenuCount() -> size_t - + GetMenu(size_t pos) -> Menu - + Replace(size_t pos, Menu menu, String title) -> Menu - - + + - + Remove(size_t pos) -> Menu - + EnableTop(size_t pos, bool enable) @@ -5062,14 +5951,14 @@ def DLG_SZE(win, size_width, height=None): - + SetLabelTop(size_t pos, String label) - + - + GetLabelTop(size_t pos) -> String @@ -5078,8 +5967,8 @@ def DLG_SZE(win, size_width, height=None): FindMenuItem(String menu, String item) -> int - - + + @@ -5091,17 +5980,17 @@ def DLG_SZE(win, size_width, height=None): FindMenu(String title) -> int - + - + Enable(int id, bool enable) - + Check(int id, bool check) @@ -5120,27 +6009,27 @@ def DLG_SZE(win, size_width, height=None): - + SetLabel(int id, String label) - + - + GetLabel(int id) -> String - + SetHelpString(int id, String helpString) - + - + GetHelpString(int id) -> String @@ -5152,13 +6041,13 @@ def DLG_SZE(win, size_width, height=None): IsAttached() -> bool - + Attach(wxFrame frame) - + - + Detach() @@ -5166,30 +6055,30 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__(Menu parentMenu=None, int id=ID_SEPARATOR, String text=EmptyString, String help=EmptyString, int kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem - + - - + + - + - + GetMenu() -> Menu - + SetMenu(Menu menu) - + - + SetId(int id) @@ -5201,28 +6090,28 @@ def DLG_SZE(win, size_width, height=None): IsSeparator() -> bool - + SetText(String str) - + - + GetLabel() -> String - + GetText() -> String - - MenuItem.GetLabelFromText(String text) -> String + + GetLabelFromText(String text) -> String - + GetKind() -> int - + SetCheckable(bool checkable) @@ -5234,16 +6123,16 @@ def DLG_SZE(win, size_width, height=None): IsSubMenu() -> bool - + SetSubMenu(Menu menu) - + - + GetSubMenu() -> Menu - + Enable(bool enable=True) @@ -5252,7 +6141,7 @@ def DLG_SZE(win, size_width, height=None): IsEnabled() -> bool - + Check(bool check=True) @@ -5261,37 +6150,37 @@ def DLG_SZE(win, size_width, height=None): IsChecked() -> bool - + Toggle() - + SetHelp(String str) - + - + GetHelp() -> String - + GetAccel() -> AcceleratorEntry - + SetAccel(AcceleratorEntry accel) - + - MenuItem.GetDefaultMarginWidth() -> int + GetDefaultMarginWidth() -> int - + SetBitmap(Bitmap bitmap) - + - + GetBitmap() -> Bitmap @@ -5299,51 +6188,63 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + This is the base class for a control or 'widget'. + +A control is generally a small window which processes user input and/or +displays one or more item of data. + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=ControlNameStr) -> Control + Create a Control. Normally you should only call this from a +subclass' __init__ as a plain old wx.Control is not very useful. - + - - + + - - + + PreControl() -> Control + Precreate a Control control for 2-phase creation Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=ControlNameStr) -> bool + Do the 2nd phase and create the GUI control. - + - - + + - - + + - + Command(CommandEvent event) + Simulates the effect of the user issuing a command to the +item. See wxCommandEvent. - + - + GetLabel() -> String + Return a control's text. - + SetLabel(String label) + Sets the item's text. - + @@ -5351,44 +6252,74 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- + 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 and +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. + Append(String item, PyObject clientData=None) -> int + 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). - - + + - + AppendItems(wxArrayString strings) + 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. - + Insert(String item, int pos, PyObject clientData=None) -> int + Insert an item into the control before the item at the pos index, +optionally associating some data object with the item. - + - + - + Clear() + Removes all items from the control. - + Delete(int n) + Deletes the item at the zero-based index 'n' from the control. +Note that it is an error (signalled by a PyAssertionError +exception if enabled) to remove an item with the index negative +or greater or equal than the number of items in the control. GetCount() -> int + Returns the number of items in the control. IsEmpty() -> bool + Returns True if the control is empty or False if it has some items. - + GetString(int n) -> String + Returns the label of the item with the given index. @@ -5396,42 +6327,51 @@ def DLG_SZE(win, size_width, height=None): GetStrings() -> wxArrayString - + SetString(int n, String s) + Sets the label for the given item. - + FindString(String s) -> int + 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. - + - + Select(int n) + Sets the item at index 'n' to be the selected item. GetSelection() -> int + Returns the index of the selected item or wx.NOT_FOUND if no item is selected. - + GetStringSelection() -> String + Returns the label of the selected item or an empty string if no item is selected. GetClientData(int n) -> PyObject + Returns the client data associated with the given item, (if any.) - + SetClientData(int n, PyObject clientData) + Associate the given client data with the item at position n. - + @@ -5439,14 +6379,17 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - - + 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. + + #--------------------------------------------------------------------------- - + __init__() -> SizerItem @@ -5459,74 +6402,74 @@ def DLG_SZE(win, size_width, height=None): - + SizerItemWindow(Window window, int proportion, int flag, int border, Object userData) -> SizerItem - + - + SizerItemSizer(Sizer sizer, int proportion, int flag, int border, Object userData) -> SizerItem - + - + - + DeleteWindows() - + DetachSizer() - + GetSize() -> Size - + CalcMin() -> Size - + SetDimension(Point pos, Size size) - - + + - + GetMinSize() -> Size - + SetInitSize(int x, int y) - + SetRatioWH(int width, int height) - + SetRatioSize(Size size) - + - + SetRatio(float ratio) @@ -5544,7 +6487,7 @@ def DLG_SZE(win, size_width, height=None): IsSpacer() -> bool - + SetProportion(int proportion) @@ -5553,7 +6496,7 @@ def DLG_SZE(win, size_width, height=None): GetProportion() -> int - + SetFlag(int flag) @@ -5562,7 +6505,7 @@ def DLG_SZE(win, size_width, height=None): GetFlag() -> int - + SetBorder(int border) @@ -5571,34 +6514,34 @@ def DLG_SZE(win, size_width, height=None): GetBorder() -> int - + GetWindow() -> Window - + SetWindow(Window window) - + GetSizer() -> Sizer - + SetSizer(Sizer sizer) - + - + GetSpacer() -> Size - + SetSpacer(Size size) - + - + Show(bool show) @@ -5607,7 +6550,7 @@ def DLG_SZE(win, size_width, height=None): IsShown() -> bool - + GetPosition() -> Point @@ -5615,80 +6558,80 @@ def DLG_SZE(win, size_width, height=None): - - + + _setOORInfo(PyObject _self) - + - + Add(PyObject item, int proportion=0, int flag=0, int border=0, PyObject userData=None) - + - + - + Insert(int before, PyObject item, int proportion=0, int flag=0, int border=0, PyObject userData=None) - + - + - + Prepend(PyObject item, int proportion=0, int flag=0, int border=0, PyObject userData=None) - + - + Remove(PyObject item) -> bool - + - + _SetItemMinSize(PyObject item, Size size) - - + + - + AddItem(SizerItem item) - + - + InsertItem(size_t index, SizerItem item) - + - + PrependItem(SizerItem item) - + - + SetDimension(int x, int y, int width, int height) @@ -5697,86 +6640,86 @@ def DLG_SZE(win, size_width, height=None): - + SetMinSize(Size size) - + - + GetSize() -> Size - + GetPosition() -> Point - + GetMinSize() -> Size - + RecalcSizes() - + CalcMin() -> Size - + Layout() - + Fit(Window window) -> Size - + - + FitInside(Window window) - + - + SetSizeHints(Window window) - + - + SetVirtualSizeHints(Window window) - + - + Clear(bool delete_windows=False) - + DeleteWindows() GetChildren() -> PyObject - + Show(PyObject item, bool show=True) - + - + Hide(PyObject item) - + IsShown(PyObject item) -> bool - + - + ShowItems(bool show) @@ -5784,15 +6727,15 @@ def DLG_SZE(win, size_width, height=None): - + __init__() -> PySizer - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -5800,7 +6743,7 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__(int orient=HORIZONTAL) -> BoxSizer @@ -5810,16 +6753,16 @@ def DLG_SZE(win, size_width, height=None): GetOrientation() -> int - + SetOrientation(int orient) - + RecalcSizes() - + CalcMin() -> Size @@ -5827,21 +6770,21 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__(wxStaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer - + GetStaticBox() -> wxStaticBox - + RecalcSizes() - + CalcMin() -> Size @@ -5849,7 +6792,7 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer @@ -5859,31 +6802,31 @@ def DLG_SZE(win, size_width, height=None): - + RecalcSizes() - + CalcMin() -> Size - + SetCols(int cols) - + SetRows(int rows) - + SetVGap(int gap) - + SetHGap(int gap) @@ -5906,7 +6849,7 @@ def DLG_SZE(win, size_width, height=None): #--------------------------------------------------------------------------- - + __init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer @@ -5916,39 +6859,39 @@ def DLG_SZE(win, size_width, height=None): - + RecalcSizes() - + CalcMin() -> Size - + AddGrowableRow(size_t idx, int proportion=0) - + RemoveGrowableRow(size_t idx) - + AddGrowableCol(size_t idx, int proportion=0) - + RemoveGrowableCol(size_t idx) - + SetFlexibleDirection(int direction) @@ -5957,7 +6900,7 @@ def DLG_SZE(win, size_width, height=None): GetFlexibleDirection() -> int - + SetNonFlexibleGrowMode(int mode) @@ -5966,10 +6909,10 @@ def DLG_SZE(win, size_width, height=None): GetNonFlexibleGrowMode() -> int - + GetRowHeights() -> wxArrayInt - + GetColWidths() -> wxArrayInt @@ -5990,31 +6933,31 @@ def DLG_SZE(win, size_width, height=None): GetCol() -> int - + SetRow(int row) - + SetCol(int col) - __eq__(GBPosition p) -> bool + __eq__(GBPosition other) -> bool - + - __ne__(GBPosition p) -> bool + __ne__(GBPosition other) -> bool - + - + Set(int row=0, int col=0) @@ -6039,31 +6982,31 @@ def DLG_SZE(win, size_width, height=None): GetColspan() -> int - + SetRowspan(int rowspan) - + SetColspan(int colspan) - __eq__(GBSpan o) -> bool + __eq__(GBSpan other) -> bool - + - __ne__(GBSpan o) -> bool + __ne__(GBSpan other) -> bool - + - + Set(int rowspan=1, int colspan=1) @@ -6075,7 +7018,7 @@ def DLG_SZE(win, size_width, height=None): - + __init__() -> GBSizerItem @@ -6083,24 +7026,24 @@ def DLG_SZE(win, size_width, height=None): GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, int border, Object userData) -> GBSizerItem - - - + + + - + GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, int border, Object userData) -> GBSizerItem - - - + + + - + @@ -6109,63 +7052,63 @@ def DLG_SZE(win, size_width, height=None): - - + + - + - + GetPos() -> GBPosition - + GetSpan() -> GBSpan SetPos(GBPosition pos) -> bool - + SetSpan(GBSpan span) -> bool - + - + Intersects(GBSizerItem other) -> bool Intersects(GBPosition pos, GBSpan span) -> bool - - + + - + GetEndPos(int row, int col) - - + + GetGBSizer() -> GridBagSizer - + SetGBSizer(GridBagSizer sizer) - + - + __init__(int vgap=0, int hgap=0) -> GridBagSizer @@ -6177,40 +7120,40 @@ Intersects(GBPosition pos, GBSpan span) -> bool Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, int flag=0, int border=0, PyObject userData=None) -> bool - - - + + + - + AddItem(GBSizerItem item) -> bool - + - + GetEmptyCellSize() -> Size - + SetEmptyCellSize(Size sz) - + - + - + - + - + - + GetItemPosition(Window window) -> GBPosition GetItemPosition(Sizer sizer) -> GBPosition GetItemPosition(size_t index) -> GBPosition @@ -6220,14 +7163,14 @@ GetItemPosition(size_t index) -> GBPosition - - + + - - + + @@ -6236,20 +7179,20 @@ SetItemPosition(Sizer sizer, GBPosition pos) -> bool SetItemPosition(size_t index, GBPosition pos) -> bool - + - + - + - + - + - + GetItemSpan(Window window) -> GBSpan GetItemSpan(Sizer sizer) -> GBSpan GetItemSpan(size_t index) -> GBSpan @@ -6259,14 +7202,14 @@ GetItemSpan(size_t index) -> GBSpan - - + + - - + + @@ -6275,58 +7218,58 @@ SetItemSpan(Sizer sizer, GBSpan span) -> bool SetItemSpan(size_t index, GBSpan span) -> bool - + - + - + - + FindItem(Window window) -> GBSizerItem FindItem(Sizer sizer) -> GBSizerItem - + - + FindItemAtPosition(GBPosition pos) -> GBSizerItem - + - + FindItemAtPoint(Point pt) -> GBSizerItem - + - + FindItemWithData(Object userData) -> GBSizerItem - + - + RecalcSizes() - + CalcMin() -> Size - - + + CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool - - - + + + @@ -6334,86 +7277,138 @@ CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) #--------------------------------------------------------------------------- - - + Objects of this class are stored in the wx.LayoutConstraint 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 +use create a wx.LayoutContstraints 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. + + + + Set(int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN) - + - + LeftOf(Window sibling, int marg=0) + Sibling relationship - + - + RightOf(Window sibling, int marg=0) + Sibling relationship - + - + Above(Window sibling, int marg=0) + Sibling relationship - + - + Below(Window sibling, int marg=0) + Sibling relationship - + - + SameAs(Window otherW, int edge, int marg=0) + 'Same edge' alignment - + - + PercentOf(Window otherW, int wh, int per) + The edge is a percentage of the other window's edge - + - + Absolute(int val) + Edge has absolute value - + Unconstrained() + Dimension is unconstrained - + AsIs() + Dimension is 'as is' (use current size settings) - + GetOtherWindow() -> Window GetMyEdge() -> int - + SetEdge(int which) - + SetValue(int v) @@ -6422,7 +7417,7 @@ CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) GetMargin() -> int - + SetMargin(int m) @@ -6440,7 +7435,7 @@ CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) GetDone() -> bool - + SetDone(bool d) @@ -6449,7 +7444,7 @@ CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) GetRelationship() -> int - + SetRelationship(int r) @@ -6457,44 +7452,73 @@ CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) ResetIfWin(Window otherW) -> bool + Reset constraint if it mentions otherWin - + SatisfyConstraint(LayoutConstraints constraints, Window win) -> bool + Try to satisfy constraint - - + + GetEdge(int which, Window thisWin, Window other) -> int + Get the value of this edge or dimension, or if this +is not determinable, -1. - - + + - + 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 wxAsIs, the dimension will not be changed. + + __init__() -> LayoutConstraints - - - - - - - - + + + + + + + + SatisfyConstraints(Window win) -> (areSatisfied, noChanges) - - + + @@ -6735,7 +7759,7 @@ _core._wxPyFixStockObjects() #--------------------------------------------------------------------------- - + __init__() -> GDIObject @@ -6745,7 +7769,7 @@ _core._wxPyFixStockObjects() GetVisible() -> bool - + SetVisible(bool visible) @@ -6759,9 +7783,25 @@ _core._wxPyFixStockObjects() #--------------------------------------------------------------------------- - + 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") + +You can retrieve the various current system colour settings with +wx.SystemSettings.GetColour. + __init__(unsigned char red=0, unsigned char green=0, unsigned char blue=0) -> Colour + Constructs a colour from red, green and blue values. @@ -6770,12 +7810,14 @@ _core._wxPyFixStockObjects() NamedColour(String colorName) -> Colour + Constructs a colour object using a colour name listed in wx.TheColourDatabase. - + ColourRGB(unsigned long colRGB) -> Colour + Constructs a colour from a packed RGB value. @@ -6785,61 +7827,87 @@ _core._wxPyFixStockObjects() Red() -> unsigned char + Returns the red intensity. Green() -> unsigned char + Returns the green intensity. Blue() -> unsigned char + Returns the blue intensity. Ok() -> bool + Returns True if the colour object is valid (the colour has been +initialised with RGB values). - + Set(unsigned char red, unsigned char green, unsigned char blue) + Sets the RGB intensity values. - + SetRGB(unsigned long colRGB) + Sets the RGB intensity values from a packed RGB value. + + SetFromName(String colourName) + Sets the RGB intensity values using a colour name listed in wx.TheColourDatabase. + + + + + + GetPixel() -> long + 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). + __eq__(Colour colour) -> bool + Compare colours for equality - + __ne__(Colour colour) -> bool + Compare colours for inequality - - - - - InitFromName(String colourName) - - + - Get() -> PyObject + Get() -> (r, g, b) + Returns the RGB intensity values as a tuple. + + + GetRGB() -> unsigned long + Return the colour as a packed RGB value + + Color = Colour + NamedColor = NamedColour + ColorRGB = ColourRGB + - + __init__(int n, unsigned char red, unsigned char green, unsigned char blue) -> Palette - - - + + + @@ -6857,9 +7925,9 @@ _core._wxPyFixStockObjects() GetRGB(int pixel) -> (R,G,B) - - - + + + @@ -6870,11 +7938,11 @@ _core._wxPyFixStockObjects() #--------------------------------------------------------------------------- - + __init__(Colour colour, int width=1, int style=SOLID) -> Pen - + @@ -6885,7 +7953,7 @@ _core._wxPyFixStockObjects() GetCap() -> int - + GetColour() -> Colour @@ -6900,56 +7968,68 @@ _core._wxPyFixStockObjects() Ok() -> bool - + SetCap(int cap_style) - + SetColour(Colour colour) - + - + SetJoin(int join_style) - + SetStyle(int style) - + SetWidth(int width) - + SetDashes(int dashes, wxDash dashes_array) - + GetDashes() -> PyObject + + __eq__(Pen other) -> bool + + + + + + __ne__(Pen other) -> bool + + + + GetDashCount() -> int - + __init__(Colour colour, int width=1, int style=SOLID) -> PyPen - + @@ -6957,11 +8037,11 @@ _core._wxPyFixStockObjects() __del__() - + SetDashes(int dashes, wxDash dashes_array) - + @@ -6972,37 +8052,37 @@ _core._wxPyFixStockObjects() 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. - + __init__(Colour colour, int style=SOLID) -> Brush Constructs a brush from a colour object and style. - + __del__() - + SetColour(Colour col) - + - + SetStyle(int style) - + SetStipple(Bitmap stipple) - + - + GetColour() -> Colour @@ -7016,12 +8096,12 @@ background of rectangles, ellipses, etc. It has a colour and a style. - + __init__(String name, int type=BITMAP_TYPE_ANY) -> Bitmap Loads a bitmap from a file. - + @@ -7040,7 +8120,7 @@ the current screen or visual. Some platforms only support 1 for monochrome and BitmapFromIcon(Icon icon) -> Bitmap Create a new bitmap from an Icon object. - + @@ -7050,7 +8130,7 @@ 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. - + @@ -7058,7 +8138,7 @@ depth is -1) which entails that a colour reduction has to take place.BitmapFromXPMData(PyObject listOfStrings) -> Bitmap Construct a Bitmap from a list of strings formatted as XPM data. - + @@ -7068,7 +8148,7 @@ 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. - + @@ -7093,7 +8173,7 @@ platform dependent. Gets the colour depth of the bitmap. A value of 1 indicates a monochrome bitmap. - + ConvertToImage() -> Image Creates a platform-independent image from a platform-dependent bitmap. This preserves mask information so that bitmaps and images can be converted back @@ -7104,66 +8184,66 @@ and forth without loss in that respect. Gets the associated mask (if any) which may have been loaded from a file or explpicitly set for the bitmap. - + SetMask(Mask mask) Sets the mask for this bitmap. - + - + SetMaskColour(Colour colour) Create a Mask based on a specified colour in the Bitmap. - + - + GetSubBitmap(Rect rect) -> Bitmap 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. - + SaveFile(String name, int type, Palette palette=(wxPalette *) NULL) -> bool Saves a bitmap in the named file. - + - + LoadFile(String name, int type) -> bool Loads a bitmap from a file - + CopyFromIcon(Icon icon) -> bool - + - + SetHeight(int height) Set the height property (does not affect the bitmap data). - + SetWidth(int width) Set the width property (does not affect the bitmap data). - + SetDepth(int depth) Set the depth property (does not affect the bitmap data). @@ -7176,31 +8256,25 @@ to the bitmap. This function preserves bit depth and mask information. - + - __init__(Bitmap bitmap) -> Mask - Constructs a mask from a monochrome bitmap. + __init__(Bitmap bitmap, Colour colour=NullColour) -> Mask + Constructs a mask from a bitmap and a colour in that bitmap that indicates +the transparent portions of the mask, by default BLACK is used. - - - - - MaskColour(Bitmap bitmap, Colour colour) -> Mask - Constructs a mask from a bitmap and a colour in that bitmap that indicates the -background. - - - + + + MaskColour = Mask - + - __init__(String name, long flags, int desiredWidth=-1, int desiredHeight=-1) -> Icon + __init__(String name, int type, int desiredWidth=-1, int desiredHeight=-1) -> Icon - - + + @@ -7211,29 +8285,29 @@ background. IconFromLocation(IconLocation loc) -> Icon - + IconFromBitmap(Bitmap bmp) -> Icon - + IconFromXPMData(PyObject listOfStrings) -> Icon - + __del__() - LoadFile(String name, long flags) -> bool + LoadFile(String name, int type) -> bool - - + + @@ -7248,28 +8322,28 @@ background. GetDepth() -> int - + SetWidth(int w) - + SetHeight(int h) - + SetDepth(int d) - + CopyFromBitmap(Bitmap bmp) - + @@ -7277,7 +8351,7 @@ background. __init__(String filename=&wxPyEmptyString, int num=0) -> IconLocation - + @@ -7287,16 +8361,16 @@ background. IsOk() -> bool - + SetFileName(String filename) - + - + GetFileName() -> String - + SetIndex(int num) @@ -7313,72 +8387,120 @@ background. IconBundleFromFile(String file, long type) -> IconBundle - + IconBundleFromIcon(Icon icon) -> IconBundle - + __del__() - + AddIcon(Icon icon) - + - + AddIconFromFile(String file, long type) - + - + GetIcon(Size size) -> Icon - + - + 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. + - __init__(String cursorName, long flags, int hotSpotX=0, int hotSpotY=0) -> Cursor + __init__(String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -> Cursor + 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. + +This cursor is not available on wxGTK, use wx.StockCursor, +wx.CursorFromImage, or wx.CursorFromBits instead. - - + + StockCursor(int id) -> Cursor + Create a cursor using one of the stock cursors. Note that not +all cursors are available on all platforms. + + 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.) + + CursorFromImage(Image image) -> Cursor + 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 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. On MacOS the cursor is +resized to 16x16 and currently only shown as black/white (mask +respected). - - - - - CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, - int hotSpotY=-1, PyObject maskBits=0) -> Cursor - - - - - - - + @@ -7392,7 +8514,7 @@ background. #--------------------------------------------------------------------------- - + __init__(int x=0, int y=0, int width=0, int height=0) -> Region @@ -7405,8 +8527,8 @@ background. RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> Region - - + + @@ -7414,14 +8536,14 @@ background. RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region - + __del__() - + Clear() @@ -7441,13 +8563,13 @@ background. ContainsPoint(Point pt) -> int - + ContainsRect(Rect rect) -> int - + @@ -7459,7 +8581,7 @@ background. - + GetBox() -> Rect @@ -7474,13 +8596,13 @@ background. IntersectRect(Rect rect) -> bool - + IntersectRegion(Region region) -> bool - + @@ -7498,13 +8620,13 @@ background. UnionRect(Rect rect) -> bool - + UnionRegion(Region region) -> bool - + @@ -7519,13 +8641,13 @@ background. SubtractRect(Rect rect) -> bool - + SubtractRegion(Region region) -> bool - + @@ -7540,33 +8662,33 @@ background. XorRect(Rect rect) -> bool - + XorRegion(Region region) -> bool - + - + ConvertToBitmap() -> Bitmap UnionBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -> bool - - + + - + __init__(Region region) -> RegionIterator - + @@ -7590,16 +8712,16 @@ background. GetHeight() -> int - + GetRect() -> Rect HaveRects() -> bool - + Reset() - + Next() @@ -7619,13 +8741,13 @@ background. __del__() - + Init() - + InitFromFont(Font font) - + @@ -7640,7 +8762,7 @@ background. GetUnderlined() -> bool - + GetFaceName() -> String @@ -7649,43 +8771,43 @@ background. GetEncoding() -> int - + SetPointSize(int pointsize) - + SetStyle(int style) - + SetWeight(int weight) - + SetUnderlined(bool underlined) - + SetFaceName(String facename) - + - + SetFamily(int family) - + SetEncoding(int encoding) @@ -7694,22 +8816,22 @@ background. FromString(String s) -> bool - + - + ToString() -> String - + __str__() -> String FromUserString(String s) -> bool - + - + ToUserString() -> String @@ -7720,19 +8842,19 @@ background. __del__() - + FromString(String s) -> bool - + - + ToString() -> String - + GetNativeFontEncoding(int encoding) -> NativeEncodingInfo @@ -7741,7 +8863,7 @@ background. TestFontEncoding(NativeEncodingInfo info) -> bool - + @@ -7754,63 +8876,63 @@ background. __del__() - - FontMapper.Get() -> FontMapper + + Get() -> FontMapper - - FontMapper.Set(FontMapper mapper) -> FontMapper + + Set(FontMapper mapper) -> FontMapper - + CharsetToEncoding(String charset, bool interactive=True) -> int - + - FontMapper.GetSupportedEncodingsCount() -> size_t + GetSupportedEncodingsCount() -> size_t - FontMapper.GetEncoding(size_t n) -> int + GetEncoding(size_t n) -> int - - FontMapper.GetEncodingName(int encoding) -> String + + GetEncodingName(int encoding) -> String - - FontMapper.GetEncodingDescription(int encoding) -> String + + GetEncodingDescription(int encoding) -> String - + SetConfig(ConfigBase config) - + - + SetConfigPath(String prefix) - + - - FontMapper.GetDefaultConfigPath() -> String + + GetDefaultConfigPath() -> String GetAltForEncoding(int encoding, String facename=EmptyString, bool interactive=True) -> PyObject - + @@ -7818,19 +8940,19 @@ background. IsEncodingAvailable(int encoding, String facename=EmptyString) -> bool - + - + SetDialogParent(Window parent) - + - + SetDialogTitle(String title) - + @@ -7838,7 +8960,7 @@ background. #--------------------------------------------------------------------------- - + __init__(int pointSize, int family, int style, int weight, bool underline=False, String face=EmptyString, @@ -7849,20 +8971,20 @@ background. - + FontFromNativeInfo(NativeFontInfo info) -> Font - + FontFromNativeInfoString(String info) -> Font - + @@ -7872,7 +8994,7 @@ background. - + @@ -7883,15 +9005,15 @@ background. Ok() -> bool - __eq__(Font font) -> bool + __eq__(Font other) -> bool - + - __ne__(Font font) -> bool + __ne__(Font other) -> bool - + @@ -7909,94 +9031,94 @@ background. GetUnderlined() -> bool - + GetFaceName() -> String GetEncoding() -> int - + GetNativeFontInfo() -> NativeFontInfo IsFixedWidth() -> bool - + GetNativeFontInfoDesc() -> String - + GetNativeFontInfoUserDesc() -> String - + SetPointSize(int pointSize) - + SetFamily(int family) - + SetStyle(int style) - + SetWeight(int weight) - + SetFaceName(String faceName) - + - + SetUnderlined(bool underlined) - + SetEncoding(int encoding) - + SetNativeFontInfo(NativeFontInfo info) - + - + SetNativeFontInfoFromString(String info) - + - + SetNativeFontInfoUserDesc(String info) - + - + GetFamilyString() -> String - + GetStyleString() -> String - + GetWeightString() -> String - + SetNoAntiAliasing(bool no=True) @@ -8006,10 +9128,10 @@ background. GetNoAntiAliasing() -> bool - Font.GetDefaultEncoding() -> int + GetDefaultEncoding() -> int - - Font.SetDefaultEncoding(int encoding) + + SetDefaultEncoding(int encoding) @@ -8025,11 +9147,11 @@ background. __del__() - + _setCallbackInfo(PyObject self, PyObject _class, bool incref) - - + + @@ -8043,7 +9165,7 @@ background. EnumerateEncodings(String facename=EmptyString) -> bool - + @@ -8058,8 +9180,8 @@ background. - - + + @@ -8077,9 +9199,9 @@ background. bool bLoadDefault=True, bool bConvertEncoding=False) -> bool - - - + + + @@ -8092,96 +9214,96 @@ background. - Locale.GetSystemLanguage() -> int + GetSystemLanguage() -> int - Locale.GetSystemEncoding() -> int + GetSystemEncoding() -> int - - Locale.GetSystemEncodingName() -> String + + GetSystemEncodingName() -> String IsOk() -> bool - + GetLocale() -> String GetLanguage() -> int - + GetSysName() -> String - + GetCanonicalName() -> String - - Locale.AddCatalogLookupPathPrefix(String prefix) + + AddCatalogLookupPathPrefix(String prefix) - + AddCatalog(String szDomain) -> bool - + IsLoaded(String szDomain) -> bool - + - - Locale.GetLanguageInfo(int lang) -> LanguageInfo + + GetLanguageInfo(int lang) -> LanguageInfo - - Locale.GetLanguageName(int lang) -> String + + GetLanguageName(int lang) -> String - - Locale.FindLanguageInfo(String locale) -> LanguageInfo + + FindLanguageInfo(String locale) -> LanguageInfo - + - - Locale.AddLanguage(LanguageInfo info) + + AddLanguage(LanguageInfo info) - + - + GetString(String szOrigString, String szDomain=EmptyString) -> String - - + + - + GetName() -> String - + GetLocale() -> Locale - + - + - - GetTranslation(String sz) -> String -GetTranslation(String sz1, String sz2, size_t n) -> String + + GetTranslation(String str) -> String +GetTranslation(String str, String strPlural, size_t n) -> String - - + + @@ -8189,7 +9311,7 @@ GetTranslation(String sz1, String sz2, size_t n) -> String #--------------------------------------------------------------------------- - + __init__() -> EncodingConverter @@ -8204,27 +9326,27 @@ GetTranslation(String sz1, String sz2, size_t n) -> String - + Convert(String input) -> String - + - EncodingConverter.GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray + GetPlatformEquivalents(int enc, int platform=PLATFORM_CURRENT) -> wxFontEncodingArray - EncodingConverter.GetAllEquivalents(int enc) -> wxFontEncodingArray + GetAllEquivalents(int enc) -> wxFontEncodingArray - EncodingConverter.CanConvert(int encIn, int encOut) -> bool + CanConvert(int encIn, int encOut) -> bool @@ -8255,14 +9377,14 @@ if wx.Platform == "__WXMSW__": #--------------------------------------------------------------------------- - + __del__() - + BeginDrawing() - + EndDrawing() @@ -8270,32 +9392,32 @@ if wx.Platform == "__WXMSW__": - + FloodFill(Point pt, Colour col, int style=FLOOD_SURFACE) -> bool - - + + - + GetPixelXY(int x, int y) -> Colour - + GetPixel(Point pt) -> Colour - + - + DrawLineXY(int x1, int y1, int x2, int y2) @@ -8304,27 +9426,27 @@ if wx.Platform == "__WXMSW__": - + DrawLine(Point pt1, Point pt2) - - + + - + CrossHairXY(int x, int y) - + CrossHair(Point pt) - + - + DrawArcXY(int x1, int y1, int x2, int y2, int xc, int yc) @@ -8335,15 +9457,15 @@ if wx.Platform == "__WXMSW__": - + DrawArc(Point pt1, Point pt2, Point centre) - - - + + + - + DrawCheckMarkXY(int x, int y, int width, int height) @@ -8352,13 +9474,13 @@ if wx.Platform == "__WXMSW__": - + DrawCheckMark(Rect rect) - + - + DrawEllipticArcXY(int x, int y, int w, int h, double sa, double ea) @@ -8369,29 +9491,29 @@ if wx.Platform == "__WXMSW__": - + DrawEllipticArc(Point pt, Size sz, double sa, double ea) - - + + - + DrawPointXY(int x, int y) - + DrawPoint(Point pt) - + - + DrawRectangleXY(int x, int y, int width, int height) @@ -8400,20 +9522,20 @@ if wx.Platform == "__WXMSW__": - + DrawRectangle(Point pt, Size sz) - - + + - + DrawRectangleRect(Rect rect) - + - + DrawRoundedRectangleXY(int x, int y, int width, int height, double radius) @@ -8423,22 +9545,22 @@ if wx.Platform == "__WXMSW__": - + DrawRoundedRectangle(Point pt, Size sz, double radius) - - + + - + DrawRoundedRectangleRect(Rect r, double radius) - + - + DrawCircleXY(int x, int y, int radius) @@ -8446,14 +9568,14 @@ if wx.Platform == "__WXMSW__": - + DrawCircle(Point pt, int radius) - + - + DrawEllipseXY(int x, int y, int width, int height) @@ -8462,80 +9584,80 @@ if wx.Platform == "__WXMSW__": - + DrawEllipse(Point pt, Size sz) - - + + - + DrawEllipseRect(Rect rect) - + - + DrawIconXY(Icon icon, int x, int y) - + - + DrawIcon(Icon icon, Point pt) - - + + - + DrawBitmapXY(Bitmap bmp, int x, int y, bool useMask=False) - + - + DrawBitmap(Bitmap bmp, Point pt, bool useMask=False) - - + + - + DrawTextXY(String text, int x, int y) - + - + DrawText(String text, Point pt) - - + + - + DrawRotatedTextXY(String text, int x, int y, double angle) - + - + DrawRotatedText(String text, Point pt, double angle) - - + + @@ -8548,7 +9670,7 @@ if wx.Platform == "__WXMSW__": - + @@ -8561,118 +9683,118 @@ if wx.Platform == "__WXMSW__": Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, bool useMask=False, Point srcPtMask=DefaultPosition) -> bool - - - - + + + + - + - + DrawLines(int points, Point points_array, int xoffset=0, int yoffset=0) - + - + DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, int fillStyle=ODDEVEN_RULE) - + - + DrawLabel(String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, int indexAccel=-1) - - + + - + DrawImageLabel(String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, int indexAccel=-1) -> Rect - - - + + + - + DrawSpline(int points, Point points_array) - + - + Clear() StartDoc(String message) -> bool - + - + EndDoc() - + StartPage() - + EndPage() - + SetFont(Font font) - + - + SetPen(Pen pen) - + - + SetBrush(Brush brush) - + - + SetBackground(Brush brush) - + - + SetBackgroundMode(int mode) - + SetPalette(Palette palette) - + - + SetClippingRegionXY(int x, int y, int width, int height) @@ -8681,38 +9803,38 @@ if wx.Platform == "__WXMSW__": - + SetClippingRegion(Point pt, Size sz) - - + + - + SetClippingRect(Rect rect) - + - + SetClippingRegionAsRegion(Region region) - + - + DestroyClippingRegion() - + GetClippingBox() -> (x, y, width, height) - - - - + + + + - + GetClippingRect() -> Rect @@ -8721,65 +9843,71 @@ if wx.Platform == "__WXMSW__": GetCharWidth() -> int - + GetTextExtent(wxString string) -> (width, height) Get the width and height of the text using the current font. Only works for single line strings. - - - + + + - + GetFullTextExtent(wxString string, Font font=None) -> (width, height, descent, externalLeading) Get the width, height, decent and leading of the text using the current or specified font. Only works for single line strings. - - - - - - + + + + + + - + GetMultiLineTextExtent(wxString string, Font font=None) -> (width, height, descent, externalLeading) 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. - - - - - + + + + + - + + GetPartialTextExtents(String text) -> wxArrayInt + + + + + GetSize() -> Size Get the DC size in device units. - + GetSizeTuple() -> (width, height) Get the DC size in device units. - - + + - + GetSizeMM() -> Size Get the DC size in milimeters. - + GetSizeMMTuple() -> (width, height) Get the DC size in milimeters. - - + + @@ -8839,7 +9967,7 @@ Works for single as well as multi-line strings. GetDepth() -> int - + GetPPI() -> Size @@ -8848,108 +9976,108 @@ Works for single as well as multi-line strings. GetBackgroundMode() -> int - + GetBackground() -> Brush - + GetBrush() -> Brush - + GetFont() -> Font - + GetPen() -> Pen - + GetTextBackground() -> Colour - + GetTextForeground() -> Colour - + SetTextForeground(Colour colour) - + - + SetTextBackground(Colour colour) - + GetMapMode() -> int - + SetMapMode(int mode) - + GetUserScale() -> (xScale, yScale) - - + + - + SetUserScale(double x, double y) - + GetLogicalScale() -> (xScale, yScale) - - + + - + SetLogicalScale(double x, double y) - + GetLogicalOrigin() -> Point - + GetLogicalOriginTuple() -> (x,y) - - + + - + SetLogicalOrigin(int x, int y) - + GetDeviceOrigin() -> Point - + GetDeviceOriginTuple() -> (x,y) - - + + - + SetDeviceOrigin(int x, int y) - + SetAxisOrientation(bool xLeftRight, bool yBottomUp) @@ -8959,13 +10087,13 @@ Works for single as well as multi-line strings. GetLogicalFunction() -> int - + SetLogicalFunction(int function) - + SetOptimization(bool opt) @@ -8974,14 +10102,14 @@ Works for single as well as multi-line strings. GetOptimization() -> bool - + CalcBoundingBox(int x, int y) - + ResetBoundingBox() @@ -8996,63 +10124,63 @@ Works for single as well as multi-line strings. MaxY() -> int - + GetBoundingBox() -> (x1,y1, x2,y2) - - - - + + + + _DrawPointList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject - - - + + + _DrawLineList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject - - - + + + _DrawRectangleList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject - - - + + + _DrawEllipseList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject - - - + + + _DrawPolygonList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -> PyObject - - - + + + _DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, PyObject backgroundList) -> PyObject - - - - + + + + @@ -9060,20 +10188,20 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__() -> MemoryDC MemoryDCFromDC(DC oldDC) -> MemoryDC - + - + SelectObject(Bitmap bitmap) - + @@ -9081,32 +10209,42 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - - - __init__(DC dc, Bitmap buffer) -> BufferedDC + + + + + + + + + __init__(DC dc, Bitmap buffer) -> BufferedDC +__init__(DC dc, Size area) -> BufferedDC - - + + BufferedDCInternalBuffer(DC dc, Size area) -> BufferedDC - - + + - + + __del__() + + UnMask() - + __init__(Window window, Bitmap buffer=NullBitmap) -> BufferedPaintDC - - + + @@ -9114,20 +10252,20 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__() -> ScreenDC StartDrawingOnTopWin(Window window) -> bool - + StartDrawingOnTop(Rect rect=None) -> bool - + @@ -9138,11 +10276,11 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__(Window win) -> ClientDC - + @@ -9150,11 +10288,11 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__(Window win) -> PaintDC - + @@ -9162,11 +10300,11 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__(Window win) -> WindowDC - + @@ -9174,11 +10312,11 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__(DC dc, bool mirror) -> MirrorDC - + @@ -9187,71 +10325,323 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__(wxPrintData printData) -> PostScriptDC - + GetPrintData() -> wxPrintData - + SetPrintData(wxPrintData data) - + - - PostScriptDC.SetResolution(int ppi) + + SetResolution(int ppi) - PostScriptDC.GetResolution() -> int + GetResolution() -> int #--------------------------------------------------------------------------- - + __init__(String filename=EmptyString) -> MetaFile - + - + __init__(String filename=EmptyString, int width=0, int height=0, String description=EmptyString) -> MetaFileDC - + - + - + __init__(wxPrintData printData) -> PrinterDC - + + class DC_old(DC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = DC.FloodFillXY + GetPixel = DC.GetPixelXY + DrawLine = DC.DrawLineXY + CrossHair = DC.CrossHairXY + DrawArc = DC.DrawArcXY + DrawCheckMark = DC.DrawCheckMarkXY + DrawEllipticArc = DC.DrawEllipticArcXY + DrawPoint = DC.DrawPointXY + DrawRectangle = DC.DrawRectangleXY + DrawRoundedRectangle = DC.DrawRoundedRectangleXY + DrawCircle = DC.DrawCircleXY + DrawEllipse = DC.DrawEllipseXY + DrawIcon = DC.DrawIconXY + DrawBitmap = DC.DrawBitmapXY + DrawText = DC.DrawTextXY + DrawRotatedText = DC.DrawRotatedTextXY + Blit = DC.BlitXY + + + class MemoryDC_old(MemoryDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = MemoryDC.FloodFillXY + GetPixel = MemoryDC.GetPixelXY + DrawLine = MemoryDC.DrawLineXY + CrossHair = MemoryDC.CrossHairXY + DrawArc = MemoryDC.DrawArcXY + DrawCheckMark = MemoryDC.DrawCheckMarkXY + DrawEllipticArc = MemoryDC.DrawEllipticArcXY + DrawPoint = MemoryDC.DrawPointXY + DrawRectangle = MemoryDC.DrawRectangleXY + DrawRoundedRectangle = MemoryDC.DrawRoundedRectangleXY + DrawCircle = MemoryDC.DrawCircleXY + DrawEllipse = MemoryDC.DrawEllipseXY + DrawIcon = MemoryDC.DrawIconXY + DrawBitmap = MemoryDC.DrawBitmapXY + DrawText = MemoryDC.DrawTextXY + DrawRotatedText = MemoryDC.DrawRotatedTextXY + Blit = MemoryDC.BlitXY + + + class BufferedDC_old(BufferedDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = BufferedDC.FloodFillXY + GetPixel = BufferedDC.GetPixelXY + DrawLine = BufferedDC.DrawLineXY + CrossHair = BufferedDC.CrossHairXY + DrawArc = BufferedDC.DrawArcXY + DrawCheckMark = BufferedDC.DrawCheckMarkXY + DrawEllipticArc = BufferedDC.DrawEllipticArcXY + DrawPoint = BufferedDC.DrawPointXY + DrawRectangle = BufferedDC.DrawRectangleXY + DrawRoundedRectangle = BufferedDC.DrawRoundedRectangleXY + DrawCircle = BufferedDC.DrawCircleXY + DrawEllipse = BufferedDC.DrawEllipseXY + DrawIcon = BufferedDC.DrawIconXY + DrawBitmap = BufferedDC.DrawBitmapXY + DrawText = BufferedDC.DrawTextXY + DrawRotatedText = BufferedDC.DrawRotatedTextXY + Blit = BufferedDC.BlitXY + + + class BufferedPaintDC_old(BufferedPaintDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = BufferedPaintDC.FloodFillXY + GetPixel = BufferedPaintDC.GetPixelXY + DrawLine = BufferedPaintDC.DrawLineXY + CrossHair = BufferedPaintDC.CrossHairXY + DrawArc = BufferedPaintDC.DrawArcXY + DrawCheckMark = BufferedPaintDC.DrawCheckMarkXY + DrawEllipticArc = BufferedPaintDC.DrawEllipticArcXY + DrawPoint = BufferedPaintDC.DrawPointXY + DrawRectangle = BufferedPaintDC.DrawRectangleXY + DrawRoundedRectangle = BufferedPaintDC.DrawRoundedRectangleXY + DrawCircle = BufferedPaintDC.DrawCircleXY + DrawEllipse = BufferedPaintDC.DrawEllipseXY + DrawIcon = BufferedPaintDC.DrawIconXY + DrawBitmap = BufferedPaintDC.DrawBitmapXY + DrawText = BufferedPaintDC.DrawTextXY + DrawRotatedText = BufferedPaintDC.DrawRotatedTextXY + Blit = BufferedPaintDC.BlitXY + + + class ScreenDC_old(ScreenDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = ScreenDC.FloodFillXY + GetPixel = ScreenDC.GetPixelXY + DrawLine = ScreenDC.DrawLineXY + CrossHair = ScreenDC.CrossHairXY + DrawArc = ScreenDC.DrawArcXY + DrawCheckMark = ScreenDC.DrawCheckMarkXY + DrawEllipticArc = ScreenDC.DrawEllipticArcXY + DrawPoint = ScreenDC.DrawPointXY + DrawRectangle = ScreenDC.DrawRectangleXY + DrawRoundedRectangle = ScreenDC.DrawRoundedRectangleXY + DrawCircle = ScreenDC.DrawCircleXY + DrawEllipse = ScreenDC.DrawEllipseXY + DrawIcon = ScreenDC.DrawIconXY + DrawBitmap = ScreenDC.DrawBitmapXY + DrawText = ScreenDC.DrawTextXY + DrawRotatedText = ScreenDC.DrawRotatedTextXY + Blit = ScreenDC.BlitXY + + + class ClientDC_old(ClientDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = ClientDC.FloodFillXY + GetPixel = ClientDC.GetPixelXY + DrawLine = ClientDC.DrawLineXY + CrossHair = ClientDC.CrossHairXY + DrawArc = ClientDC.DrawArcXY + DrawCheckMark = ClientDC.DrawCheckMarkXY + DrawEllipticArc = ClientDC.DrawEllipticArcXY + DrawPoint = ClientDC.DrawPointXY + DrawRectangle = ClientDC.DrawRectangleXY + DrawRoundedRectangle = ClientDC.DrawRoundedRectangleXY + DrawCircle = ClientDC.DrawCircleXY + DrawEllipse = ClientDC.DrawEllipseXY + DrawIcon = ClientDC.DrawIconXY + DrawBitmap = ClientDC.DrawBitmapXY + DrawText = ClientDC.DrawTextXY + DrawRotatedText = ClientDC.DrawRotatedTextXY + Blit = ClientDC.BlitXY + + + class PaintDC_old(PaintDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = PaintDC.FloodFillXY + GetPixel = PaintDC.GetPixelXY + DrawLine = PaintDC.DrawLineXY + CrossHair = PaintDC.CrossHairXY + DrawArc = PaintDC.DrawArcXY + DrawCheckMark = PaintDC.DrawCheckMarkXY + DrawEllipticArc = PaintDC.DrawEllipticArcXY + DrawPoint = PaintDC.DrawPointXY + DrawRectangle = PaintDC.DrawRectangleXY + DrawRoundedRectangle = PaintDC.DrawRoundedRectangleXY + DrawCircle = PaintDC.DrawCircleXY + DrawEllipse = PaintDC.DrawEllipseXY + DrawIcon = PaintDC.DrawIconXY + DrawBitmap = PaintDC.DrawBitmapXY + DrawText = PaintDC.DrawTextXY + DrawRotatedText = PaintDC.DrawRotatedTextXY + Blit = PaintDC.BlitXY + + + class WindowDC_old(WindowDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = WindowDC.FloodFillXY + GetPixel = WindowDC.GetPixelXY + DrawLine = WindowDC.DrawLineXY + CrossHair = WindowDC.CrossHairXY + DrawArc = WindowDC.DrawArcXY + DrawCheckMark = WindowDC.DrawCheckMarkXY + DrawEllipticArc = WindowDC.DrawEllipticArcXY + DrawPoint = WindowDC.DrawPointXY + DrawRectangle = WindowDC.DrawRectangleXY + DrawRoundedRectangle = WindowDC.DrawRoundedRectangleXY + DrawCircle = WindowDC.DrawCircleXY + DrawEllipse = WindowDC.DrawEllipseXY + DrawIcon = WindowDC.DrawIconXY + DrawBitmap = WindowDC.DrawBitmapXY + DrawText = WindowDC.DrawTextXY + DrawRotatedText = WindowDC.DrawRotatedTextXY + Blit = WindowDC.BlitXY + + + class MirrorDC_old(MirrorDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = MirrorDC.FloodFillXY + GetPixel = MirrorDC.GetPixelXY + DrawLine = MirrorDC.DrawLineXY + CrossHair = MirrorDC.CrossHairXY + DrawArc = MirrorDC.DrawArcXY + DrawCheckMark = MirrorDC.DrawCheckMarkXY + DrawEllipticArc = MirrorDC.DrawEllipticArcXY + DrawPoint = MirrorDC.DrawPointXY + DrawRectangle = MirrorDC.DrawRectangleXY + DrawRoundedRectangle = MirrorDC.DrawRoundedRectangleXY + DrawCircle = MirrorDC.DrawCircleXY + DrawEllipse = MirrorDC.DrawEllipseXY + DrawIcon = MirrorDC.DrawIconXY + DrawBitmap = MirrorDC.DrawBitmapXY + DrawText = MirrorDC.DrawTextXY + DrawRotatedText = MirrorDC.DrawRotatedTextXY + Blit = MirrorDC.BlitXY + + + class PostScriptDC_old(PostScriptDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = PostScriptDC.FloodFillXY + GetPixel = PostScriptDC.GetPixelXY + DrawLine = PostScriptDC.DrawLineXY + CrossHair = PostScriptDC.CrossHairXY + DrawArc = PostScriptDC.DrawArcXY + DrawCheckMark = PostScriptDC.DrawCheckMarkXY + DrawEllipticArc = PostScriptDC.DrawEllipticArcXY + DrawPoint = PostScriptDC.DrawPointXY + DrawRectangle = PostScriptDC.DrawRectangleXY + DrawRoundedRectangle = PostScriptDC.DrawRoundedRectangleXY + DrawCircle = PostScriptDC.DrawCircleXY + DrawEllipse = PostScriptDC.DrawEllipseXY + DrawIcon = PostScriptDC.DrawIconXY + DrawBitmap = PostScriptDC.DrawBitmapXY + DrawText = PostScriptDC.DrawTextXY + DrawRotatedText = PostScriptDC.DrawRotatedTextXY + Blit = PostScriptDC.BlitXY + + + class MetaFileDC_old(MetaFileDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = MetaFileDC.FloodFillXY + GetPixel = MetaFileDC.GetPixelXY + DrawLine = MetaFileDC.DrawLineXY + CrossHair = MetaFileDC.CrossHairXY + DrawArc = MetaFileDC.DrawArcXY + DrawCheckMark = MetaFileDC.DrawCheckMarkXY + DrawEllipticArc = MetaFileDC.DrawEllipticArcXY + DrawPoint = MetaFileDC.DrawPointXY + DrawRectangle = MetaFileDC.DrawRectangleXY + DrawRoundedRectangle = MetaFileDC.DrawRoundedRectangleXY + DrawCircle = MetaFileDC.DrawCircleXY + DrawEllipse = MetaFileDC.DrawEllipseXY + DrawIcon = MetaFileDC.DrawIconXY + DrawBitmap = MetaFileDC.DrawBitmapXY + DrawText = MetaFileDC.DrawTextXY + DrawRotatedText = MetaFileDC.DrawRotatedTextXY + Blit = MetaFileDC.BlitXY + + + class PrinterDC_old(PrinterDC): + """DC class that has methods with 2.4 compatible parameters.""" + FloodFill = PrinterDC.FloodFillXY + GetPixel = PrinterDC.GetPixelXY + DrawLine = PrinterDC.DrawLineXY + CrossHair = PrinterDC.CrossHairXY + DrawArc = PrinterDC.DrawArcXY + DrawCheckMark = PrinterDC.DrawCheckMarkXY + DrawEllipticArc = PrinterDC.DrawEllipticArcXY + DrawPoint = PrinterDC.DrawPointXY + DrawRectangle = PrinterDC.DrawRectangleXY + DrawRoundedRectangle = PrinterDC.DrawRoundedRectangleXY + DrawCircle = PrinterDC.DrawCircleXY + DrawEllipse = PrinterDC.DrawEllipseXY + DrawIcon = PrinterDC.DrawIconXY + DrawBitmap = PrinterDC.DrawBitmapXY + DrawText = PrinterDC.DrawTextXY + DrawRotatedText = PrinterDC.DrawRotatedTextXY + Blit = PrinterDC.BlitXY + + #--------------------------------------------------------------------------- - + __init__(int width, int height, int mask=True, int initialCount=1) -> ImageList @@ -9267,28 +10657,28 @@ Works for single as well as multi-line strings. Add(Bitmap bitmap, Bitmap mask=NullBitmap) -> int - - + + AddWithColourMask(Bitmap bitmap, Colour maskColour) -> int - - + + AddIcon(Icon icon) -> int - + Replace(int index, Bitmap bitmap) -> bool - + @@ -9296,11 +10686,11 @@ Works for single as well as multi-line strings. bool solidBackground=False) -> bool - + - + @@ -9315,12 +10705,12 @@ Works for single as well as multi-line strings. RemoveAll() -> bool - + GetSize() -> (width,height) - - + + @@ -9328,25 +10718,25 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - - + + AddPen(Pen pen) - + - + FindOrCreatePen(Colour colour, int width, int style) -> Pen - + - + RemovePen(Pen pen) - + @@ -9354,24 +10744,24 @@ Works for single as well as multi-line strings. - - + + AddBrush(Brush brush) - + - + FindOrCreateBrush(Colour colour, int style) -> Brush - + - + RemoveBrush(Brush brush) - + @@ -9379,36 +10769,36 @@ Works for single as well as multi-line strings. - + __init__() -> ColourDatabase __del__() - + Find(String name) -> Colour - + - + FindName(Colour colour) -> String - + - + AddColour(String name, Colour colour) - - + + - + Append(String name, int red, int green, int blue) - + @@ -9416,14 +10806,14 @@ Works for single as well as multi-line strings. - - + + AddFont(Font font) - + - + FindOrCreateFont(int point_size, int family, int style, int weight, bool underline=False, String facename=EmptyString, int encoding=FONTENCODING_DEFAULT) -> Font @@ -9433,14 +10823,14 @@ Works for single as well as multi-line strings. - + - + RemoveFont(Font font) - + @@ -9450,84 +10840,85 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- + NullColor = NullColour #--------------------------------------------------------------------------- - + __init__() -> Effects - + GetHighlightColour() -> Colour - + GetLightShadow() -> Colour - + GetFaceColour() -> Colour - + GetMediumShadow() -> Colour - + GetDarkShadow() -> Colour - + SetHighlightColour(Colour c) - + - + SetLightShadow(Colour c) - + - + SetFaceColour(Colour c) - + - + SetMediumShadow(Colour c) - + - + SetDarkShadow(Colour c) - + - + Set(Colour highlightColour, Colour lightShadow, Colour faceColour, Colour mediumShadow, Colour darkShadow) - - - - - + + + + + - + DrawSunkenEdge(DC dc, Rect rect, int borderSize=1) - - + + TileBitmap(Rect rect, DC dc, Bitmap bitmap) -> bool - - - + + + @@ -9539,18 +10930,18 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, String name=PanelNameStr) -> Panel - - - - + + + + - + @@ -9560,16 +10951,17 @@ Works for single as well as multi-line strings. Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, String name=PanelNameStr) -> bool + Create the GUI part of the Window for 2-phase creation mode. - - - - + + + + - + - + InitDialog() @@ -9577,18 +10969,18 @@ Works for single as well as multi-line strings. #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, String name=PanelNameStr) -> ScrolledWindow - - - - + + + + - + @@ -9598,16 +10990,17 @@ Works for single as well as multi-line strings. Create(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, String name=PanelNameStr) -> bool + Create the GUI part of the Window for 2-phase creation mode. - - - - + + + + - + - + SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False) @@ -9620,7 +11013,7 @@ Works for single as well as multi-line strings. - + Scroll(int x, int y) @@ -9633,44 +11026,44 @@ Works for single as well as multi-line strings. - + SetScrollPageSize(int orient, int pageSize) - + SetScrollRate(int xstep, int ystep) - + GetScrollPixelsPerUnit() -> (xUnit, yUnit) Get the size of one logical unit in physical units. - - + + - + EnableScrolling(bool x_scrolling, bool y_scrolling) - + GetViewStart() -> (x,y) Get the view start - - + + - + SetScale(double xs, double ys) @@ -9683,56 +11076,56 @@ Works for single as well as multi-line strings. GetScaleY() -> double - + Translate between scrolled and unscrolled coordinates. - + - + CalcScrolledPosition(Point pt) -> Point CalcScrolledPosition(int x, int y) -> (sx, sy) Translate between scrolled and unscrolled coordinates. - - + + - + Translate between scrolled and unscrolled coordinates. - + - + CalcUnscrolledPosition(Point pt) -> Point CalcUnscrolledPosition(int x, int y) -> (ux, uy) Translate between scrolled and unscrolled coordinates. - - + + - + AdjustScrollbars() CalcScrollInc(ScrollWinEvent event) -> int - + - + SetTargetWindow(Window target) - + - + GetTargetWindow() -> Window @@ -9740,17 +11133,17 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) #--------------------------------------------------------------------------- - - + + Maximize(bool maximize=True) - + Restore() - + Iconize(bool iconize=True) @@ -9762,19 +11155,19 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) IsIconized() -> bool - + GetIcon() -> Icon - + SetIcon(Icon icon) - + - + SetIcons(wxIconBundle icons) - + @@ -9787,19 +11180,21 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) IsFullScreen() -> bool - + SetTitle(String title) + Sets the window's title. Applicable only to frames and dialogs. - + - + GetTitle() -> String + Gets the window's title. Applicable only to frames and dialogs. SetShape(Region region) -> bool - + @@ -9807,19 +11202,19 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) #--------------------------------------------------------------------------- - + __init__(Window parent, int id, String title, Point pos=DefaultPosition, Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame - - - - - + + + + + - + @@ -9830,28 +11225,31 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool - - - - - + + + + + - + - + GetClientAreaOrigin() -> Point + 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...) - + SendSizeEvent() - + SetMenuBar(MenuBar menubar) - + - + GetMenuBar() -> MenuBar @@ -9867,46 +11265,46 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) - + GetStatusBar() -> StatusBar - + SetStatusBar(StatusBar statBar) - + - + SetStatusText(String text, int number=0) - + - + SetStatusWidths(int widths, int widths_field) - + - + PushStatusText(String text, int number=0) - + - + PopStatusText(int number=0) - + SetStatusBarPane(int n) @@ -9920,29 +11318,29 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) - + GetToolBar() -> wxToolBar - + SetToolBar(wxToolBar toolbar) - + - + DoGiveHelp(String text, bool show) - + - + DoMenuUpdates(Menu menu=None) - + @@ -9950,19 +11348,19 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) #--------------------------------------------------------------------------- - + __init__(Window parent, int id, String title, Point pos=DefaultPosition, Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog - - - - - + + + + + - + @@ -9973,16 +11371,16 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool - - - - - + + + + + - + - + SetReturnCode(int returnCode) @@ -9991,31 +11389,25 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) GetReturnCode() -> int - + CreateTextSizer(String message) -> Sizer - + - + CreateButtonSizer(long flags) -> Sizer - - SetModal(bool flag) - - - - IsModal() -> bool ShowModal() -> int - + EndModal(int retCode) @@ -10029,19 +11421,19 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) #--------------------------------------------------------------------------- - + __init__(Window parent, int id, String title, Point pos=DefaultPosition, Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame - - - - - + + + + + - + @@ -10052,13 +11444,13 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool - - - - - + + + + + - + @@ -10066,50 +11458,50 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) #--------------------------------------------------------------------------- - + __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow - - + + - - + + - + SetBitmap(Bitmap bitmap) - + - + GetBitmap() -> Bitmap - + __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 - + - + - - + + GetSplashStyle() -> long - + GetSplashWindow() -> SplashScreenWindow @@ -10120,14 +11512,14 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar - + - + @@ -10136,13 +11528,13 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool - + - + - + SetFieldsCount(int number=1) @@ -10151,46 +11543,46 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) GetFieldsCount() -> int - + SetStatusText(String text, int number=0) - + - + GetStatusText(int number=0) -> String - + PushStatusText(String text, int number=0) - + - + PopStatusText(int number=0) - + SetStatusWidths(int widths, int widths_field) - + - + GetFieldRect(int i) -> Rect - + SetMinHeight(int height) @@ -10207,41 +11599,41 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) #--------------------------------------------------------------------------- - + - __init__(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow - + - - + + - + PreSplitterWindow() -> SplitterWindow - Create(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_3D, String name=SplitterNameStr) -> bool - + - - + + - + - + GetWindow1() -> Window - + GetWindow2() -> Window - + SetSplitMode(int mode) @@ -10250,51 +11642,51 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) GetSplitMode() -> int - + Initialize(Window window) - + SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool - - + + SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool - - + + Unsplit(Window toRemove=None) -> bool - + ReplaceWindow(Window winOld, Window winNew) -> bool - - + + IsSplit() -> bool - + SetSashSize(int width) - + SetBorderSize(int width) @@ -10306,7 +11698,7 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) GetBorderSize() -> int - + SetSashPosition(int position, bool redraw=True) @@ -10316,7 +11708,7 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) GetSashPosition() -> int - + SetMinimumPaneSize(int min) @@ -10333,10 +11725,10 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) - + SizeWindows() - + SetNeedUpdating(bool needUpdating) @@ -10347,15 +11739,15 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) - + __init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent - + - + SetSashPosition(int pos) @@ -10364,7 +11756,7 @@ CalcUnscrolledPosition(int x, int y) -> (ux, uy) GetSashPosition() -> int - + GetWindowBeingRemoved() -> Window @@ -10384,18 +11776,18 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) #--------------------------------------------------------------------------- - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, String name=SashNameStr) -> SashWindow - + - - + + - + @@ -10406,15 +11798,15 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) long style=wxCLIP_CHILDREN|wxSW_3D, String name=SashNameStr) -> bool - + - - + + - + - + SetSashVisible(int edge, bool sash) @@ -10427,7 +11819,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + SetSashBorder(int edge, bool border) @@ -10446,7 +11838,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + SetDefaultBorderSize(int width) @@ -10455,7 +11847,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetDefaultBorderSize() -> int - + SetExtraBorderSize(int width) @@ -10464,13 +11856,13 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetExtraBorderSize() -> int - + SetMinimumSizeX(int min) - + SetMinimumSizeY(int min) @@ -10482,13 +11874,13 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetMinimumSizeY() -> int - + SetMaximumSizeX(int max) - + SetMaximumSizeY(int max) @@ -10508,12 +11900,12 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + SizeWindows() - + __init__(int id=0, int edge=SASH_NONE) -> SashEvent @@ -10521,7 +11913,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + SetEdge(int edge) @@ -10530,16 +11922,16 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetEdge() -> int - + SetDragRect(Rect rect) - + - + GetDragRect() -> Rect - + SetDragStatus(int status) @@ -10557,14 +11949,14 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) #--------------------------------------------------------------------------- - + __init__(int id=0) -> QueryLayoutInfoEvent - + SetRequestedLength(int length) @@ -10573,7 +11965,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetRequestedLength() -> int - + SetFlags(int flags) @@ -10582,16 +11974,16 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetFlags() -> int - + SetSize(Size size) - + - + GetSize() -> Size - + SetOrientation(int orient) @@ -10600,7 +11992,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetOrientation() -> int - + SetAlignment(int align) @@ -10611,14 +12003,14 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + __init__(int id=0) -> CalculateLayoutEvent - + SetFlags(int flags) @@ -10627,13 +12019,13 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetFlags() -> int - + SetRect(Rect rect) - + - + GetRect() -> Rect @@ -10642,18 +12034,18 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, String name=SashLayoutNameStr) -> SashLayoutWindow - + - - + + - + @@ -10664,12 +12056,12 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) long style=wxCLIP_CHILDREN|wxSW_3D, String name=SashLayoutNameStr) -> bool - + - - + + - + @@ -10678,19 +12070,19 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetOrientation() -> int - + SetAlignment(int alignment) - + SetDefaultSize(Size size) - + - + SetOrientation(int orientation) @@ -10698,7 +12090,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + __init__() -> LayoutAlgorithm @@ -10708,22 +12100,22 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool - - + + LayoutFrame(Frame frame, Window mainWindow=None) -> bool - - + + LayoutWindow(Window parent, Window mainWindow=None) -> bool - - + + @@ -10731,11 +12123,11 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) #--------------------------------------------------------------------------- - + __init__(Window parent, int flags=BORDER_NONE) -> PopupWindow - + @@ -10745,15 +12137,15 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) Create(Window parent, int flags=BORDER_NONE) -> bool - + - + Position(Point ptOrigin, Size size) - - + + @@ -10761,31 +12153,31 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) #--------------------------------------------------------------------------- - + __init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow - + PrePopupTransientWindow() -> PopupTransientWindow - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + Popup(Window focus=None) - + - + Dismiss() @@ -10793,23 +12185,23 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) #--------------------------------------------------------------------------- - + __init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow - - + + - + - + SetBoundingRect(Rect rectBound) - + - + Close() @@ -10817,42 +12209,42 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) #--------------------------------------------------------------------------- - + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow - + - - + + - + PreVScrolledWindow() -> VScrolledWindow - + _setCallbackInfo(PyObject self, PyObject _class) - - + + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool - + - - + + - + - + SetLineCount(size_t count) @@ -10866,23 +12258,31 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) ScrollLines(int lines) -> bool + 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. ScrollPages(int pages) -> bool + 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. - + RefreshLine(size_t line) - + RefreshLines(size_t from, size_t to) @@ -10891,6 +12291,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) HitTestXT(int x, int y) -> int + Test where the given (in client coords) point lies @@ -10898,11 +12299,12 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) HitTest(Point pt) -> int + Test where the given (in client coords) point lies - + - + RefreshAll() @@ -10922,39 +12324,39 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox - + - - + + - + PreVListBox() -> VListBox - + _setCallbackInfo(PyObject self, PyObject _class) - - + + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool - + - - + + - + @@ -10984,31 +12386,31 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) GetFirstSelected(unsigned long cookie) -> int - + GetNextSelected(unsigned long cookie) -> int - + - + GetMargins() -> Point - + GetSelectionBackground() -> Colour - + SetItemCount(size_t count) - + Clear() - + SetSelection(int selection) @@ -11028,7 +12430,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) - + Toggle(size_t item) @@ -11040,66 +12442,66 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) DeselectAll() -> bool - + SetMargins(Point pt) - + - + SetMarginsXY(int x, int y) - + SetSelectionBackground(Colour col) - + - + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox - + - - + + - + PreHtmlListBox() -> HtmlListBox - + _setCallbackInfo(PyObject self, PyObject _class) - - + + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool - + - - + + - + - + RefreshAll() - + SetItemCount(size_t count) @@ -11110,7 +12512,7 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) #--------------------------------------------------------------------------- - + __init__() -> TaskBarIcon @@ -11126,8 +12528,8 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) SetIcon(Icon icon, String tooltip=EmptyString) -> bool - - + + @@ -11136,17 +12538,17 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) PopupMenu(Menu menu) -> bool - + - + __init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent - + @@ -11163,402 +12565,672 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) #--------------------------------------------------------------------------- - + This class holds a variety of information related to colour dialogs. + __init__() -> ColourData + Constructor, sets default values. __del__() GetChooseFull() -> bool + 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. - + GetColour() -> Colour + Gets the colour (pre)selected by the dialog. - + GetCustomColour(int i) -> Colour + 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 white. - + SetChooseFull(int flag) + 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. - + SetColour(Colour colour) + Sets the default colour for the colour dialog. The default colour is black. - + - + SetCustomColour(int i, Colour colour) + 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 white. - + - + This class represents the colour chooser dialog. + __init__(Window parent, ColourData data=None) -> ColourDialog + Constructor. Pass a parent window, and optionally a ColourData, which +will be copied to the colour dialog's internal ColourData instance. - - + + - + GetColourData() -> ColourData - - - ShowModal() -> int + Returns a reference to the ColourData used by the dialog. - + This class represents the directory chooser dialog. + + Styles + wxDD_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. + __init__(Window parent, String message=DirSelectorPromptStr, String defaultPath=EmptyString, long style=0, Point pos=DefaultPosition, Size size=DefaultSize, String name=DirDialogNameStr) -> DirDialog - - - - + Constructor. Use ShowModal method to show the dialog. + + Styles + wxDD_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. + + + + - - - + + + - + GetPath() -> String + Returns the default or user-selected path. - + GetMessage() -> String + Returns the message that will be displayed on the dialog. GetStyle() -> long + Returns the dialog style. - + SetMessage(String message) + Sets the message that will be displayed on the dialog. - + - + SetPath(String path) + Sets the default path. - + - - ShowModal() -> int - - + This class represents the file chooser dialog. + +In Windows, this is the common file selector dialog. In X, this is a file +selector box with somewhat less functionality. 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" + + 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. + + __init__(Window parent, String message=FileSelectorPromptStr, String defaultDir=EmptyString, String defaultFile=EmptyString, String wildcard=FileSelectorDefaultWildcardStr, long style=0, Point pos=DefaultPosition) -> FileDialog + Constructor. Use ShowModal method to show the dialog. + +In Windows, this is the common file selector dialog. In X, this is a file +selector box with somewhat less functionality. 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" + + 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. + - - - - - + + + + + - + - + SetMessage(String message) + Sets the message that will be displayed on the dialog. - + - + SetPath(String path) + Sets the path (the combined directory and filename that will +be returned when the dialog is dismissed). - + - + SetDirectory(String dir) + Sets the default directory. - + - + SetFilename(String name) + Sets the default filename. - + - + SetWildcard(String wildCard) + Sets the wildcard, which can contain multiple file types, for example: + "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" - + - + SetStyle(long style) + Sets the dialog style. - + SetFilterIndex(int filterIndex) + Sets the default filter index, starting from zero. - + GetMessage() -> String + Returns the message that will be displayed on the dialog. - + GetPath() -> String + Returns the full path (directory and filename) of the selected file. - + GetDirectory() -> String + Returns the default directory. - + GetFilename() -> String + Returns the default filename. - + GetWildcard() -> String + Returns the file dialog wildcard. GetStyle() -> long + Returns the dialog style. GetFilterIndex() -> int + 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. GetFilenames() -> PyObject + 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. GetPaths() -> PyObject + 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. - + A simple dialog with a multi selection listbox. + - __init__(Window parent, String message, String caption, int LCOUNT, - String choices, long style=CHOICEDLG_STYLE, + __init__(Window parent, String message, String caption, + List choices=[], long style=CHOICEDLG_STYLE, Point pos=DefaultPosition) -> MultiChoiceDialog + Constructor. Use ShowModal method to show the dialog. - - - - - + + + + + - + - - SetSelections(wxArrayInt selections) + + SetSelections(List selections) + Specify the items in the list that shoudl be selected, using a list of integers. - + - GetSelections() -> PyObject + GetSelections() -> [selections] + Returns a list of integers representing the items that are selected. - + A simple dialog with a single selection listbox. + - __init__(Window parent, String message, String caption, int choices, - String choices_array, long style=CHOICEDLG_STYLE, + __init__(Window parent, String message, String caption, + List choices=[], long style=CHOICEDLG_STYLE, Point pos=DefaultPosition) -> SingleChoiceDialog + Constructor. Use ShowModal method to show the dialog. - - - + + + - + - + GetSelection() -> int + Get the index of teh currently selected item. - + GetStringSelection() -> String + Returns the string value of the currently selected item - + SetSelection(int sel) + Set the current selected item to sel - - ShowModal() -> int - - + A dialog with text control, [ok] and [cancel] buttons + __init__(Window parent, String message, String caption=GetTextFromUserPromptStr, String defaultValue=EmptyString, long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog + Constructor. Use ShowModal method to show the dialog. - - - - + + + + - + - + GetValue() -> String + Returns the text that the user has entered if the user has pressed OK, +or the original value if the user has pressed Cancel. - + SetValue(String value) + Sets the default text value. - + - - ShowModal() -> int - - + This class holds a variety of information related to font dialogs. + __init__() -> FontData + This class holds a variety of information related to font dialogs. __del__() - + EnableEffects(bool enable) + 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. GetAllowSymbols() -> bool + Under MS Windows, returns a flag determining whether symbol fonts can be +selected. Has no effect on other platforms. The default value is true. - + GetColour() -> Colour + Gets the colour associated with the font dialog. The default value is black. - + GetChosenFont() -> Font + Gets the font chosen by the user. GetEnableEffects() -> bool + Determines whether 'effects' are enabled under Windows. - + GetInitialFont() -> Font + Gets the font that will be initially used by the font dialog. This should have +previously been set by the application. GetShowHelp() -> bool + Returns true if the Help button will be shown (Windows only). The default +value is false. - + SetAllowSymbols(bool allowSymbols) + Under MS Windows, determines whether symbol fonts can be selected. Has no +effect on other platforms. The default value is true. - + SetChosenFont(Font font) + Sets the font that will be returned to the user (for internal use only). - + - + SetColour(Colour colour) + Sets the colour that will be used for the font foreground colour. The default +colour is black. - + - + SetInitialFont(Font font) + Sets the font that will be initially used by the font dialog. - + - + SetRange(int min, int max) + Sets the valid range for the font point size (Windows only). The default is +0, 0 (unrestricted range). - + SetShowHelp(bool showHelp) + Determines whether the Help button will be displayed in the font dialog +(Windows only). The default value is false. - + This class represents the font chooser dialog. + __init__(Window parent, FontData data) -> FontDialog + Constructor. Pass a parent window and the FontData object to be +used to initialize the dialog controls. - - + + - + GetFontData() -> FontData - - - ShowModal() -> int + Returns a reference to the internal FontData used by the FontDialog. - + This class provides a dialog that shows a single or multi-line message, with +a choice of OK, Yes, No and Cancel buttons. + + 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). + + __init__(Window parent, String message, String caption=MessageBoxCaptionStr, long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> MessageDialog + This class provides a dialog that shows a single or multi-line message, with +a choice of OK, Yes, No and Cancel buttons. + + 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). + - - - + + + - + - - ShowModal() -> int - - + A dialog that shows a short message and a progress bar. Optionally, it can +display an ABORT button. + + 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. + + __init__(String title, String message, int maximum=100, Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog + Constructor. Creates the dialog, displays it and disables user input for other +windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only. + + 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. + - - + + - + Update(int value, String newmsg=EmptyString) -> bool + Updates the dialog, setting the progress bar to the new value and, if given +changes the message above it. 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. - + - + Resume() + Can be used to continue with the dialog, after the user had chosen to abort. @@ -11576,9 +13248,11 @@ EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + Events for the FindReplaceDialog + __init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent + Events for the FindReplaceDialog @@ -11586,39 +13260,63 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetFlags() -> int + Get the currently selected flags: this is the combination of +wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags. - + GetFindString() -> String + Return the string to find (never empty). - + GetReplaceString() -> String + Return the string to replace the search string with (only +for replace and replace all events). GetDialog() -> FindReplaceDialog + Return the pointer to the dialog which generated this event. - + SetFlags(int flags) - + SetFindString(String str) - + - + SetReplaceString(String str) - + - + FindReplaceData holds the data for 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 wxFindDialogEvent is +generated so instead of using the wxFindDialogEvent 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 + wxFR_DOWN: downward search/replace selected (otherwise, upwards) + + wxFR_WHOLEWORD: whole word search/replace selected + + wxFR_MATCHCASE: case sensitive search/replace selected (otherwise, + case insensitive) + + __init__(int flags=0) -> FindReplaceData + Constuctor initializes the flags to default value (0). @@ -11626,66 +13324,115 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE __del__() - + GetFindString() -> String + Get the string to find. - + GetReplaceString() -> String + Get the replacement string. GetFlags() -> int + Get the combination of flag values. - + SetFlags(int flags) + Set the flags to use to initialize the controls of the dialog. - + SetFindString(String str) + Set the string to find (used as initial value by the dialog). - + - + SetReplaceString(String str) + Set the replacement string (used as initial value by the dialog). - + - + 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. + + 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 + + __init__(Window parent, FindReplaceData data, String title, int style=0) -> FindReplaceDialog + Create a FindReplaceDialog. The parent and data parameters must be +non-None. Use Show to display the dialog. + + 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 + - - - + + + PreFindReplaceDialog() -> FindReplaceDialog + Precreate a FindReplaceDialog for 2-phase creation + + 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 + Create(Window parent, FindReplaceData data, String title, int style=0) -> bool + Create the dialog, for 2-phase create. - - - + + + - + GetData() -> FindReplaceData + Get the FindReplaceData object used by this dialog. - + SetData(FindReplaceData data) + Set the FindReplaceData object used by this dialog. - + @@ -11693,19 +13440,19 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE #--------------------------------------------------------------------------- - + __init__(Window parent, int id, String title, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, String name=FrameNameStr) -> MDIParentFrame - - - - - + + + + + - + @@ -11716,25 +13463,25 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, String name=FrameNameStr) -> bool - - - - - + + + + + - + - + ActivateNext() - + ActivatePrevious() - + ArrangeIcons() - + Cascade() @@ -11743,27 +13490,27 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetClientWindow() -> MDIClientWindow - + GetToolBar() -> Window - + Tile() - + __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition, Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MDIChildFrame - - - - - + + + + + - + @@ -11774,34 +13521,34 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool - - - - - + + + + + - + - + Activate() - + Maximize(bool maximize) - + Restore() - + __init__(MDIParentFrame parent, long style=0) -> MDIClientWindow - + @@ -11811,7 +13558,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE Create(MDIParentFrame parent, long style=0) -> bool - + @@ -11820,27 +13567,27 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE #--------------------------------------------------------------------------- - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow - - - - + + + + - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_DoMoveWindow(int x, int y, int width, int height) @@ -11849,7 +13596,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO) @@ -11859,48 +13606,48 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_DoSetClientSize(int width, int height) - + base_DoSetVirtualSize(int x, int y) - + base_DoGetSize() -> (width, height) - - + + - + base_DoGetClientSize() -> (width, height) - - + + - + base_DoGetPosition() -> (x,y) - - + + - + base_DoGetVirtualSize() -> Size - + base_DoGetBestSize() -> Size - + base_InitDialog() @@ -11918,44 +13665,44 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE base_AcceptsFocusFromKeyboard() -> bool - + base_GetMaxSize() -> Size - + base_AddChild(Window child) - + - + base_RemoveChild(Window child) - + - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel - - - - + + + + - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_DoMoveWindow(int x, int y, int width, int height) @@ -11964,7 +13711,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO) @@ -11974,48 +13721,48 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_DoSetClientSize(int width, int height) - + base_DoSetVirtualSize(int x, int y) - + base_DoGetSize() -> (width, height) - - + + - + base_DoGetClientSize() -> (width, height) - - + + - + base_DoGetPosition() -> (x,y) - - + + - + base_DoGetVirtualSize() -> Size - + base_DoGetBestSize() -> Size - + base_InitDialog() @@ -12033,19 +13780,19 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE base_AcceptsFocusFromKeyboard() -> bool - + base_GetMaxSize() -> Size - + base_AddChild(Window child) - + - + base_RemoveChild(Window child) - + @@ -12053,7 +13800,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE #--------------------------------------------------------------------------- - + __init__() -> PrintData @@ -12072,7 +13819,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE Ok() -> bool - + GetPrinterName() -> String @@ -12084,79 +13831,79 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetPaperId() -> int - + GetPaperSize() -> Size GetQuality() -> int - + SetNoCopies(int v) - + SetCollate(bool flag) - + SetOrientation(int orient) - + SetPrinterName(String name) - + - + SetColour(bool colour) - + SetDuplex(int duplex) - + SetPaperId(int sizeId) - + SetPaperSize(Size sz) - + - + SetQuality(int quality) - + GetPrinterCommand() -> String - + GetPrinterOptions() -> String - + GetPreviewCommand() -> String - + GetFilename() -> String - + GetFontMetricPath() -> String @@ -12174,114 +13921,123 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetPrintMode() -> int - + SetPrinterCommand(String command) - + - + SetPrinterOptions(String options) - + - + SetPreviewCommand(String command) - + - + SetFilename(String filename) - + - + SetFontMetricPath(String path) - + - + SetPrinterScaleX(double x) - + SetPrinterScaleY(double y) - + SetPrinterScaling(double x, double y) - + SetPrinterTranslateX(long x) - + SetPrinterTranslateY(long y) - + SetPrinterTranslation(long x, long y) - + SetPrintMode(int printMode) + + GetOutputStream() -> OutputStream + + + SetOutputStream(OutputStream outputstream) + + + + - + __init__() -> PageSetupDialogData __del__() - + EnableHelp(bool flag) - + EnableMargins(bool flag) - + EnableOrientation(bool flag) - + EnablePaper(bool flag) - + EnablePrinter(bool flag) @@ -12308,95 +14064,95 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetDefaultInfo() -> bool - + GetMarginTopLeft() -> Point - + GetMarginBottomRight() -> Point - + GetMinMarginTopLeft() -> Point - + GetMinMarginBottomRight() -> Point GetPaperId() -> int - + GetPaperSize() -> Size - + GetPrintData() -> PrintData Ok() -> bool - + SetDefaultInfo(bool flag) - + SetDefaultMinMargins(bool flag) - + SetMarginTopLeft(Point pt) - + - + SetMarginBottomRight(Point pt) - + - + SetMinMarginTopLeft(Point pt) - + - + SetMinMarginBottomRight(Point pt) - + - + SetPaperId(int id) - + SetPaperSize(Size size) - + - + SetPrintData(PrintData printData) - + - + __init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog - - + + - + GetPageSetupData() -> PageSetupDialogData @@ -12404,7 +14160,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + __init__() -> PrintDialogData @@ -12441,85 +14197,85 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetSetupDialog() -> bool - + SetFromPage(int v) - + SetToPage(int v) - + SetMinPage(int v) - + SetMaxPage(int v) - + SetNoCopies(int v) - + SetAllPages(bool flag) - + SetSelection(bool flag) - + SetCollate(bool flag) - + SetPrintToFile(bool flag) - + SetSetupDialog(bool flag) - + EnablePrintToFile(bool flag) - + EnableSelection(bool flag) - + EnablePageNumbers(bool flag) - + EnableHelp(bool flag) @@ -12540,29 +14296,29 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE Ok() -> bool - + GetPrintData() -> PrintData - + SetPrintData(PrintData printData) - + - + __init__(Window parent, PrintDialogData data=None) -> PrintDialog - - + + - + GetPrintDialogData() -> PrintDialogData - + GetPrintDC() -> DC @@ -12570,148 +14326,148 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + __init__(PrintDialogData data=None) -> Printer - + __del__() - + CreateAbortWindow(Window parent, Printout printout) - - + + - + GetPrintDialogData() -> PrintDialogData Print(Window parent, Printout printout, int prompt=True) -> bool - - + + - + PrintDialog(Window parent) -> DC - + - + ReportError(Window parent, Printout printout, String message) - - - + + + Setup(Window parent) -> bool - + GetAbort() -> bool - Printer.GetLastError() -> int + GetLastError() -> int - + __init__(String title=PrintoutTitleStr) -> Printout - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + GetTitle() -> String - + GetDC() -> DC - + SetDC(DC dc) - + - + SetPageSizePixels(int w, int h) - + GetPageSizePixels() -> (w, h) - - + + - + SetPageSizeMM(int w, int h) - + GetPageSizeMM() -> (w, h) - - + + - + SetPPIScreen(int x, int y) - + GetPPIScreen() -> (x,y) - - + + - + SetPPIPrinter(int x, int y) - + GetPPIPrinter() -> (x,y) - - + + IsPreview() -> bool - + SetIsPreview(bool p) @@ -12724,16 +14480,16 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_OnEndDocument() - + base_OnBeginPrinting() - + base_OnEndPrinting() - + base_OnPreparePrinting() @@ -12742,55 +14498,55 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo) - - - - + + + + - + __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PreviewCanvasNameStr) -> PreviewCanvas - - - - + + + + - + - + __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame - - - - - + + + + + - + - + Initialize() - + CreateControlBar() - + CreateCanvas() @@ -12798,25 +14554,25 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + __init__(PrintPreview preview, long buttons, Window parent, Point pos=DefaultPosition, Size size=DefaultSize, long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar - + - - - + + + - + GetZoomControl() -> int - + SetZoomControl(int zoom) @@ -12825,30 +14581,30 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetPrintPreview() -> PrintPreview - + OnNext() - + OnPrevious() - + OnFirst() - + OnLast() - + OnGoto() - + __init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview - - - + + + @@ -12860,48 +14616,48 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE GetCurrentPage() -> int - + SetPrintout(Printout printout) - + - + GetPrintout() -> Printout - + GetPrintoutForPrinting() -> Printout - + SetFrame(Frame frame) - + - + SetCanvas(PreviewCanvas canvas) - + - + GetFrame() -> Frame - + GetCanvas() -> PreviewCanvas PaintPage(PreviewCanvas canvas, DC dc) -> bool - - + + DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool - - + + @@ -12910,16 +14666,16 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + AdjustScrollbars(PreviewCanvas canvas) - + - + GetPrintDialogData() -> PrintDialogData - + SetZoom(int percent) @@ -12937,7 +14693,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE Ok() -> bool - + SetOk(bool ok) @@ -12949,25 +14705,25 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + DetermineScaling() - + __init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview - - - + + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -12979,15 +14735,15 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE base_PaintPage(PreviewCanvas canvas, DC dc) -> bool - - + + base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool - - + + @@ -12996,7 +14752,7 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_SetZoom(int percent) @@ -13008,88 +14764,88 @@ EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE - + base_DetermineScaling() - + __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame - - - - - + + + + + - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + SetPreviewCanvas(PreviewCanvas canvas) - + - + SetControlBar(PreviewControlBar bar) - + - + base_Initialize() - + base_CreateCanvas() - + base_CreateControlBar() - + __init__(PrintPreview preview, long buttons, Window parent, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPreviewControlBar - + - - - + + + - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + SetPrintPreview(PrintPreview preview) - + - + base_CreateButtons() - + base_SetZoomControl(int zoom) @@ -13119,21 +14875,21 @@ indeed almost any other window. Events EVT_BUTTON: Sent when the button is clicked. - + __init__(Window parent, int id, String label, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=ButtonNameStr) -> Button Create and show a button. - + - - - + + + - - + + @@ -13146,42 +14902,46 @@ indeed almost any other window. Validator validator=DefaultValidator, String name=ButtonNameStr) -> bool Acutally create the GUI Button for 2-phase creation. - + - - - + + + - - + + - + SetDefault() This sets the button to be the default item for the panel or dialog box. - - Button.GetDefaultSize() -> Size + + GetDefaultSize() -> Size - A Buttont that contains a bitmap. - + A Button that contains a bitmap. A bitmap button can be supplied with a +single bitmap, and wxWindows 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. + + __init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, Size size=DefaultSize, long style=BU_AUTODRAW, Validator validator=DefaultValidator, String name=ButtonNameStr) -> BitmapButton - Create and show a button. + Create and show a button with a bitmap for the label. - + - - - + + + - - + + @@ -13195,62 +14955,62 @@ indeed almost any other window. String name=ButtonNameStr) -> bool Acutally create the GUI BitmapButton for 2-phase creation. - + - - - + + + - - + + - + GetBitmapLabel() -> Bitmap Returns the label bitmap (the one passed to the constructor). - + GetBitmapDisabled() -> Bitmap Returns the bitmap for the disabled state. - + GetBitmapFocus() -> Bitmap Returns the bitmap for the focused state. - + GetBitmapSelected() -> Bitmap Returns the bitmap for the selected state. - + SetBitmapDisabled(Bitmap bitmap) Sets the bitmap for the disabled button appearance. - + - + SetBitmapFocus(Bitmap bitmap) Sets the bitmap for the button appearance when it has the keyboard focus. - + - + SetBitmapSelected(Bitmap bitmap) Sets the bitmap for the selected (depressed) button appearance. - + - + SetBitmapLabel(Bitmap bitmap) 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. - + - + SetMargins(int x, int y) @@ -13268,136 +15028,207 @@ unselected state, and for all other states if no other bitmaps are provided. - + A checkbox is a labelled box which by default is either on (checkmark is +visible) or off (no checkmark). Optionally (When the wxCHK_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. + + 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. + + __init__(Window parent, int id, String label, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> CheckBox + Creates and shows a CheckBox control + + 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. + - + - - - + + + - - + + PreCheckBox() -> CheckBox + Precreate a CheckBox for 2-phase creation. + + 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. + Create(Window parent, int id, String label, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=CheckBoxNameStr) -> bool + Actually create the GUI CheckBox for 2-phase creation. - + - - - + + + - - + + GetValue() -> bool + Gets the state of a 2-state CheckBox. Returns True if it is checked, +False otherwise. IsChecked() -> bool + Similar to GetValue, but raises an exception if it is not a 2-state CheckBox. - + SetValue(bool state) + Set the state of a 2-state CheckBox. Pass True for checked, +False for unchecked. - + Get3StateValue() -> int + 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. - + Set3StateValue(int state) + 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 +(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. Is3State() -> bool + Returns whether or not the CheckBox is a 3-state CheckBox. Is3rdStateAllowedForUser() -> bool + Returns whether or not the user can set the CheckBox to the third state. #--------------------------------------------------------------------------- - + A Choice control is used to select one of a list of strings. Unlike a 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. + + - __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, String choices_array=None, - long style=0, Validator validator=DefaultValidator, + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + List choices=[], long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> Choice + Create and show a Choice control + + Events + EVT_CHOICE: Sent when an item in the list is selected. + - + - - - - + + + - - + + PreChoice() -> Choice + Precreate a Choice control for 2-phase creation. + + Events + EVT_CHOICE: Sent when an item in the list is selected. + - Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, String choices_array=None, - long style=0, Validator validator=DefaultValidator, + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + List choices=[], long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> bool + Actually create the GUI Choice control for 2-phase creation - + - - - - + + + - - + + - - GetColumns() -> int - - - SetColumns(int n=1) - - - - - + SetSelection(int n) + Select the n'th item (zero based) in the list. - + - + SetStringSelection(String string) + Select the item with the specifed string - + - - SetString(int n, String s) + + SetString(int n, String string) + Set the label for the n'th item (zero based) in the list. - + @@ -13405,111 +15236,182 @@ unselected state, and for all other states if no other bitmaps are provided. - - + 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. + + 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. + + + - __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 + __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 + Constructor, creates and shows a ComboBox control. + + 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. + - + - - - - - + + + + - - + + PreComboBox() -> ComboBox + Precreate a ComboBox control for 2-phase creation. + + 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. + - 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 + 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 + Actually create the GUI wxComboBox control for 2-phase creation - + - - - - - + + + + - - + + - + GetValue() -> String + Returns the current value in the combobox text field. - + SetValue(String value) - + - + Copy() + Copies the selected text to the clipboard. - + Cut() + Copies the selected text to the clipboard and removes the selection. - + Paste() + Pastes text from the clipboard to the text field. - + SetInsertionPoint(long pos) + Sets the insertion point in the combobox text field. GetInsertionPoint() -> long + Returns the insertion point for the combobox's text field. GetLastPosition() -> long + Returns the last position in the combobox text field. - + Replace(long from, long to, String value) + Replaces the text between two positions with the given text, in the +combobox text field. - + - + SetSelection(int n) + Selects the text between the two positions, in the combobox text field. - + SetMark(long from, long to) - + SetEditable(bool editable) - + SetInsertionPointEnd() + Sets the insertion point at the end of the combobox text field. - + Remove(long from, long to) + Removes the text between the two positions in the combobox text field. @@ -13520,21 +15422,21 @@ unselected state, and for all other states if no other bitmaps are provided. - + __init__(Window parent, int id, int range, Point pos=DefaultPosition, Size size=DefaultSize, long style=GA_HORIZONTAL, Validator validator=DefaultValidator, String name=GaugeNameStr) -> Gauge - + - - + + - - + + @@ -13546,17 +15448,17 @@ unselected state, and for all other states if no other bitmaps are provided. - + - - + + - - + + - + SetRange(int range) @@ -13565,7 +15467,7 @@ unselected state, and for all other states if no other bitmaps are provided. GetRange() -> int - + SetValue(int pos) @@ -13577,7 +15479,7 @@ unselected state, and for all other states if no other bitmaps are provided. IsVertical() -> bool - + SetShadowWidth(int w) @@ -13586,7 +15488,7 @@ unselected state, and for all other states if no other bitmaps are provided. GetShadowWidth() -> int - + SetBezelFace(int w) @@ -13600,19 +15502,19 @@ unselected state, and for all other states if no other bitmaps are provided. - + __init__(Window parent, int id, String label, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=StaticBoxNameStr) -> StaticBox - + - - - + + + - + @@ -13623,13 +15525,13 @@ unselected state, and for all other states if no other bitmaps are provided. - + - - - + + + - + @@ -13637,18 +15539,18 @@ unselected state, and for all other states if no other bitmaps are provided. - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=LI_HORIZONTAL, String name=StaticTextNameStr) -> StaticLine - + - - + + - + @@ -13659,38 +15561,38 @@ unselected state, and for all other states if no other bitmaps are provided. - + - - + + - + IsVertical() -> bool - StaticLine.GetDefaultSize() -> int + GetDefaultSize() -> int #--------------------------------------------------------------------------- - + __init__(Window parent, int id, String label, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=StaticTextNameStr) -> StaticText - + - - - + + + - + @@ -13701,13 +15603,13 @@ unselected state, and for all other states if no other bitmaps are provided. - + - - - + + + - + @@ -13715,19 +15617,19 @@ unselected state, and for all other states if no other bitmaps are provided. - + __init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=StaticBitmapNameStr) -> StaticBitmap - + - - - + + + - + @@ -13738,28 +15640,28 @@ unselected state, and for all other states if no other bitmaps are provided. - + - - - + + + - + - + GetBitmap() -> Bitmap - + SetBitmap(Bitmap bitmap) - + - + SetIcon(Icon icon) - + @@ -13767,22 +15669,21 @@ unselected state, and for all other states if no other bitmaps are provided. - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, String choices_array=None, + wxArrayString choices=wxPyEmptyStringArray, long style=0, Validator validator=DefaultValidator, String name=ListBoxNameStr) -> ListBox - + - - - - + + + - - + + @@ -13790,40 +15691,41 @@ unselected state, and for all other states if no other bitmaps are provided. Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, String choices_array=None, + wxArrayString choices=wxPyEmptyStringArray, long style=0, Validator validator=DefaultValidator, String name=ListBoxNameStr) -> bool - + - - - - + + + - - + + - + Insert(String item, int pos, PyObject clientData=None) + Insert an item into the control before the item at the pos index, +optionally associating some data object with the item. - + - + - + InsertItems(wxArrayString items, int pos) - + - + Set(wxArrayString items) - + @@ -13832,26 +15734,27 @@ unselected state, and for all other states if no other bitmaps are provided. - + SetSelection(int n, bool select=True) - + Select(int n) + Sets the item at index 'n' to be the selected item. - + Deselect(int n) - + DeselectAll(int itemToLeaveSelected=-1) @@ -13860,61 +15763,81 @@ unselected state, and for all other states if no other bitmaps are provided. SetStringSelection(String s, bool select=True) -> bool - + GetSelections() -> PyObject - + SetFirstItem(int n) - + SetFirstItemStr(String s) - + - + EnsureVisible(int n) - + AppendAndEnsureVisible(String s) - + IsSorted() -> bool + + SetItemForegroundColour(int item, Colour c) + + + + + + + SetItemBackgroundColour(int item, Colour c) + + + + + + + SetItemFont(int item, Font f) + + + + + #--------------------------------------------------------------------------- - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, String choices_array=None, + wxArrayString choices=wxPyEmptyStringArray, long style=0, Validator validator=DefaultValidator, String name=ListBoxNameStr) -> CheckListBox - + - - - - + + + - - + + @@ -13922,19 +15845,18 @@ unselected state, and for all other states if no other bitmaps are provided. Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, String choices_array=None, + wxArrayString choices=wxPyEmptyStringArray, long style=0, Validator validator=DefaultValidator, String name=ListBoxNameStr) -> bool - + - - - - + + + - - + + @@ -13943,7 +15865,7 @@ unselected state, and for all other states if no other bitmaps are provided. - + Check(int index, int check=True) @@ -13955,12 +15877,14 @@ unselected state, and for all other states if no other bitmaps are provided. HitTest(Point pt) -> int + Test where the given (in client coords) point lies - + HitTestXY(int x, int y) -> int + Test where the given (in client coords) point lies @@ -13977,59 +15901,62 @@ unselected state, and for all other states if no other bitmaps are provided. - - - + + + - + + __del__() + + Init() - + SetTextColour(Colour colText) - + - + SetBackgroundColour(Colour colBack) - + - + SetFont(Font font, long flags=TEXT_ATTR_FONT) - + - + SetAlignment(int alignment) - + SetTabs(wxArrayInt tabs) - + - + SetLeftIndent(int indent) - + SetRightIndent(int indent) - + SetFlags(long flags) @@ -14062,19 +15989,19 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, - + GetTextColour() -> Colour - + GetBackgroundColour() -> Colour - + GetFont() -> Font GetAlignment() -> int - + GetTabs() -> wxArrayInt @@ -14089,31 +16016,31 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, IsDefault() -> bool - - TextAttr.Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr + + Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr - - - + + + - + __init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=TextCtrlNameStr) -> TextCtrl - + - - - + + + - - + + @@ -14125,26 +16052,26 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, long style=0, Validator validator=DefaultValidator, String name=TextCtrlNameStr) -> bool - + - - - + + + - - + + - + GetValue() -> String - + SetValue(String value) - + - + GetRange(long from, long to) -> String @@ -14157,7 +16084,7 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, - + GetLineText(long lineNo) -> String @@ -14178,29 +16105,29 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, IsMultiLine() -> bool - + GetSelection() -> (from, to) If the return values from and to are the same, there is no selection. - - + + - + GetStringSelection() -> String - + Clear() - + Replace(long from, long to, String value) - + - + Remove(long from, long to) @@ -14210,43 +16137,43 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, LoadFile(String file) -> bool - + SaveFile(String file=EmptyString) -> bool - + - + MarkDirty() - + DiscardEdits() - + SetMaxLength(unsigned long len) - + WriteText(String text) - + - + AppendText(String text) - + EmulateKeyPress(KeyEvent event) -> bool - + @@ -14254,23 +16181,23 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, - + GetStyle(long position, TextAttr style) -> bool - + SetDefaultStyle(TextAttr style) -> bool - + - + GetDefaultStyle() -> TextAttr @@ -14280,27 +16207,38 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, - + PositionToXY(long pos) -> (x, y) - - + + - + ShowPosition(long pos) - + + HitTest(Point pt) -> (result, row, col) + Find the character at position given in pixels. +NB: pt is in device coords (not adjusted for the client area +origin nor scrolling) + + + + + + + Copy() - + Cut() - + Paste() @@ -14312,10 +16250,10 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, CanPaste() -> bool - + Undo() - + Redo() @@ -14324,13 +16262,13 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, CanRedo() -> bool - + SetInsertionPoint(long pos) - + SetInsertionPointEnd() @@ -14339,29 +16277,29 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, GetLastPosition() -> long - + SetSelection(long from, long to) - + SelectAll() - + SetEditable(bool editable) - + write(String text) - + - + GetString(long from, long to) -> String @@ -14370,17 +16308,17 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, - + __init__(int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent - + - + GetMouseEvent() -> MouseEvent @@ -14400,19 +16338,19 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=SB_HORIZONTAL, Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> ScrollBar - + - - + + - - + + @@ -14422,14 +16360,15 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) Create(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=SB_HORIZONTAL, Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> bool + Do the 2nd phase and create the GUI control. - + - - + + - - + + @@ -14447,15 +16386,28 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) IsVertical() -> bool - + SetThumbPosition(int viewStart) - + SetScrollbar(int position, int thumbSize, int range, int pageSize, bool refresh=True) + Sets the scrollbar properties of a built-in scrollbar. + + orientation: Determines the scrollbar whose page size is to be + set. May be wx.HORIZONTAL or wx.VERTICAL. + + position: The position of the scrollbar in scroll units. + + thumbSize: The size of the thumb, or visible portion of the + scrollbar, in scroll units. + + range: The maximum position of the scrollbar. + + refresh: True to redraw the scrollbar, false otherwise. @@ -14469,18 +16421,18 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=SP_HORIZONTAL, String name=SPIN_BUTTON_NAME) -> SpinButton - + - - + + - + @@ -14491,12 +16443,12 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) Size size=DefaultSize, long style=SP_HORIZONTAL, String name=SPIN_BUTTON_NAME) -> bool - + - - + + - + @@ -14508,25 +16460,25 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) GetMax() -> int - + SetValue(int val) - + SetMin(int minVal) - + SetMax(int maxVal) - + SetRange(int minVal, int maxVal) @@ -14538,23 +16490,23 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) - + __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 - + - - - + + + - + @@ -14566,34 +16518,34 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) long style=SP_ARROW_KEYS, int min=0, int max=100, int initial=0, String name=SpinCtrlNameStr) -> bool - + - - - + + + - + GetValue() -> int - + SetValue(int value) - + SetValueString(String text) - + - + SetRange(int minVal, int maxVal) @@ -14606,66 +16558,86 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) GetMax() -> int - + SetSelection(long from, long to) - - + + + + + + + + + __init__(wxEventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent + + + + + + + GetPosition() -> int + + + SetPosition(int pos) + + -EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) +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) #--------------------------------------------------------------------------- - + - __init__(Window parent, int id, String label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - String choices_array=None, int majorDimension=0, + __init__(Window parent, int id, String label, Point pos=DefaultPosition, + Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, + int majorDimension=0, long style=RA_HORIZONTAL, Validator validator=DefaultValidator, String name=RadioBoxNameStr) -> RadioBox - + - - - - - + + + + - - + + PreRadioBox() -> RadioBox - Create(Window parent, int id, String label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - String choices_array=None, int majorDimension=0, + Create(Window parent, int id, String label, Point pos=DefaultPosition, + Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, + int majorDimension=0, long style=RA_HORIZONTAL, Validator validator=DefaultValidator, String name=RadioBoxNameStr) -> bool - + - - - - - + + + + - - + + - + SetSelection(int n) @@ -14674,13 +16646,13 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetSelection() -> int - + GetStringSelection() -> String SetStringSelection(String s) -> bool - + @@ -14689,30 +16661,30 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) FindString(String s) -> int - + - + GetString(int n) -> String - + SetString(int n, String label) - + - + EnableItem(int n, bool enable=True) - + ShowItem(int n, bool show=True) @@ -14738,20 +16710,20 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- - + __init__(Window parent, int id, String label, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> RadioButton - + - - - + + + - - + + @@ -14762,20 +16734,20 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=RadioButtonNameStr) -> bool - + - - - + + + - - + + GetValue() -> bool - + SetValue(bool value) @@ -14786,23 +16758,23 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- - + __init__(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, + Point pos=DefaultPosition, Size size=DefaultSize, long style=SL_HORIZONTAL, Validator validator=DefaultValidator, String name=SliderNameStr) -> Slider - + - - + + - - + + @@ -14810,32 +16782,32 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) Create(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, + Point pos=DefaultPosition, Size size=DefaultSize, long style=SL_HORIZONTAL, Validator validator=DefaultValidator, String name=SliderNameStr) -> bool - + - - + + - - + + GetValue() -> int - + SetValue(int value) - + SetRange(int minValue, int maxValue) @@ -14848,25 +16820,25 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetMax() -> int - + SetMin(int minValue) - + SetMax(int maxValue) - + SetLineSize(int lineSize) - + SetPageSize(int pageSize) @@ -14878,7 +16850,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetPageSize() -> int - + SetThumbLength(int lenPixels) @@ -14887,26 +16859,26 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetThumbLength() -> int - - SetTickFreq(int n, int pos) + + SetTickFreq(int n, int pos=1) - + GetTickFreq() -> int - + ClearTicks() - + SetTick(int tickPos) - + ClearSel() @@ -14915,7 +16887,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetSelStart() -> int - + SetSelection(int min, int max) @@ -14930,20 +16902,20 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) - + __init__(Window parent, int id, String label, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> ToggleButton - + - - - + + + - - + + @@ -14954,17 +16926,17 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -> bool - + - - - + + + - - + + - + SetValue(bool value) @@ -14973,10 +16945,11 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetValue() -> bool - + SetLabel(String label) + Sets the item's text. - + @@ -14984,11 +16957,11 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- - + GetPageCount() -> size_t - + GetPage(size_t n) -> Window @@ -15001,28 +16974,28 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) SetPageText(size_t n, String strText) -> bool - + - + GetPageText(size_t n) -> String - + SetImageList(ImageList imageList) - + - + AssignImageList(ImageList imageList) - + - + GetImageList() -> ImageList @@ -15038,16 +17011,16 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) - + SetPageSize(Size size) - + - + CalcSizeFromPage(Size sizePage) -> Size - + @@ -15068,8 +17041,8 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) AddPage(Window page, String text, bool select=False, int imageId=-1) -> bool - - + + @@ -15079,8 +17052,8 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) int imageId=-1) -> bool - - + + @@ -15091,7 +17064,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) - + AdvanceSelection(bool forward=True) @@ -15099,7 +17072,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) - + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, int nOldSel=-1) -> BookCtrlEvent @@ -15113,7 +17086,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetSelection() -> int - + SetSelection(int nSel) @@ -15122,7 +17095,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) GetOldSelection() -> int - + SetOldSelection(int nOldSel) @@ -15133,17 +17106,17 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> Notebook - + - - + + - + @@ -15153,46 +17126,46 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> bool - + - - + + - + GetRowCount() -> int - + SetPadding(Size padding) - + - + SetTabSize(Size sz) - + HitTest(Point pt) -> (tab, where) - Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags. + Returns the tab which is hit, and flags indicating where using wx.NB_HITTEST_ flags. - - + + - + CalcSizeFromPage(Size sizePage) -> Size - + - + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, int nOldSel=-1) -> NotebookEvent @@ -15244,17 +17217,17 @@ class NotebookPage(wx.Panel): #--------------------------------------------------------------------------- - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=EmptyString) -> Listbook - + - - + + - + @@ -15264,12 +17237,12 @@ class NotebookPage(wx.Panel): Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=EmptyString) -> bool - + - - + + - + @@ -15277,7 +17250,7 @@ class NotebookPage(wx.Panel): - + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, int nOldSel=-1) -> ListbookEvent @@ -15297,38 +17270,38 @@ class NotebookPage(wx.Panel): #--------------------------------------------------------------------------- - + __init__(BookCtrl nb) -> BookCtrlSizer - + - + RecalcSizes() - + CalcMin() -> Size - + GetControl() -> BookCtrl - + __init__(Notebook nb) -> NotebookSizer - + - + RecalcSizes() - + CalcMin() -> Size - + GetNotebook() -> Notebook @@ -15336,11 +17309,11 @@ class NotebookPage(wx.Panel): #--------------------------------------------------------------------------- - + GetId() -> int - + GetControl() -> Control @@ -15370,22 +17343,22 @@ class NotebookPage(wx.Panel): CanBeToggled() -> bool - + GetNormalBitmap() -> Bitmap - + GetDisabledBitmap() -> Bitmap - + GetBitmap() -> Bitmap - + GetLabel() -> String - + GetShortHelp() -> String - + GetLongHelp() -> String @@ -15394,7 +17367,7 @@ class NotebookPage(wx.Panel): - + Toggle() @@ -15406,71 +17379,71 @@ class NotebookPage(wx.Panel): SetShortHelp(String help) -> bool - + SetLongHelp(String help) -> bool - + - + SetNormalBitmap(Bitmap bmp) - + - + SetDisabledBitmap(Bitmap bmp) - + - + SetLabel(String label) - + - + Detach() - + Attach(ToolBarBase tbar) - + GetClientData() -> PyObject - + SetClientData(PyObject clientData) - + - - + + DoAddTool(int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, int kind=ITEM_NORMAL, String shortHelp=EmptyString, String longHelp=EmptyString, PyObject clientData=None) -> ToolBarToolBase - - - + + + - - - + + + - + DoInsertTool(size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, int kind=ITEM_NORMAL, String shortHelp=EmptyString, String longHelp=EmptyString, @@ -15478,57 +17451,57 @@ class NotebookPage(wx.Panel): - - - + + + - - - + + + - + AddToolItem(ToolBarToolBase tool) -> ToolBarToolBase - + - + InsertToolItem(size_t pos, ToolBarToolBase tool) -> ToolBarToolBase - + - + AddControl(Control control) -> ToolBarToolBase - + - + InsertControl(size_t pos, Control control) -> ToolBarToolBase - + - + FindControl(int id) -> Control - + AddSeparator() -> ToolBarToolBase - + InsertSeparator(size_t pos) -> ToolBarToolBase - + RemoveTool(int id) -> ToolBarToolBase @@ -15546,27 +17519,27 @@ class NotebookPage(wx.Panel): - + ClearTools() Realize() -> bool - + EnableTool(int id, bool enable) - + ToggleTool(int id, bool toggle) - + SetToggle(int id, bool toggle) @@ -15579,11 +17552,11 @@ class NotebookPage(wx.Panel): - + SetToolClientData(int id, PyObject clientData) - + @@ -15604,61 +17577,61 @@ class NotebookPage(wx.Panel): - + SetToolShortHelp(int id, String helpString) - + - + GetToolShortHelp(int id) -> String - + SetToolLongHelp(int id, String helpString) - + - + GetToolLongHelp(int id) -> String - + SetMarginsXY(int x, int y) - + SetMargins(Size size) - + - + SetToolPacking(int packing) - + SetToolSeparation(int separation) - + GetToolMargins() -> Size - + GetMargins() -> Size @@ -15667,13 +17640,13 @@ class NotebookPage(wx.Panel): GetToolSeparation() -> int - + SetRows(int nRows) - + SetMaxRowsCols(int rows, int cols) @@ -15686,26 +17659,26 @@ class NotebookPage(wx.Panel): GetMaxCols() -> int - + SetToolBitmapSize(Size size) - + - + GetToolBitmapSize() -> Size - + GetToolSize() -> Size - + FindToolForPosition(int x, int y) -> ToolBarToolBase - + FindById(int toolid) -> ToolBarToolBase @@ -15716,18 +17689,18 @@ class NotebookPage(wx.Panel): - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, String name=wxPyToolBarNameStr) -> ToolBar - + - - + + - + @@ -15738,15 +17711,15 @@ class NotebookPage(wx.Panel): long style=wxNO_BORDER|wxTB_HORIZONTAL, String name=wxPyToolBarNameStr) -> bool - + - - + + - + - + FindToolForPosition(int x, int y) -> ToolBarToolBase @@ -15765,27 +17738,27 @@ class NotebookPage(wx.Panel): __init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, Font font=wxNullFont) -> ListItemAttr - - - + + + - + SetTextColour(Colour colText) - + - + SetBackgroundColour(Colour colBack) - + - + SetFont(Font font) - + @@ -15797,16 +17770,16 @@ class NotebookPage(wx.Panel): HasFont() -> bool - + GetTextColour() -> Colour - + GetBackgroundColour() -> Colour - + GetFont() -> Font - + Destroy() @@ -15814,95 +17787,95 @@ class NotebookPage(wx.Panel): #--------------------------------------------------------------------------- - + __init__() -> ListItem __del__() - + Clear() - + ClearAttributes() - + SetMask(long mask) - + SetId(long id) - + SetColumn(int col) - + SetState(long state) - + SetStateMask(long stateMask) - + SetText(String text) - + - + SetImage(int image) - + SetData(long data) - + SetWidth(int width) - + SetAlign(int align) - + SetTextColour(Colour colText) - + - + SetBackgroundColour(Colour colBack) - + - + SetFont(Font font) - + @@ -15917,7 +17890,7 @@ class NotebookPage(wx.Panel): GetState() -> long - + GetText() -> String @@ -15932,19 +17905,19 @@ class NotebookPage(wx.Panel): GetAlign() -> int - + GetAttributes() -> ListItemAttr HasAttributes() -> bool - + GetTextColour() -> Colour - + GetBackgroundColour() -> Colour - + GetFont() -> Font @@ -15952,7 +17925,7 @@ class NotebookPage(wx.Panel): - + @@ -15962,7 +17935,7 @@ class NotebookPage(wx.Panel): #--------------------------------------------------------------------------- - + __init__(wxEventType commandType=wxEVT_NULL, int id=0) -> ListEvent @@ -15974,8 +17947,8 @@ class NotebookPage(wx.Panel): - - + + GetKeyCode() -> int @@ -15985,13 +17958,13 @@ class NotebookPage(wx.Panel): GetColumn() -> int - + GetPoint() -> Point - + GetLabel() -> String - + GetText() -> String @@ -16003,7 +17976,7 @@ class NotebookPage(wx.Panel): GetMask() -> long - + GetItem() -> ListItem @@ -16015,7 +17988,7 @@ class NotebookPage(wx.Panel): IsEditCancelled() -> bool - + SetEditCanceled(bool editCancelled) @@ -16051,19 +18024,19 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=LC_ICON, Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl - + - - + + - - + + @@ -16073,36 +18046,54 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED Create(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=LC_ICON, Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool + Do the 2nd phase and create the GUI control. - + - - + + - - + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + SetForegroundColour(Colour col) -> bool + 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. - + SetBackgroundColour(Colour col) -> bool + 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. + +Note that setting the background colour does not cause an immediate +refresh, so you may wish to call ClearBackground or Refresh after +calling this function. + +Use this function with care under GTK+ as the new appearance of the +window might not look equally well when used with themes, i.e GTK+'s +ability to change its look as the user wishes with run-time loadable +modules. - + - + GetColumn(int col) -> ListItem @@ -16112,7 +18103,7 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED SetColumn(int col, ListItem item) -> bool - + @@ -16131,10 +18122,10 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED GetCountPerPage() -> int - + GetViewRect() -> Rect - + GetItem(long itemId, int col=0) -> ListItem @@ -16144,7 +18135,7 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED SetItem(ListItem info) -> bool - + @@ -16152,7 +18143,7 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED - + @@ -16179,17 +18170,17 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED - + GetItemText(long item) -> String - + SetItemText(long item, String str) - + @@ -16205,13 +18196,13 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED - + GetItemPosition(long item) -> Point - + GetItemRect(long item, int code=LIST_RECT_BOUNDS) -> Rect @@ -16222,7 +18213,7 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED SetItemPosition(long item, Point pos) -> bool - + @@ -16231,10 +18222,10 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED GetColumnCount() -> int - + GetItemSpacing() -> Size - + SetItemSpacing(int spacing, bool isSmall=False) @@ -16244,27 +18235,30 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED GetSelectedItemCount() -> int - + GetTextColour() -> Colour - + SetTextColour(Colour col) - + GetTopItem() -> long - + SetSingleStyle(long style, bool add=True) - + SetWindowStyleFlag(long style) + Sets the style of the window. Please note that some styles cannot be +changed after the window creation and that Refresh() might be called +after changing the others for the change to take place immediately. @@ -16277,36 +18271,36 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED - + GetImageList(int which) -> ImageList - + SetImageList(ImageList imageList, int which) - + - + AssignImageList(ImageList imageList, int which) - + IsVirtual() -> bool - + RefreshItem(long item) - + RefreshItems(long itemFrom, long itemTo) @@ -16337,10 +18331,10 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED DeleteAllColumns() -> bool - + ClearAll() - + EditLabel(long item) @@ -16356,7 +18350,7 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED FindItem(long start, String str, bool partial=False) -> long - + @@ -16371,7 +18365,7 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED FindItemAtPos(long start, Point pt, int direction) -> long - + @@ -16380,21 +18374,21 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED Determines which item (if any) is at the specified point, giving details in the second return value (see wxLIST_HITTEST_... flags.) - - + + InsertItem(ListItem info) -> long - + InsertStringItem(long index, String label) -> long - + @@ -16408,7 +18402,7 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)InsertImageStringItem(long index, String label, int imageIndex) -> long - + @@ -16416,7 +18410,7 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)InsertColumnInfo(long col, ListItem info) -> long - + @@ -16424,12 +18418,12 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.) - + - + SetItemCount(long count) @@ -16442,27 +18436,27 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.) - + SetItemTextColour(long item, Colour col) - + - + GetItemTextColour(long item) -> Colour - + SetItemBackgroundColour(long item, Colour col) - + - + GetItemBackgroundColour(long item) -> Colour @@ -16471,10 +18465,10 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.) SortItems(PyObject func) -> bool - + - + GetMainWindow() -> Window @@ -16482,19 +18476,19 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.) - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=LC_REPORT, Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListView - + - - + + - - + + @@ -16504,24 +18498,25 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)Create(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=LC_REPORT, Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool + Do the 2nd phase and create the GUI control. - + - - + + - - + + - + Select(long n, bool on=True) - + Focus(long index) @@ -16545,14 +18540,14 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.) - + SetColumnImage(int col, int image) - + ClearColumnImage(int col) @@ -16578,43 +18573,43 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.) __eq__(TreeItemId other) -> bool - + __ne__(TreeItemId other) -> bool - + - + __init__(PyObject obj=None) -> TreeItemData - + GetData() -> PyObject - + SetData(PyObject obj) - + - + GetId() -> TreeItemId - + SetId(TreeItemId id) - + - + Destroy() @@ -16645,7 +18640,7 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1) - + __init__(wxEventType commandType=wxEVT_NULL, int id=0) -> TreeEvent @@ -16653,67 +18648,67 @@ EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP - + GetItem() -> TreeItemId - + SetItem(TreeItemId item) - + - + GetOldItem() -> TreeItemId - + SetOldItem(TreeItemId item) - + - + GetPoint() -> Point - + SetPoint(Point pt) - + - + GetKeyEvent() -> KeyEvent GetKeyCode() -> int - + SetKeyEvent(KeyEvent evt) - + - + GetLabel() -> String - + SetLabel(String label) - + IsEditCancelled() -> bool - + SetEditCanceled(bool editCancelled) - + SetToolTip(String toolTip) - + @@ -16721,20 +18716,20 @@ EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=TR_DEFAULT_STYLE, Validator validator=DefaultValidator, String name=TreeCtrlNameStr) -> TreeCtrl - + - - + + - - + + @@ -16745,21 +18740,22 @@ EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP Size size=DefaultSize, long style=TR_DEFAULT_STYLE, Validator validator=DefaultValidator, String name=TreeCtrlNameStr) -> bool + Do the 2nd phase and create the GUI control. - + - - + + - - + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -16768,7 +18764,7 @@ EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP GetIndent() -> unsigned int - + SetIndent(unsigned int indent) @@ -16777,381 +18773,394 @@ EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP GetSpacing() -> unsigned int - + SetSpacing(unsigned int spacing) - + GetImageList() -> ImageList - + GetStateImageList() -> ImageList - + SetImageList(ImageList imageList) - + - + SetStateImageList(ImageList imageList) - + - + AssignImageList(ImageList imageList) - + - + AssignStateImageList(ImageList imageList) - + - + GetItemText(TreeItemId item) -> String - + GetItemImage(TreeItemId item, int which=TreeItemIcon_Normal) -> int - + - + GetItemData(TreeItemId item) -> TreeItemData - + GetItemPyData(TreeItemId item) -> PyObject - + - + GetItemTextColour(TreeItemId item) -> Colour - + - + GetItemBackgroundColour(TreeItemId item) -> Colour - + - + GetItemFont(TreeItemId item) -> Font - + - + SetItemText(TreeItemId item, String text) - - + + - + SetItemImage(TreeItemId item, int image, int which=TreeItemIcon_Normal) - + - + SetItemData(TreeItemId item, TreeItemData data) - - + + - + SetItemPyData(TreeItemId item, PyObject obj) - - + + - + SetItemHasChildren(TreeItemId item, bool has=True) - + - + SetItemBold(TreeItemId item, bool bold=True) - + - + SetItemTextColour(TreeItemId item, Colour col) - - + + - + SetItemBackgroundColour(TreeItemId item, Colour col) - - + + - + SetItemFont(TreeItemId item, Font font) - - + + IsVisible(TreeItemId item) -> bool - + ItemHasChildren(TreeItemId item) -> bool - + IsExpanded(TreeItemId item) -> bool - + IsSelected(TreeItemId item) -> bool - + IsBold(TreeItemId item) -> bool - + GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t - + - + GetRootItem() -> TreeItemId - + GetSelection() -> TreeItemId GetSelections() -> PyObject - + GetItemParent(TreeItemId item) -> TreeItemId - + GetFirstChild(TreeItemId item) -> PyObject - + - GetNextChild(TreeItemId item, wxTreeItemIdValue cookie) -> PyObject + GetNextChild(TreeItemId item, void cookie) -> PyObject - - + + - + GetLastChild(TreeItemId item) -> TreeItemId - + - + GetNextSibling(TreeItemId item) -> TreeItemId - + - + GetPrevSibling(TreeItemId item) -> TreeItemId - + - + GetFirstVisibleItem() -> TreeItemId - + GetNextVisible(TreeItemId item) -> TreeItemId - + - + GetPrevVisible(TreeItemId item) -> TreeItemId - + - + AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - + - + - + PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - - + + - + - + InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - - - + + + - + - + InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - + - + - + - + AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - - + + - + - + Delete(TreeItemId item) - + - + DeleteChildren(TreeItemId item) - + - + DeleteAllItems() - + Expand(TreeItemId item) - + - + Collapse(TreeItemId item) - + - + CollapseAndReset(TreeItemId item) - + - + Toggle(TreeItemId item) - + - + Unselect() - + + UnselectItem(TreeItemId item) + + + + + UnselectAll() - - SelectItem(TreeItemId item) + + SelectItem(TreeItemId item, bool select=True) + + + + + + + ToggleItemSelection(TreeItemId item) - + - + EnsureVisible(TreeItemId item) - + - + ScrollTo(TreeItemId item) - + - + EditLabel(TreeItemId item) - + - + GetEditControl() -> TextCtrl - + SortChildren(TreeItemId item) - + - + HitTest(Point point) -> (item, where) Determine which item (if any) belongs the given point. The coordinates specified are relative to the client area of tree ctrl @@ -17159,14 +19168,14 @@ and the where return value is set to a bitmask of wxTREE_HITTEST_xxx constants. - - + + GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject - + @@ -17175,7 +19184,7 @@ constants. #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, Point pos=DefaultPosition, Size size=DefaultSize, @@ -17183,15 +19192,15 @@ constants. String filter=EmptyString, int defaultFilter=0, String name=TreeCtrlNameStr) -> GenericDirCtrl - - - - - + + + + + - + - + @@ -17204,45 +19213,45 @@ constants. String filter=EmptyString, int defaultFilter=0, String name=TreeCtrlNameStr) -> bool - - - - - + + + + + - + - + ExpandPath(String path) -> bool - + - + GetDefaultPath() -> String - + SetDefaultPath(String path) - + - + GetPath() -> String - + GetFilePath() -> String - + SetPath(String path) - + - + ShowHidden(bool show) @@ -17251,62 +19260,62 @@ constants. GetShowHidden() -> bool - + GetFilter() -> String - + SetFilter(String filter) - + GetFilterIndex() -> int - + SetFilterIndex(int n) - + GetRootId() -> TreeItemId - + GetTreeCtrl() -> TreeCtrl GetFilterListCtrl() -> DirFilterListCtrl - + FindChild(wxTreeItemId parentId, wxString path) -> (item, done) 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 - - - + + + - + DoResize() - + ReCreateTree() - + __init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=0) -> DirFilterListCtrl - - - - + + + + @@ -17317,17 +19326,17 @@ If the path string has been used (we're at the leaf), done is set to True Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=0) -> bool - - - - + + + + - + FillFilterList(String filter, int defaultFilter) - + @@ -17336,29 +19345,29 @@ If the path string has been used (we're at the leaf), done is set to True #--------------------------------------------------------------------------- - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, String name=ControlNameStr) -> PyControl - - - - + + + + - - + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_DoMoveWindow(int x, int y, int width, int height) @@ -17367,7 +19376,7 @@ If the path string has been used (we're at the leaf), done is set to True - + base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO) @@ -17377,48 +19386,48 @@ If the path string has been used (we're at the leaf), done is set to True - + base_DoSetClientSize(int width, int height) - + base_DoSetVirtualSize(int x, int y) - + base_DoGetSize() -> (width, height) - - + + - + base_DoGetClientSize() -> (width, height) - - + + - + base_DoGetPosition() -> (x,y) - - + + - + base_DoGetVirtualSize() -> Size - + base_DoGetBestSize() -> Size - + base_InitDialog() @@ -17436,19 +19445,19 @@ If the path string has been used (we're at the leaf), done is set to True base_AcceptsFocusFromKeyboard() -> bool - + base_GetMaxSize() -> Size - + base_AddChild(Window child) - + - + base_RemoveChild(Window child) - + @@ -17462,49 +19471,104 @@ EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) - + 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. + + 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 + + __init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> HelpEvent - + - + GetPosition() -> Point + Returns the left-click position of the mouse, in screen +coordinates. This allows the application to position the help +appropriately. - + SetPosition(Point pos) + Sets the left-click position of the mouse, in screen coordinates. - + - + GetLink() -> String + Get an optional link to further help - + SetLink(String link) + Set an optional link to further help - + - + GetTarget() -> String + Get an optional target to display help in. E.g. a window specification - + SetTarget(String target) + Set an optional target to display help in. E.g. a window specification - + - + 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. + +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. + + * 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). + + __init__(Window window=None, bool doNow=True) -> ContextHelp + Constructs a context help object, calling BeginContextHelp if +doNow is true (the default). + +If window is None, the top window is used. - + @@ -17513,139 +19577,199 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) BeginContextHelp(Window window=None) -> bool + 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. + +Returns true if the application was successfully put into +context-sensitive help mode. This function only returns when the +event loop has finished. - + EndContextHelp() -> bool + Ends context-sensitive help mode. Not normally called by the +application. - + 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. + + __init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton + Constructor, creating and showing a context help button. - + - - + + - - HelpProvider.Set(HelpProvider helpProvider) -> HelpProvider + 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(). + + Set(HelpProvider helpProvider) -> HelpProvider + 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. - + - - HelpProvider.Get() -> HelpProvider + + Get() -> HelpProvider + Return the current application-wide help provider. - + GetHelp(Window window) -> String + 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. - + ShowHelp(Window window) -> bool + 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. - + - + AddHelp(Window window, String text) + Associates the text with the given window. - - + + - + AddHelpById(int id, String text) + 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. - + + + + + RemoveHelp(Window window) + 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. + + - + Destroy() - + 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. + __init__() -> SimpleHelpProvider + 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. #--------------------------------------------------------------------------- - + __init__(Bitmap image, Cursor cursor=wxNullCursor) -> DragImage - - + + DragIcon(Icon image, Cursor cursor=wxNullCursor) -> DragImage - - + + DragString(String str, Cursor cursor=wxNullCursor) -> DragImage - - + + DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage - - + + DragListItem(ListCtrl listCtrl, long id) -> DragImage - + __del__() - + SetBackingBitmap(Bitmap bitmap) - + BeginDrag(Point hotspot, Window window, bool fullScreen=False, Rect rect=None) -> bool - - + + - + BeginDragBounded(Point hotspot, Window window, Window boundingWindow) -> bool - - - + + + @@ -17654,7 +19778,7 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) Move(Point pt) -> bool - + @@ -17663,33 +19787,33 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) Hide() -> bool - + GetImageRect(Point pos) -> Rect - + DoDrawImage(DC dc, Point pos) -> bool - - + + UpdateBackingFromWindow(DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -> bool - - - - + + + + RedrawImage(Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool - - + + @@ -17703,75 +19827,75 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) #--------------------------------------------------------------------------- - - SystemSettings.GetColour(int index) -> Colour + + GetColour(int index) -> Colour - - SystemSettings.GetFont(int index) -> Font + + GetFont(int index) -> Font - SystemSettings.GetMetric(int index) -> int + GetMetric(int index) -> int - SystemSettings.HasFeature(int index) -> bool + HasFeature(int index) -> bool - SystemSettings.GetScreenType() -> int + GetScreenType() -> int - - SystemSettings.SetScreenType(int screen) + + SetScreenType(int screen) - + __init__() -> SystemOptions - - SystemOptions.SetOption(String name, String value) + + SetOption(String name, String value) - - + + - - SystemOptions.SetOptionInt(String name, int value) + + SetOptionInt(String name, int value) - + - - SystemOptions.GetOption(String name) -> String + + GetOption(String name) -> String - + - SystemOptions.GetOptionInt(String name) -> int + GetOptionInt(String name) -> int - + - SystemOptions.HasOption(String name) -> bool + HasOption(String name) -> bool - + @@ -17781,7 +19905,7 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) NewId() -> long - + RegisterId(long id) @@ -17790,10 +19914,10 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) GetCurrentId() -> long - + Bell() - + EndBusyCursor() @@ -17802,36 +19926,36 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) - + GetMousePosition() -> (x,y) - - + + IsBusy() -> bool - + Now() -> String Shell(String command=EmptyString) -> bool - + - + StartTimer() GetOsVersion() -> (platform, major, minor) - - + + - + GetOsDescription() -> String @@ -17843,61 +19967,61 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) - + Sleep(int secs) - + Usleep(unsigned long milliseconds) - + EnableTopLevelWindows(bool enable) - + StripMenuCodes(String in) -> String - + - + GetEmailAddress() -> String - + GetHostName() -> String - + GetFullHostName() -> String - + GetUserId() -> String - + GetUserName() -> String - + GetHomeDir() -> String - + GetUserHome(String user=EmptyString) -> String - + GetProcessId() -> unsigned long - + Trap() - + FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString, String default_filename=EmptyString, String default_extension=EmptyString, @@ -17905,83 +20029,83 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) int flags=0, Window parent=None, int x=-1, int y=-1) -> String - - - - - + + + + + - + - + LoadFileSelector(String what, String extension, String default_name=EmptyString, Window parent=None) -> String - - - - + + + + - + SaveFileSelector(String what, String extension, String default_name=EmptyString, Window parent=None) -> String - - - - + + + + - + DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, long style=DD_DEFAULT_STYLE, Point pos=DefaultPosition, Window parent=None) -> String - - + + - - + + - + GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString, Window parent=None, int x=-1, int y=-1, bool centre=True) -> String - - - - + + + + - + GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString, Window parent=None) -> String - - - - + + + + - + 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 - - + + - - + + @@ -17994,11 +20118,11 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) Window parent=None, int x=-1, int y=-1, bool centre=True, int width=150, int height=200) -> int - - + + - - + + @@ -18011,10 +20135,10 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) Window parent=None, int x=-1, int y=-1) -> int - - + + - + @@ -18024,14 +20148,14 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) long min=0, long max=100, Window parent=None, Point pos=DefaultPosition) -> long - - - + + + - - + + @@ -18043,69 +20167,69 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) GetDisplayDepth() -> int - + DisplaySize() -> (width, height) - - + + - + GetDisplaySize() -> Size - + DisplaySizeMM() -> (width, height) - - + + - + GetDisplaySizeMM() -> Size - + ClientDisplayRect() -> (x, y, width, height) - - - - + + + + - + GetClientDisplayRect() -> Rect - + SetCursor(Cursor cursor) - + - + BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR) - + - + GetActiveWindow() -> Window - + GenericFindWindowAtPoint(Point pt) -> Window - + - + FindWindowAtPoint(Point pt) -> Window - + - + GetTopLevelParent(Window win) -> Window - + @@ -18114,13 +20238,13 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) - + WakeUpMainThread() - + MutexGuiEnter() - + MutexGuiLeave() @@ -18138,33 +20262,33 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) #--------------------------------------------------------------------------- - + __init__(String tip) -> ToolTip - + - + SetTip(String tip) - + - + GetTip() -> String - + GetWindow() -> Window - - ToolTip.Enable(bool flag) + + Enable(bool flag) - - ToolTip.SetDelay(long milliseconds) + + SetDelay(long milliseconds) @@ -18174,8 +20298,8 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) __init__(Window window, Size size) -> Caret - - + + @@ -18187,69 +20311,69 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) IsVisible() -> bool - + GetPosition() -> Point - + GetPositionTuple() -> (x,y) - - + + - + GetSize() -> Size - + GetSizeTuple() -> (width, height) - - + + - + GetWindow() -> Window - + MoveXY(int x, int y) - + Move(Point pt) - + - + SetSizeWH(int width, int height) - + SetSize(Size size) - + - + Show(int show=True) - + Hide() Caret_GetBlinkTime() -> int - + Caret_SetBlinkTime(int milliseconds) @@ -18259,7 +20383,7 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) __init__(Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor - + @@ -18270,7 +20394,7 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) __init__(Window winToSkip=None) -> WindowDisabler - + @@ -18278,11 +20402,11 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) - + __init__(String message) -> BusyInfo - + @@ -18293,16 +20417,16 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) __init__() -> StopWatch - + Start(long t0=0) - + Pause() - + Resume() @@ -18310,7 +20434,7 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) - + __init__(int maxFiles=9) -> FileHistory @@ -18320,13 +20444,13 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) __del__() - + AddFileToHistory(String file) - + - + RemoveFileFromHistory(int i) @@ -18335,40 +20459,40 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) GetMaxFiles() -> int - + UseMenu(Menu menu) - + - + RemoveMenu(Menu menu) - + - + Load(ConfigBase config) - + - + Save(ConfigBase config) - + - + AddFilesToMenu() - + AddFilesToThisMenu(Menu menu) - + - + GetHistoryFile(int i) -> String @@ -18382,8 +20506,8 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) __init__(String name, String path=EmptyString) -> SingleInstanceChecker - - + + @@ -18395,19 +20519,19 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) Create(String name, String path=EmptyString) -> bool - - + + IsAnotherRunning() -> bool - + DrawWindowOnDC(Window window, DC dc, int method) - - + + @@ -18418,47 +20542,47 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) __del__() - + GetTip() -> String GetCurrentTip() -> size_t - + PreprocessTip(String tip) -> String - + - + __init__(size_t currentTip) -> PyTipProvider - + _setCallbackInfo(PyObject self, PyObject _class) - - + + ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool - - + + - + CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider - + @@ -18466,28 +20590,28 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) #--------------------------------------------------------------------------- - + __init__(EvtHandler owner=None, int id=-1) -> Timer - + __del__() - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + SetOwner(EvtHandler owner, int id=-1) - + @@ -18498,7 +20622,7 @@ EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) - + Stop() @@ -18530,7 +20654,7 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) - + __init__(int timerid=0, int interval=0) -> TimerEvent @@ -18545,14 +20669,14 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) - + __init__(wxTimer timer) -> TimerRunner __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner - + @@ -18560,7 +20684,7 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner __del__() - + Start(int milli, bool oneShot=False) @@ -18576,161 +20700,161 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner__init__() -> Log - Log.IsEnabled() -> bool + IsEnabled() -> bool - Log.EnableLogging(bool doIt=True) -> bool + EnableLogging(bool doIt=True) -> bool - - Log.OnLog(wxLogLevel level, wxChar szString, time_t t) + + OnLog(wxLogLevel level, wxChar szString, time_t t) - + - + Flush() - - Log.FlushActive() + + FlushActive() - - Log.GetActiveTarget() -> Log + + GetActiveTarget() -> Log - - Log.SetActiveTarget(Log pLogger) -> Log + + SetActiveTarget(Log pLogger) -> Log - + - - Log.Suspend() + + Suspend() - - Log.Resume() + + Resume() - - Log.SetVerbose(bool bVerbose=True) + + SetVerbose(bool bVerbose=True) - - Log.SetLogLevel(wxLogLevel logLevel) + + SetLogLevel(wxLogLevel logLevel) - - Log.DontCreateOnDemand() + + DontCreateOnDemand() - - Log.SetTraceMask(wxTraceMask ulMask) + + SetTraceMask(wxTraceMask ulMask) - - Log.AddTraceMask(String str) + + AddTraceMask(String str) - + - - Log.RemoveTraceMask(String str) + + RemoveTraceMask(String str) - + - - Log.ClearTraceMasks() + + ClearTraceMasks() - - Log.GetTraceMasks() -> wxArrayString + + GetTraceMasks() -> wxArrayString - - Log.SetTimestamp(wxChar ts) + + SetTimestamp(wxChar ts) - + - Log.GetVerbose() -> bool + GetVerbose() -> bool - Log.GetTraceMask() -> wxTraceMask + GetTraceMask() -> wxTraceMask - Log.IsAllowedTraceMask(wxChar mask) -> bool + IsAllowedTraceMask(wxChar mask) -> bool - + - Log.GetLogLevel() -> wxLogLevel + GetLogLevel() -> wxLogLevel - - Log.GetTimestamp() -> wxChar + + GetTimestamp() -> wxChar - - Log.TimeStamp() -> String + + TimeStamp() -> String - + Destroy() - + __init__() -> LogStderr - + __init__(wxTextCtrl pTextCtrl) -> LogTextCtrl - + - + __init__() -> LogGui - + __init__(wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow - - + + - + Show(bool bShow=True) - + GetFrame() -> wxFrame - + GetOldLog() -> Log IsPassingMessages() -> bool - + PassMessages(bool bDoPass) @@ -18738,20 +20862,20 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner - + __init__(Log logger) -> LogChain - + - + SetLog(Log logger) - + - + PassMessages(bool bDoPass) @@ -18760,106 +20884,106 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner IsPassingMessages() -> bool - + GetOldLog() -> Log SysErrorCode() -> unsigned long - + SysErrorMsg(unsigned long nErrCode=0) -> String - + LogFatalError(String msg) - + - + LogError(String msg) - + - + LogWarning(String msg) - + - + LogMessage(String msg) - + - + LogInfo(String msg) - + - + LogDebug(String msg) - + - + LogVerbose(String msg) - + - + LogStatus(String msg) - + - + LogStatusFrame(wxFrame pFrame, String msg) - - + + - + LogSysError(String msg) - + - + - + - + LogTrace(unsigned long mask, String msg) LogTrace(String mask, String msg) - - + + - + LogGeneric(unsigned long level, String msg) - + - + SafeShowMessage(String title, String text) - - + + @@ -18871,15 +20995,15 @@ LogTrace(String mask, String msg) - + __init__() -> PyLog - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -18887,55 +21011,55 @@ LogTrace(String mask, String msg) #--------------------------------------------------------------------------- - + __init__(EvtHandler parent=None, int id=-1) -> Process - + - Process.Kill(int pid, int sig=SIGTERM) -> int + Kill(int pid, int sig=SIGTERM) -> int - Process.Exists(int pid) -> bool + Exists(int pid) -> bool - - Process.Open(String cmd, int flags=EXEC_ASYNC) -> Process + + Open(String cmd, int flags=EXEC_ASYNC) -> Process - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_OnTerminate(int pid, int status) - + Redirect() IsRedirected() -> bool - + Detach() @@ -18944,10 +21068,10 @@ LogTrace(String mask, String msg) GetErrorStream() -> InputStream - + GetOutputStream() -> OutputStream - + CloseOutput() @@ -18961,7 +21085,7 @@ LogTrace(String mask, String msg) - + __init__(int id=0, int pid=0, int exitcode=0) -> ProcessEvent @@ -18985,9 +21109,9 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long - + - + @@ -19003,7 +21127,7 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) __del__() - + GetPosition() -> Point @@ -19030,7 +21154,7 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) GetMovementThreshold() -> int - + SetMovementThreshold(int threshold) @@ -19048,7 +21172,7 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) GetProductId() -> int - + GetProductName() -> String @@ -19129,7 +21253,7 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) SetCapture(Window win, int pollingFreq=0) -> bool - + @@ -19138,7 +21262,7 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) - + __init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, int change=0) -> JoystickEvent @@ -19149,12 +21273,12 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) - + - + GetPosition() -> Point @@ -19169,31 +21293,31 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 ) GetJoystick() -> int - + SetJoystick(int stick) - + SetButtonState(int state) - + SetButtonChange(int change) - + SetPosition(Point pos) - + - + SetZPosition(int zPos) @@ -19243,33 +21367,59 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, #--------------------------------------------------------------------------- - - - __init__(String fileName, bool isResource=False) -> Wave + + + - - + + - - WaveData(String data) -> Wave + + __init__() -> Sound +__init__(String fileName, bool isResource=false) -> Sound +__init__(int size, wxByte data) -> Sound - + + - + __del__() + + + + + + + + Create(String fileName, bool isResource=false) -> bool +Create(int size, wxByte data) -> bool + + + + + IsOk() -> bool - Play(bool async=True, bool looped=False) -> bool + Play(unsigned int flags=SOUND_ASYNC) -> bool - - + + + PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool + + + + + + + Stop() + #--------------------------------------------------------------------------- @@ -19278,16 +21428,16 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, __init__(String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo - - - - + + + + FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo - + @@ -19296,41 +21446,41 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, IsValid() -> bool - + SetIcon(String iconFile, int iconIndex=0) - + - + SetShortDesc(String shortDesc) - + - + GetMimeType() -> String - + GetOpenCommand() -> String - + GetPrintCommand() -> String - + GetShortDesc() -> String - + GetDescription() -> String - + GetExtensions() -> wxArrayString GetExtensionsCount() -> int - + GetIconFile() -> String @@ -19341,7 +21491,7 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, __init__(FileTypeInfo ftInfo) -> FileType - + @@ -19356,7 +21506,7 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, GetExtensions() -> PyObject - + GetIcon() -> Icon @@ -19368,48 +21518,48 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, GetOpenCommand(String filename, String mimetype=EmptyString) -> PyObject - - + + GetPrintCommand(String filename, String mimetype=EmptyString) -> PyObject - - + + GetAllCommands(String filename, String mimetype=EmptyString) -> PyObject - - + + SetCommand(String cmd, String verb, bool overwriteprompt=True) -> bool - - + + SetDefaultIcon(String cmd=EmptyString, int index=0) -> bool - + Unassociate() -> bool - - FileType.ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String + + ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String - - - + + + @@ -19421,66 +21571,66 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, __del__() - MimeTypesManager.IsOfType(String mimeType, String wildcard) -> bool + IsOfType(String mimeType, String wildcard) -> bool - - + + - + Initialize(int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString) - + - + ClearData() - + GetFileTypeFromExtension(String ext) -> FileType - + - + GetFileTypeFromMimeType(String mimeType) -> FileType - + ReadMailcap(String filename, bool fallback=False) -> bool - + ReadMimeTypes(String filename) -> bool - + EnumAllFileTypes() -> PyObject - + AddFallback(FileTypeInfo ft) - + - + Associate(FileTypeInfo ftInfo) -> FileType - + Unassociate(FileType ft) -> bool - + @@ -19491,53 +21641,53 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, __init__() -> ArtProvider - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - - ArtProvider.PushProvider(ArtProvider provider) + + PushProvider(ArtProvider provider) Add new provider to the top of providers stack. - + - ArtProvider.PopProvider() -> bool + PopProvider() -> bool Remove latest added provider and delete it. - ArtProvider.RemoveProvider(ArtProvider provider) -> bool + RemoveProvider(ArtProvider provider) -> bool Remove provider. The provider must have been added previously! The provider is _not_ deleted. - + - - ArtProvider.GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap + + GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap Query the providers for bitmap with given ID and return it. Return wx.NullBitmap if no provider provides it. - - - + + + - - ArtProvider.GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon + + GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon Query the providers for icon with given ID and return it. Return wx.NullIcon if no provider provides it. - - - + + + - + Destroy() @@ -19545,225 +21695,302 @@ wx.NullIcon if no provider provides it. #--------------------------------------------------------------------------- + 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 +(directories) and keys (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. + __del__() - - ConfigBase.Set(ConfigBase pConfig) -> ConfigBase + + Set(ConfigBase config) -> ConfigBase + Sets the global config object (the one returned by Get) and +returns a reference to the previous global config object. - + - - ConfigBase.Get(bool createOnDemand=True) -> ConfigBase + + Get(bool createOnDemand=True) -> ConfigBase + Returns the current global config object, creating one if neccessary. - - ConfigBase.Create() -> ConfigBase + + Create() -> ConfigBase + Create and return a new global config object. This function will +create the "best" implementation of wx.Config available for the +current platform. - - ConfigBase.DontCreateOnDemand() + + DontCreateOnDemand() + Should Get() try to create a new log object if there isn't a current one? - - SetPath(String strPath) + + SetPath(String path) + 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. - + - + GetPath() -> String + Retrieve the current path (always as absolute path) - GetFirstGroup() -> PyObject + GetFirstGroup() -> (more, value, index) + 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. - GetNextGroup(long index) -> PyObject + GetNextGroup(long index) -> (more, value, index) + 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. - GetFirstEntry() -> PyObject + GetFirstEntry() -> (more, value, index) + 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. - GetNextEntry(long index) -> PyObject + GetNextEntry(long index) -> (more, value, index) + 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. - GetNumberOfEntries(bool bRecursive=False) -> size_t + GetNumberOfEntries(bool recursive=False) -> size_t + Get the number of entries in the current group, with or +without its subgroups. - + - GetNumberOfGroups(bool bRecursive=False) -> size_t + GetNumberOfGroups(bool recursive=False) -> size_t + Get the number of subgroups in the current group, with or +without its subgroups. - + - HasGroup(String strName) -> bool + HasGroup(String name) -> bool + Returns True if the group by this name exists - + - HasEntry(String strName) -> bool + HasEntry(String name) -> bool + Returns True if the entry by this name exists - + - Exists(String strName) -> bool + Exists(String name) -> bool + Returns True if either a group or an entry with a given name exists - + GetEntryType(String name) -> int + Get the type of the entry. Returns one of the wx.Config.Type_XXX values. - + - + Read(String key, String defaultVal=EmptyString) -> String + Returns the value of key if it exists, defaultVal otherwise. - - + + ReadInt(String key, long defaultVal=0) -> long + Returns the value of key if it exists, defaultVal otherwise. - + ReadFloat(String key, double defaultVal=0.0) -> double + Returns the value of key if it exists, defaultVal otherwise. - + ReadBool(String key, bool defaultVal=False) -> bool + Returns the value of key if it exists, defaultVal otherwise. - + Write(String key, String value) -> bool + write the value (return True on success) - - + + WriteInt(String key, long value) -> bool + write the value (return True on success) - + WriteFloat(String key, double value) -> bool + write the value (return True on success) - + WriteBool(String key, bool value) -> bool + write the value (return True on success) - + - Flush(bool bCurrentOnly=False) -> bool + Flush(bool currentOnly=False) -> bool + permanently writes all changes - + RenameEntry(String oldName, String newName) -> bool + Rename an entry. Returns False on failure (probably because the new +name is already taken by an existing entry) - - + + RenameGroup(String oldName, String newName) -> bool + Rename aa group. Returns False on failure (probably because the new +name is already taken by an existing entry) - - + + - DeleteEntry(String key, bool bDeleteGroupIfEmpty=True) -> bool + DeleteEntry(String key, bool deleteGroupIfEmpty=True) -> bool + Deletes the specified entry and the group it belongs to if +it was the last key in it and the second parameter is True - - + + DeleteGroup(String key) -> bool + Delete the group (with all subgroups) - + DeleteAll() -> bool + Delete the whole underlying object (disk file, registry key, ...) +primarly intended for use by desinstallation routine. - - IsExpandingEnvVars() -> bool - - - SetExpandEnvVars(bool bDoIt=True) + + SetExpandEnvVars(bool doIt=True) + 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) - + - - SetRecordDefaults(bool bDoIt=True) + + IsExpandingEnvVars() -> bool + Are we currently expanding environment variables? + + + SetRecordDefaults(bool doIt=True) + Set whether the config objec should record default values. - + IsRecordingDefaults() -> bool + Are we currently recording default values? - + ExpandEnvVars(String str) -> String + Expand any environment variables in str and return the result - + - + GetAppName() -> String - + GetVendorName() -> String - + SetAppName(String appName) - + - + SetVendorName(String vendorName) - + - + SetStyle(long style) @@ -19773,32 +22000,19 @@ wx.NullIcon if no provider provides it. GetStyle() -> long - - - __init__(ConfigBase pContainer, String strEntry) -> ConfigPathChanger - - - - - - - __del__() - - - Name() -> String - - - + This ConfigBase-derived class will use the registry on Windows, +and will be a wx.FileConfig on other platforms. + __init__(String appName=EmptyString, String vendorName=EmptyString, String localFilename=EmptyString, String globalFilename=EmptyString, long style=0) -> Config - - - - + + + + @@ -19807,16 +22021,17 @@ wx.NullIcon if no provider provides it. - + This config class will use a file for storage on all platforms. + __init__(String appName=EmptyString, String vendorName=EmptyString, String localFilename=EmptyString, String globalFilename=EmptyString, long style=0) -> FileConfig - - - - + + + + @@ -19824,10 +22039,34 @@ wx.NullIcon if no provider provides it. __del__() - + + 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. + + __init__(ConfigBase config, String entry) -> ConfigPathChanger + + + + + + + __del__() + + + Name() -> String + Get the key name + + + ExpandEnvVars(String sz) -> String + 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. - + @@ -19874,135 +22113,135 @@ wx.NullIcon if no provider provides it. __del__() - - DateTime.SetCountry(int country) + + SetCountry(int country) - DateTime.GetCountry() -> int + GetCountry() -> int - DateTime.IsWestEuropeanCountry(int country=Country_Default) -> bool + IsWestEuropeanCountry(int country=Country_Default) -> bool - DateTime.GetCurrentYear(int cal=Gregorian) -> int + GetCurrentYear(int cal=Gregorian) -> int - DateTime.ConvertYearToBC(int year) -> int + ConvertYearToBC(int year) -> int - DateTime.GetCurrentMonth(int cal=Gregorian) -> int + GetCurrentMonth(int cal=Gregorian) -> int - DateTime.IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool + IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool - DateTime.GetCentury(int year=Inv_Year) -> int + GetCentury(int year=Inv_Year) -> int - DateTime.GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int + GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int - DateTime.GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int + GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int - - DateTime.GetMonthName(int month, int flags=Name_Full) -> String + + GetMonthName(int month, int flags=Name_Full) -> String - - DateTime.GetWeekDayName(int weekday, int flags=Name_Full) -> String + + GetWeekDayName(int weekday, int flags=Name_Full) -> String - + GetAmPmStrings() -> (am, pm) Get the AM and PM strings in the current locale (may be empty) - - + + - DateTime.IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool + IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool - - DateTime.GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime + + GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime - - DateTime.GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime + + GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime - - DateTime.Now() -> DateTime + + Now() -> DateTime - - DateTime.UNow() -> DateTime + + UNow() -> DateTime - - DateTime.Today() -> DateTime + + Today() -> DateTime - + SetToCurrent() -> DateTime - + SetTimeT(time_t timet) -> DateTime - + SetJDN(double jdn) -> DateTime - + SetHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime @@ -20011,7 +22250,7 @@ wx.NullIcon if no provider provides it. - + Set(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, int minute=0, int second=0, int millisec=0) -> DateTime @@ -20024,84 +22263,84 @@ wx.NullIcon if no provider provides it. - + ResetTime() -> DateTime - + SetYear(int year) -> DateTime - + SetMonth(int month) -> DateTime - + SetDay(int day) -> DateTime - + SetHour(int hour) -> DateTime - + SetMinute(int minute) -> DateTime - + SetSecond(int second) -> DateTime - + SetMillisecond(int millisecond) -> DateTime - + SetToWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime - + GetWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime - + SetToNextWeekDay(int weekday) -> DateTime - + GetNextWeekDay(int weekday) -> DateTime - + SetToPrevWeekDay(int weekday) -> DateTime - + GetPrevWeekDay(int weekday) -> DateTime @@ -20124,7 +22363,7 @@ wx.NullIcon if no provider provides it. - + GetLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime @@ -20140,7 +22379,7 @@ wx.NullIcon if no provider provides it. - + GetWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime @@ -20148,27 +22387,27 @@ wx.NullIcon if no provider provides it. - + SetToLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime - + GetLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime - + SetToYearDay(int yday) -> DateTime - + GetYearDay(int yday) -> DateTime @@ -20189,27 +22428,27 @@ wx.NullIcon if no provider provides it. GetRataDie() -> double - + ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime - + - + MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime - + - + ToGMT(bool noDST=False) -> DateTime - + MakeGMT(bool noDST=False) -> DateTime @@ -20230,69 +22469,69 @@ wx.NullIcon if no provider provides it. GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetWeekOfYear(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + GetWeekOfMonth(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int - + @@ -20304,223 +22543,223 @@ wx.NullIcon if no provider provides it. IsEqualTo(DateTime datetime) -> bool - + IsEarlierThan(DateTime datetime) -> bool - + IsLaterThan(DateTime datetime) -> bool - + IsStrictlyBetween(DateTime t1, DateTime t2) -> bool - - + + IsBetween(DateTime t1, DateTime t2) -> bool - - + + IsSameDate(DateTime dt) -> bool - + IsSameTime(DateTime dt) -> bool - + IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool - - + + - + AddTS(TimeSpan diff) -> DateTime - + - + AddDS(DateSpan diff) -> DateTime - + - + SubtractTS(TimeSpan diff) -> DateTime - + - + SubtractDS(DateSpan diff) -> DateTime - + Subtract(DateTime dt) -> TimeSpan - + - + - + - + __iadd__(TimeSpan diff) -> DateTime __iadd__(DateSpan diff) -> DateTime - + - + - + - + __isub__(TimeSpan diff) -> DateTime __isub__(DateSpan diff) -> DateTime - + - + - + - + __add__(TimeSpan other) -> DateTime __add__(DateSpan other) -> DateTime - + - + - + - + - + __sub__(DateTime other) -> TimeSpan __sub__(TimeSpan other) -> DateTime __sub__(DateSpan other) -> DateTime - + __lt__(DateTime other) -> bool - + __le__(DateTime other) -> bool - + __gt__(DateTime other) -> bool - + __ge__(DateTime other) -> bool - + __eq__(DateTime other) -> bool - + __ne__(DateTime other) -> bool - + ParseRfc822Date(String date) -> int - + - ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int + ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -> int - - - + + + ParseDateTime(String datetime) -> int - + ParseDate(String date) -> int - + ParseTime(String time) -> int - + - + Format(String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> String - - + + - + FormatDate() -> String - + FormatTime() -> String - + FormatISODate() -> String - + FormatISOTime() -> String @@ -20537,115 +22776,115 @@ __sub__(DateSpan other) -> DateTime __del__() - - TimeSpan.Seconds(long sec) -> TimeSpan + + Seconds(long sec) -> TimeSpan - - TimeSpan.Second() -> TimeSpan + + Second() -> TimeSpan - - TimeSpan.Minutes(long min) -> TimeSpan + + Minutes(long min) -> TimeSpan - - TimeSpan.Minute() -> TimeSpan + + Minute() -> TimeSpan - - TimeSpan.Hours(long hours) -> TimeSpan + + Hours(long hours) -> TimeSpan - - TimeSpan.Hour() -> TimeSpan + + Hour() -> TimeSpan - - TimeSpan.Days(long days) -> TimeSpan + + Days(long days) -> TimeSpan - - TimeSpan.Day() -> TimeSpan + + Day() -> TimeSpan - - TimeSpan.Weeks(long days) -> TimeSpan + + Weeks(long days) -> TimeSpan - - TimeSpan.Week() -> TimeSpan + + Week() -> TimeSpan - + Add(TimeSpan diff) -> TimeSpan - + - + Subtract(TimeSpan diff) -> TimeSpan - + - + Multiply(int n) -> TimeSpan - + Neg() -> TimeSpan - + Abs() -> TimeSpan - + __iadd__(TimeSpan diff) -> TimeSpan - + - + __isub__(TimeSpan diff) -> TimeSpan - + - + __imul__(int n) -> TimeSpan - + __neg__() -> TimeSpan - + __add__(TimeSpan other) -> TimeSpan - + - + __sub__(TimeSpan other) -> TimeSpan - + - + __mul__(int n) -> TimeSpan - + __rmul__(int n) -> TimeSpan @@ -20654,37 +22893,37 @@ __sub__(DateSpan other) -> DateTime __lt__(TimeSpan other) -> bool - + __le__(TimeSpan other) -> bool - + __gt__(TimeSpan other) -> bool - + __ge__(TimeSpan other) -> bool - + __eq__(TimeSpan other) -> bool - + __ne__(TimeSpan other) -> bool - + @@ -20699,19 +22938,19 @@ __sub__(DateSpan other) -> DateTime IsEqualTo(TimeSpan ts) -> bool - + IsLongerThan(TimeSpan ts) -> bool - + IsShorterThan(TimeSpan t) -> bool - + @@ -20732,10 +22971,10 @@ __sub__(DateSpan other) -> DateTime GetMilliseconds() -> wxLongLong - + Format(String format=TimeSpanFormatStr) -> String - + @@ -20752,61 +22991,61 @@ __sub__(DateSpan other) -> DateTime __del__() - - DateSpan.Days(int days) -> DateSpan + + Days(int days) -> DateSpan - - DateSpan.Day() -> DateSpan + + Day() -> DateSpan - - DateSpan.Weeks(int weeks) -> DateSpan + + Weeks(int weeks) -> DateSpan - - DateSpan.Week() -> DateSpan + + Week() -> DateSpan - - DateSpan.Months(int mon) -> DateSpan + + Months(int mon) -> DateSpan - - DateSpan.Month() -> DateSpan + + Month() -> DateSpan - - DateSpan.Years(int years) -> DateSpan + + Years(int years) -> DateSpan - - DateSpan.Year() -> DateSpan + + Year() -> DateSpan - + SetYears(int n) -> DateSpan - + SetMonths(int n) -> DateSpan - + SetWeeks(int n) -> DateSpan - + SetDays(int n) -> DateSpan @@ -20827,67 +23066,67 @@ __sub__(DateSpan other) -> DateTime GetTotalDays() -> int - + Add(DateSpan other) -> DateSpan - + - + Subtract(DateSpan other) -> DateSpan - + - + Neg() -> DateSpan - + Multiply(int factor) -> DateSpan - + __iadd__(DateSpan other) -> DateSpan - + - + __isub__(DateSpan other) -> DateSpan - + - + __neg__() -> DateSpan - + __imul__(int factor) -> DateSpan - + __add__(DateSpan other) -> DateSpan - + - + __sub__(DateSpan other) -> DateSpan - + - + __mul__(int n) -> DateSpan - + __rmul__(int n) -> DateSpan @@ -20896,13 +23135,13 @@ __sub__(DateSpan other) -> DateTime __eq__(DateSpan other) -> bool - + __ne__(DateSpan other) -> bool - + @@ -20922,16 +23161,29 @@ __sub__(DateSpan other) -> DateTime #--------------------------------------------------------------------------- + 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 +(CLIPFORMAT under Windows or Atom under X11, for example). __init__(int type) -> DataFormat + 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) CustomDataFormat(String format) -> DataFormat + Constructs a data format object for a custom format identified by its name. - + @@ -20951,32 +23203,36 @@ __sub__(DateSpan other) -> DateTime __eq__(int format) -> bool __eq__(DataFormat format) -> bool - + __ne__(int format) -> bool __ne__(DataFormat format) -> bool - + - + SetType(int format) + Sets the format to the given value, which should be one of wx.DF_XXX constants. GetType() -> int + Returns the platform-specific number identifying the format. - + GetId() -> String + Returns the name of a custom format (this function will fail for a standard format). - + SetId(String format) + Sets the format to be the custom format identified by the given name. - + @@ -20984,7 +23240,7 @@ __ne__(DataFormat format) -> bool __del__() - + GetPreferredFormat(int dir=Get) -> DataFormat @@ -20999,184 +23255,190 @@ __ne__(DataFormat format) -> bool IsSupported(DataFormat format, int dir=Get) -> bool - + GetDataSize(DataFormat format) -> size_t - + - + GetAllFormats(DataFormat formats, int dir=Get) - + GetDataHere(DataFormat format, void buf) -> bool - - + + SetData(DataFormat format, size_t len, void buf) -> bool - + - + - + __init__(DataFormat format=FormatInvalid) -> DataObjectSimple - + - + GetFormat() -> DataFormat - + SetFormat(DataFormat format) - + - + __init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + __init__() -> DataObjectComposite - + Add(DataObjectSimple dataObject, int preferred=False) - + - + __init__(String text=EmptyString) -> TextDataObject - + GetTextLength() -> size_t - + GetText() -> String - + SetText(String text) - + - + __init__(String text=EmptyString) -> PyTextDataObject - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + __init__(Bitmap bitmap=wxNullBitmap) -> BitmapDataObject - + - + GetBitmap() -> Bitmap - + SetBitmap(Bitmap bitmap) - + - + __init__(Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + __init__() -> FileDataObject - + GetFilenames() -> wxArrayString + + AddFile(String filename) + + + + - + __init__(DataFormat format=FormatInvalid) -> CustomDataObject - + - + TakeData(PyObject data) - + SetData(PyObject data) -> bool - + @@ -21187,22 +23449,22 @@ __ne__(DataFormat format) -> bool - + __init__() -> URLDataObject - + GetURL() -> String - + SetURL(String url) - + - + __init__() -> MetafileDataObject @@ -21218,40 +23480,40 @@ __ne__(DataFormat format) -> bool - __init__(Window win=None, Icon copy=wxNullIcon, Icon move=wxNullIcon, + __init__(Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon, Icon none=wxNullIcon) -> DropSource - - - - + + + + __del__() - + _setCallbackInfo(PyObject self, PyObject _class, int incref) - - + + - + SetData(DataObject data) - + - + GetDataObject() -> DataObject - + SetCursor(int res, Cursor cursor) - + @@ -21268,29 +23530,29 @@ __ne__(DataFormat format) -> bool - - PyDropTarget(DataObject dataObject=None) -> DropTarget + + __init__(DataObject dataObject=None) -> DropTarget - + __del__() - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + GetDataObject() -> DataObject - + SetDataObject(DataObject dataObject) - + @@ -21309,7 +23571,7 @@ __ne__(DataFormat format) -> bool - + base_OnLeave() @@ -21325,15 +23587,15 @@ __ne__(DataFormat format) -> bool PyDropTarget = DropTarget - + __init__() -> TextDropTarget - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -21352,7 +23614,7 @@ __ne__(DataFormat format) -> bool - + base_OnLeave() @@ -21372,15 +23634,15 @@ __ne__(DataFormat format) -> bool - + __init__() -> FileDropTarget - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -21399,7 +23661,7 @@ __ne__(DataFormat format) -> bool - + base_OnLeave() @@ -21422,7 +23684,17 @@ __ne__(DataFormat format) -> bool #--------------------------------------------------------------------------- - + wx.Clipboard represents the system clipboard and provides methods to copy data +to 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.Open to get ownership of the clipboard. If this operation +returns True, you now own the clipboard. Call wx.TheClipboard.SetData to put +data on the clipboard, or wx.TheClipboard.GetData to retrieve data from the +clipboard. Call wx.TheClipboard.Close to close the clipboard and relinquish +ownership. You should keep the clipboard open only momentarily. + + __init__() -> Clipboard @@ -21431,55 +23703,83 @@ __ne__(DataFormat format) -> bool Open() -> bool + 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. - + Close() + Closes the clipboard. IsOpened() -> bool + Query whether the clipboard is opened AddData(DataObject data) -> bool + 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. - + SetData(DataObject data) -> bool + Set the clipboard data, this is the same as Clear followed by AddData. - + IsSupported(DataFormat format) -> bool + Returns True if the given format is available in the data object(s) on +the clipboard. - + GetData(DataObject data) -> bool + Call this function to fill data with data on the clipboard, if available +in the required format. Returns true on success. - + - + Clear() + Clears data from the clipboard object and also the system's clipboard +if possible. Flush() -> bool + 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. - - UsePrimarySelection(bool primary=False) + + UsePrimarySelection(bool primary=True) + 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. - + + A helpful class for opening the clipboard and automatically closing it when +the locker is destroyed. __init__(Clipboard clipboard=None) -> ClipboardLocker + A helpful class for opening the clipboard and automatically closing it when +the locker is destroyed. - + @@ -21487,6 +23787,8 @@ __ne__(DataFormat format) -> bool __nonzero__() -> bool + A ClipboardLocker instance evaluates to True if the clipboard was +successfully opened. @@ -21494,56 +23796,52 @@ __ne__(DataFormat format) -> bool wx = core + A set of customization attributes for a calendar date, which can be used to +control the look of the Calendar object. - __init__(Colour colText, Colour colBack=wxNullColour, Colour colBorder=wxNullColour, - Font font=wxNullFont, + __init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, + Colour colBorder=wxNullColour, Font font=wxNullFont, int border=CAL_BORDER_NONE) -> CalendarDateAttr + Create a CalendarDateAttr. - - - - + + + + - - CalendarDateAttrBorder(int border, Colour colBorder=wxNullColour) -> CalendarDateAttr - - - - - - + SetTextColour(Colour colText) - + - + SetBackgroundColour(Colour colBack) - + - + SetBorderColour(Colour col) - + - + SetFont(Font font) - + - + SetBorder(int border) - + SetHoliday(bool holiday) @@ -21567,16 +23865,16 @@ __ne__(DataFormat format) -> bool IsHoliday() -> bool - + GetTextColour() -> Colour - + GetBackgroundColour() -> Colour - + GetBorderColour() -> Colour - + GetFont() -> Font @@ -21584,27 +23882,27 @@ __ne__(DataFormat format) -> bool - + __init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent - + - + GetDate() -> DateTime - + SetDate(DateTime date) - + - + SetWeekDay(int wd) - + @@ -21620,181 +23918,349 @@ EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) - + 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. + + 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 wxCAL_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 either of +EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event. + + + - __init__(Window parent, int id, DateTime date=wxDefaultDateTime, + __init__(Window parent, int id, DateTime date=DefaultDateTime, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, String name=CalendarNameStr) -> CalendarCtrl + Create and show a calendar control. + 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. + + 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 wxCAL_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 either of +EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event. + + - + - - - + + + - + PreCalendarCtrl() -> CalendarCtrl + Precreate a CalendarCtrl for 2-phase creation. + 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. + + 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 wxCAL_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 either of +EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event. + + - Create(Window parent, int id, DateTime date=wxDefaultDateTime, + Create(Window parent, int id, DateTime date=DefaultDateTime, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, String name=CalendarNameStr) -> bool + Acutally create the GUI portion of the CalendarCtrl for 2-phase creation. - + - - - + + + - + - + SetDate(DateTime date) + Sets the current date. - + - + GetDate() -> DateTime + Gets the currently selected date. - SetLowerDateLimit(DateTime date=wxDefaultDateTime) -> bool + SetLowerDateLimit(DateTime date=DefaultDateTime) -> bool + set the range in which selection can occur - + - - GetLowerDateLimit() -> DateTime - - SetUpperDateLimit(DateTime date=wxDefaultDateTime) -> bool + SetUpperDateLimit(DateTime date=DefaultDateTime) -> bool + set the range in which selection can occur - + - + + GetLowerDateLimit() -> DateTime + get the range in which selection can occur + + GetUpperDateLimit() -> DateTime + get the range in which selection can occur - SetDateRange(DateTime lowerdate=wxDefaultDateTime, DateTime upperdate=wxDefaultDateTime) -> bool + SetDateRange(DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -> bool + set the range in which selection can occur - - + + - + EnableYearChange(bool enable=True) + 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. - + EnableMonthChange(bool enable=True) + 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. - + EnableHolidayDisplay(bool display=True) + This function should be used instead of changing CAL_SHOW_HOLIDAYS style +bit directly. It enables or disables the special highlighting of the holidays. - + SetHeaderColours(Colour colFg, Colour colBg) + header colours are used for painting the weekdays at the top - - + + - + GetHeaderColourFg() -> Colour + header colours are used for painting the weekdays at the top - + GetHeaderColourBg() -> Colour + header colours are used for painting the weekdays at the top - + SetHighlightColours(Colour colFg, Colour colBg) + highlight colour is used for the currently selected date - - + + - + GetHighlightColourFg() -> Colour + highlight colour is used for the currently selected date - + GetHighlightColourBg() -> Colour + highlight colour is used for the currently selected date - + SetHolidayColours(Colour colFg, Colour colBg) + holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used) - - + + - + GetHolidayColourFg() -> Colour + holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used) - + GetHolidayColourBg() -> Colour + holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used) - + GetAttr(size_t day) -> CalendarDateAttr + Returns the attribute for the given date (should be in the range 1...31). +The returned value may be None - + SetAttr(size_t day, CalendarDateAttr attr) + Associates the attribute with the specified date (in the range 1...31). +If the attribute passed is None, the items attribute is cleared. - + - + SetHoliday(size_t day) + Marks the specified day as being a holiday in the current month. - + ResetAttr(size_t day) + Clears any attributes associated with the given day (in the range 1...31). - - HitTest(Point pos, DateTime date=None, int wd=None) -> int - - - - - - - - Enable(bool enable=True) -> bool - - - - - - Show(bool show=True) -> bool + + HitTest(Point pos) -> (result, date, weekday) + 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. + - + - + GetMonthControl() -> Control + get the currently shown control for month - + GetYearControl() -> Control + get the currently shown control for year @@ -21802,84 +24268,84 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, wx = core - + _setOORInfo(PyObject _self) - + - + SetParameters(String params) - + - + IncRef() - + DecRef() - + Draw(Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, int col, bool isSelected) - - - - + + + + - + GetBestSize(Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size - - - + + + - + Clone() -> GridCellRenderer - + __init__() -> PyGridCellRenderer - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_SetParameters(String params) - + - + __init__() -> GridCellStringRenderer - + __init__() -> GridCellNumberRenderer - + __init__(int width=-1, int precision=-1) -> GridCellFloatRenderer @@ -21890,7 +24356,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetWidth() -> int - + SetWidth(int width) @@ -21899,7 +24365,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetPrecision() -> int - + SetPrecision(int precision) @@ -21907,90 +24373,90 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + __init__() -> GridCellBoolRenderer - + __init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer - - + + - + __init__(String choices=EmptyString) -> GridCellEnumRenderer - + - + __init__() -> GridCellAutoWrapStringRenderer - + _setOORInfo(PyObject _self) - + IsCreated() -> bool - + GetControl() -> Control - + SetControl(Control control) - + GetCellAttr() -> GridCellAttr - + SetCellAttr(GridCellAttr attr) - + - + SetParameters(String params) - + - + IncRef() - + DecRef() - + Create(Window parent, int id, EvtHandler evtHandler) - + - + - + BeginEdit(int row, int col, Grid grid) - + @@ -21998,134 +24464,134 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + - + Reset() - + Clone() -> GridCellEditor - + SetSize(Rect rect) - + - + Show(bool show, GridCellAttr attr=None) - + - + PaintBackground(Rect rectCell, GridCellAttr attr) - - + + IsAcceptedKey(KeyEvent event) -> bool - + - + StartingKey(KeyEvent event) - + - + StartingClick() - + HandleReturn(KeyEvent event) - + - + Destroy() - + __init__() -> PyGridCellEditor - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_SetSize(Rect rect) - + - + base_Show(bool show, GridCellAttr attr=None) - + - + base_PaintBackground(Rect rectCell, GridCellAttr attr) - - + + base_IsAcceptedKey(KeyEvent event) -> bool - + - + base_StartingKey(KeyEvent event) - + - + base_StartingClick() - + base_HandleReturn(KeyEvent event) - + - + base_Destroy() - + base_SetParameters(String params) - + - + __init__() -> GridCellTextEditor - + GetValue() -> String - + __init__(int min=-1, int max=-1) -> GridCellNumberEditor @@ -22133,60 +24599,60 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + GetValue() -> String - + __init__() -> GridCellFloatEditor - + GetValue() -> String - + __init__() -> GridCellBoolEditor - + GetValue() -> String - + __init__(int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor - + - + GetValue() -> String - + __init__(String choices=EmptyString) -> GridCellEnumEditor - + - + GetValue() -> String - + __init__() -> GridCellAutoWrapStringEditor - + GetValue() -> String @@ -22194,87 +24660,87 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, __init__(GridCellAttr attrDefault=None) -> GridCellAttr - + - + _setOORInfo(PyObject _self) - + - + Clone() -> GridCellAttr - + MergeWith(GridCellAttr mergefrom) - + - + IncRef() - + DecRef() - + SetTextColour(Colour colText) - + - + SetBackgroundColour(Colour colBack) - + - + SetFont(Font font) - + - + SetAlignment(int hAlign, int vAlign) - + SetSize(int num_rows, int num_cols) - + SetOverflow(bool allow=True) - + SetReadOnly(bool isReadOnly=True) - + SetRenderer(GridCellRenderer renderer) - + - + SetEditor(GridCellEditor editor) - + - + SetKind(int kind) @@ -22304,44 +24770,44 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, HasOverflowMode() -> bool - + GetTextColour() -> Colour - + GetBackgroundColour() -> Colour - + GetFont() -> Font - + GetAlignment() -> (hAlign, vAlign) - - + + - + GetSize() -> (num_rows, num_cols) - - + + GetOverflow() -> bool - + GetRenderer(Grid grid, int row, int col) -> GridCellRenderer - + - + GetEditor(Grid grid, int row, int col) -> GridCellEditor - + @@ -22349,10 +24815,10 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, IsReadOnly() -> bool - + SetDefAttr(GridCellAttr defAttr) - + @@ -22360,13 +24826,13 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, __init__() -> GridCellAttrProvider - + _setOORInfo(PyObject _self) - + - + GetAttr(int row, int col, int kind) -> GridCellAttr @@ -22374,36 +24840,36 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetAttr(GridCellAttr attr, int row, int col) - + - + SetRowAttr(GridCellAttr attr, int row) - + - + SetColAttr(GridCellAttr attr, int col) - + - + UpdateAttrRows(size_t pos, int numRows) - + UpdateAttrCols(size_t pos, int numCols) @@ -22412,18 +24878,18 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + __init__() -> PyGridCellAttrProvider - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_GetAttr(int row, int col, int kind) -> GridCellAttr @@ -22431,50 +24897,50 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + base_SetAttr(GridCellAttr attr, int row, int col) - + - + base_SetRowAttr(GridCellAttr attr, int row) - + - + base_SetColAttr(GridCellAttr attr, int col) - + - - + + _setOORInfo(PyObject _self) - + - + SetAttrProvider(GridCellAttrProvider attrProvider) - + - + GetAttrProvider() -> GridCellAttrProvider - + SetView(Grid grid) - + @@ -22493,22 +24959,22 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + GetValue(int row, int col) -> String - + SetValue(int row, int col, String value) - + - + GetTypeName(int row, int col) -> String @@ -22520,7 +24986,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + @@ -22528,7 +24994,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + @@ -22552,7 +25018,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetValueAsLong(int row, int col, long value) @@ -22560,7 +25026,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetValueAsDouble(int row, int col, double value) @@ -22568,7 +25034,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetValueAsBool(int row, int col, bool value) @@ -22576,7 +25042,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + Clear() @@ -22619,36 +25085,36 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + GetRowLabelValue(int row) -> String - + GetColLabelValue(int col) -> String - + SetRowLabelValue(int row, String value) - + - + SetColLabelValue(int col, String value) - + CanHaveAttributes() -> bool - + GetAttr(int row, int col, int kind) -> GridCellAttr @@ -22656,46 +25122,46 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetAttr(GridCellAttr attr, int row, int col) - + - + SetRowAttr(GridCellAttr attr, int row) - + - + SetColAttr(GridCellAttr attr, int col) - + - + __init__() -> PyGridTableBase - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + Destroy() Deletes the C++ object this Python object is a proxy for. - + base_GetTypeName(int row, int col) -> String @@ -22707,7 +25173,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + @@ -22715,10 +25181,10 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + - + base_Clear() @@ -22761,36 +25227,36 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + base_GetRowLabelValue(int row) -> String - + base_GetColLabelValue(int col) -> String - + base_SetRowLabelValue(int row, String value) - + - + base_SetColLabelValue(int col, String value) - + base_CanHaveAttributes() -> bool - + base_GetAttr(int row, int col, int kind) -> GridCellAttr @@ -22798,31 +25264,31 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + base_SetAttr(GridCellAttr attr, int row, int col) - + - + base_SetRowAttr(GridCellAttr attr, int row) - + - + base_SetColAttr(GridCellAttr attr, int col) - + - + __init__(int numRows=0, int numCols=0) -> GridStringTable @@ -22835,7 +25301,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, __init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage - + @@ -22844,16 +25310,16 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, __del__() - + SetTableObject(GridTableBase table) - + - + GetTableObject() -> GridTableBase - + SetId(int id) @@ -22862,7 +25328,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetId() -> int - + SetCommandInt(int comInt1) @@ -22871,7 +25337,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetCommandInt() -> int - + SetCommandInt2(int comInt2) @@ -22895,7 +25361,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetRow() -> int - + SetRow(int n) @@ -22904,13 +25370,13 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetCol() -> int - + SetCol(int n) - + Set(int row, int col) @@ -22920,13 +25386,13 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, __eq__(GridCellCoords other) -> bool - + __ne__(GridCellCoords other) -> bool - + @@ -22934,18 +25400,18 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=WANTS_CHARS, String name=PanelNameStr) -> Grid - + - - + + - + @@ -22956,7 +25422,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetSelectionMode(WXGRIDSELECTIONMODES selmode) @@ -22974,21 +25440,21 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, ProcessTableMessage(GridTableMessage ??) -> bool - + - + GetTable() -> GridTableBase SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool - + - + ClearGrid() @@ -23037,69 +25503,72 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + DrawCellHighlight(DC dc, GridCellAttr attr) - - + + - + DrawTextRectangle(DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, int verticalAlignment=TOP, int textOrientation=HORIZONTAL) - - - + + + - + GetTextBoxSize(DC dc, list lines) -> (width, height) - - - - + + + + - + BeginBatch() - + EndBatch() GetBatchCount() -> int - + ForceRefresh() - + Refresh(bool eraseb=True, Rect rect=None) + 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. - + IsEditable() -> bool - + EnableEditing(bool edit) - + EnableCellEditControl(bool enable=True) - + DisableCellEditControl() @@ -23114,16 +25583,16 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, IsCurrentCellReadOnly() -> bool - + ShowCellEditControl() - + HideCellEditControl() - + SaveEditControlValue() - + XYToCell(int x, int y) -> GridCellCoords @@ -23154,7 +25623,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + CellToRect(int row, int col) -> Rect @@ -23175,14 +25644,14 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + MakeCellVisible(int row, int col) - + SetGridCursor(int row, int col) @@ -23255,48 +25724,48 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetColLabelSize() -> int - + GetLabelBackgroundColour() -> Colour - + GetLabelTextColour() -> Colour - + GetLabelFont() -> Font - + GetRowLabelAlignment() -> (horiz, vert) - - + + - + GetColLabelAlignment() -> (horiz, vert) - - + + GetColLabelTextOrientation() -> int - + GetRowLabelValue(int row) -> String - + GetColLabelValue(int col) -> String - + GetGridLineColour() -> Colour - + GetCellHighlightColour() -> Colour @@ -23305,165 +25774,165 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetCellHighlightROPenWidth() -> int - + SetRowLabelSize(int width) - + SetColLabelSize(int height) - + SetLabelBackgroundColour(Colour ??) - + - + SetLabelTextColour(Colour ??) - + - + SetLabelFont(Font ??) - + - + SetRowLabelAlignment(int horiz, int vert) - + SetColLabelAlignment(int horiz, int vert) - + SetColLabelTextOrientation(int textOrientation) - + SetRowLabelValue(int row, String ??) - + - + SetColLabelValue(int col, String ??) - + - + SetGridLineColour(Colour ??) - + - + SetCellHighlightColour(Colour ??) - + - + SetCellHighlightPenWidth(int width) - + SetCellHighlightROPenWidth(int width) - + EnableDragRowSize(bool enable=True) - + DisableDragRowSize() CanDragRowSize() -> bool - + EnableDragColSize(bool enable=True) - + DisableDragColSize() CanDragColSize() -> bool - + EnableDragGridSize(bool enable=True) - + DisableDragGridSize() CanDragGridSize() -> bool - + SetAttr(int row, int col, GridCellAttr attr) - + - + SetRowAttr(int row, GridCellAttr attr) - + - + SetColAttr(int col, GridCellAttr attr) - + - + SetColFormatBool(int col) - + SetColFormatNumber(int col) - + SetColFormatFloat(int col, int width=-1, int precision=-1) @@ -23471,14 +25940,14 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetColFormatCustom(int col, String typeName) - + - + EnableGridLines(bool enable=True) @@ -23505,50 +25974,50 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + GetDefaultCellBackgroundColour() -> Colour - + GetCellBackgroundColour(int row, int col) -> Colour - + GetDefaultCellTextColour() -> Colour - + GetCellTextColour(int row, int col) -> Colour - + GetDefaultCellFont() -> Font - + GetCellFont(int row, int col) -> Font - + GetDefaultCellAlignment() -> (horiz, vert) - - + + - + GetCellAlignment() -> (horiz, vert) - - + + @@ -23561,105 +26030,105 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + GetCellSize(int row, int col) -> (num_rows, num_cols) - - + + - + SetDefaultRowSize(int height, bool resizeExistingRows=False) - + SetRowSize(int row, int height) - + SetDefaultColSize(int width, bool resizeExistingCols=False) - + SetColSize(int col, int width) - + AutoSizeColumn(int col, bool setAsMin=True) - + AutoSizeRow(int row, bool setAsMin=True) - + AutoSizeColumns(bool setAsMin=True) - + AutoSizeRows(bool setAsMin=True) - + AutoSize() - + AutoSizeRowLabelSize(int row) - + AutoSizeColLabelSize(int col) - + SetColMinimalWidth(int col, int width) - + SetRowMinimalHeight(int row, int width) - + SetColMinimalAcceptableWidth(int width) - + SetRowMinimalAcceptableHeight(int width) @@ -23671,56 +26140,56 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetRowMinimalAcceptableHeight() -> int - + SetDefaultCellBackgroundColour(Colour ??) - + - + SetCellBackgroundColour(int row, int col, Colour ??) - + - + SetDefaultCellTextColour(Colour ??) - + - + SetCellTextColour(int row, int col, Colour ??) - + - + SetDefaultCellFont(Font ??) - + - + SetCellFont(int row, int col, Font ??) - + - + SetDefaultCellAlignment(int horiz, int vert) - + SetCellAlignment(int row, int col, int horiz, int vert) @@ -23729,13 +26198,13 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetDefaultCellOverflow(bool allow) - + SetCellOverflow(int row, int col, bool allow) @@ -23743,7 +26212,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetCellSize(int row, int col, int num_rows, int num_cols) @@ -23752,67 +26221,67 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetDefaultRenderer(GridCellRenderer renderer) - + - + SetCellRenderer(int row, int col, GridCellRenderer renderer) - + - + GetDefaultRenderer() -> GridCellRenderer - + GetCellRenderer(int row, int col) -> GridCellRenderer - + SetDefaultEditor(GridCellEditor editor) - + - + SetCellEditor(int row, int col, GridCellEditor editor) - + - + GetDefaultEditor() -> GridCellEditor - + GetCellEditor(int row, int col) -> GridCellEditor - + GetCellValue(int row, int col) -> String - + SetCellValue(int row, int col, String s) - + @@ -23822,7 +26291,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SetReadOnly(int row, int col, bool isReadOnly=True) @@ -23830,21 +26299,21 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SelectRow(int row, bool addToSelected=False) - + SelectCol(int col, bool addToSelected=False) - + SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, bool addToSelected=False) @@ -23855,13 +26324,13 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + SelectAll() IsSelection() -> bool - + ClearSelection() @@ -23871,121 +26340,121 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + GetSelectedCells() -> wxGridCellCoordsArray - + GetSelectionBlockTopLeft() -> wxGridCellCoordsArray - + GetSelectionBlockBottomRight() -> wxGridCellCoordsArray - + GetSelectedRows() -> wxArrayInt - + GetSelectedCols() -> wxArrayInt - + DeselectRow(int row) - + DeselectCol(int col) - + DeselectCell(int row, int col) - + BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect - - + + - + GetSelectionBackground() -> Colour - + GetSelectionForeground() -> Colour - + SetSelectionBackground(Colour c) - + - + SetSelectionForeground(Colour c) - + - + RegisterDataType(String typeName, GridCellRenderer renderer, GridCellEditor editor) - - - + + + - + GetDefaultEditorForCell(int row, int col) -> GridCellEditor - + GetDefaultRendererForCell(int row, int col) -> GridCellRenderer - + GetDefaultEditorForType(String typeName) -> GridCellEditor - + - + GetDefaultRendererForType(String typeName) -> GridCellRenderer - + - + SetMargins(int extraWidth, int extraHeight) - + GetGridWindow() -> Window - + GetGridRowLabelWindow() -> Window - + GetGridColLabelWindow() -> Window - + GetGridCornerLabelWindow() -> Window - + __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, @@ -23994,7 +26463,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + @@ -24012,7 +26481,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetCol() -> int - + GetPosition() -> Point @@ -24032,7 +26501,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + __init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, int x=-1, int y=-1, bool control=False, bool shift=False, @@ -24040,7 +26509,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + @@ -24053,7 +26522,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetRowOrCol() -> int - + GetPosition() -> Point @@ -24070,7 +26539,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + __init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, GridCellCoords bottomRight, bool sel=True, @@ -24079,9 +26548,9 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - - - + + + @@ -24089,10 +26558,10 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + GetTopLeftCoords() -> GridCellCoords - + GetBottomRightCoords() -> GridCellCoords @@ -24124,17 +26593,17 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, - + __init__(int id, wxEventType type, Object obj, int row, int col, Control ctrl) -> GridEditorCreatedEvent - + - + @@ -24143,25 +26612,25 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, GetCol() -> int - + GetControl() -> Control - + SetRow(int row) - + SetCol(int col) - + SetControl(Control ctrl) - + @@ -24191,58 +26660,58 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) #--------------------------------------------------------------------------- - + __init__(String href, String target=EmptyString) -> HtmlLinkInfo - - + + - + GetHref() -> String - + GetTarget() -> String - + GetEvent() -> MouseEvent GetHtmlCell() -> HtmlCell - + SetEvent(MouseEvent e) - + - + SetHtmlCell(HtmlCell e) - + - - + + GetName() -> String HasParam(String par) -> bool - + - + GetParam(String par, int with_commas=False) -> String - + - + GetAllParams() -> String @@ -24259,76 +26728,76 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - - + + SetFS(FileSystem fs) - + - + GetFS() -> FileSystem - + Parse(String source) -> Object - + - + InitParser(String source) - + - + DoneParser() - + DoParsing(int begin_pos, int end_pos) - + StopParsing() - + AddTagHandler(HtmlTagHandler handler) - + - + GetSource() -> String - + PushTagHandler(HtmlTagHandler handler, String tags) - - + + - + PopTagHandler() - + __init__(HtmlWindow wnd=None) -> HtmlWinParser - + - + SetDC(DC dc) - + - + GetDC() -> DC @@ -24340,12 +26809,12 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetWindow() -> HtmlWindow - + SetFonts(String normal_face, String fixed_face, PyObject sizes=None) - - - + + + @@ -24357,7 +26826,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) SetContainer(HtmlContainerCell c) -> HtmlContainerCell - + @@ -24366,7 +26835,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetFontSize() -> int - + SetFontSize(int s) @@ -24375,7 +26844,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetFontBold() -> int - + SetFontBold(int x) @@ -24384,7 +26853,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetFontItalic() -> int - + SetFontItalic(int x) @@ -24393,7 +26862,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetFontUnderlined() -> int - + SetFontUnderlined(int x) @@ -24402,7 +26871,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetFontFixed() -> int - + SetFontFixed(int x) @@ -24411,103 +26880,103 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetAlign() -> int - + SetAlign(int a) - + GetLinkColor() -> Colour - + SetLinkColor(Colour clr) - + - + GetActualColor() -> Colour - + SetActualColor(Colour clr) - + - + SetLink(String link) - + - + CreateCurrentFont() -> Font - + GetLink() -> HtmlLinkInfo - + __init__() -> HtmlTagHandler - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + SetParser(HtmlParser parser) - + - + GetParser() -> HtmlParser - + ParseInner(HtmlTag tag) - + - + __init__() -> HtmlWinTagHandler - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + SetParser(HtmlParser parser) - + - + GetParser() -> HtmlWinParser - + ParseInner(HtmlTag tag) - + - + HtmlWinParser_AddTagHandler(PyObject tagHandlerClass) - + @@ -24520,56 +26989,56 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) __del__() - + Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell) - - - - + + + + - + SetCells(HtmlCell fromCell, HtmlCell toCell) - - + + - + GetFromCell() -> HtmlCell - + GetToCell() -> HtmlCell - + GetFromPos() -> Point - + GetToPos() -> Point - + GetFromPrivPos() -> Point - + GetToPrivPos() -> Point - + SetFromPrivPos(Point pos) - + - + SetToPrivPos(Point pos) - + - + ClearPrivPos() - + IsEmpty() -> bool @@ -24580,7 +27049,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) __del__() - + SetSelectionState(int s) @@ -24589,51 +27058,51 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetSelectionState() -> int - + SetFgColour(Colour c) - + - + GetFgColour() -> Colour - + SetBgColour(Colour c) - + - + GetBgColour() -> Colour - + GetSelectedTextColour(Colour clr) -> Colour - + - + GetSelectedTextBgColour(Colour clr) -> Colour - + - - + + GetSelectedTextColour(Colour clr) -> Colour - + - + GetSelectedTextBgColour(Colour clr) -> Colour - + @@ -24644,25 +27113,25 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) __del__() - + SetSelection(HtmlSelection s) - + - + GetSelection() -> HtmlSelection - + SetStyle(HtmlRenderingStyle style) - + - + GetStyle() -> HtmlRenderingStyle - + GetState() -> HtmlRenderingState @@ -24670,7 +27139,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) #--------------------------------------------------------------------------- - + __init__() -> HtmlCell @@ -24689,102 +27158,102 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetDescent() -> int - + GetId() -> String - + SetId(String id) - + - + GetLink(int x=0, int y=0) -> HtmlLinkInfo - + GetNext() -> HtmlCell GetParent() -> HtmlContainerCell - + GetFirstChild() -> HtmlCell - + GetCursor() -> Cursor IsFormattingCell() -> bool - + SetLink(HtmlLinkInfo link) - + - + SetNext(HtmlCell cell) - + - + SetParent(HtmlContainerCell p) - + - + SetPos(int x, int y) - + Layout(int w) - + Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info) - + - + - + DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info) - + - + - + Find(int condition, void param) -> HtmlCell - + AdjustPagebreak(int INOUT) -> bool - + - + SetCanLiveOnPagebreak(bool can) @@ -24796,7 +27265,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) IsTerminalCell() -> bool - + FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell @@ -24804,13 +27273,13 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - + GetAbsPos() -> Point - + GetFirstTerminal() -> HtmlCell - + GetLastTerminal() -> HtmlCell @@ -24819,41 +27288,41 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) IsBefore(HtmlCell cell) -> bool - + - + ConvertToText(HtmlSelection sel) -> String - + - + __init__(String word, DC dc) -> HtmlWordCell - - + + - + __init__(HtmlContainerCell parent) -> HtmlContainerCell - + - + InsertCell(HtmlCell cell) - + - + SetAlignHor(int al) @@ -24862,7 +27331,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetAlignHor() -> int - + SetAlignVer(int al) @@ -24871,7 +27340,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetAlignVer() -> int - + SetIndent(int i, int what, int units=HTML_UNITS_PIXELS) @@ -24891,77 +27360,77 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - + SetAlign(HtmlTag tag) - + - + SetWidthFloat(int w, int units) - + SetWidthFloatFromTag(HtmlTag tag) - + - + SetMinHeight(int h, int align=HTML_ALIGN_TOP) - + SetBackgroundColour(Colour clr) - + - + GetBackgroundColour() -> Colour - + SetBorder(Colour clr1, Colour clr2) - - + + - + GetFirstChild() -> HtmlCell - + __init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell - + - + __init__(Font font) -> HtmlFontCell - + - + __init__(Window wnd, int w=0) -> HtmlWidgetCell - + @@ -24970,15 +27439,15 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) #--------------------------------------------------------------------------- - + __init__() -> HtmlFilter - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -24986,18 +27455,18 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) #--------------------------------------------------------------------------- - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, int style=HW_DEFAULT_STYLE, String name=HtmlWindowNameStr) -> HtmlWindow - + - - + + - + @@ -25008,102 +27477,103 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, String name=HtmlWindowNameStr) -> bool - + - - + + - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + SetPage(String source) -> bool - + LoadPage(String location) -> bool - + LoadFile(String filename) -> bool - + AppendToPage(String source) -> bool - + - + GetOpenedPage() -> String - + GetOpenedAnchor() -> String - + GetOpenedPageTitle() -> String - + SetRelatedFrame(Frame frame, String format) - - + + - + GetRelatedFrame() -> Frame - + SetRelatedStatusBar(int bar) - + SetFonts(String normal_face, String fixed_face, PyObject sizes=None) - - - + + + - + SetTitle(String title) + Sets the window's title. Applicable only to frames and dialogs. - + - + SetBorders(int b) - + ReadCustomization(ConfigBase cfg, String path=EmptyString) - - + + - + WriteCustomization(ConfigBase cfg, String path=EmptyString) - - + + @@ -25118,60 +27588,75 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) HistoryCanForward() -> bool - + HistoryClear() - + GetInternalRepresentation() -> HtmlContainerCell - + GetParser() -> HtmlWinParser ScrollToAnchor(String anchor) -> bool - + HasAnchor(String anchor) -> bool - + - - HtmlWindow.AddFilter(HtmlFilter filter) + + AddFilter(HtmlFilter filter) - + - + + SelectWord(Point pos) + + + + + + SelectLine(Point pos) + + + + + + SelectAll() + + base_OnLinkClicked(HtmlLinkInfo link) - + - + base_OnSetTitle(String title) - + - + base_OnCellMouseHover(HtmlCell cell, int x, int y) - + - + base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event) - + - + @@ -25179,41 +27664,41 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) #--------------------------------------------------------------------------- - + __init__() -> HtmlDCRenderer __del__() - + SetDC(DC dc, int maxwidth) - + - + SetSize(int width, int height) - + SetHtmlText(String html, String basepath=EmptyString, bool isdir=True) - - + + - + SetFonts(String normal_face, String fixed_face, PyObject sizes=None) - - - + + + @@ -25225,7 +27710,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - + @@ -25234,50 +27719,50 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - + __init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout - + - + SetHtmlText(String html, String basepath=EmptyString, bool isdir=True) - - + + - + SetHtmlFile(String htmlfile) - + - + SetHeader(String header, int pg=PAGE_ALL) - + - + SetFooter(String footer, int pg=PAGE_ALL) - + - + SetFonts(String normal_face, String fixed_face, PyObject sizes=None) - - - + + + - + SetMargins(float top=25.2, float bottom=25.2, float left=25.2, float right=25.2, float spaces=5) @@ -25288,86 +27773,86 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - - HtmlPrintout.AddFilter(wxHtmlFilter filter) + + AddFilter(wxHtmlFilter filter) - + - - HtmlPrintout.CleanUpStatics() + + CleanUpStatics() - + __init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting - - + + __del__() - + PreviewFile(String htmlfile) - + - + PreviewText(String htmltext, String basepath=EmptyString) - - + + - + PrintFile(String htmlfile) - + - + PrintText(String htmltext, String basepath=EmptyString) - - + + - + PrinterSetup() - + PageSetup() - + SetHeader(String header, int pg=PAGE_ALL) - + - + SetFooter(String footer, int pg=PAGE_ALL) - + - + SetFonts(String normal_face, String fixed_face, PyObject sizes=None) - - - + + + - + GetPrintData() -> PrintData - + GetPageSetupData() -> PageSetupDialogData @@ -25378,25 +27863,25 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) __init__(String bookfile, String basepath, String title, String start) -> HtmlBookRecord - - - - + + + + - + GetBookFile() -> String - + GetTitle() -> String - + GetStart() -> String - + GetBasePath() -> String - + SetContentsRange(int start, int end) @@ -25409,28 +27894,28 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetContentsEnd() -> int - + SetTitle(String title) - + - + SetBasePath(String path) - + - + SetStart(String start) - + - + GetFullPath(String page) -> String - + @@ -25441,13 +27926,13 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetID() -> int - + GetName() -> String - + GetPage() -> String - + GetBook() -> HtmlBookRecord @@ -25464,10 +27949,10 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) GetMaxIndex() -> int - + GetName() -> String - + GetContentsItem() -> HtmlContentsItem @@ -25478,40 +27963,40 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) __del__() - + SetTempDir(String path) - + AddBook(String book) -> bool - + - + FindPageByName(String page) -> String - + - + FindPageById(int id) -> String - + GetBookRecArray() -> wxHtmlBookRecArray - + GetContents() -> HtmlContentsItem GetContentsCnt() -> int - + GetIndex() -> HtmlContentsItem @@ -25519,75 +28004,75 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) - + __init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame - + - + - + - + GetData() -> HtmlHelpData - + SetTitleFormat(String format) - + - + Display(String x) - + - + DisplayID(int id) - + DisplayContents() - + DisplayIndex() KeywordSearch(String keyword) -> bool - + - + UseConfig(ConfigBase config, String rootpath=EmptyString) - - + + - + ReadCustomization(ConfigBase cfg, String path=EmptyString) - - + + - + WriteCustomization(ConfigBase cfg, String path=EmptyString) - - + + - + __init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController @@ -25597,71 +28082,71 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) __del__() - + SetTitleFormat(String format) - + - + SetTempDir(String path) - + AddBook(String book, int show_wait_msg=False) -> bool - + - + Display(String x) - + - + DisplayID(int id) - + DisplayContents() - + DisplayIndex() KeywordSearch(String keyword) -> bool - + - + UseConfig(ConfigBase config, String rootpath=EmptyString) - - + + - + ReadCustomization(ConfigBase cfg, String path=EmptyString) - - + + - + WriteCustomization(ConfigBase cfg, String path=EmptyString) - - + + - + GetFrame() -> HtmlHelpFrame @@ -25677,7 +28162,7 @@ EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, WizardPage page=None) -> WizardEvent @@ -25685,7 +28170,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + @@ -25696,33 +28181,33 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool - - - + + + - + GetPrev() -> WizardPage - + GetNext() -> WizardPage - + GetBitmap() -> Bitmap - + __init__(Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage - - - + + + @@ -25731,19 +28216,19 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool - - - + + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_DoMoveWindow(int x, int y, int width, int height) @@ -25752,7 +28237,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO) @@ -25762,48 +28247,48 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_DoSetClientSize(int width, int height) - + base_DoSetVirtualSize(int x, int y) - + base_DoGetSize() -> (width, height) - - + + - + base_DoGetClientSize() -> (width, height) - - + + - + base_DoGetPosition() -> (x,y) - - + + - + base_DoGetVirtualSize() -> Size - + base_DoGetBestSize() -> Size - + base_InitDialog() @@ -25821,33 +28306,33 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_AcceptsFocusFromKeyboard() -> bool - + base_GetMaxSize() -> Size - + base_AddChild(Window child) - + - + base_RemoveChild(Window child) - + - + __init__(Wizard parent, WizardPage prev=None, WizardPage next=None, Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple - - - - - + + + + + @@ -25857,45 +28342,45 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool - - - - - + + + + + - + SetPrev(WizardPage prev) - + - + SetNext(WizardPage next) - + - - WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second) + + Chain(WizardPageSimple first, WizardPageSimple second) - - + + - + __init__(Window parent, int id=-1, String title=EmptyString, Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, long style=DEFAULT_DIALOG_STYLE) -> Wizard - + - - - + + + @@ -25906,44 +28391,44 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) Create(Window parent, int id=-1, String title=EmptyString, Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool - + - - - + + + - + Init() RunWizard(WizardPage firstPage) -> bool - + - + GetCurrentPage() -> WizardPage - + SetPageSize(Size size) - + - + GetPageSize() -> Size - + FitToPage(WizardPage firstPage) - + - + GetPageAreaSizer() -> Sizer - + SetBorder(int border) @@ -25955,20 +28440,20 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) ShowPage(WizardPage page, bool goingForward=True) -> bool - + HasNextPage(WizardPage page) -> bool - + HasPrevPage(WizardPage page) -> bool - + @@ -25977,98 +28462,98 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) wx = core - + __init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, GLContext other=None) -> GLContext - - - + + + __del__() - + SetCurrent() - + SetColour(String colour) - + - + SwapBuffers() - + SetupPixelFormat() - + SetupPalette(wxPalette palette) - + - + CreateDefaultPalette() -> wxPalette - + GetPalette() -> wxPalette - + GetWindow() -> Window - + __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 - + - - + + - - - + + + - - wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, + + 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 - - + + - - + + - - - + + + - + SetCurrent() - + SetColour(String colour) - + - + SwapBuffers() - + GetContext() -> GLContext @@ -26080,136 +28565,136 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) #--------------------------------------------------------------------------- - + __init__() -> ShapeRegion - + SetText(String s) - + - + SetFont(Font f) - + - + SetMinSize(double w, double h) - + SetSize(double w, double h) - + SetPosition(double x, double y) - + SetProportions(double x, double y) - + SetFormatMode(int mode) - + SetName(String s) - + - + SetColour(String col) - + - + GetText() -> String - + GetFont() -> Font - + GetMinSize(double OUTPUT, double OUTPUT) - - + + - + GetProportion(double OUTPUT, double OUTPUT) - - + + - + GetSize(double OUTPUT, double OUTPUT) - - + + - + GetPosition(double OUTPUT, double OUTPUT) - - + + GetFormatMode() -> int - + GetName() -> String - + GetColour() -> String - + GetActualColourObject() -> Colour GetFormattedText() -> wxList - + GetPenColour() -> String GetPenStyle() -> int - + SetPenStyle(int style) - + SetPenColour(String col) - + - + GetActualPen() -> wxPen @@ -26218,100 +28703,114 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetHeight() -> double - + ClearText() + + + + __init__(int id=0, double x=0.0, double y=0.0) -> AttachmentPoint + + + + + + + + + + - + __init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler - - + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + _setOORInfo(PyObject _self) - + - + SetShape(PyShape sh) - + GetShape() -> PyShape - + SetPreviousHandler(PyShapeEvtHandler handler) - + - + GetPreviousHandler() -> PyShapeEvtHandler - + CreateNewCopy() -> PyShapeEvtHandler - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=False) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -26320,7 +28819,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -26329,7 +28828,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -26338,7 +28837,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -26349,7 +28848,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -26357,11 +28856,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -26369,7 +28868,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -26379,7 +28878,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -26388,7 +28887,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -26397,7 +28896,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -26407,7 +28906,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -26416,7 +28915,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -26425,40 +28924,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -26466,36 +28965,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -26504,32 +29003,32 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(PyShapeCanvas can=None) -> PyShape - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + GetBoundingBoxMax(double OUTPUT, double OUTPUT) - - + + - + GetBoundingBoxMin(double OUTPUT, double OUTPUT) - - + + @@ -26540,36 +29039,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - - + + GetCanvas() -> PyShapeCanvas - + SetCanvas(PyShapeCanvas the_canvas) - + - + AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None) - - + + - + InsertInCanvas(PyShapeCanvas the_canvas) - + - + RemoveFromCanvas(PyShapeCanvas the_canvas) - + @@ -26578,37 +29077,37 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetY() -> double - + SetX(double x) - + SetY(double y) - + GetParent() -> PyShape - + SetParent(PyShape p) - + - + GetTopAncestor() -> PyShape GetChildren() -> PyObject - + Unlink() - + SetDrawHandles(bool drawH) @@ -26617,47 +29116,47 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetDrawHandles() -> bool - + MakeControlPoints() - + DeleteControlPoints(DC dc=None) - + - + ResetControlPoints() - + GetEventHandler() -> PyShapeEvtHandler - + SetEventHandler(PyShapeEvtHandler handler) - + - + MakeMandatoryControlPoints() - + ResetMandatoryControlPoints() Recompute() -> bool - + CalculateSize() - + Select(bool select=True, DC dc=None) - + - + SetHighlight(bool hi=True, bool recurse=False) @@ -26673,7 +29172,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) AncestorSelected() -> bool - + SetSensitivityFilter(int sens=OP_ALL, bool recursive=False) @@ -26683,25 +29182,25 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetSensitivityFilter() -> int - + SetDraggable(bool drag, bool recursive=False) - + SetFixedSize(bool x, bool y) - + GetFixedSize(bool OUTPUT, bool OUTPUT) - - + + @@ -26710,7 +29209,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetFixedHeight() -> bool - + SetSpaceAttachments(bool sp) @@ -26719,7 +29218,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetSpaceAttachments() -> bool - + SetShadowMode(int mode, bool redraw=False) @@ -26734,11 +29233,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - - + + - + SetCentreResize(bool cr) @@ -26747,7 +29246,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetCentreResize() -> bool - + SetMaintainAspectRatio(bool ar) @@ -26759,7 +29258,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetLines() -> PyObject - + SetDisableLabel(bool flag) @@ -26768,7 +29267,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetDisableLabel() -> bool - + SetAttachmentMode(int mode) @@ -26777,7 +29276,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetAttachmentMode() -> int - + SetId(long i) @@ -26786,19 +29285,19 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetId() -> long - + SetPen(wxPen pen) - + - + SetBrush(wxBrush brush) - + - + Show(bool show) @@ -26807,49 +29306,49 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) IsShown() -> bool - + Move(DC dc, double x1, double y1, bool display=True) - + - + Erase(DC dc) - + - + EraseContents(DC dc) - + - + Draw(DC dc) - + - + Flash() - + MoveLinks(DC dc) - + - + DrawContents(DC dc) - + - + SetSize(double x, double y, bool recursive=True) @@ -26857,31 +29356,31 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + SetAttachmentSize(double x, double y) - + Attach(PyShapeCanvas can) - + - + Detach() Constrain() -> bool - + AddLine(PyLineShape line, PyShape other, int attachFrom=0, int attachTo=0, int positionFrom=-1, int positionTo=-1) - - + + @@ -26891,33 +29390,33 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetLinePosition(PyLineShape line) -> int - + - + AddText(String string) - + - + GetPen() -> wxPen - + GetBrush() -> wxBrush - + SetDefaultRegionSize() - + FormatText(DC dc, String s, int regionId=0) - - + + - + SetFormatMode(int mode, int regionId=0) @@ -26930,27 +29429,27 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + SetFont(Font font, int regionId=0) - + - + GetFont(int regionId=0) -> Font - + SetTextColour(String colour, int regionId=0) - + - + GetTextColour(int regionId=0) -> String @@ -26959,14 +29458,14 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetNumberOfTextRegions() -> int - + SetRegionName(String name, int regionId=0) - + - + GetRegionName(int regionId) -> String @@ -26975,53 +29474,53 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetRegionId(String name) -> int - + - + NameRegions(String parentName=EmptyString) - + GetRegions() -> PyObject - + AddRegion(ShapeRegion region) - + - + ClearRegions() - + AssignNewIds() - + FindRegion(String regionName, int OUTPUT) -> PyShape - - + + - + FindRegionNames(wxStringList list) - + - + ClearText(int regionId=0) - + RemoveLine(PyLineShape line) - + @@ -27029,11 +29528,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) int no_arcs=1, PyLineShape line=None) -> bool - - + + - + @@ -27045,49 +29544,52 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) + + GetAttachments() -> PyObject + GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, int no_arcs=1, PyLineShape line=None) -> bool - - + + - + - + CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, PyLineShape line) -> RealPoint - - + + - + AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool - - + + - + EraseLinks(DC dc, int attachment=-1, bool recurse=False) - + - + DrawLinks(DC dc, int attachment=-1, bool recurse=False) - + @@ -27095,19 +29597,19 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) MoveLineToNewAttachment(DC dc, PyLineShape to_move, double x, double y) -> bool - - + + - + ApplyAttachmentOrdering(PyObject linesToSort) - + - + GetBranchingAttachmentRoot(int attachment) -> RealPoint @@ -27118,10 +29620,10 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) RealPoint shoulder2) -> bool - - - - + + + + @@ -27129,8 +29631,8 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - - + + @@ -27139,7 +29641,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + SetBranchNeckLength(int len) @@ -27148,7 +29650,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetBranchNeckLength() -> int - + SetBranchStemLength(int len) @@ -27157,7 +29659,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetBranchStemLength() -> int - + SetBranchSpacing(int len) @@ -27166,7 +29668,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetBranchSpacing() -> int - + SetBranchStyle(long style) @@ -27193,29 +29695,29 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) HasDescendant(PyShape image) -> bool - + - + CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape - + Copy(PyShape copy) - + - + CopyWithHandler(PyShape copy) - + - + Rotate(double x, double y, double theta) @@ -27226,74 +29728,80 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetRotation() -> double - + + SetRotation(double rotation) + + + + + ClearAttachments() - + Recentre(DC dc) - + - + ClearPointList(wxList list) - + - + GetBackgroundPen() -> wxPen - + GetBackgroundBrush() -> wxBrush - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=False) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -27302,7 +29810,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -27311,7 +29819,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -27320,7 +29828,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -27331,7 +29839,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -27339,11 +29847,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -27351,7 +29859,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -27361,7 +29869,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -27370,7 +29878,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -27379,7 +29887,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -27389,7 +29897,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -27398,7 +29906,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -27407,40 +29915,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -27448,36 +29956,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -27486,52 +29994,52 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> PseudoMetaFile __del__() - + Draw(DC dc, double xoffset, double yoffset) - + - + Clear() - + Copy(PseudoMetaFile copy) - + - + Scale(double sx, double sy) - + ScaleTo(double w, double h) - + Translate(double x, double y) - + Rotate(double x, double y, double theta) @@ -27542,27 +30050,27 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) LoadFromMetaFile(String filename, double width, double height) -> bool - - - + + + - + GetBounds(double minX, double minY, double maxX, double maxY) - - - - + + + + - + CalculateSize(PyDrawnShape shape) - + - + SetRotateable(bool rot) @@ -27571,32 +30079,32 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetRotateable() -> bool - + SetSize(double w, double h) - + SetFillBrush(wxBrush brush) - + - + GetFillBrush() -> wxBrush - + SetOutlinePen(wxPen pen) - + - + GetOutlinePen() -> wxPen - + SetOutlineOp(int op) @@ -27608,125 +30116,125 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) IsValid() -> bool - + DrawLine(Point pt1, Point pt2) - - + + - + DrawRectangle(Rect rect) - + - + DrawRoundedRectangle(Rect rect, double radius) - + - + DrawArc(Point centrePt, Point startPt, Point endPt) - - - + + + - + DrawEllipticArc(Rect rect, double startAngle, double endAngle) - + - + DrawEllipse(Rect rect) - + - + DrawPoint(Point pt) - + - + DrawText(String text, Point pt) - - + + - + DrawLines(int PCOUNT, Point points) - + - + DrawPolygon(int PCOUNT, Point points, int flags=0) - + - + DrawSpline(int PCOUNT, Point points) - + - + SetClippingRect(Rect rect) - + - + DestroyClippingRect() - + SetPen(wxPen pen, bool isOutline=FALSE) - + - + SetBrush(wxBrush brush, bool isFill=FALSE) - + - + SetFont(Font font) - + - + SetTextColour(Colour colour) - + - + SetBackgroundColour(Colour colour) - + - + SetBackgroundMode(int mode) @@ -27734,7 +30242,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(double width=0.0, double height=0.0) -> PyRectangleShape @@ -27742,66 +30250,69 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + SetCornerRadius(double radius) - + + GetCornerRadius() -> double + + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -27810,7 +30321,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -27819,7 +30330,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -27828,7 +30339,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -27839,7 +30350,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -27847,11 +30358,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -27859,7 +30370,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -27869,7 +30380,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -27878,7 +30389,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -27887,7 +30398,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -27897,7 +30408,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -27906,7 +30417,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -27915,40 +30426,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -27956,36 +30467,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -27994,80 +30505,80 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __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 - - + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + SetCornerRadius(double radius) - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -28076,7 +30587,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -28085,7 +30596,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -28094,7 +30605,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -28105,7 +30616,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -28113,11 +30624,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -28125,7 +30636,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -28135,7 +30646,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -28144,7 +30655,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -28153,7 +30664,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -28163,7 +30674,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -28172,7 +30683,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -28181,40 +30692,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -28222,36 +30733,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -28260,82 +30771,82 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> PyBitmapShape - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + GetBitmap() -> Bitmap - + GetFilename() -> String - + SetBitmap(Bitmap bitmap) - + - + SetFilename(String filename) - + - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -28344,7 +30855,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -28353,7 +30864,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -28362,7 +30873,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -28373,7 +30884,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -28381,11 +30892,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -28393,7 +30904,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -28403,7 +30914,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -28412,7 +30923,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -28421,7 +30932,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -28431,7 +30942,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -28440,7 +30951,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -28449,40 +30960,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -28490,36 +31001,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -28528,104 +31039,104 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> PyDrawnShape - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + CalculateSize() - + DestroyClippingRect() - + DrawArc(Point centrePoint, Point startPoint, Point endPoint) - - - + + + - + DrawAtAngle(int angle) - + DrawEllipticArc(Rect rect, double startAngle, double endAngle) - + - + DrawLine(Point point1, Point point2) - - + + - + DrawLines(int PCOUNT, Point points) - + - + DrawPoint(Point point) - + - + DrawPolygon(int PCOUNT, Point points, int flags=0) - + - + DrawRectangle(Rect rect) - + - + DrawRoundedRectangle(Rect rect, double radius) - + - + DrawSpline(int PCOUNT, Point points) - + - + DrawText(String text, Point point) - - + + GetAngle() -> int - + GetMetaFile() -> PseudoMetaFile @@ -28634,10 +31145,10 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) LoadFromMetaFile(String filename) -> bool - + - + Rotate(double x, double y, double theta) @@ -28645,117 +31156,117 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + SetClippingRect(Rect rect) - + - + SetDrawnBackgroundColour(Colour colour) - + - + SetDrawnBackgroundMode(int mode) - + SetDrawnBrush(wxBrush pen, bool isOutline=FALSE) - + - + SetDrawnFont(Font font) - + - + SetDrawnPen(wxPen pen, bool isOutline=FALSE) - + - + SetDrawnTextColour(Colour colour) - + - + Scale(double sx, double sy) - + SetSaveToFile(bool save) - + Translate(double x, double y) - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -28764,7 +31275,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -28773,7 +31284,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -28782,7 +31293,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -28793,7 +31304,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -28801,11 +31312,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -28813,7 +31324,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -28823,7 +31334,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -28832,7 +31343,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -28841,7 +31352,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -28851,7 +31362,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -28860,7 +31371,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -28869,40 +31380,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -28910,36 +31421,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -28948,19 +31459,19 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint - - + + Evaluate() -> bool - + SetSpacing(double x, double y) @@ -28976,68 +31487,68 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> PyCompositeShape - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + AddChild(PyShape child, PyShape addAfter=None) - - + + - + AddConstraint(OGLConstraint constraint) -> OGLConstraint - + - + AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint - - + + - + AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint - - + + - + CalculateSize() ContainsDivision(PyDivisionShape division) -> bool - + - + DeleteConstraint(OGLConstraint constraint) - + - + DeleteConstraintsInvolvingChild(PyShape child) - + - + FindContainerImage() -> PyShape @@ -29046,65 +31557,65 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetDivisions() -> PyObject - + MakeContainer() Recompute() -> bool - + RemoveChild(PyShape child) - + - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -29113,7 +31624,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -29122,7 +31633,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -29131,7 +31642,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -29142,7 +31653,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -29150,11 +31661,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -29162,7 +31673,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -29172,7 +31683,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -29181,7 +31692,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -29190,7 +31701,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -29200,7 +31711,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -29209,7 +31720,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -29218,40 +31729,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -29259,36 +31770,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -29297,7 +31808,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(double width=0.0, double height=0.0) -> PyDividedShape @@ -29305,66 +31816,66 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + EditRegions() - + SetRegionSizes() - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -29373,7 +31884,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -29382,7 +31893,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -29391,7 +31902,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -29402,7 +31913,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -29410,11 +31921,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -29422,7 +31933,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -29432,7 +31943,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -29441,7 +31952,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -29450,7 +31961,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -29460,7 +31971,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -29469,7 +31980,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -29478,40 +31989,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -29519,36 +32030,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -29557,82 +32068,82 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> PyDivisionShape - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + AdjustBottom(double bottom, bool test) - + AdjustLeft(double left, bool test) - + AdjustRight(double right, bool test) - + AdjustTop(double top, bool test) - + Divide(int direction) - + EditEdge(int side) - + GetBottomSide() -> PyDivisionShape GetHandleSide() -> int - + GetLeftSide() -> PyDivisionShape - + GetLeftSideColour() -> String - + GetLeftSidePen() -> wxPen - + GetRightSide() -> PyDivisionShape - + GetTopSide() -> PyDivisionShape - + GetTopSidePen() -> wxPen - + ResizeAdjoining(int side, double newPos, bool test) @@ -29640,114 +32151,114 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + PopupMenu(double x, double y) - + SetBottomSide(PyDivisionShape shape) - + - + SetHandleSide(int side) - + SetLeftSide(PyDivisionShape shape) - + - + SetLeftSideColour(String colour) - + - + SetLeftSidePen(wxPen pen) - + - + SetRightSide(PyDivisionShape shape) - + - + SetTopSide(PyDivisionShape shape) - + - + SetTopSideColour(String colour) - + - + SetTopSidePen(wxPen pen) - + - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -29756,7 +32267,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -29765,7 +32276,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -29774,7 +32285,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -29785,7 +32296,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -29793,11 +32304,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -29805,7 +32316,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -29815,7 +32326,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -29824,7 +32335,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -29833,7 +32344,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -29843,7 +32354,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -29852,7 +32363,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -29861,40 +32372,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -29902,36 +32413,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -29940,7 +32451,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(double width=0.0, double height=0.0) -> PyEllipseShape @@ -29948,57 +32459,57 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -30007,7 +32518,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -30016,7 +32527,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -30025,7 +32536,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -30036,7 +32547,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -30044,11 +32555,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -30056,7 +32567,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -30066,7 +32577,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -30075,7 +32586,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -30084,7 +32595,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -30094,7 +32605,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -30103,7 +32614,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -30112,40 +32623,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -30153,36 +32664,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -30191,64 +32702,64 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(double width=0.0) -> PyCircleShape - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -30257,7 +32768,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -30266,7 +32777,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -30275,7 +32786,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -30286,7 +32797,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -30294,11 +32805,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -30306,7 +32817,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -30316,7 +32827,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -30325,7 +32836,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -30334,7 +32845,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -30344,7 +32855,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -30353,7 +32864,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -30362,40 +32873,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -30403,36 +32914,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -30441,7 +32952,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(int type=0, int end=0, double size=0.0, double dist=0.0, String name=EmptyString, PseudoMetaFile mf=None, @@ -30451,8 +32962,8 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - - + + @@ -30465,7 +32976,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetPosition() -> int - + SetPosition(int pos) @@ -30483,22 +32994,22 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetSize() -> double - + GetName() -> String - + SetXOffset(double x) - + SetYOffset(double y) - + GetMetaFile() -> PseudoMetaFile @@ -30510,13 +33021,13 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetArrowSize() -> double - + SetSize(double size) - + SetSpacing(double sp) @@ -30524,18 +33035,18 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> PyLineShape - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + 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) @@ -30544,36 +33055,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - - + + - + AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end) - - + + ClearArrow(String name) -> bool - + - + ClearArrowsAtPosition(int position=-1) - + DrawArrow(DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset) - - + + @@ -30588,56 +33099,56 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) DeleteArrowHead(int position, String name) -> bool - + DeleteLineControlPoint() -> bool - + DrawArrows(DC dc) - + - + DrawRegion(DC dc, ShapeRegion region, double x, double y) - - + + - + EraseRegion(DC dc, ShapeRegion region, double x, double y) - - + + - + FindArrowHeadId(long arrowId) -> ArrowHead - + FindArrowHead(int position, String name) -> ArrowHead - + - + FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT) - - - - + + + + @@ -30650,12 +33161,12 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) FindMinimumWidth() -> double - + FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming) - - - + + + @@ -30665,54 +33176,54 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetAttachmentTo() -> int - + GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT) - - - - + + + + - + GetFrom() -> PyShape - + GetLabelPosition(int position, double OUTPUT, double OUTPUT) - - + + - + GetNextControlPoint(PyShape shape) -> RealPoint - + - + GetTo() -> PyShape - + Initialise() - + InsertLineControlPoint(DC dc) - + IsEnd(PyShape shape) -> bool - + IsSpline() -> bool - + MakeLineControlPoints(int n) @@ -30721,26 +33232,26 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetLineControlPoints() -> PyObject - + SetAttachmentFrom(int fromAttach) - + SetAttachments(int fromAttach, int toAttach) - + SetAttachmentTo(int toAttach) - + SetEnds(double x1, double y1, double x2, double y2) @@ -30749,83 +33260,115 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + SetFrom(PyShape object) - + - + SetIgnoreOffsets(bool ignore) - + SetSpline(bool spline) - + SetTo(PyShape object) - + - + Straighten(DC dc=None) - + - + Unlink() - + + SetAlignmentOrientation(bool isEnd, bool isHoriz) + + + + + + + SetAlignmentType(bool isEnd, int alignType) + + + + + + + GetAlignmentOrientation(bool isEnd) -> bool + + + + + + GetAlignmentType(bool isEnd) -> int + + + + + + GetAlignmentStart() -> int + + + GetAlignmentEnd() -> int + + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -30834,7 +33377,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -30843,7 +33386,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -30852,7 +33395,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -30863,7 +33406,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -30871,11 +33414,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -30883,7 +33426,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -30893,7 +33436,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -30902,7 +33445,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -30911,7 +33454,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -30921,7 +33464,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -30930,7 +33473,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -30939,40 +33482,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -30980,36 +33523,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -31018,33 +33561,33 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> PyPolygonShape - + _setCallbackInfo(PyObject self, PyObject _class) - - + + Create(PyObject points) -> PyObject - + - + AddPolygonPoint(int pos=0) - + CalculatePolygonCentre() - + DeletePolygonPoint(int pos=0) @@ -31053,53 +33596,74 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetPoints() -> PyObject - + + GetOriginalPoints() -> PyObject + + + GetOriginalWidth() -> double + + + GetOriginalHeight() -> double + + + SetOriginalWidth(double w) + + + + + + SetOriginalHeight(double h) + + + + + UpdateOriginalPoints() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -31108,7 +33672,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -31117,7 +33681,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -31126,7 +33690,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -31137,7 +33701,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -31145,11 +33709,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -31157,7 +33721,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -31167,7 +33731,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -31176,7 +33740,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -31185,7 +33749,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -31195,7 +33759,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -31204,7 +33768,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -31213,40 +33777,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -31254,36 +33818,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -31292,7 +33856,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__(double width=0.0, double height=0.0) -> PyTextShape @@ -31300,60 +33864,60 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + base_OnDelete() - + base_OnDraw(DC dc) - + - + base_OnDrawContents(DC dc) - + - + base_OnDrawBranches(DC dc, bool erase=FALSE) - + - + base_OnMoveLinks(DC dc) - + - + base_OnErase(DC dc) - + - + base_OnEraseContents(DC dc) - + - + base_OnHighlight(DC dc) - + - + base_OnLeftClick(double x, double y, int keys=0, int attachment=0) @@ -31362,7 +33926,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0) @@ -31371,7 +33935,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0, int attachment=0) @@ -31380,7 +33944,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSize(double x, double y) @@ -31391,7 +33955,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, bool display=True) -> bool - + @@ -31399,11 +33963,11 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, bool display=True) - + @@ -31411,7 +33975,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0) @@ -31421,7 +33985,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0) @@ -31430,7 +33994,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0) @@ -31439,7 +34003,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0) @@ -31449,7 +34013,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0) @@ -31458,7 +34022,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0, int attachment=0) @@ -31467,40 +34031,40 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDrawOutline(DC dc, double x, double y, double w, double h) - + - + base_OnDrawControlPoints(DC dc) - + - + base_OnEraseControlPoints(DC dc) - + - + base_OnMoveLink(DC dc, bool moveControlPoints=True) - + - + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, int attachment=0) - + @@ -31508,36 +34072,36 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, int attachment=0) - + - + base_OnBeginSize(double w, double h) - + base_OnEndSize(double w, double h) @@ -31546,37 +34110,37 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + __init__() -> Diagram - + AddShape(PyShape shape, PyShape addAfter=None) - - + + - + Clear(DC dc) - + - + DeleteAllShapes() - + DrawOutline(DC dc, double x1, double y1, double x2, double y2) - + - + FindShape(long id) -> PyShape @@ -31603,139 +34167,139 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) GetSnapToGrid() -> bool - + InsertShape(PyShape shape) - + - + RecentreAll(DC dc) - + - + Redraw(DC dc) - + - + RemoveAllShapes() - + RemoveShape(PyShape shape) - + - + SetCanvas(PyShapeCanvas canvas) - + - + SetGridSpacing(double spacing) - + SetMouseTolerance(int tolerance) - + SetQuickEditMode(bool mode) - + SetSnapToGrid(bool snap) - + ShowAll(bool show) - + Snap(double INOUT, double INOUT) - - + + - + __init__(Window parent=None, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=BORDER, String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas - + - - + + - + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + AddShape(PyShape shape, PyShape addAfter=None) - - + + - + FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, PyShape notImage=None) -> PyShape - - - + + + - + FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape - + - + GetDiagram() -> Diagram GetQuickEditMode() -> bool - + InsertShape(PyShape shape) - + - + base_OnBeginDragLeft(double x, double y, int keys=0) @@ -31743,7 +34307,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnBeginDragRight(double x, double y, int keys=0) @@ -31751,7 +34315,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragLeft(double x, double y, int keys=0) @@ -31759,7 +34323,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnEndDragRight(double x, double y, int keys=0) @@ -31767,7 +34331,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragLeft(bool draw, double x, double y, int keys=0) @@ -31776,7 +34340,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnDragRight(bool draw, double x, double y, int keys=0) @@ -31785,7 +34349,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnLeftClick(double x, double y, int keys=0) @@ -31793,7 +34357,7 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + base_OnRightClick(double x, double y, int keys=0) @@ -31801,29 +34365,29 @@ EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) - + Redraw(DC dc) - + - + RemoveShape(PyShape shape) - + - + SetDiagram(Diagram diagram) - + - + Snap(double INOUT, double INOUT) - - + + @@ -31845,68 +34409,69 @@ PolygonShape = PyPolygonShape TextShape = PyTextShape ControlPoint = PyControlPoint - + OGLInitialize() - + OGLCleanUp() + wx = core - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=STCNameStr) -> StyledTextCtrl - + - - + + - + PreStyledTextCtrl() -> StyledTextCtrl - + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=0, String name=wxSTCNameStr) - + - - + + - + - + AddText(String text) - + - + AddStyledText(wxMemoryBuffer data) - + - + InsertText(int pos, String text) - + - + ClearAll() - + ClearDocumentStyle() @@ -31930,19 +34495,19 @@ ControlPoint = PyControlPoint - + Redo() - + SetUndoCollection(bool collectUndo) - + SelectAll() - + SetSavePoint() @@ -31961,7 +34526,7 @@ ControlPoint = PyControlPoint - + MarkerDeleteHandle(int handle) @@ -31973,7 +34538,7 @@ ControlPoint = PyControlPoint GetViewWhiteSpace() -> int - + SetViewWhiteSpace(int viewWS) @@ -31982,7 +34547,7 @@ ControlPoint = PyControlPoint PositionFromPoint(Point pt) -> int - + @@ -31992,34 +34557,34 @@ ControlPoint = PyControlPoint - + GotoLine(int line) - + GotoPos(int pos) - + SetAnchor(int posAnchor) - + GetCurLine(int OUTPUT) -> String - + GetEndStyled() -> int - + ConvertEOLs(int eolMode) @@ -32028,20 +34593,20 @@ ControlPoint = PyControlPoint GetEOLMode() -> int - + SetEOLMode(int eolMode) - + StartStyling(int pos, int mask) - + SetStyling(int length, int style) @@ -32051,13 +34616,13 @@ ControlPoint = PyControlPoint GetBufferedDraw() -> bool - + SetBufferedDraw(bool buffered) - + SetTabWidth(int tabWidth) @@ -32066,34 +34631,34 @@ ControlPoint = PyControlPoint GetTabWidth() -> int - + SetCodePage(int codePage) - + MarkerDefine(int markerNumber, int markerSymbol, Colour foreground=wxNullColour, Colour background=wxNullColour) - - + + - + MarkerSetForeground(int markerNumber, Colour fore) - + - + MarkerSetBackground(int markerNumber, Colour back) - + @@ -32103,14 +34668,14 @@ ControlPoint = PyControlPoint - + MarkerDelete(int line, int markerNumber) - + MarkerDeleteAll(int markerNumber) @@ -32136,14 +34701,14 @@ ControlPoint = PyControlPoint - + MarkerDefineBitmap(int markerNumber, Bitmap bmp) - + - + SetMarginType(int margin, int marginType) @@ -32156,7 +34721,7 @@ ControlPoint = PyControlPoint - + SetMarginWidth(int margin, int pixelWidth) @@ -32169,7 +34734,7 @@ ControlPoint = PyControlPoint - + SetMarginMask(int margin, int mask) @@ -32182,7 +34747,7 @@ ControlPoint = PyControlPoint - + SetMarginSensitive(int margin, bool sensitive) @@ -32195,110 +34760,110 @@ ControlPoint = PyControlPoint - + StyleClearAll() - + StyleSetForeground(int style, Colour fore) - + - + StyleSetBackground(int style, Colour back) - + - + StyleSetBold(int style, bool bold) - + StyleSetItalic(int style, bool italic) - + StyleSetSize(int style, int sizePoints) - + StyleSetFaceName(int style, String fontName) - + - + StyleSetEOLFilled(int style, bool filled) - + StyleResetDefault() - + StyleSetUnderline(int style, bool underline) - + StyleSetCase(int style, int caseForce) - + StyleSetCharacterSet(int style, int characterSet) - + StyleSetHotSpot(int style, bool hotspot) - + SetSelForeground(bool useSetting, Colour fore) - + - + SetSelBackground(bool useSetting, Colour back) - + - + SetCaretForeground(Colour fore) - + - + CmdKeyAssign(int key, int modifiers, int cmd) @@ -32306,24 +34871,24 @@ ControlPoint = PyControlPoint - + CmdKeyClear(int key, int modifiers) - + CmdKeyClearAll() - + SetStyleBytes(int length, char styleBytes) - + - + StyleSetVisible(int style, bool visible) @@ -32333,25 +34898,25 @@ ControlPoint = PyControlPoint GetCaretPeriod() -> int - + SetCaretPeriod(int periodMilliseconds) - + SetWordChars(String characters) - + - + BeginUndoAction() - + EndUndoAction() - + IndicatorSetStyle(int indic, int style) @@ -32364,34 +34929,34 @@ ControlPoint = PyControlPoint - + IndicatorSetForeground(int indic, Colour fore) - + - + IndicatorGetForeground(int indic) -> Colour - + SetWhitespaceForeground(bool useSetting, Colour fore) - + - + SetWhitespaceBackground(bool useSetting, Colour back) - + - + SetStyleBits(int bits) @@ -32400,7 +34965,7 @@ ControlPoint = PyControlPoint GetStyleBits() -> int - + SetLineState(int line, int state) @@ -32419,36 +34984,36 @@ ControlPoint = PyControlPoint GetCaretLineVisible() -> bool - + SetCaretLineVisible(bool show) - + GetCaretLineBack() -> Colour - + SetCaretLineBack(Colour back) - + - + StyleSetChangeable(int style, bool changeable) - + AutoCompShow(int lenEntered, String itemList) - + - + AutoCompCancel() @@ -32457,16 +35022,16 @@ ControlPoint = PyControlPoint AutoCompPosStart() -> int - + AutoCompComplete() - + AutoCompStops(String characterSet) - + - + AutoCompSetSeparator(int separatorCharacter) @@ -32475,13 +35040,13 @@ ControlPoint = PyControlPoint AutoCompGetSeparator() -> int - + AutoCompSelect(String text) - + - + AutoCompSetCancelAtStart(bool cancel) @@ -32490,13 +35055,13 @@ ControlPoint = PyControlPoint AutoCompGetCancelAtStart() -> bool - + AutoCompSetFillUps(String characterSet) - + - + AutoCompSetChooseSingle(bool chooseSingle) @@ -32505,7 +35070,7 @@ ControlPoint = PyControlPoint AutoCompGetChooseSingle() -> bool - + AutoCompSetIgnoreCase(bool ignoreCase) @@ -32514,14 +35079,14 @@ ControlPoint = PyControlPoint AutoCompGetIgnoreCase() -> bool - + UserListShow(int listType, String itemList) - + - + AutoCompSetAutoHide(bool autoHide) @@ -32530,7 +35095,7 @@ ControlPoint = PyControlPoint AutoCompGetAutoHide() -> bool - + AutoCompSetDropRestOfWord(bool dropRestOfWord) @@ -32539,26 +35104,26 @@ ControlPoint = PyControlPoint AutoCompGetDropRestOfWord() -> bool - + RegisterImage(int type, Bitmap bmp) - + - + ClearRegisteredImages() AutoCompGetTypeSeparator() -> int - + AutoCompSetTypeSeparator(int separatorCharacter) - + SetIndent(int indentSize) @@ -32567,7 +35132,7 @@ ControlPoint = PyControlPoint GetIndent() -> int - + SetUseTabs(bool useTabs) @@ -32576,7 +35141,7 @@ ControlPoint = PyControlPoint GetUseTabs() -> bool - + SetLineIndentation(int line, int indentSize) @@ -32601,7 +35166,7 @@ ControlPoint = PyControlPoint - + SetUseHorizontalScrollBar(bool show) @@ -32610,7 +35175,7 @@ ControlPoint = PyControlPoint GetUseHorizontalScrollBar() -> bool - + SetIndentationGuides(bool show) @@ -32619,7 +35184,7 @@ ControlPoint = PyControlPoint GetIndentationGuides() -> bool - + SetHighlightGuide(int column) @@ -32637,19 +35202,19 @@ ControlPoint = PyControlPoint GetCodePage() -> int - + GetCaretForeground() -> Colour GetReadOnly() -> bool - + SetCurrentPos(int pos) - + SetSelectionStart(int pos) @@ -32658,7 +35223,7 @@ ControlPoint = PyControlPoint GetSelectionStart() -> int - + SetSelectionEnd(int pos) @@ -32667,7 +35232,7 @@ ControlPoint = PyControlPoint GetSelectionEnd() -> int - + SetPrintMagnification(int magnification) @@ -32676,7 +35241,7 @@ ControlPoint = PyControlPoint GetPrintMagnification() -> int - + SetPrintColourMode(int mode) @@ -32690,7 +35255,7 @@ ControlPoint = PyControlPoint - + @@ -32701,16 +35266,16 @@ ControlPoint = PyControlPoint - - - - + + + + GetFirstVisibleLine() -> int - + GetLine(int line) -> String @@ -32719,7 +35284,7 @@ ControlPoint = PyControlPoint GetLineCount() -> int - + SetMarginLeft(int pixelWidth) @@ -32728,7 +35293,7 @@ ControlPoint = PyControlPoint GetMarginLeft() -> int - + SetMarginRight(int pixelWidth) @@ -32740,24 +35305,24 @@ ControlPoint = PyControlPoint GetModify() -> bool - + SetSelection(int start, int end) - + GetSelectedText() -> String - + GetTextRange(int startPos, int endPos) -> String - + HideSelection(bool normal) @@ -32775,23 +35340,23 @@ ControlPoint = PyControlPoint - + LineScroll(int columns, int lines) - + EnsureCaretVisible() - + ReplaceSelection(String text) - + - + SetReadOnly(bool readOnly) @@ -32803,37 +35368,37 @@ ControlPoint = PyControlPoint CanUndo() -> bool - + EmptyUndoBuffer() - + Undo() - + Cut() - + Copy() - + Paste() - + Clear() - + SetText(String text) - + - + GetText() -> String GetTextLength() -> int - + SetOvertype(bool overtype) @@ -32842,7 +35407,7 @@ ControlPoint = PyControlPoint GetOvertype() -> bool - + SetCaretWidth(int pixelWidth) @@ -32851,7 +35416,7 @@ ControlPoint = PyControlPoint GetCaretWidth() -> int - + SetTargetStart(int pos) @@ -32860,7 +35425,7 @@ ControlPoint = PyControlPoint GetTargetStart() -> int - + SetTargetEnd(int pos) @@ -32872,22 +35437,22 @@ ControlPoint = PyControlPoint ReplaceTarget(String text) -> int - + ReplaceTargetRE(String text) -> int - + SearchInTarget(String text) -> int - + - + SetSearchFlags(int flags) @@ -32896,14 +35461,14 @@ ControlPoint = PyControlPoint GetSearchFlags() -> int - + CallTipShow(int pos, String definition) - + - + CallTipCancel() @@ -32912,29 +35477,29 @@ ControlPoint = PyControlPoint CallTipPosAtStart() -> int - + CallTipSetHighlight(int start, int end) - + CallTipSetBackground(Colour back) - + - + CallTipSetForeground(Colour fore) - + - + CallTipSetForegroundHighlight(Colour fore) - + @@ -32949,7 +35514,7 @@ ControlPoint = PyControlPoint - + SetFoldLevel(int line, int level) @@ -32975,14 +35540,14 @@ ControlPoint = PyControlPoint - + ShowLines(int lineStart, int lineEnd) - + HideLines(int lineStart, int lineEnd) @@ -32995,7 +35560,7 @@ ControlPoint = PyControlPoint - + SetFoldExpanded(int line, bool expanded) @@ -33008,31 +35573,31 @@ ControlPoint = PyControlPoint - + ToggleFold(int line) - + EnsureVisible(int line) - + SetFoldFlags(int flags) - + EnsureVisibleEnforcePolicy(int line) - + SetTabIndents(bool tabIndents) @@ -33041,7 +35606,7 @@ ControlPoint = PyControlPoint GetTabIndents() -> bool - + SetBackSpaceUnIndents(bool bsUnIndents) @@ -33050,7 +35615,7 @@ ControlPoint = PyControlPoint GetBackSpaceUnIndents() -> bool - + SetMouseDwellTime(int periodMilliseconds) @@ -33073,7 +35638,7 @@ ControlPoint = PyControlPoint - + SetWrapMode(int mode) @@ -33082,7 +35647,7 @@ ControlPoint = PyControlPoint GetWrapMode() -> int - + SetLayoutCache(int mode) @@ -33091,7 +35656,7 @@ ControlPoint = PyControlPoint GetLayoutCache() -> int - + SetScrollWidth(int pixelWidth) @@ -33104,10 +35669,10 @@ ControlPoint = PyControlPoint TextWidth(int style, String text) -> int - + - + SetEndAtLastLine(bool endAtLastLine) @@ -33122,7 +35687,7 @@ ControlPoint = PyControlPoint - + SetUseVerticalScrollBar(bool show) @@ -33131,67 +35696,67 @@ ControlPoint = PyControlPoint GetUseVerticalScrollBar() -> bool - + AppendText(int length, String text) - + GetTwoPhaseDraw() -> bool - + SetTwoPhaseDraw(bool twoPhase) - + TargetFromSelection() - + LinesJoin() - + LinesSplit(int pixelWidth) - + SetFoldMarginColour(bool useSetting, Colour back) - + - + SetFoldMarginHiColour(bool useSetting, Colour fore) - + - + LineDuplicate() - + HomeDisplay() - + HomeDisplayExtend() - + LineEndDisplay() - + LineEndDisplayExtend() - + LineCopy() - + MoveCaretInsideView() @@ -33200,14 +35765,14 @@ ControlPoint = PyControlPoint - + BraceHighlight(int pos1, int pos2) - + BraceBadLight(int pos) @@ -33222,22 +35787,22 @@ ControlPoint = PyControlPoint GetViewEOL() -> bool - + SetViewEOL(bool visible) - + GetDocPointer() -> void - + SetDocPointer(void docPointer) - + - + SetModEventMask(int mask) @@ -33246,7 +35811,7 @@ ControlPoint = PyControlPoint GetEdgeColumn() -> int - + SetEdgeColumn(int column) @@ -33255,42 +35820,42 @@ ControlPoint = PyControlPoint GetEdgeMode() -> int - + SetEdgeMode(int mode) - + GetEdgeColour() -> Colour - + SetEdgeColour(Colour edgeColour) - + - + SearchAnchor() SearchNext(int flags, String text) -> int - + SearchPrev(int flags, String text) -> int - + LinesOnScreen() -> int - + UsePopUp(bool allowPopUp) @@ -33299,7 +35864,7 @@ ControlPoint = PyControlPoint SelectionIsRectangle() -> bool - + SetZoom(int zoom) @@ -33308,25 +35873,25 @@ ControlPoint = PyControlPoint GetZoom() -> int - + CreateDocument() -> void - + AddRefDocument(void docPointer) - + - + ReleaseDocument(void docPointer) - + GetModEventMask() -> int - + SetSTCFocus(bool focus) @@ -33335,7 +35900,7 @@ ControlPoint = PyControlPoint GetSTCFocus() -> bool - + SetStatus(int statusCode) @@ -33344,7 +35909,7 @@ ControlPoint = PyControlPoint GetStatus() -> int - + SetMouseDownCaptures(bool captures) @@ -33353,7 +35918,7 @@ ControlPoint = PyControlPoint GetMouseDownCaptures() -> bool - + SetSTCCursor(int cursorType) @@ -33362,7 +35927,7 @@ ControlPoint = PyControlPoint GetSTCCursor() -> int - + SetControlCharSymbol(int symbol) @@ -33371,32 +35936,32 @@ ControlPoint = PyControlPoint GetControlCharSymbol() -> int - + WordPartLeft() - + WordPartLeftExtend() - + WordPartRight() - + WordPartRightExtend() - + SetVisiblePolicy(int visiblePolicy, int visibleSlop) - + DelLineLeft() - + DelLineRight() - + SetXOffset(int newOffset) @@ -33405,24 +35970,24 @@ ControlPoint = PyControlPoint GetXOffset() -> int - + ChooseCaretX() - + SetXCaretPolicy(int caretPolicy, int caretSlop) - + SetYCaretPolicy(int caretPolicy, int caretSlop) - + SetPrintWrapMode(int mode) @@ -33431,26 +35996,32 @@ ControlPoint = PyControlPoint GetPrintWrapMode() -> int - + SetHotspotActiveForeground(bool useSetting, Colour fore) - + - + SetHotspotActiveBackground(bool useSetting, Colour back) - + - + SetHotspotActiveUnderline(bool underline) + + SetHotspotSingleLine(bool singleLine) + + + + PositionBefore(int pos) -> int @@ -33463,27 +36034,60 @@ ControlPoint = PyControlPoint - + CopyRange(int start, int end) - + CopyText(int length, String text) - + + + + + SetSelectionMode(int mode) + + + + + + GetSelectionMode() -> int + + + GetLineSelStartPosition(int line) -> int + + + + + + GetLineSelEndPosition(int line) -> int + + + + + + SetWhitespaceChars(String characters) + + - + + SetCharsDefault() + + + AutoCompGetCurrent() -> int + + StartRecord() - + StopRecord() - + SetLexer(int lexer) @@ -33492,95 +36096,95 @@ ControlPoint = PyControlPoint GetLexer() -> int - + Colourise(int start, int end) - + SetProperty(String key, String value) - - + + - + SetKeyWords(int keywordSet, String keyWords) - + - + SetLexerLanguage(String language) - + GetCurrentLine() -> int - + StyleSetSpec(int styleNum, String spec) - + - + StyleSetFont(int styleNum, Font font) - + - + StyleSetFontAttr(int styleNum, int size, String faceName, bool bold, bool italic, bool underline) - + - + CmdKeyExecute(int cmd) - + SetMargins(int left, int right) - + GetSelection(int OUTPUT, int OUTPUT) - - + + - + PointFromPosition(int pos) -> Point - + ScrollToLine(int line) - + ScrollToColumn(int column) @@ -33594,22 +36198,22 @@ ControlPoint = PyControlPoint - + SetVScrollBar(wxScrollBar bar) - + - + SetHScrollBar(wxScrollBar bar) - + GetLastKeydownProcessed() -> bool - + SetLastKeydownProcessed(bool val) @@ -33618,17 +36222,17 @@ ControlPoint = PyControlPoint SaveFile(String filename) -> bool - + LoadFile(String filename) -> bool - + - DoDragOver(int x, int y, wxDragResult def) -> wxDragResult + DoDragOver(int x, int y, int def) -> int @@ -33640,12 +36244,21 @@ ControlPoint = PyControlPoint - + + + + + SetUseAntiAliasing(bool useAA) + + + + GetUseAntiAliasing() -> bool + - + __init__(wxEventType commandType=0, int id=0) -> StyledTextEvent @@ -33656,122 +36269,122 @@ ControlPoint = PyControlPoint __del__() - + SetPosition(int pos) - + SetKey(int k) - + SetModifiers(int m) - + SetModificationType(int t) - + SetText(String t) - + - + SetLength(int len) - + SetLinesAdded(int num) - + SetLine(int val) - + SetFoldLevelNow(int val) - + SetFoldLevelPrev(int val) - + SetMargin(int val) - + SetMessage(int val) - + SetWParam(int val) - + SetLParam(int val) - + SetListType(int val) - + SetX(int val) - + SetY(int val) - + SetDragText(String val) - + - + SetDragAllowMove(bool val) - - SetDragResult(wxDragResult val) + + SetDragResult(int val) @@ -33788,7 +36401,7 @@ ControlPoint = PyControlPoint GetModificationType() -> int - + GetText() -> String @@ -33827,14 +36440,14 @@ ControlPoint = PyControlPoint GetY() -> int - + GetDragText() -> String GetDragAllowMove() -> bool - GetDragResult() -> wxDragResult + GetDragResult() -> int GetShift() -> bool @@ -33845,7 +36458,7 @@ ControlPoint = PyControlPoint GetAlt() -> bool - + Clone() -> Event @@ -33885,11 +36498,11 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) #--------------------------------------------------------------------------- - + __init__(String filemask, int flags=XRC_USE_LOCALE) -> XmlResource - + @@ -33905,151 +36518,151 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) Load(String filemask) -> bool - + LoadFromString(String data) -> bool - + - + InitAllHandlers() - + AddHandler(XmlResourceHandler handler) - + - + InsertHandler(XmlResourceHandler handler) - + - + ClearHandlers() - - XmlResource.AddSubclassFactory(XmlSubclassFactory factory) + + AddSubclassFactory(XmlSubclassFactory factory) - + - + LoadMenu(String name) -> Menu - + - + LoadMenuBar(String name) -> MenuBar - + - + LoadMenuBarOnFrame(Window parent, String name) -> MenuBar - - + + - + LoadToolBar(Window parent, String name) -> wxToolBar - - + + - + LoadDialog(Window parent, String name) -> wxDialog - - + + LoadOnDialog(wxDialog dlg, Window parent, String name) -> bool - - - + + + - + LoadPanel(Window parent, String name) -> wxPanel - - + + LoadOnPanel(wxPanel panel, Window parent, String name) -> bool - - - + + + - + LoadFrame(Window parent, String name) -> wxFrame - - + + LoadOnFrame(wxFrame frame, Window parent, String name) -> bool - - - + + + - + LoadObject(Window parent, String name, String classname) -> Object - - - + + + LoadOnObject(Object instance, Window parent, String name, String classname) -> bool - - - - + + + + - + LoadBitmap(String name) -> Bitmap - + - + LoadIcon(String name) -> Icon - + AttachUnknownControl(String name, Window control, Window parent=None) -> bool - - - + + + - XmlResource.GetXRCID(String str_id) -> int + GetXRCID(String str_id) -> int - + @@ -34064,19 +36677,19 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) - - XmlResource.Get() -> XmlResource + + Get() -> XmlResource - - XmlResource.Set(XmlResource res) -> XmlResource + + Set(XmlResource res) -> XmlResource - + GetFlags() -> int - + SetFlags(int flags) @@ -34097,11 +36710,11 @@ def XRCCTRL(window, str_id, *ignoreargs): __init__() -> XmlSubclassFactory - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -34113,36 +36726,36 @@ def XRCCTRL(window, str_id, *ignoreargs): __init__(String name=EmptyString, String value=EmptyString, XmlProperty next=None) -> XmlProperty - - - + + + - + GetName() -> String - + GetValue() -> String - + GetNext() -> XmlProperty - + SetName(String name) - + - + SetValue(String value) - + - + SetNext(XmlProperty next) - + @@ -34152,154 +36765,154 @@ def XRCCTRL(window, str_id, *ignoreargs): String content=EmptyString, XmlProperty props=None, XmlNode next=None) -> XmlNode - + - - - - + + + + XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode - - + + __del__() - + AddChild(XmlNode child) - + - + InsertChild(XmlNode child, XmlNode before_node) - - + + RemoveChild(XmlNode child) -> bool - + - + AddProperty(XmlProperty prop) - + - + AddPropertyName(String name, String value) - - + + DeleteProperty(String name) -> bool - + GetType() -> int - + GetName() -> String - + GetContent() -> String - + GetParent() -> XmlNode - + GetNext() -> XmlNode - + GetChildren() -> XmlNode - + GetProperties() -> XmlProperty - + GetPropVal(String propName, String defaultVal) -> String - - + + HasProp(String propName) -> bool - + - + SetType(int type) - + SetName(String name) - + - + SetContent(String con) - + - + SetParent(XmlNode parent) - + - + SetNext(XmlNode next) - + - + SetChildren(XmlNode child) - + - + SetProperties(XmlProperty prop) - + - + __init__(String filename, String encoding=UTF8String) -> XmlDocument - - + + XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument - - + + @@ -34311,57 +36924,57 @@ def XRCCTRL(window, str_id, *ignoreargs): Load(String filename, String encoding=UTF8String) -> bool - - + + LoadFromStream(InputStream stream, String encoding=UTF8String) -> bool - - + + Save(String filename) -> bool - + SaveToStream(OutputStream stream) -> bool - + IsOk() -> bool - + GetRoot() -> XmlNode - + GetVersion() -> String - + GetFileEncoding() -> String - + SetRoot(XmlNode node) - + - + SetVersion(String version) - + - + SetFileEncoding(String encoding) - + @@ -34369,205 +36982,205 @@ def XRCCTRL(window, str_id, *ignoreargs): #--------------------------------------------------------------------------- - + __init__() -> XmlResourceHandler - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + CreateResource(XmlNode node, Object parent, Object instance) -> Object - - - + + + - + SetParentResource(XmlResource res) - + - + GetResource() -> XmlResource - + GetNode() -> XmlNode - + GetClass() -> String - + GetParent() -> Object - + GetInstance() -> Object - + GetParentAsWindow() -> Window - + GetInstanceAsWindow() -> Window IsOfClass(XmlNode node, String classname) -> bool - - + + - + GetNodeContent(XmlNode node) -> String - + HasParam(String param) -> bool - + - + GetParamNode(String param) -> XmlNode - + - + GetParamValue(String param) -> String - + - + AddStyle(String name, int value) - + - + AddWindowStyles() GetStyle(String param=StyleString, int defaults=0) -> int - + - + GetText(String param, bool translate=True) -> String - + GetID() -> int - + GetName() -> String GetBool(String param, bool defaultv=False) -> bool - + GetLong(String param, long defaultv=0) -> long - + - + GetColour(String param) -> Colour - + - + GetSize(String param=SizeString) -> Size - + - + GetPosition(String param=PosString) -> Point - + GetDimension(String param, int defaultv=0) -> int - + - + GetBitmap(String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER, Size size=DefaultSize) -> Bitmap - - - + + + - + GetIcon(String param=IconString, wxArtClient defaultArtClient=wxART_OTHER, Size size=DefaultSize) -> Icon - - - + + + - + GetFont(String param=FontString) -> Font - + - + SetupWindow(Window wnd) - + - + CreateChildren(Object parent, bool this_hnd_only=False) - + - + CreateChildrenPrivately(Object parent, XmlNode rootnode=None) - - + + - + CreateResFromNode(XmlNode node, Object parent, Object instance=None) -> Object - - - + + + - + GetCurFileSystem() -> FileSystem @@ -34614,36 +37227,36 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python()) wx = core - + __init__(Object target) -> DynamicSashSplitEvent - + - + __init__(Object target) -> DynamicSashUnifyEvent - + - + __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 - + - - + + - + @@ -34654,24 +37267,24 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python()) long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, String name=DynamicSashNameStr) -> bool - + - - + + - + - + GetHScrollBar(Window child) -> ScrollBar - + - + GetVScrollBar(Window child) -> ScrollBar - + @@ -34680,25 +37293,25 @@ EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 ) EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) - + __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 - + - - - + + + - + - + SetStrings(wxArrayString strings) - + @@ -34707,129 +37320,129 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetListCtrl() -> wxListCtrl - + GetDelButton() -> BitmapButton - + GetNewButton() -> BitmapButton - + GetUpButton() -> BitmapButton - + GetDownButton() -> BitmapButton - + GetEditButton() -> BitmapButton - + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl - + - - + + - + HideVScrollbar() - + AdjustRemoteScrollbars() - + GetScrolledWindow() -> ScrolledWindow - + ScrollToLine(int posHoriz, int posVert) - + SetCompanionWindow(Window companion) - + - + GetCompanionWindow() -> Window - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=0) -> TreeCompanionWindow - + - - + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + - + GetTreeCtrl() -> RemotelyScrolledTreeCtrl - + SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl) - + - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow - + - - + + - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=0) -> SplitterScrolledWindow - + - - + + - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl - + - - + + @@ -34840,10 +37453,10 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) Create(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool - + - - + + @@ -34853,38 +37466,38 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetDrawFaded() -> bool - + GetValue() -> String - + SetAlignment(int Alignment, bool Redraw=true) - + SetDrawFaded(bool DrawFaded, bool Redraw=true) - + SetValue(String Value, bool Redraw=true) - + - + __init__(String text=EmptyString, int image=-1, size_t width=100, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo - + @@ -34893,7 +37506,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetAlignment() -> int - + GetText() -> String @@ -34905,31 +37518,31 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetWidth() -> size_t - + SetAlignment(int alignment) - + SetText(String text) - + - + SetImage(int image) - + SetSelectedImage(int image) - + SetWidth(size_t with) @@ -34937,20 +37550,20 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) - + __init__(Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=TR_DEFAULT_STYLE, Validator validator=DefaultValidator, String name=TreeListCtrlNameStr) -> TreeListCtrl - + - - + + - - + + @@ -34961,21 +37574,22 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) Size size=DefaultSize, long style=TR_DEFAULT_STYLE, Validator validator=DefaultValidator, String name=TreeListCtrlNameStr) -> bool + Do the 2nd phase and create the GUI control. - + - - + + - - + + - + _setCallbackInfo(PyObject self, PyObject _class) - - + + @@ -34984,7 +37598,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetIndent() -> unsigned int - + SetIndent(unsigned int indent) @@ -34993,7 +37607,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetSpacing() -> unsigned int - + SetSpacing(unsigned int spacing) @@ -35002,84 +37616,84 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetLineSpacing() -> unsigned int - + SetLineSpacing(unsigned int spacing) - + GetImageList() -> ImageList - + GetStateImageList() -> ImageList - + GetButtonsImageList() -> ImageList - + SetImageList(ImageList imageList) - + - + SetStateImageList(ImageList imageList) - + - + SetButtonsImageList(ImageList imageList) - + - + AssignImageList(ImageList imageList) - + - + AssignStateImageList(ImageList imageList) - + - + AssignButtonsImageList(ImageList imageList) - + - + AddColumn(String text) - + - + AddColumnInfo(TreeListColumnInfo col) - + - + InsertColumn(size_t before, String text) - + - + InsertColumnInfo(size_t before, TreeListColumnInfo col) - + - + RemoveColumn(size_t column) @@ -35088,7 +37702,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetColumnCount() -> size_t - + SetColumnWidth(size_t column, size_t width) @@ -35101,7 +37715,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) - + SetMainColumn(size_t column) @@ -35110,33 +37724,33 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) GetMainColumn() -> size_t - + SetColumnText(size_t column, String text) - + - + GetColumnText(size_t column) -> String - + SetColumn(size_t column, TreeListColumnInfo info) - + - + GetColumn(size_t column) -> TreeListColumnInfo - + SetColumnAlignment(size_t column, int align) @@ -35149,7 +37763,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) - + SetColumnImage(size_t column, int image) @@ -35162,403 +37776,403 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) - + GetItemText(TreeItemId item, int column=-1) -> String - + GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int - + - + SetItemText(TreeItemId item, String text, int column=-1) - - + + - + SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal) - + - + GetItemData(TreeItemId item) -> TreeItemData - + - + SetItemData(TreeItemId item, TreeItemData data) - - + + GetItemPyData(TreeItemId item) -> PyObject - + - + SetItemPyData(TreeItemId item, PyObject obj) - - + + - + SetItemHasChildren(TreeItemId item, bool has=True) - + - + SetItemBold(TreeItemId item, bool bold=True) - + - + SetItemTextColour(TreeItemId item, Colour col) - - + + - + SetItemBackgroundColour(TreeItemId item, Colour col) - - + + - + SetItemFont(TreeItemId item, Font font) - - + + GetItemBold(TreeItemId item) -> bool - + - + GetItemTextColour(TreeItemId item) -> Colour - + - + GetItemBackgroundColour(TreeItemId item) -> Colour - + - + GetItemFont(TreeItemId item) -> Font - + IsVisible(TreeItemId item) -> bool - + ItemHasChildren(TreeItemId item) -> bool - + IsExpanded(TreeItemId item) -> bool - + IsSelected(TreeItemId item) -> bool - + IsBold(TreeItemId item) -> bool - + GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t - + - + GetRootItem() -> TreeItemId - + GetSelection() -> TreeItemId GetSelections() -> PyObject - + GetItemParent(TreeItemId item) -> TreeItemId - + GetFirstChild(TreeItemId item) -> PyObject - + GetNextChild(TreeItemId item, long cookie) -> PyObject - + - + GetLastChild(TreeItemId item) -> TreeItemId - + - + GetNextSibling(TreeItemId item) -> TreeItemId - + - + GetPrevSibling(TreeItemId item) -> TreeItemId - + - + GetFirstVisibleItem() -> TreeItemId - + GetNextVisible(TreeItemId item) -> TreeItemId - + - + GetPrevVisible(TreeItemId item) -> TreeItemId - + - + GetNext(TreeItemId item) -> TreeItemId - + - + AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - + - + - + PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - - + + - + - + InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - - - + + + - + - + InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - + - + - + - + AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId - - + + - + - + Delete(TreeItemId item) - + - + DeleteChildren(TreeItemId item) - + - + DeleteAllItems() - + Expand(TreeItemId item) - + - + ExpandAll(TreeItemId item) - + - + Collapse(TreeItemId item) - + - + CollapseAndReset(TreeItemId item) - + - + Toggle(TreeItemId item) - + - + Unselect() - + UnselectAll() - + SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False) - + - + EnsureVisible(TreeItemId item) - + - + ScrollTo(TreeItemId item) - + - + HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId - - - + + + GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject - + - + EditLabel(TreeItemId item) - + - + Edit(TreeItemId item) - + - + SortChildren(TreeItemId item) - + GetItemSelectedImage(TreeItemId item) -> int - + - + SetItemSelectedImage(TreeItemId item, int image) - + - + GetHeaderWindow() -> Window - + GetMainWindow() -> Window