From 0df68c9ff5756bb1e479142ddf2c2039573097c8 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 27 Nov 2003 01:06:51 +0000 Subject: [PATCH] reSWIGged git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/gizmos/gtk/gizmos.py | 127 +- wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp | 6 +- wxPython/contrib/glcanvas/gtk/glcanvas.py | 28 +- .../contrib/glcanvas/gtk/glcanvas_wrap.cpp | 5 +- wxPython/contrib/ogl/gtk/ogl.py | 514 ++++--- wxPython/contrib/ogl/gtk/ogl_wrap.cpp | 6 +- wxPython/contrib/stc/stc.py | 32 +- wxPython/contrib/stc/stc_wrap.cpp | 11 +- wxPython/contrib/xrc/xrc.py | 32 +- wxPython/contrib/xrc/xrc_wrap.cpp | 5 +- wxPython/src/gtk/calendar.py | 31 +- wxPython/src/gtk/calendar_wrap.cpp | 5 +- wxPython/src/gtk/controls.py | 827 +++++++----- wxPython/src/gtk/core.py | 1177 ++++++++++------- wxPython/src/gtk/gdi.py | 381 +++--- wxPython/src/gtk/grid.py | 97 +- wxPython/src/gtk/grid_wrap.cpp | 6 +- wxPython/src/gtk/html.py | 68 +- wxPython/src/gtk/html_wrap.cpp | 6 +- wxPython/src/gtk/misc.py | 349 ++--- wxPython/src/gtk/windows.py | 430 +++--- wxPython/src/gtk/wizard.py | 37 +- wxPython/src/gtk/wizard_wrap.cpp | 6 +- 23 files changed, 2418 insertions(+), 1768 deletions(-) diff --git a/wxPython/contrib/gizmos/gtk/gizmos.py b/wxPython/contrib/gizmos/gtk/gizmos.py index 61d68a4af2..dcaf9314fc 100644 --- a/wxPython/contrib/gizmos/gtk/gizmos.py +++ b/wxPython/contrib/gizmos/gtk/gizmos.py @@ -12,7 +12,6 @@ wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER class DynamicSashSplitEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -30,7 +29,6 @@ class DynamicSashSplitEventPtr(DynamicSashSplitEvent): _gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr) class DynamicSashUnifyEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -48,13 +46,14 @@ class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent): _gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr) class DynamicSashWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, - wxString name=wxPyDynamicSashNameStr) -> DynamicSashWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, + wxString name=wxPyDynamicSashNameStr) -> DynamicSashWindow + """ newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -62,9 +61,11 @@ class DynamicSashWindow(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, - wxString name=wxPyDynamicSashNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, + wxString name=wxPyDynamicSashNameStr) -> bool + """ return _gizmos.DynamicSashWindow_Create(*args, **kwargs) def GetHScrollBar(*args, **kwargs): @@ -96,13 +97,14 @@ EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE class EditableListBox(windows.Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, - wxString name=wxPyEditableListBoxNameStr) -> EditableListBox""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, + wxString name=wxPyEditableListBoxNameStr) -> EditableListBox + """ newobj = _gizmos.new_EditableListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -150,12 +152,13 @@ class EditableListBoxPtr(EditableListBox): _gizmos.EditableListBox_swigregister(EditableListBoxPtr) class RemotelyScrolledTreeCtrl(controls.TreeCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl + """ newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -195,12 +198,13 @@ class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl): _gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr) class TreeCompanionWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0) -> TreeCompanionWindow""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> TreeCompanionWindow + """ newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -228,12 +232,13 @@ class TreeCompanionWindowPtr(TreeCompanionWindow): _gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr) class ThinSplitterWindow(windows.SplitterWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__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=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow + """ newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -249,12 +254,13 @@ class ThinSplitterWindowPtr(ThinSplitterWindow): _gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr) class SplitterScrolledWindow(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__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=0) -> SplitterScrolledWindow + """ newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -275,12 +281,13 @@ LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK LED_DRAW_FADED = _gizmos.LED_DRAW_FADED class LEDNumberCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl + """ newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -288,8 +295,10 @@ class LEDNumberCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool + """ return _gizmos.LEDNumberCtrl_Create(*args, **kwargs) def GetAlignment(*args, **kwargs): @@ -335,12 +344,13 @@ TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN class TreeListColumnInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString text=wxPyEmptyString, int image=-1, size_t width=100, - wxTreeListColumnAlign alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo""" + """ + __init__(wxString text=wxPyEmptyString, int image=-1, size_t width=100, + wxTreeListColumnAlign alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo + """ newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -394,14 +404,15 @@ class TreeListColumnInfoPtr(TreeListColumnInfo): _gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr) class TreeListCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=TR_DEFAULT_STYLE, - Validator validator=DefaultValidator, - wxString name=wxPyTreeListCtrlNameStr) -> TreeListCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPyTreeListCtrlNameStr) -> TreeListCtrl + """ newobj = _gizmos.new_TreeListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -409,10 +420,12 @@ class TreeListCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=TR_DEFAULT_STYLE, - Validator validator=DefaultValidator, - wxString name=wxPyTreeListCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPyTreeListCtrlNameStr) -> bool + """ return _gizmos.TreeListCtrl_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -706,28 +719,38 @@ class TreeListCtrl(core.Control): return _gizmos.TreeListCtrl_GetNext(*args, **kwargs) def AddRoot(*args, **kwargs): - """AddRoot(wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AddRoot(wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs) def PrependItem(*args, **kwargs): - """PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs) def InsertItem(*args, **kwargs): - """InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, - int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + """ + InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, + int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs) def InsertItemBefore(*args, **kwargs): - """InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, - int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + """ + InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, + int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs) def AppendItem(*args, **kwargs): - """AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs) def Delete(*args, **kwargs): diff --git a/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp b/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp index a079402f78..33f2327a5d 100644 --- a/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp +++ b/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp @@ -6734,12 +6734,12 @@ static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } -static void *_p_wxWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); -} static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); } +static void *_p_wxWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); +} static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); } diff --git a/wxPython/contrib/glcanvas/gtk/glcanvas.py b/wxPython/contrib/glcanvas/gtk/glcanvas.py index 7f0aad877b..e51a645336 100644 --- a/wxPython/contrib/glcanvas/gtk/glcanvas.py +++ b/wxPython/contrib/glcanvas/gtk/glcanvas.py @@ -6,12 +6,13 @@ import _glcanvas import core wx = core class GLContext(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, - GLContext other=None) -> GLContext""" + """ + __init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, + GLContext other=None) -> GLContext + """ newobj = _glcanvas.new_GLContext(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -79,14 +80,15 @@ WX_GL_MIN_ACCUM_GREEN = _glcanvas.WX_GL_MIN_ACCUM_GREEN WX_GL_MIN_ACCUM_BLUE = _glcanvas.WX_GL_MIN_ACCUM_BLUE WX_GL_MIN_ACCUM_ALPHA = _glcanvas.WX_GL_MIN_ACCUM_ALPHA class GLCanvas(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyGLCanvasNameStr, - int attribList=None, - wxPalette palette=wxNullPalette) -> GLCanvas""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyGLCanvasNameStr, + int attribList=None, + wxPalette palette=wxNullPalette) -> GLCanvas + """ newobj = _glcanvas.new_GLCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -118,10 +120,12 @@ class GLCanvasPtr(GLCanvas): _glcanvas.GLCanvas_swigregister(GLCanvasPtr) def wxGLCanvasWithContext(*args, **kwargs): - """wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, - long style=0, wxString name=wxPyGLCanvasNameStr, - int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas""" + """ + wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=0, wxString name=wxPyGLCanvasNameStr, + int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas + """ val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs) val.thisown = 1 val._setOORInfo(val) diff --git a/wxPython/contrib/glcanvas/gtk/glcanvas_wrap.cpp b/wxPython/contrib/glcanvas/gtk/glcanvas_wrap.cpp index c378ce2621..5600d56282 100644 --- a/wxPython/contrib/glcanvas/gtk/glcanvas_wrap.cpp +++ b/wxPython/contrib/glcanvas/gtk/glcanvas_wrap.cpp @@ -1054,6 +1054,9 @@ static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { static void *_p_wxGLCanvasTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxGLCanvas *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -1151,7 +1154,7 @@ static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxWindow},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}}; static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; static swig_type_info _swigt__p_wxGLCanvas[] = {{"_p_wxGLCanvas", 0, "wxGLCanvas *", 0},{"_p_wxGLCanvas"},{0}}; diff --git a/wxPython/contrib/ogl/gtk/ogl.py b/wxPython/contrib/ogl/gtk/ogl.py index cd62438e2d..9c2d5d2129 100644 --- a/wxPython/contrib/ogl/gtk/ogl.py +++ b/wxPython/contrib/ogl/gtk/ogl.py @@ -9,7 +9,6 @@ wx = core #--------------------------------------------------------------------------- class ShapeRegion(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -139,7 +138,6 @@ class ShapeRegionPtr(ShapeRegion): _ogl.ShapeRegion_swigregister(ShapeRegionPtr) class PyShapeEvtHandler(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -231,13 +229,17 @@ class PyShapeEvtHandler(core.Object): return _ogl.PyShapeEvtHandler_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyShapeEvtHandler_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyShapeEvtHandler_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -281,18 +283,24 @@ class PyShapeEvtHandler(core.Object): return _ogl.PyShapeEvtHandler_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -312,7 +320,6 @@ class PyShapeEvtHandlerPtr(PyShapeEvtHandler): _ogl.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr) class PyShape(PyShapeEvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -336,8 +343,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_GetBoundingBoxMin(*args, **kwargs) def GetPerimeterPoint(*args, **kwargs): - """GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, - double OUTPUT) -> bool""" + """ + GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, + double OUTPUT) -> bool + """ return _ogl.PyShape_GetPerimeterPoint(*args, **kwargs) def GetCanvas(*args, **kwargs): @@ -625,8 +634,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_Constrain(*args, **kwargs) def AddLine(*args, **kwargs): - """AddLine(PyLineShape line, PyShape other, int attachFrom=0, - int attachTo=0, int positionFrom=-1, int positionTo=-1)""" + """ + AddLine(PyLineShape line, PyShape other, int attachFrom=0, + int attachTo=0, int positionFrom=-1, int positionTo=-1) + """ return _ogl.PyShape_AddLine(*args, **kwargs) def GetLinePosition(*args, **kwargs): @@ -730,8 +741,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_RemoveLine(*args, **kwargs) def GetAttachmentPosition(*args, **kwargs): - """GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, - int no_arcs=1, PyLineShape line=None) -> bool""" + """ + GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, + int no_arcs=1, PyLineShape line=None) -> bool + """ return _ogl.PyShape_GetAttachmentPosition(*args, **kwargs) def GetNumberOfAttachments(*args, **kwargs): @@ -743,13 +756,17 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_AttachmentIsValid(*args, **kwargs) def GetAttachmentPositionEdge(*args, **kwargs): - """GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, - int no_arcs=1, PyLineShape line=None) -> bool""" + """ + GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, + int no_arcs=1, PyLineShape line=None) -> bool + """ return _ogl.PyShape_GetAttachmentPositionEdge(*args, **kwargs) def CalcSimpleAttachment(*args, **kwargs): - """CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, - PyLineShape line) -> RealPoint""" + """ + CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, + PyLineShape line) -> RealPoint + """ return _ogl.PyShape_CalcSimpleAttachment(*args, **kwargs) def AttachmentSortTest(*args, **kwargs): @@ -777,8 +794,10 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_GetBranchingAttachmentRoot(*args, **kwargs) def GetBranchingAttachmentInfo(*args, **kwargs): - """GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, - RealPoint shoulder2) -> bool""" + """ + GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, + RealPoint shoulder2) -> bool + """ return _ogl.PyShape_GetBranchingAttachmentInfo(*args, **kwargs) def GetBranchingAttachmentPoint(*args, **kwargs): @@ -926,13 +945,17 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -976,18 +999,24 @@ class PyShape(PyShapeEvtHandler): return _ogl.PyShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1009,7 +1038,6 @@ _ogl.PyShape_swigregister(PyShapePtr) oglMETAFLAGS_OUTLINE = _ogl.oglMETAFLAGS_OUTLINE oglMETAFLAGS_ATTACHMENTS = _ogl.oglMETAFLAGS_ATTACHMENTS class PseudoMetaFile(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1189,7 +1217,6 @@ class PseudoMetaFilePtr(PseudoMetaFile): _ogl.PseudoMetaFile_swigregister(PseudoMetaFilePtr) class PyRectangleShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1257,13 +1284,17 @@ class PyRectangleShape(PyShape): return _ogl.PyRectangleShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyRectangleShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyRectangleShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1307,18 +1338,24 @@ class PyRectangleShape(PyShape): return _ogl.PyRectangleShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyRectangleShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyRectangleShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1338,13 +1375,14 @@ class PyRectangleShapePtr(PyRectangleShape): _ogl.PyRectangleShape_swigregister(PyRectangleShapePtr) class PyControlPoint(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__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""" + """ + __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 + """ newobj = _ogl.new_PyControlPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1408,13 +1446,17 @@ class PyControlPoint(PyRectangleShape): return _ogl.PyControlPoint_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyControlPoint_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyControlPoint_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1458,18 +1500,24 @@ class PyControlPoint(PyRectangleShape): return _ogl.PyControlPoint_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyControlPoint_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyControlPoint_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1489,7 +1537,6 @@ class PyControlPointPtr(PyControlPoint): _ogl.PyControlPoint_swigregister(PyControlPointPtr) class PyBitmapShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1569,13 +1616,17 @@ class PyBitmapShape(PyRectangleShape): return _ogl.PyBitmapShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyBitmapShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyBitmapShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1619,18 +1670,24 @@ class PyBitmapShape(PyRectangleShape): return _ogl.PyBitmapShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyBitmapShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyBitmapShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1650,7 +1707,6 @@ class PyBitmapShapePtr(PyBitmapShape): _ogl.PyBitmapShape_swigregister(PyBitmapShapePtr) class PyDrawnShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1826,13 +1882,17 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDrawnShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDrawnShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -1876,18 +1936,24 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDrawnShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyDrawnShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -1907,7 +1973,6 @@ class PyDrawnShapePtr(PyDrawnShape): _ogl.PyDrawnShape_swigregister(PyDrawnShapePtr) class OGLConstraint(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1937,7 +2002,6 @@ class OGLConstraintPtr(OGLConstraint): _ogl.OGLConstraint_swigregister(OGLConstraintPtr) class PyCompositeShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2057,13 +2121,17 @@ class PyCompositeShape(PyRectangleShape): return _ogl.PyCompositeShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyCompositeShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyCompositeShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2107,18 +2175,24 @@ class PyCompositeShape(PyRectangleShape): return _ogl.PyCompositeShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCompositeShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyCompositeShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2138,7 +2212,6 @@ class PyCompositeShapePtr(PyCompositeShape): _ogl.PyCompositeShape_swigregister(PyCompositeShapePtr) class PyDividedShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2210,13 +2283,17 @@ class PyDividedShape(PyRectangleShape): return _ogl.PyDividedShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDividedShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDividedShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2260,18 +2337,24 @@ class PyDividedShape(PyRectangleShape): return _ogl.PyDividedShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDividedShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyDividedShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2291,7 +2374,6 @@ class PyDividedShapePtr(PyDividedShape): _ogl.PyDividedShape_swigregister(PyDividedShapePtr) class PyDivisionShape(PyCompositeShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2455,13 +2537,17 @@ class PyDivisionShape(PyCompositeShape): return _ogl.PyDivisionShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyDivisionShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyDivisionShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2505,18 +2591,24 @@ class PyDivisionShape(PyCompositeShape): return _ogl.PyDivisionShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyDivisionShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyDivisionShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2536,7 +2628,6 @@ class PyDivisionShapePtr(PyDivisionShape): _ogl.PyDivisionShape_swigregister(PyDivisionShapePtr) class PyEllipseShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2596,13 +2687,17 @@ class PyEllipseShape(PyShape): return _ogl.PyEllipseShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyEllipseShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyEllipseShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2646,18 +2741,24 @@ class PyEllipseShape(PyShape): return _ogl.PyEllipseShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyEllipseShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyEllipseShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2677,7 +2778,6 @@ class PyEllipseShapePtr(PyEllipseShape): _ogl.PyEllipseShape_swigregister(PyEllipseShapePtr) class PyCircleShape(PyEllipseShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2737,13 +2837,17 @@ class PyCircleShape(PyEllipseShape): return _ogl.PyCircleShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyCircleShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyCircleShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -2787,18 +2891,24 @@ class PyCircleShape(PyEllipseShape): return _ogl.PyCircleShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyCircleShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyCircleShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -2818,13 +2928,14 @@ class PyCircleShapePtr(PyCircleShape): _ogl.PyCircleShape_swigregister(PyCircleShapePtr) class ArrowHead(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int type=0, int end=0, double size=0.0, double dist=0.0, - wxString name=wxPyEmptyString, PseudoMetaFile mf=None, - long arrowId=-1) -> ArrowHead""" + """ + __init__(int type=0, int end=0, double size=0.0, double dist=0.0, + wxString name=wxPyEmptyString, PseudoMetaFile mf=None, + long arrowId=-1) -> ArrowHead + """ newobj = _ogl.new_ArrowHead(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2908,7 +3019,6 @@ class ArrowHeadPtr(ArrowHead): _ogl.ArrowHead_swigregister(ArrowHeadPtr) class PyLineShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2924,9 +3034,11 @@ class PyLineShape(PyShape): return _ogl.PyLineShape__setCallbackInfo(*args, **kwargs) def AddArrow(*args, **kwargs): - """AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, - double xOffset=0.0, wxString name=wxPyEmptyString, - PseudoMetaFile mf=None, long arrowId=-1)""" + """ + AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, + double xOffset=0.0, wxString name=wxPyEmptyString, + PseudoMetaFile mf=None, long arrowId=-1) + """ return _ogl.PyLineShape_AddArrow(*args, **kwargs) def AddArrowOrdered(*args, **kwargs): @@ -3130,13 +3242,17 @@ class PyLineShape(PyShape): return _ogl.PyLineShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyLineShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyLineShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3180,18 +3296,24 @@ class PyLineShape(PyShape): return _ogl.PyLineShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyLineShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyLineShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3211,7 +3333,6 @@ class PyLineShapePtr(PyLineShape): _ogl.PyLineShape_swigregister(PyLineShapePtr) class PyPolygonShape(PyShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3295,13 +3416,17 @@ class PyPolygonShape(PyShape): return _ogl.PyPolygonShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyPolygonShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyPolygonShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3345,18 +3470,24 @@ class PyPolygonShape(PyShape): return _ogl.PyPolygonShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyPolygonShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyPolygonShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3376,7 +3507,6 @@ class PyPolygonShapePtr(PyPolygonShape): _ogl.PyPolygonShape_swigregister(PyPolygonShapePtr) class PyTextShape(PyRectangleShape): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3440,13 +3570,17 @@ class PyTextShape(PyRectangleShape): return _ogl.PyTextShape_base_OnSize(*args, **kwargs) def base_OnMovePre(*args, **kwargs): - """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True) -> bool""" + """ + base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) -> bool + """ return _ogl.PyTextShape_base_OnMovePre(*args, **kwargs) def base_OnMovePost(*args, **kwargs): - """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, - bool display=True)""" + """ + base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y, + bool display=True) + """ return _ogl.PyTextShape_base_OnMovePost(*args, **kwargs) def base_OnDragLeft(*args, **kwargs): @@ -3490,18 +3624,24 @@ class PyTextShape(PyRectangleShape): return _ogl.PyTextShape_base_OnMoveLink(*args, **kwargs) def base_OnSizingDragLeft(*args, **kwargs): - """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingDragLeft(*args, **kwargs) def base_OnSizingBeginDragLeft(*args, **kwargs): - """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, - int attachment=0)""" + """ + base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, + int attachment=0) + """ return _ogl.PyTextShape_base_OnSizingBeginDragLeft(*args, **kwargs) def base_OnSizingEndDragLeft(*args, **kwargs): - """base_OnSizingEndDragLeft(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) + """ return _ogl.PyTextShape_base_OnSizingEndDragLeft(*args, **kwargs) def base_OnBeginSize(*args, **kwargs): @@ -3521,7 +3661,6 @@ class PyTextShapePtr(PyTextShape): _ogl.PyTextShape_swigregister(PyTextShapePtr) class Diagram(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3635,13 +3774,14 @@ class DiagramPtr(Diagram): _ogl.Diagram_swigregister(DiagramPtr) class PyShapeCanvas(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent=None, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BORDER, - wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas""" + """ + __init__(Window parent=None, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BORDER, + wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas + """ newobj = _ogl.new_PyShapeCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3659,8 +3799,10 @@ class PyShapeCanvas(windows.ScrolledWindow): return _ogl.PyShapeCanvas_AddShape(*args, **kwargs) def FindShape(*args, **kwargs): - """FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, - PyShape notImage=None) -> PyShape""" + """ + FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, + PyShape notImage=None) -> PyShape + """ return _ogl.PyShapeCanvas_FindShape(*args, **kwargs) def FindFirstSensitiveShape(*args, **kwargs): diff --git a/wxPython/contrib/ogl/gtk/ogl_wrap.cpp b/wxPython/contrib/ogl/gtk/ogl_wrap.cpp index d6f14669a0..ffe4f8a5de 100644 --- a/wxPython/contrib/ogl/gtk/ogl_wrap.cpp +++ b/wxPython/contrib/ogl/gtk/ogl_wrap.cpp @@ -27155,9 +27155,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -27167,6 +27164,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/contrib/stc/stc.py b/wxPython/contrib/stc/stc.py index 01a270e4a4..a1a5e14a47 100644 --- a/wxPython/contrib/stc/stc.py +++ b/wxPython/contrib/stc/stc.py @@ -778,12 +778,13 @@ STC_CMD_PARADOWNEXTEND = _stc.STC_CMD_PARADOWNEXTEND STC_CMD_PARAUP = _stc.STC_CMD_PARAUP STC_CMD_PARAUPEXTEND = _stc.STC_CMD_PARAUPEXTEND class StyledTextCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPySTCNameStr) -> StyledTextCtrl""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPySTCNameStr) -> StyledTextCtrl + """ newobj = _stc.new_StyledTextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -791,8 +792,10 @@ class StyledTextCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxSTCNameStr)""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxSTCNameStr) + """ return _stc.StyledTextCtrl_Create(*args, **kwargs) def AddText(*args, **kwargs): @@ -948,8 +951,10 @@ class StyledTextCtrl(core.Control): return _stc.StyledTextCtrl_SetCodePage(*args, **kwargs) def MarkerDefine(*args, **kwargs): - """MarkerDefine(int markerNumber, int markerSymbol, wxColour foreground=wxNullColour, - wxColour background=wxNullColour)""" + """ + MarkerDefine(int markerNumber, int markerSymbol, wxColour foreground=wxNullColour, + wxColour background=wxNullColour) + """ return _stc.StyledTextCtrl_MarkerDefine(*args, **kwargs) def MarkerSetForeground(*args, **kwargs): @@ -1401,8 +1406,10 @@ class StyledTextCtrl(core.Control): return _stc.StyledTextCtrl_FindText(*args, **kwargs) def FormatRange(*args, **kwargs): - """FormatRange(bool doDraw, int startPos, int endPos, wxDC draw, wxDC target, - Rect renderRect, Rect pageRect) -> int""" + """ + FormatRange(bool doDraw, int startPos, int endPos, wxDC draw, wxDC target, + Rect renderRect, Rect pageRect) -> int + """ return _stc.StyledTextCtrl_FormatRange(*args, **kwargs) def GetFirstVisibleLine(*args, **kwargs): @@ -2082,8 +2089,10 @@ class StyledTextCtrl(core.Control): return _stc.StyledTextCtrl_StyleSetFont(*args, **kwargs) def StyleSetFontAttr(*args, **kwargs): - """StyleSetFontAttr(int styleNum, int size, wxString faceName, bool bold, - bool italic, bool underline)""" + """ + StyleSetFontAttr(int styleNum, int size, wxString faceName, bool bold, + bool italic, bool underline) + """ return _stc.StyledTextCtrl_StyleSetFontAttr(*args, **kwargs) def CmdKeyExecute(*args, **kwargs): @@ -2161,7 +2170,6 @@ def PreStyledTextCtrl(*args, **kwargs): return val class StyledTextEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): diff --git a/wxPython/contrib/stc/stc_wrap.cpp b/wxPython/contrib/stc/stc_wrap.cpp index 33a5a56732..8b26bb6887 100644 --- a/wxPython/contrib/stc/stc_wrap.cpp +++ b/wxPython/contrib/stc/stc_wrap.cpp @@ -11482,15 +11482,15 @@ static void *_p_wxGridSizerTo_p_wxObject(void *x) { static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); } -static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); -} static void *_p_wxPaintEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); } static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); } +static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); +} static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); } @@ -11593,6 +11593,9 @@ static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -11844,7 +11847,7 @@ static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { } static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}}; static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}}; diff --git a/wxPython/contrib/xrc/xrc.py b/wxPython/contrib/xrc/xrc.py index f90358fa29..038961c2fe 100644 --- a/wxPython/contrib/xrc/xrc.py +++ b/wxPython/contrib/xrc/xrc.py @@ -14,7 +14,6 @@ WX_XMLRES_CURRENT_VERSION_REVISION = _xrc.WX_XMLRES_CURRENT_VERSION_REVISION XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING class XmlResource(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -191,7 +190,6 @@ def XRCCTRL(window, str_id, *ignoreargs): #--------------------------------------------------------------------------- class XmlSubclassFactory(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -230,12 +228,13 @@ XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE class XmlProperty(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString name=wxPyEmptyString, wxString value=wxPyEmptyString, - XmlProperty next=None) -> XmlProperty""" + """ + __init__(wxString name=wxPyEmptyString, wxString value=wxPyEmptyString, + XmlProperty next=None) -> XmlProperty + """ newobj = _xrc.new_XmlProperty(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -273,13 +272,14 @@ class XmlPropertyPtr(XmlProperty): _xrc.XmlProperty_swigregister(XmlPropertyPtr) class XmlNode(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(XmlNode parent=None, wxXmlNodeType type=0, wxString name=wxPyEmptyString, - wxString content=wxPyEmptyString, - XmlProperty props=None, XmlNode next=None) -> XmlNode""" + """ + __init__(XmlNode parent=None, wxXmlNodeType type=0, wxString name=wxPyEmptyString, + wxString content=wxPyEmptyString, + XmlProperty props=None, XmlNode next=None) -> XmlNode + """ newobj = _xrc.new_XmlNode(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -393,7 +393,6 @@ def XmlNodeEasy(*args, **kwargs): return val class XmlDocument(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -475,7 +474,6 @@ def EmptyXmlDocument(*args, **kwargs): #--------------------------------------------------------------------------- class XmlResourceHandler(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -595,13 +593,17 @@ class XmlResourceHandler(core.Object): return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs) def GetBitmap(*args, **kwargs): - """GetBitmap(wxString param=wxPyBitmapString, wxArtClient defaultArtClient=wxART_OTHER, - Size size=DefaultSize) -> wxBitmap""" + """ + GetBitmap(wxString param=wxPyBitmapString, wxArtClient defaultArtClient=wxART_OTHER, + Size size=DefaultSize) -> wxBitmap + """ return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs) def GetIcon(*args, **kwargs): - """GetIcon(wxString param=wxPyIconString, wxArtClient defaultArtClient=wxART_OTHER, - Size size=DefaultSize) -> wxIcon""" + """ + GetIcon(wxString param=wxPyIconString, wxArtClient defaultArtClient=wxART_OTHER, + Size size=DefaultSize) -> wxIcon + """ return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs) def GetFont(*args, **kwargs): diff --git a/wxPython/contrib/xrc/xrc_wrap.cpp b/wxPython/contrib/xrc/xrc_wrap.cpp index 85e5d2c189..20b08aaa83 100644 --- a/wxPython/contrib/xrc/xrc_wrap.cpp +++ b/wxPython/contrib/xrc/xrc_wrap.cpp @@ -5053,6 +5053,9 @@ static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { static void *_p_wxPyXmlResourceHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxPyXmlResourceHandler *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -5136,7 +5139,7 @@ static void *_p_wxMenuBarTo_p_wxWindow(void *x) { } static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}}; static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxXmlDocument", _p_wxXmlDocumentTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPyXmlResourceHandler", _p_wxPyXmlResourceHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxXmlResource", _p_wxXmlResourceTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxXmlDocument", _p_wxXmlDocumentTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxPyXmlResourceHandler", _p_wxPyXmlResourceHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxXmlResource", _p_wxXmlResourceTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}}; diff --git a/wxPython/src/gtk/calendar.py b/wxPython/src/gtk/calendar.py index e027f1cd59..8c64bf55b4 100644 --- a/wxPython/src/gtk/calendar.py +++ b/wxPython/src/gtk/calendar.py @@ -23,13 +23,14 @@ CAL_BORDER_NONE = _calendar.CAL_BORDER_NONE CAL_BORDER_SQUARE = _calendar.CAL_BORDER_SQUARE CAL_BORDER_ROUND = _calendar.CAL_BORDER_ROUND class CalendarDateAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxColour colText, wxColour colBack=wxNullColour, wxColour colBorder=wxNullColour, - wxFont font=wxNullFont, - wxCalendarDateBorder border=CAL_BORDER_NONE) -> CalendarDateAttr""" + """ + __init__(wxColour colText, wxColour colBack=wxNullColour, wxColour colBorder=wxNullColour, + wxFont font=wxNullFont, + wxCalendarDateBorder border=CAL_BORDER_NONE) -> CalendarDateAttr + """ newobj = _calendar.new_CalendarDateAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -117,7 +118,6 @@ def CalendarDateAttrBorder(*args, **kwargs): return val class CalendarEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -156,14 +156,15 @@ EVT_CALENDAR_YEAR = wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1) EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1) class CalendarCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, DateTime date=wxDefaultDateTime, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, - wxString name=wxPyCalendarNameStr) -> CalendarCtrl""" + """ + __init__(Window parent, int id, DateTime date=wxDefaultDateTime, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, + wxString name=wxPyCalendarNameStr) -> CalendarCtrl + """ newobj = _calendar.new_CalendarCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -171,10 +172,12 @@ class CalendarCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, DateTime date=wxDefaultDateTime, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, - wxString name=wxPyCalendarNameStr) -> bool""" + """ + Create(Window parent, int id, DateTime date=wxDefaultDateTime, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, + wxString name=wxPyCalendarNameStr) -> bool + """ return _calendar.CalendarCtrl_Create(*args, **kwargs) def SetDate(*args, **kwargs): diff --git a/wxPython/src/gtk/calendar_wrap.cpp b/wxPython/src/gtk/calendar_wrap.cpp index d5287c26e2..d382274422 100644 --- a/wxPython/src/gtk/calendar_wrap.cpp +++ b/wxPython/src/gtk/calendar_wrap.cpp @@ -2135,6 +2135,9 @@ static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxEvtHandler *) x)); } +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +} static void *_p_wxImageTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImage *) x)); } @@ -2419,7 +2422,7 @@ static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { } static swig_type_info _swigt__p_wxDateTime__WeekDay[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}}; static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; +static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}}; static swig_type_info _swigt__p_wxCalendarEvent[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}}; static swig_type_info _swigt__p_wxCalendarDateAttr[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}}; static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow},{0}}; diff --git a/wxPython/src/gtk/controls.py b/wxPython/src/gtk/controls.py index ae4e99789d..4c5bc82490 100644 --- a/wxPython/src/gtk/controls.py +++ b/wxPython/src/gtk/controls.py @@ -14,18 +14,22 @@ BU_BOTTOM = _controls.BU_BOTTOM BU_EXACTFIT = _controls.BU_EXACTFIT BU_AUTODRAW = _controls.BU_AUTODRAW class Button(core.Control): - """A button is a control that contains a text string, and is one of the most -common elements of a GUI. It may be placed on a dialog box or panel, or -indeed almost any other window.""" + """ + A button is a control that contains a text string, and is one of the most + common elements of a GUI. It may be placed on a dialog box or panel, or + indeed almost any other window. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> Button - -Create and show a button.""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> Button + + Create and show a button. + """ newobj = _controls.new_Button(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -33,18 +37,22 @@ Create and show a button.""" self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> bool - -Acutally create the GUI Button for 2-phase creation.""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool + + Acutally create the GUI Button for 2-phase creation. + """ return _controls.Button_Create(*args, **kwargs) def SetDefault(*args, **kwargs): - """SetDefault() + """ + SetDefault() -This sets the button to be the default item for the panel or dialog box.""" + This sets the button to be the default item for the panel or dialog box. + """ return _controls.Button_SetDefault(*args, **kwargs) def GetDefaultSize(*args, **kwargs): @@ -61,9 +69,11 @@ class ButtonPtr(Button): _controls.Button_swigregister(ButtonPtr) def PreButton(*args, **kwargs): - """PreButton() -> Button + """ + PreButton() -> Button -Precreate a Button for 2-phase creation.""" + Precreate a Button for 2-phase creation. + """ val = _controls.new_PreButton(*args, **kwargs) val.thisown = 1 return val @@ -77,12 +87,14 @@ class BitmapButton(Button): def __repr__(self): return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> BitmapButton - -Create and show a button.""" + """ + __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> BitmapButton + + Create and show a button. + """ newobj = _controls.new_BitmapButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -90,61 +102,79 @@ Create and show a button.""" self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW, - Validator validator=DefaultValidator, - wxString name=wxPyButtonNameStr) -> bool - -Acutally create the GUI BitmapButton for 2-phase creation.""" + """ + Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW, + Validator validator=DefaultValidator, + wxString name=wxPyButtonNameStr) -> bool + + Acutally create the GUI BitmapButton for 2-phase creation. + """ return _controls.BitmapButton_Create(*args, **kwargs) def GetBitmapLabel(*args, **kwargs): - """GetBitmapLabel() -> wxBitmap + """ + GetBitmapLabel() -> wxBitmap -Returns the label bitmap (the one passed to the constructor).""" + Returns the label bitmap (the one passed to the constructor). + """ return _controls.BitmapButton_GetBitmapLabel(*args, **kwargs) def GetBitmapDisabled(*args, **kwargs): - """GetBitmapDisabled() -> wxBitmap + """ + GetBitmapDisabled() -> wxBitmap -Returns the bitmap for the disabled state.""" + Returns the bitmap for the disabled state. + """ return _controls.BitmapButton_GetBitmapDisabled(*args, **kwargs) def GetBitmapFocus(*args, **kwargs): - """GetBitmapFocus() -> wxBitmap + """ + GetBitmapFocus() -> wxBitmap -Returns the bitmap for the focused state.""" + Returns the bitmap for the focused state. + """ return _controls.BitmapButton_GetBitmapFocus(*args, **kwargs) def GetBitmapSelected(*args, **kwargs): - """GetBitmapSelected() -> wxBitmap + """ + GetBitmapSelected() -> wxBitmap -Returns the bitmap for the selected state.""" + Returns the bitmap for the selected state. + """ return _controls.BitmapButton_GetBitmapSelected(*args, **kwargs) def SetBitmapDisabled(*args, **kwargs): - """SetBitmapDisabled(wxBitmap bitmap) + """ + SetBitmapDisabled(wxBitmap bitmap) -Sets the bitmap for the disabled button appearance.""" + Sets the bitmap for the disabled button appearance. + """ return _controls.BitmapButton_SetBitmapDisabled(*args, **kwargs) def SetBitmapFocus(*args, **kwargs): - """SetBitmapFocus(wxBitmap bitmap) + """ + SetBitmapFocus(wxBitmap bitmap) -Sets the bitmap for the button appearance when it has the keyboard focus.""" + Sets the bitmap for the button appearance when it has the keyboard focus. + """ return _controls.BitmapButton_SetBitmapFocus(*args, **kwargs) def SetBitmapSelected(*args, **kwargs): - """SetBitmapSelected(wxBitmap bitmap) + """ + SetBitmapSelected(wxBitmap bitmap) -Sets the bitmap for the selected (depressed) button appearance.""" + Sets the bitmap for the selected (depressed) button appearance. + """ return _controls.BitmapButton_SetBitmapSelected(*args, **kwargs) def SetBitmapLabel(*args, **kwargs): - """SetBitmapLabel(wxBitmap bitmap) + """ + SetBitmapLabel(wxBitmap 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.""" + 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. + """ return _controls.BitmapButton_SetBitmapLabel(*args, **kwargs) def SetMargins(*args, **kwargs): @@ -168,9 +198,11 @@ class BitmapButtonPtr(BitmapButton): _controls.BitmapButton_swigregister(BitmapButtonPtr) def PreBitmapButton(*args, **kwargs): - """PreBitmapButton() -> BitmapButton + """ + PreBitmapButton() -> BitmapButton -Precreate a BitmapButton for 2-phase creation.""" + Precreate a BitmapButton for 2-phase creation. + """ val = _controls.new_PreBitmapButton(*args, **kwargs) val.thisown = 1 return val @@ -184,14 +216,15 @@ CHK_UNCHECKED = _controls.CHK_UNCHECKED CHK_CHECKED = _controls.CHK_CHECKED CHK_UNDETERMINED = _controls.CHK_UNDETERMINED class CheckBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyCheckBoxNameStr) -> CheckBox""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> CheckBox + """ newobj = _controls.new_CheckBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -199,10 +232,12 @@ class CheckBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyCheckBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyCheckBoxNameStr) -> bool + """ return _controls.CheckBox_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -250,14 +285,15 @@ def PreCheckBox(*args, **kwargs): #--------------------------------------------------------------------------- class Choice(core.ControlWithItems): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyChoiceNameStr) -> Choice""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> Choice + """ newobj = _controls.new_Choice(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -265,10 +301,12 @@ class Choice(core.ControlWithItems): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyChoiceNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyChoiceNameStr) -> bool + """ return _controls.Choice_Create(*args, **kwargs) def GetColumns(*args, **kwargs): @@ -308,15 +346,16 @@ def PreChoice(*args, **kwargs): #--------------------------------------------------------------------------- class ComboBox(core.Control,core.ItemContainer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyComboBoxNameStr) -> ComboBox""" + """ + __init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> ComboBox + """ newobj = _controls.new_ComboBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -324,11 +363,13 @@ class ComboBox(core.Control,core.ItemContainer): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyComboBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyComboBoxNameStr) -> bool + """ return _controls.ComboBox_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -408,14 +449,15 @@ GA_VERTICAL = _controls.GA_VERTICAL GA_SMOOTH = _controls.GA_SMOOTH GA_PROGRESSBAR = _controls.GA_PROGRESSBAR class Gauge(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, int range, Point pos=DefaultPosition, - Size size=DefaultSize, long style=GA_HORIZONTAL, - Validator validator=DefaultValidator, - wxString name=wxPyGaugeNameStr) -> Gauge""" + """ + __init__(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> Gauge + """ newobj = _controls.new_Gauge(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -423,10 +465,12 @@ class Gauge(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, int range, Point pos=DefaultPosition, - Size size=DefaultSize, long style=GA_HORIZONTAL, - Validator validator=DefaultValidator, - wxString name=wxPyGaugeNameStr) -> bool""" + """ + Create(Window parent, int id, int range, Point pos=DefaultPosition, + Size size=DefaultSize, long style=GA_HORIZONTAL, + Validator validator=DefaultValidator, + wxString name=wxPyGaugeNameStr) -> bool + """ return _controls.Gauge_Create(*args, **kwargs) def SetRange(*args, **kwargs): @@ -482,13 +526,14 @@ def PreGauge(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBoxNameStr) -> StaticBox""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> StaticBox + """ newobj = _controls.new_StaticBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -496,9 +541,11 @@ class StaticBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBoxNameStr) -> bool + """ return _controls.StaticBox_Create(*args, **kwargs) @@ -518,13 +565,14 @@ def PreStaticBox(*args, **kwargs): #--------------------------------------------------------------------------- class StaticLine(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=LI_HORIZONTAL, - wxString name=wxPyStaticTextNameStr) -> StaticLine""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> StaticLine + """ newobj = _controls.new_StaticLine(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -532,9 +580,11 @@ class StaticLine(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=LI_HORIZONTAL, - wxString name=wxPyStaticTextNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=LI_HORIZONTAL, + wxString name=wxPyStaticTextNameStr) -> bool + """ return _controls.StaticLine_Create(*args, **kwargs) def IsVertical(*args, **kwargs): @@ -567,13 +617,14 @@ def StaticLine_GetDefaultSize(*args, **kwargs): #--------------------------------------------------------------------------- class StaticText(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticTextNameStr) -> StaticText""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> StaticText + """ newobj = _controls.new_StaticText(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -581,9 +632,11 @@ class StaticText(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticTextNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticTextNameStr) -> bool + """ return _controls.StaticText_Create(*args, **kwargs) @@ -603,21 +656,24 @@ def PreStaticText(*args, **kwargs): #--------------------------------------------------------------------------- class StaticBitmap(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap""" + """ + __init__(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> StaticBitmap + """ newobj = _controls.new_StaticBitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def Create(*args, **kwargs): - """Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyStaticBitmapNameStr) -> bool""" + """ + Create(Window parent, int id, wxBitmap bitmap, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyStaticBitmapNameStr) -> bool + """ return _controls.StaticBitmap_Create(*args, **kwargs) def GetBitmap(*args, **kwargs): @@ -649,14 +705,15 @@ def PreStaticBitmap(*args, **kwargs): #--------------------------------------------------------------------------- class ListBox(core.ControlWithItems): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> ListBox""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> ListBox + """ newobj = _controls.new_ListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -664,10 +721,12 @@ class ListBox(core.ControlWithItems): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool + """ return _controls.ListBox_Create(*args, **kwargs) def Insert(*args, **kwargs): @@ -747,23 +806,26 @@ def PreListBox(*args, **kwargs): #--------------------------------------------------------------------------- class CheckListBox(ListBox): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> CheckListBox""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> CheckListBox + """ newobj = _controls.new_CheckListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - int choices=0, wxString choices_array=None, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyListBoxNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int choices=0, wxString choices_array=None, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyListBoxNameStr) -> bool + """ return _controls.CheckListBox_Create(*args, **kwargs) def IsChecked(*args, **kwargs): @@ -839,13 +901,14 @@ TEXT_ATTR_LEFT_INDENT = _controls.TEXT_ATTR_LEFT_INDENT TEXT_ATTR_RIGHT_INDENT = _controls.TEXT_ATTR_RIGHT_INDENT TEXT_ATTR_TABS = _controls.TEXT_ATTR_TABS class TextAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): - """__init__() -> TextAttr -__init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, - wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr""" + """ + __init__() -> TextAttr + __init__(wxColour colText, wxColour colBack=wxNullColour, wxFont font=wxNullFont, + wxTextAttrAlignment alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr + """ newobj = _controls.new_TextAttr(*args) self.this = newobj.this self.thisown = 1 @@ -972,14 +1035,15 @@ def TextAttr_Combine(*args, **kwargs): return _controls.TextAttr_Combine(*args, **kwargs) class TextCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyTextCtrlNameStr) -> TextCtrl""" + """ + __init__(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> TextCtrl + """ newobj = _controls.new_TextCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -987,10 +1051,12 @@ class TextCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyTextCtrlNameStr) -> bool""" + """ + Create(Window parent, int id, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyTextCtrlNameStr) -> bool + """ return _controls.TextCtrl_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1034,9 +1100,11 @@ class TextCtrl(core.Control): return _controls.TextCtrl_IsMultiLine(*args, **kwargs) def GetSelection(*args, **kwargs): - """GetSelection() -> (from, to) + """ + GetSelection() -> (from, to) -If the return values from and to are the same, there is no selection.""" + If the return values from and to are the same, there is no selection. + """ return _controls.TextCtrl_GetSelection(*args, **kwargs) def GetStringSelection(*args, **kwargs): @@ -1210,7 +1278,6 @@ wxEVT_COMMAND_TEXT_ENTER = _controls.wxEVT_COMMAND_TEXT_ENTER wxEVT_COMMAND_TEXT_URL = _controls.wxEVT_COMMAND_TEXT_URL wxEVT_COMMAND_TEXT_MAXLEN = _controls.wxEVT_COMMAND_TEXT_MAXLEN class TextUrlEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1247,13 +1314,14 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1) #--------------------------------------------------------------------------- class ScrollBar(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SB_HORIZONTAL, - Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> ScrollBar + """ newobj = _controls.new_ScrollBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1261,9 +1329,11 @@ class ScrollBar(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SB_HORIZONTAL, - Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SB_HORIZONTAL, + Validator validator=DefaultValidator, wxString name=wxPyScrollBarNameStr) -> bool + """ return _controls.ScrollBar_Create(*args, **kwargs) def GetThumbPosition(*args, **kwargs): @@ -1292,8 +1362,10 @@ class ScrollBar(core.Control): return _controls.ScrollBar_SetThumbPosition(*args, **kwargs) def SetScrollbar(*args, **kwargs): - """SetScrollbar(int position, int thumbSize, int range, int pageSize, - bool refresh=True)""" + """ + SetScrollbar(int position, int thumbSize, int range, int pageSize, + bool refresh=True) + """ return _controls.ScrollBar_SetScrollbar(*args, **kwargs) @@ -1317,13 +1389,14 @@ SP_VERTICAL = _controls.SP_VERTICAL SP_ARROW_KEYS = _controls.SP_ARROW_KEYS SP_WRAP = _controls.SP_WRAP class SpinButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SP_HORIZONTAL, - wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> SpinButton + """ newobj = _controls.new_SpinButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1331,9 +1404,11 @@ class SpinButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=SP_HORIZONTAL, - wxString name=wxPySPIN_BUTTON_NAME) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=SP_HORIZONTAL, + wxString name=wxPySPIN_BUTTON_NAME) -> bool + """ return _controls.SpinButton_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1383,14 +1458,15 @@ def PreSpinButton(*args, **kwargs): return val class SpinCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_ARROW_KEYS, int min=0, - int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl""" + """ + __init__(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> SpinCtrl + """ newobj = _controls.new_SpinCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1398,10 +1474,12 @@ class SpinCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString value=wxPyEmptyString, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=SP_ARROW_KEYS, int min=0, - int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, wxString value=wxPyEmptyString, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=SP_ARROW_KEYS, int min=0, + int max=100, int initial=0, wxString name=wxPySpinCtrlNameStr) -> bool + """ return _controls.SpinCtrl_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1452,15 +1530,16 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1) #--------------------------------------------------------------------------- class RadioBox(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - wxString choices_array=None, int majorDimension=0, - long style=RA_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPyRadioBoxNameStr) -> RadioBox""" + """ + __init__(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> RadioBox + """ newobj = _controls.new_RadioBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1468,11 +1547,13 @@ class RadioBox(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point point=DefaultPosition, - Size size=DefaultSize, int choices=0, - wxString choices_array=None, int majorDimension=0, - long style=RA_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPyRadioBoxNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point point=DefaultPosition, + Size size=DefaultSize, int choices=0, + wxString choices_array=None, int majorDimension=0, + long style=RA_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPyRadioBoxNameStr) -> bool + """ return _controls.RadioBox_Create(*args, **kwargs) def SetSelection(*args, **kwargs): @@ -1546,14 +1627,15 @@ def PreRadioBox(*args, **kwargs): #--------------------------------------------------------------------------- class RadioButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyRadioButtonNameStr) -> RadioButton""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> RadioButton + """ newobj = _controls.new_RadioButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1561,10 +1643,12 @@ class RadioButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyRadioButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyRadioButtonNameStr) -> bool + """ return _controls.RadioButton_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1592,14 +1676,15 @@ def PreRadioButton(*args, **kwargs): #--------------------------------------------------------------------------- class Slider(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, - long style=SL_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPySliderNameStr) -> Slider""" + """ + __init__(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> Slider + """ newobj = _controls.new_Slider(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1607,10 +1692,12 @@ class Slider(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, int value, int minValue, int maxValue, - Point point=DefaultPosition, Size size=DefaultSize, - long style=SL_HORIZONTAL, Validator validator=DefaultValidator, - wxString name=wxPySliderNameStr) -> bool""" + """ + Create(Window parent, int id, int value, int minValue, int maxValue, + Point point=DefaultPosition, Size size=DefaultSize, + long style=SL_HORIZONTAL, Validator validator=DefaultValidator, + wxString name=wxPySliderNameStr) -> bool + """ return _controls.Slider_Create(*args, **kwargs) def GetValue(*args, **kwargs): @@ -1717,14 +1804,15 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls.wxEVT_COMMAND_TOGGLEBUTTON_CLICKE EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1) class ToggleButton(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyToggleButtonNameStr) -> ToggleButton""" + """ + __init__(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> ToggleButton + """ newobj = _controls.new_ToggleButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1732,10 +1820,12 @@ class ToggleButton(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString label, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - Validator validator=DefaultValidator, - wxString name=wxPyToggleButtonNameStr) -> bool""" + """ + Create(Window parent, int id, wxString label, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + Validator validator=DefaultValidator, + wxString name=wxPyToggleButtonNameStr) -> bool + """ return _controls.ToggleButton_Create(*args, **kwargs) def SetValue(*args, **kwargs): @@ -1767,7 +1857,6 @@ def PreToggleButton(*args, **kwargs): #--------------------------------------------------------------------------- class BookCtrl(core.Control): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1838,8 +1927,10 @@ class BookCtrl(core.Control): return _controls.BookCtrl_AddPage(*args, **kwargs) def InsertPage(*args, **kwargs): - """InsertPage(size_t n, Window page, wxString text, bool select=False, - int imageId=-1) -> bool""" + """ + InsertPage(size_t n, Window page, wxString text, bool select=False, + int imageId=-1) -> bool + """ return _controls.BookCtrl_InsertPage(*args, **kwargs) def SetSelection(*args, **kwargs): @@ -1859,12 +1950,13 @@ class BookCtrlPtr(BookCtrl): _controls.BookCtrl_swigregister(BookCtrlPtr) class BookCtrlEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> BookCtrlEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> BookCtrlEvent + """ newobj = _controls.new_BookCtrlEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1906,12 +1998,13 @@ NB_HITTEST_ONICON = _controls.NB_HITTEST_ONICON NB_HITTEST_ONLABEL = _controls.NB_HITTEST_ONLABEL NB_HITTEST_ONITEM = _controls.NB_HITTEST_ONITEM class Notebook(BookCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> Notebook + """ newobj = _controls.new_Notebook(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1919,8 +2012,10 @@ class Notebook(BookCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyNOTEBOOK_NAME) -> bool + """ return _controls.Notebook_Create(*args, **kwargs) def GetRowCount(*args, **kwargs): @@ -1936,9 +2031,11 @@ class Notebook(BookCtrl): return _controls.Notebook_SetTabSize(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point pt) -> (tab, where) + """ + 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 wxNB_HITTEST_ flags. + """ return _controls.Notebook_HitTest(*args, **kwargs) def CalcSizeFromPage(*args, **kwargs): @@ -1960,12 +2057,13 @@ def PreNotebook(*args, **kwargs): return val class NotebookEvent(BookCtrlEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> NotebookEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> NotebookEvent + """ newobj = _controls.new_NotebookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2023,12 +2121,13 @@ LB_LEFT = _controls.LB_LEFT LB_RIGHT = _controls.LB_RIGHT LB_ALIGN_MASK = _controls.LB_ALIGN_MASK class Listbook(BookCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyEmptyString) -> Listbook""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> Listbook + """ newobj = _controls.new_Listbook(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2036,8 +2135,10 @@ class Listbook(BookCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=wxPyEmptyString) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=wxPyEmptyString) -> bool + """ return _controls.Listbook_Create(*args, **kwargs) def IsVertical(*args, **kwargs): @@ -2059,12 +2160,13 @@ def PreListbook(*args, **kwargs): return val class ListbookEvent(BookCtrlEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, - int nOldSel=-1) -> ListbookEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, + int nOldSel=-1) -> ListbookEvent + """ newobj = _controls.new_ListbookEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2085,7 +2187,6 @@ EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANG #--------------------------------------------------------------------------- class BookCtrlSizer(core.Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2117,7 +2218,6 @@ class BookCtrlSizerPtr(BookCtrlSizer): _controls.BookCtrlSizer_swigregister(BookCtrlSizerPtr) class NotebookSizer(core.Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2165,7 +2265,6 @@ TB_NOALIGN = _controls.TB_NOALIGN TB_HORZ_LAYOUT = _controls.TB_HORZ_LAYOUT TB_HORZ_TEXT = _controls.TB_HORZ_TEXT class ToolBarToolBase(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2299,23 +2398,26 @@ class ToolBarToolBasePtr(ToolBarToolBase): _controls.ToolBarToolBase_swigregister(ToolBarToolBasePtr) class ToolBarBase(core.Control): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def DoAddTool(*args, **kwargs): - """DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, - wxItemKind kind=ITEM_NORMAL, - wxString shortHelp=wxPyEmptyString, - wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase""" + """ + DoAddTool(int id, wxString label, wxBitmap bitmap, wxBitmap bmpDisabled=wxNullBitmap, + wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, PyObject clientData=None) -> ToolBarToolBase + """ return _controls.ToolBarBase_DoAddTool(*args, **kwargs) def DoInsertTool(*args, **kwargs): - """DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, - wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, - wxString shortHelp=wxPyEmptyString, - wxString longHelp=wxPyEmptyString, - PyObject clientData=None) -> ToolBarToolBase""" + """ + DoInsertTool(size_t pos, int id, wxString label, wxBitmap bitmap, + wxBitmap bmpDisabled=wxNullBitmap, wxItemKind kind=ITEM_NORMAL, + wxString shortHelp=wxPyEmptyString, + wxString longHelp=wxPyEmptyString, + PyObject clientData=None) -> ToolBarToolBase + """ return _controls.ToolBarBase_DoInsertTool(*args, **kwargs) # These match the original Add methods for this class, kept for @@ -2606,13 +2708,14 @@ class ToolBarBasePtr(ToolBarBase): _controls.ToolBarBase_swigregister(ToolBarBasePtr) class ToolBar(ToolBarBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxNO_BORDER|wxTB_HORIZONTAL, - wxString name=wxPyToolBarNameStr) -> ToolBar""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> ToolBar + """ newobj = _controls.new_ToolBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2620,9 +2723,11 @@ class ToolBar(ToolBarBase): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxNO_BORDER|wxTB_HORIZONTAL, - wxString name=wxPyToolBarNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxNO_BORDER|wxTB_HORIZONTAL, + wxString name=wxPyToolBarNameStr) -> bool + """ return _controls.ToolBar_Create(*args, **kwargs) def FindToolForPosition(*args, **kwargs): @@ -2716,12 +2821,13 @@ LIST_FIND_RIGHT = _controls.LIST_FIND_RIGHT #--------------------------------------------------------------------------- class ListItemAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, - wxFont font=wxNullFont) -> ListItemAttr""" + """ + __init__(wxColour colText=wxNullColour, wxColour colBack=wxNullColour, + wxFont font=wxNullFont) -> ListItemAttr + """ newobj = _controls.new_ListItemAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2777,7 +2883,6 @@ _controls.ListItemAttr_swigregister(ListItemAttrPtr) #--------------------------------------------------------------------------- class ListItem(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2929,7 +3034,6 @@ _controls.ListItem_swigregister(ListItemPtr) #--------------------------------------------------------------------------- class ListEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3058,13 +3162,14 @@ EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED #--------------------------------------------------------------------------- class ListCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_ICON, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListCtrl + """ newobj = _controls.new_ListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3072,9 +3177,11 @@ class ListCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_ICON, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_ICON, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool + """ return _controls.ListCtrl_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -3284,10 +3391,12 @@ class ListCtrl(core.Control): return _controls.ListCtrl_FindItemAtPos(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point point) -> (item, where) + """ + HitTest(Point point) -> (item, where) -Determines which item (if any) is at the specified point, -giving details in the second return value (see wxLIST_HITTEST_... flags.)""" + Determines which item (if any) is at the specified point, + giving details in the second return value (see wxLIST_HITTEST_... flags.) + """ return _controls.ListCtrl_HitTest(*args, **kwargs) def InsertItem(*args, **kwargs): @@ -3311,8 +3420,10 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)""" return _controls.ListCtrl_InsertColumnInfo(*args, **kwargs) def InsertColumn(*args, **kwargs): - """InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, - int width=-1) -> long""" + """ + InsertColumn(long col, wxString heading, int format=LIST_FORMAT_LEFT, + int width=-1) -> long + """ return _controls.ListCtrl_InsertColumn(*args, **kwargs) def SetItemCount(*args, **kwargs): @@ -3423,13 +3534,14 @@ def PreListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class ListView(ListCtrl): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_REPORT, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> ListView + """ newobj = _controls.new_ListView(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3437,9 +3549,11 @@ class ListView(ListCtrl): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=LC_REPORT, - Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=LC_REPORT, + Validator validator=DefaultValidator, wxString name=wxPyListCtrlNameStr) -> bool + """ return _controls.ListView_Create(*args, **kwargs) def Select(*args, **kwargs): @@ -3528,7 +3642,6 @@ TREE_HITTEST_ONITEM = _controls.TREE_HITTEST_ONITEM #--------------------------------------------------------------------------- class TreeItemId(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3567,7 +3680,6 @@ class TreeItemIdPtr(TreeItemId): _controls.TreeItemId_swigregister(TreeItemIdPtr) class TreeItemData(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3647,7 +3759,6 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI class TreeEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3719,14 +3830,15 @@ _controls.TreeEvent_swigregister(TreeEventPtr) #--------------------------------------------------------------------------- class TreeCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=TR_DEFAULT_STYLE, - Validator validator=DefaultValidator, - wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> TreeCtrl + """ newobj = _controls.new_TreeCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3734,10 +3846,12 @@ class TreeCtrl(core.Control): self._setOORInfo(self);self._setCallbackInfo(self, TreeCtrl) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=TR_DEFAULT_STYLE, - Validator validator=DefaultValidator, - wxString name=wxPy_TreeCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=TR_DEFAULT_STYLE, + Validator validator=DefaultValidator, + wxString name=wxPy_TreeCtrlNameStr) -> bool + """ return _controls.TreeCtrl_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -3931,28 +4045,38 @@ class TreeCtrl(core.Control): return _controls.TreeCtrl_GetPrevVisible(*args, **kwargs) def AddRoot(*args, **kwargs): - """AddRoot(wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AddRoot(wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_AddRoot(*args, **kwargs) def PrependItem(*args, **kwargs): - """PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_PrependItem(*args, **kwargs) def InsertItem(*args, **kwargs): - """InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, - int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + """ + InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text, + int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_InsertItem(*args, **kwargs) def InsertItemBefore(*args, **kwargs): - """InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, - int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" + """ + InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1, + int selectedImage=-1, TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_InsertItemBefore(*args, **kwargs) def AppendItem(*args, **kwargs): - """AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, - TreeItemData data=None) -> TreeItemId""" + """ + AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1, + TreeItemData data=None) -> TreeItemId + """ return _controls.TreeCtrl_AppendItem(*args, **kwargs) def Delete(*args, **kwargs): @@ -4016,13 +4140,15 @@ class TreeCtrl(core.Control): return _controls.TreeCtrl_SortChildren(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(Point point) -> (item, where) + """ + 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 + and the where return value is set to a bitmask of wxTREE_HITTEST_xxx + constants. -Determine which item (if any) belongs the given point. The -coordinates specified are relative to the client area of tree ctrl -and the where return value is set to a bitmask of wxTREE_HITTEST_xxx -constants. -""" + """ return _controls.TreeCtrl_HitTest(*args, **kwargs) def GetBoundingRect(*args, **kwargs): @@ -4051,15 +4177,16 @@ DIRCTRL_SHOW_FILTERS = _controls.DIRCTRL_SHOW_FILTERS DIRCTRL_3D_INTERNAL = _controls.DIRCTRL_3D_INTERNAL DIRCTRL_EDIT_LABELS = _controls.DIRCTRL_EDIT_LABELS class GenericDirCtrl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, - Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, - wxString filter=wxPyEmptyString, - int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl""" + """ + __init__(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> GenericDirCtrl + """ newobj = _controls.new_GenericDirCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4067,11 +4194,13 @@ class GenericDirCtrl(core.Control): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, - Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, - wxString filter=wxPyEmptyString, - int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool""" + """ + Create(Window parent, int id=-1, wxString dir=wxPyDirDialogDefaultFolderStr, + Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, + wxString filter=wxPyEmptyString, + int defaultFilter=0, wxString name=wxPy_TreeCtrlNameStr) -> bool + """ return _controls.GenericDirCtrl_Create(*args, **kwargs) def ExpandPath(*args, **kwargs): @@ -4135,12 +4264,14 @@ class GenericDirCtrl(core.Control): return _controls.GenericDirCtrl_GetFilterListCtrl(*args, **kwargs) def FindChild(*args, **kwargs): - """FindChild(wxTreeItemId parentId, wxString path) -> (item, done) + """ + 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 -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 -""" + """ return _controls.GenericDirCtrl_FindChild(*args, **kwargs) def DoResize(*args, **kwargs): @@ -4166,12 +4297,13 @@ def PreGenericDirCtrl(*args, **kwargs): return val class DirFilterListCtrl(Choice): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0) -> DirFilterListCtrl""" + """ + __init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> DirFilterListCtrl + """ newobj = _controls.new_DirFilterListCtrl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4179,8 +4311,10 @@ class DirFilterListCtrl(Choice): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0) -> bool""" + """ + Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0) -> bool + """ return _controls.DirFilterListCtrl_Create(*args, **kwargs) def FillFilterList(*args, **kwargs): @@ -4204,13 +4338,14 @@ def PreDirFilterListCtrl(*args, **kwargs): #--------------------------------------------------------------------------- class PyControl(core.Control): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> PyControl""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> PyControl + """ newobj = _controls.new_PyControl(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4313,7 +4448,6 @@ EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1) EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2) class HelpEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4355,7 +4489,6 @@ class HelpEventPtr(HelpEvent): _controls.HelpEvent_swigregister(HelpEventPtr) class ContextHelp(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4387,12 +4520,13 @@ class ContextHelpPtr(ContextHelp): _controls.ContextHelp_swigregister(ContextHelpPtr) class ContextHelpButton(BitmapButton): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextHelpButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, - Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton""" + """ + __init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, + Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton + """ newobj = _controls.new_ContextHelpButton(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4408,7 +4542,6 @@ class ContextHelpButtonPtr(ContextHelpButton): _controls.ContextHelpButton_swigregister(ContextHelpButtonPtr) class HelpProvider(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -4459,7 +4592,6 @@ def HelpProvider_Get(*args, **kwargs): return _controls.HelpProvider_Get(*args, **kwargs) class SimpleHelpProvider(HelpProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSimpleHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4479,7 +4611,6 @@ _controls.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr) #--------------------------------------------------------------------------- class DragImage(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4499,8 +4630,10 @@ class DragImage(core.Object): return _controls.DragImage_SetBackingBitmap(*args, **kwargs) def BeginDrag(*args, **kwargs): - """BeginDrag(Point hotspot, Window window, bool fullScreen=False, - Rect rect=None) -> bool""" + """ + BeginDrag(Point hotspot, Window window, bool fullScreen=False, + Rect rect=None) -> bool + """ return _controls.DragImage_BeginDrag(*args, **kwargs) def BeginDragBounded(*args, **kwargs): @@ -4532,8 +4665,10 @@ class DragImage(core.Object): return _controls.DragImage_DoDrawImage(*args, **kwargs) def UpdateBackingFromWindow(*args, **kwargs): - """UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, - Rect destRect) -> bool""" + """ + UpdateBackingFromWindow(wxDC windowDC, wxMemoryDC destDC, Rect sourceRect, + Rect destRect) -> bool + """ return _controls.DragImage_UpdateBackingFromWindow(*args, **kwargs) def RedrawImage(*args, **kwargs): diff --git a/wxPython/src/gtk/core.py b/wxPython/src/gtk/core.py index 3505461a0d..d85d7254e6 100644 --- a/wxPython/src/gtk/core.py +++ b/wxPython/src/gtk/core.py @@ -552,21 +552,27 @@ UPDATE_UI_FROMIDLE = _core.UPDATE_UI_FROMIDLE #--------------------------------------------------------------------------- class Object(object): - """The base class for most wx objects, although in wxPython not -much functionality is needed nor exposed.""" + """ + The base class for most wx objects, although in wxPython not + much functionality is needed nor exposed. + """ def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def GetClassName(*args, **kwargs): - """GetClassName() -> wxString + """ + GetClassName() -> wxString -Returns the class name of the C++ object using wxRTTI.""" + Returns the class name of the C++ object using wxRTTI. + """ return _core.Object_GetClassName(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Object_Destroy(*args, **kwargs) @@ -648,18 +654,22 @@ CURSOR_MAX = _core.CURSOR_MAX #--------------------------------------------------------------------------- class Size(object): - """wx.Size is a useful data structure used to represent the size of something. -It simply contians integer width and height proprtites. In most places in -wxPython where a wx.Size is expected a (width,height) tuple can be used -instead.""" + """ + wx.Size is a useful data structure used to represent the size of something. + It simply contians integer width and height proprtites. In most places in + wxPython where a wx.Size is expected a (width,height) tuple can be used + instead. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) width = property(_core.Size_width_get, _core.Size_width_set) height = property(_core.Size_height_get, _core.Size_height_set) def __init__(self, *args, **kwargs): - """__init__(int w=0, int h=0) -> Size + """ + __init__(int w=0, int h=0) -> Size -Creates a size object.""" + Creates a size object. + """ newobj = _core.new_Size(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -671,47 +681,61 @@ Creates a size object.""" except: pass def __eq__(*args, **kwargs): - """__eq__(Size sz) -> bool + """ + __eq__(Size sz) -> bool -Test for equality of wx.Size objects.""" + Test for equality of wx.Size objects. + """ return _core.Size___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Size sz) -> bool + """ + __ne__(Size sz) -> bool -Test for inequality.""" + Test for inequality. + """ return _core.Size___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Size sz) -> Size + """ + __add__(Size sz) -> Size -Add sz's proprties to this and return the result.""" + Add sz's proprties to this and return the result. + """ return _core.Size___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(Size sz) -> Size + """ + __sub__(Size sz) -> Size -Subtract sz's properties from this and return the result.""" + Subtract sz's properties from this and return the result. + """ return _core.Size___sub__(*args, **kwargs) def IncTo(*args, **kwargs): - """IncTo(Size sz) + """ + IncTo(Size sz) -Increments this object so that both of its dimensions are not less -than the corresponding dimensions of the size.""" + Increments this object so that both of its dimensions are not less + than the corresponding dimensions of the size. + """ return _core.Size_IncTo(*args, **kwargs) def DecTo(*args, **kwargs): - """DecTo(Size sz) + """ + DecTo(Size sz) -Decrements this object so that both of its dimensions are not greater -than the corresponding dimensions of the size.""" + Decrements this object so that both of its dimensions are not greater + than the corresponding dimensions of the size. + """ return _core.Size_DecTo(*args, **kwargs) def Set(*args, **kwargs): - """Set(int w, int h) + """ + Set(int w, int h) -Set both width and height.""" + Set both width and height. + """ return _core.Size_Set(*args, **kwargs) def SetWidth(*args, **kwargs): @@ -731,9 +755,11 @@ Set both width and height.""" return _core.Size_GetHeight(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (width,height) + """ + Get() -> (width,height) -Returns the width and height properties as a tuple.""" + Returns the width and height properties as a tuple. + """ return _core.Size_Get(*args, **kwargs) asTuple = Get @@ -761,17 +787,21 @@ _core.Size_swigregister(SizePtr) #--------------------------------------------------------------------------- class RealPoint(object): - """A data structure for representing a point or position with floating point x -and y properties. In wxPython most places that expect a wx.RealPoint can also -accept a (x,y) tuple.""" + """ + A data structure for representing a point or position with floating point x + and y properties. In wxPython most places that expect a wx.RealPoint can also + accept a (x,y) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxRealPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.RealPoint_x_get, _core.RealPoint_x_set) y = property(_core.RealPoint_y_get, _core.RealPoint_y_set) def __init__(self, *args, **kwargs): - """__init__(double x=0.0, double y=0.0) -> RealPoint + """ + __init__(double x=0.0, double y=0.0) -> RealPoint -Create a wx.RealPoint object""" + Create a wx.RealPoint object + """ newobj = _core.new_RealPoint(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -783,39 +813,51 @@ Create a wx.RealPoint object""" except: pass def __eq__(*args, **kwargs): - """__eq__(RealPoint pt) -> bool + """ + __eq__(RealPoint pt) -> bool -Test for equality of wx.RealPoint objects.""" + Test for equality of wx.RealPoint objects. + """ return _core.RealPoint___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(RealPoint pt) -> bool + """ + __ne__(RealPoint pt) -> bool -Test for inequality of wx.RealPoint objects.""" + Test for inequality of wx.RealPoint objects. + """ return _core.RealPoint___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(RealPoint pt) -> RealPoint + """ + __add__(RealPoint pt) -> RealPoint -Add pt's proprties to this and return the result.""" + Add pt's proprties to this and return the result. + """ return _core.RealPoint___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(RealPoint pt) -> RealPoint + """ + __sub__(RealPoint pt) -> RealPoint -Subtract pt's proprties from this and return the result""" + Subtract pt's proprties from this and return the result + """ return _core.RealPoint___sub__(*args, **kwargs) def Set(*args, **kwargs): - """Set(double x, double y) + """ + Set(double x, double y) -Set both the x and y properties""" + Set both the x and y properties + """ return _core.RealPoint_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return the x and y properties as a tuple. """ + Return the x and y properties as a tuple. + """ return _core.RealPoint_Get(*args, **kwargs) asTuple = Get @@ -843,17 +885,21 @@ _core.RealPoint_swigregister(RealPointPtr) #--------------------------------------------------------------------------- class Point(object): - """A data structure for representing a point or position with integer x and y -properties. Most places in wxPython that expect a wx.Point can also accept a -(x,y) tuple.""" + """ + A data structure for representing a point or position with integer x and y + properties. Most places in wxPython that expect a wx.Point can also accept a + (x,y) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) x = property(_core.Point_x_get, _core.Point_x_set) y = property(_core.Point_y_get, _core.Point_y_set) def __init__(self, *args, **kwargs): - """__init__(int x=0, int y=0) -> Point + """ + __init__(int x=0, int y=0) -> Point -Create a wx.Point object""" + Create a wx.Point object + """ newobj = _core.new_Point(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -865,51 +911,67 @@ Create a wx.Point object""" except: pass def __eq__(*args, **kwargs): - """__eq__(Point pt) -> bool + """ + __eq__(Point pt) -> bool -Test for equality of wx.Point objects.""" + Test for equality of wx.Point objects. + """ return _core.Point___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Point pt) -> bool + """ + __ne__(Point pt) -> bool -Test for inequality of wx.Point objects.""" + Test for inequality of wx.Point objects. + """ return _core.Point___ne__(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Point pt) -> Point + """ + __add__(Point pt) -> Point -Add pt's proprties to this and return the result.""" + Add pt's proprties to this and return the result. + """ return _core.Point___add__(*args, **kwargs) def __sub__(*args, **kwargs): - """__sub__(Point pt) -> Point + """ + __sub__(Point pt) -> Point -Subtract pt's proprties from this and return the result""" + Subtract pt's proprties from this and return the result + """ return _core.Point___sub__(*args, **kwargs) def __iadd__(*args, **kwargs): - """__iadd__(Point pt) -> Point + """ + __iadd__(Point pt) -> Point -Add pt to this object.""" + Add pt to this object. + """ return _core.Point___iadd__(*args, **kwargs) def __isub__(*args, **kwargs): - """__isub__(Point pt) -> Point + """ + __isub__(Point pt) -> Point -Subtract pt from this object.""" + Subtract pt from this object. + """ return _core.Point___isub__(*args, **kwargs) def Set(*args, **kwargs): - """Set(long x, long y) + """ + Set(long x, long y) -Set both the x and y properties""" + Set both the x and y properties + """ return _core.Point_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return the x and y properties as a tuple. """ + Return the x and y properties as a tuple. + """ return _core.Point_Get(*args, **kwargs) asTuple = Get @@ -937,15 +999,19 @@ _core.Point_swigregister(PointPtr) #--------------------------------------------------------------------------- class Rect(object): - """A class for representing and manipulating rectangles. It has x, y, width and -height properties. In wxPython most palces that expect a wx.Rect can also -accept a (x,y,width,height) tuple.""" + """ + A class for representing and manipulating rectangles. It has x, y, width and + height properties. In wxPython most palces that expect a wx.Rect can also + accept a (x,y,width,height) tuple. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxRect instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int x=0, int y=0, int width=0, int height=0) -> Rect + """ + __init__(int x=0, int y=0, int width=0, int height=0) -> Rect -Create a new Rect object.""" + Create a new Rect object. + """ newobj = _core.new_Rect(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1044,80 +1110,104 @@ Create a new Rect object.""" bottom = property(GetBottom, SetBottom) def Inflate(*args, **kwargs): - """Inflate(int dx, int dy) -> Rect + """ + 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.""" + 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. + """ return _core.Rect_Inflate(*args, **kwargs) def Deflate(*args, **kwargs): - """Deflate(int dx, int dy) -> Rect + """ + 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 -method is the opposite of Inflate.""" + Decrease the rectangle size by dx in x direction and dy in y direction. Both + (or one of) parameters may be negative to increase the rectngle size. This + method is the opposite of Inflate. + """ return _core.Rect_Deflate(*args, **kwargs) def OffsetXY(*args, **kwargs): - """OffsetXY(int dx, int dy) + """ + 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 -it is moved to the left or top respectively.""" + Moves the rectangle by the specified offset. If dx is positive, the rectangle + is moved to the right, if dy is positive, it is moved to the bottom, otherwise + it is moved to the left or top respectively. + """ return _core.Rect_OffsetXY(*args, **kwargs) def Offset(*args, **kwargs): - """Offset(Point pt) + """ + Offset(Point pt) -Same as OffsetXY but uses dx,dy from Point""" + Same as OffsetXY but uses dx,dy from Point + """ return _core.Rect_Offset(*args, **kwargs) def Intersect(*args, **kwargs): - """Intersect(Rect rect) -> Rect + """ + Intersect(Rect rect) -> Rect -Return the intersectsion of this rectangle and rect.""" + Return the intersectsion of this rectangle and rect. + """ return _core.Rect_Intersect(*args, **kwargs) def __add__(*args, **kwargs): - """__add__(Rect rect) -> Rect + """ + __add__(Rect rect) -> Rect -Add the properties of rect to this rectangle and return the result.""" + Add the properties of rect to this rectangle and return the result. + """ return _core.Rect___add__(*args, **kwargs) def __iadd__(*args, **kwargs): - """__iadd__(Rect rect) -> Rect + """ + __iadd__(Rect rect) -> Rect -Add the properties of rect to this rectangle, updating this rectangle.""" + Add the properties of rect to this rectangle, updating this rectangle. + """ return _core.Rect___iadd__(*args, **kwargs) def __eq__(*args, **kwargs): - """__eq__(Rect rect) -> bool + """ + __eq__(Rect rect) -> bool -Test for equality.""" + Test for equality. + """ return _core.Rect___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Rect rect) -> bool + """ + __ne__(Rect rect) -> bool -Test for inequality.""" + Test for inequality. + """ return _core.Rect___ne__(*args, **kwargs) def InsideXY(*args, **kwargs): - """InsideXY(int x, int y) -> bool + """ + InsideXY(int x, int y) -> bool -Return True if the point is (not strcitly) inside the rect.""" + Return True if the point is (not strcitly) inside the rect. + """ return _core.Rect_InsideXY(*args, **kwargs) def Inside(*args, **kwargs): - """Inside(Point pt) -> bool + """ + Inside(Point pt) -> bool -Return True if the point is (not strcitly) inside the rect.""" + Return True if the point is (not strcitly) inside the rect. + """ return _core.Rect_Inside(*args, **kwargs) def Intersects(*args, **kwargs): - """Intersects(Rect rect) -> bool + """ + Intersects(Rect rect) -> bool -Returns True if the rectangles have a non empty intersection.""" + Returns True if the rectangles have a non empty intersection. + """ return _core.Rect_Intersects(*args, **kwargs) x = property(_core.Rect_x_get, _core.Rect_x_set) @@ -1125,15 +1215,19 @@ Returns True if the rectangles have a non empty intersection.""" width = property(_core.Rect_width_get, _core.Rect_width_set) height = property(_core.Rect_height_get, _core.Rect_height_set) def Set(*args, **kwargs): - """Set(int x=0, int y=0, int width=0, int height=0) + """ + Set(int x=0, int y=0, int width=0, int height=0) -Set all rectangle properties.""" + Set all rectangle properties. + """ return _core.Rect_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y,width,height) + """ + Get() -> (x,y,width,height) -Return the rectangle properties as a tuple.""" + Return the rectangle properties as a tuple. + """ return _core.Rect_Get(*args, **kwargs) asTuple = Get @@ -1161,26 +1255,32 @@ class RectPtr(Rect): _core.Rect_swigregister(RectPtr) def RectPP(*args, **kwargs): - """RectPP(Point topLeft, Point bottomRight) -> Rect + """ + RectPP(Point topLeft, Point bottomRight) -> Rect -Create a new Rect object from Points representing two corners.""" + Create a new Rect object from Points representing two corners. + """ val = _core.new_RectPP(*args, **kwargs) val.thisown = 1 return val def RectPS(*args, **kwargs): - """RectPS(Point pos, Size size) -> Rect + """ + RectPS(Point pos, Size size) -> Rect -Create a new Rect from a position and size.""" + Create a new Rect from a position and size. + """ val = _core.new_RectPS(*args, **kwargs) val.thisown = 1 return val def IntersectRect(*args, **kwargs): - """IntersectRect(Rect r1, Rect r2) -> Rect + """ + IntersectRect(Rect r1, Rect r2) -> Rect -Calculate and return the intersection of r1 and r2.""" + Calculate and return the intersection of r1 and r2. + """ return _core.IntersectRect(*args, **kwargs) #--------------------------------------------------------------------------- @@ -1189,23 +1289,29 @@ class Point2D(object): def __repr__(self): return "<%s.%s; proxy of C++ wxPoint2D instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(double x=0.0, double y=0.0) -> Point2D + """ + __init__(double x=0.0, double y=0.0) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ newobj = _core.new_Point2D(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def GetFloor(*args, **kwargs): - """GetFloor() -> (x,y) + """ + GetFloor() -> (x,y) -Convert to integer""" + Convert to integer + """ return _core.Point2D_GetFloor(*args, **kwargs) def GetRounded(*args, **kwargs): - """GetRounded() -> (x,y) + """ + GetRounded() -> (x,y) -Convert to integer""" + Convert to integer + """ return _core.Point2D_GetRounded(*args, **kwargs) def GetVectorLength(*args, **kwargs): @@ -1247,9 +1353,11 @@ Convert to integer""" return _core.Point2D_GetCrossProduct(*args, **kwargs) def __neg__(*args, **kwargs): - """__neg__() -> Point2D + """ + __neg__() -> Point2D -the reflection of this point""" + the reflection of this point + """ return _core.Point2D___neg__(*args, **kwargs) def __iadd__(*args, **kwargs): @@ -1269,15 +1377,19 @@ the reflection of this point""" return _core.Point2D___idiv__(*args, **kwargs) def __eq__(*args, **kwargs): - """__eq__(Point2D pt) -> bool + """ + __eq__(Point2D pt) -> bool -Test for equality""" + Test for equality + """ return _core.Point2D___eq__(*args, **kwargs) def __ne__(*args, **kwargs): - """__ne__(Point2D pt) -> bool + """ + __ne__(Point2D pt) -> bool -Test for inequality""" + Test for inequality + """ return _core.Point2D___ne__(*args, **kwargs) x = property(_core.Point2D_x_get, _core.Point2D_x_set) @@ -1287,9 +1399,11 @@ Test for inequality""" return _core.Point2D_Set(*args, **kwargs) def Get(*args, **kwargs): - """Get() -> (x,y) + """ + Get() -> (x,y) -Return x and y properties as a tuple.""" + Return x and y properties as a tuple. + """ return _core.Point2D_Get(*args, **kwargs) asTuple = Get @@ -1316,17 +1430,21 @@ class Point2DPtr(Point2D): _core.Point2D_swigregister(Point2DPtr) def Point2DCopy(*args, **kwargs): - """Point2DCopy(Point2D pt) -> Point2D + """ + Point2DCopy(Point2D pt) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ val = _core.new_Point2DCopy(*args, **kwargs) val.thisown = 1 return val def Point2DFromPoint(*args, **kwargs): - """Point2DFromPoint(Point pt) -> Point2D + """ + Point2DFromPoint(Point pt) -> Point2D -Create a w.Point2D object.""" + Create a w.Point2D object. + """ val = _core.new_Point2DFromPoint(*args, **kwargs) val.thisown = 1 return val @@ -1337,7 +1455,6 @@ FromStart = _core.FromStart FromCurrent = _core.FromCurrent FromEnd = _core.FromEnd class InputStream(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1422,7 +1539,6 @@ DefaultPosition = cvar.DefaultPosition DefaultSize = cvar.DefaultSize class OutputStream(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1441,12 +1557,13 @@ _core.OutputStream_swigregister(OutputStreamPtr) #--------------------------------------------------------------------------- class FSFile(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxInputStream stream, wxString loc, wxString mimetype, - wxString anchor, wxDateTime modif) -> FSFile""" + """ + __init__(wxInputStream stream, wxString loc, wxString mimetype, + wxString anchor, wxDateTime modif) -> FSFile + """ newobj = _core.new_FSFile(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1486,7 +1603,6 @@ class FSFilePtr(FSFile): _core.FSFile_swigregister(FSFilePtr) class CPPFileSystemHandler(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1499,7 +1615,6 @@ class CPPFileSystemHandlerPtr(CPPFileSystemHandler): _core.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr) class FileSystemHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1559,7 +1674,6 @@ class FileSystemHandlerPtr(FileSystemHandler): _core.FileSystemHandler_swigregister(FileSystemHandlerPtr) class FileSystem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1634,7 +1748,6 @@ def FileSystem_URLToFileName(*args, **kwargs): """FileSystem_URLToFileName(wxString url) -> wxString""" return _core.FileSystem_URLToFileName(*args, **kwargs) class InternetFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1660,7 +1773,6 @@ class InternetFSHandlerPtr(InternetFSHandler): _core.InternetFSHandler_swigregister(InternetFSHandlerPtr) class ZipFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1715,7 +1827,6 @@ def MemoryFSHandler_AddFile(filename, a, b=''): else: raise TypeError, 'wx.Image, wx.Bitmap or string expected' class MemoryFSHandler(CPPFileSystemHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1761,7 +1872,6 @@ def MemoryFSHandler_RemoveFile(*args, **kwargs): #--------------------------------------------------------------------------- class ImageHandler(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1810,7 +1920,6 @@ class ImageHandlerPtr(ImageHandler): _core.ImageHandler_swigregister(ImageHandlerPtr) class ImageHistogram(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1820,18 +1929,22 @@ class ImageHistogram(object): self.thisown = 1 del newobj.thisown def MakeKey(*args, **kwargs): - """ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + """ + ImageHistogram.MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long -Get the key in the histogram for the given RGB values""" + Get the key in the histogram for the given RGB values + """ return _core.ImageHistogram_MakeKey(*args, **kwargs) MakeKey = staticmethod(MakeKey) def FindFirstUnusedColour(*args, **kwargs): - """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + """ + FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) -Find first colour that is not used in the image and has higher RGB values than -startR, startG, startB. Returns a tuple consisting of a success flag and rgb -values.""" + Find first colour that is not used in the image and has higher RGB values than + startR, startG, startB. Returns a tuple consisting of a success flag and rgb + values. + """ return _core.ImageHistogram_FindFirstUnusedColour(*args, **kwargs) @@ -1843,13 +1956,14 @@ class ImageHistogramPtr(ImageHistogram): _core.ImageHistogram_swigregister(ImageHistogramPtr) def ImageHistogram_MakeKey(*args, **kwargs): - """ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long + """ + ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long -Get the key in the histogram for the given RGB values""" + Get the key in the histogram for the given RGB values + """ return _core.ImageHistogram_MakeKey(*args, **kwargs) class Image(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1869,9 +1983,11 @@ class Image(Object): return _core.Image_Create(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Image_Destroy(*args, **kwargs) def Scale(*args, **kwargs): @@ -1915,11 +2031,13 @@ Deletes the C++ object this Python object is a proxy for.""" return _core.Image_HasAlpha(*args, **kwargs) def FindFirstUnusedColour(*args, **kwargs): - """FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) + """ + FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) -Find first colour that is not used in the image and has higher RGB values than -startR, startG, startB. Returns a tuple consisting of a success flag and rgb -values.""" + Find first colour that is not used in the image and has higher RGB values than + startR, startG, startB. Returns a tuple consisting of a success flag and rgb + values. + """ return _core.Image_FindFirstUnusedColour(*args, **kwargs) def SetMaskFromImage(*args, **kwargs): @@ -2046,8 +2164,10 @@ values.""" return _core.Image_HasMask(*args, **kwargs) def Rotate(*args, **kwargs): - """Rotate(double angle, Point centre_of_rotation, bool interpolating=True, - Point offset_after_rotation=None) -> Image""" + """ + Rotate(double angle, Point centre_of_rotation, bool interpolating=True, + Point offset_after_rotation=None) -> Image + """ return _core.Image_Rotate(*args, **kwargs) def Rotate90(*args, **kwargs): @@ -2059,8 +2179,10 @@ values.""" return _core.Image_Mirror(*args, **kwargs) def Replace(*args, **kwargs): - """Replace(unsigned char r1, unsigned char g1, unsigned char b1, - unsigned char r2, unsigned char g2, unsigned char b2)""" + """ + Replace(unsigned char r1, unsigned char g1, unsigned char b1, + unsigned char r2, unsigned char g2, unsigned char b2) + """ return _core.Image_Replace(*args, **kwargs) def ConvertToMono(*args, **kwargs): @@ -2212,7 +2334,6 @@ BMP_4BPP = _core.BMP_4BPP BMP_1BPP = _core.BMP_1BPP BMP_1BPP_BW = _core.BMP_1BPP_BW class BMPHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2236,7 +2357,6 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT class ICOHandler(BMPHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2254,7 +2374,6 @@ class ICOHandlerPtr(ICOHandler): _core.ICOHandler_swigregister(ICOHandlerPtr) class CURHandler(ICOHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2272,7 +2391,6 @@ class CURHandlerPtr(CURHandler): _core.CURHandler_swigregister(CURHandlerPtr) class ANIHandler(CURHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2290,7 +2408,6 @@ class ANIHandlerPtr(ANIHandler): _core.ANIHandler_swigregister(ANIHandlerPtr) class PNGHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2308,7 +2425,6 @@ class PNGHandlerPtr(PNGHandler): _core.PNGHandler_swigregister(PNGHandlerPtr) class GIFHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2326,7 +2442,6 @@ class GIFHandlerPtr(GIFHandler): _core.GIFHandler_swigregister(GIFHandlerPtr) class PCXHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2344,7 +2459,6 @@ class PCXHandlerPtr(PCXHandler): _core.PCXHandler_swigregister(PCXHandlerPtr) class JPEGHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2362,7 +2476,6 @@ class JPEGHandlerPtr(JPEGHandler): _core.JPEGHandler_swigregister(JPEGHandlerPtr) class PNMHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2380,7 +2493,6 @@ class PNMHandlerPtr(PNMHandler): _core.PNMHandler_swigregister(PNMHandlerPtr) class XPMHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2398,7 +2510,6 @@ class XPMHandlerPtr(XPMHandler): _core.XPMHandler_swigregister(XPMHandlerPtr) class TIFFHandler(ImageHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2418,7 +2529,6 @@ _core.TIFFHandler_swigregister(TIFFHandlerPtr) #--------------------------------------------------------------------------- class EvtHandler(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2873,7 +2983,6 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU ) #--------------------------------------------------------------------------- class Event(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2954,7 +3063,6 @@ _core.Event_swigregister(EventPtr) #--------------------------------------------------------------------------- class PropagationDisabler(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2978,7 +3086,6 @@ class PropagationDisablerPtr(PropagationDisabler): _core.PropagationDisabler_swigregister(PropagationDisablerPtr) class PropagateOnce(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3004,7 +3111,6 @@ _core.PropagateOnce_swigregister(PropagateOncePtr) #--------------------------------------------------------------------------- class CommandEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3064,7 +3170,6 @@ _core.CommandEvent_swigregister(CommandEventPtr) #--------------------------------------------------------------------------- class NotifyEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3096,12 +3201,13 @@ _core.NotifyEvent_swigregister(NotifyEventPtr) #--------------------------------------------------------------------------- class ScrollEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, - int orient=0) -> ScrollEvent""" + """ + __init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, + int orient=0) -> ScrollEvent + """ newobj = _core.new_ScrollEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3133,7 +3239,6 @@ _core.ScrollEvent_swigregister(ScrollEventPtr) #--------------------------------------------------------------------------- class ScrollWinEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3174,7 +3279,6 @@ MOUSE_BTN_LEFT = _core.MOUSE_BTN_LEFT MOUSE_BTN_MIDDLE = _core.MOUSE_BTN_MIDDLE MOUSE_BTN_RIGHT = _core.MOUSE_BTN_RIGHT class MouseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3292,15 +3396,19 @@ class MouseEvent(Event): return _core.MouseEvent_Leaving(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Returns the position of the mouse in window coordinates when the event happened.""" + Returns the position of the mouse in window coordinates when the event happened. + """ return _core.MouseEvent_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Returns the position of the mouse in window coordinates when the event happened.""" + Returns the position of the mouse in window coordinates when the event happened. + """ return _core.MouseEvent_GetPositionTuple(*args, **kwargs) def GetLogicalPosition(*args, **kwargs): @@ -3354,7 +3462,6 @@ _core.MouseEvent_swigregister(MouseEventPtr) #--------------------------------------------------------------------------- class SetCursorEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3394,7 +3501,6 @@ _core.SetCursorEvent_swigregister(SetCursorEventPtr) #--------------------------------------------------------------------------- class KeyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3441,15 +3547,19 @@ class KeyEvent(Event): return _core.KeyEvent_GetRawKeyFlags(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Find the position of the event.""" + Find the position of the event. + """ return _core.KeyEvent_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Find the position of the event.""" + Find the position of the event. + """ return _core.KeyEvent_GetPositionTuple(*args, **kwargs) def GetX(*args, **kwargs): @@ -3481,7 +3591,6 @@ _core.KeyEvent_swigregister(KeyEventPtr) #--------------------------------------------------------------------------- class SizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3519,7 +3628,6 @@ _core.SizeEvent_swigregister(SizeEventPtr) #--------------------------------------------------------------------------- class MoveEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3557,7 +3665,6 @@ _core.MoveEvent_swigregister(MoveEventPtr) #--------------------------------------------------------------------------- class PaintEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3575,7 +3682,6 @@ class PaintEventPtr(PaintEvent): _core.PaintEvent_swigregister(PaintEventPtr) class NcPaintEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3595,7 +3701,6 @@ _core.NcPaintEvent_swigregister(NcPaintEventPtr) #--------------------------------------------------------------------------- class EraseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3619,7 +3724,6 @@ _core.EraseEvent_swigregister(EraseEventPtr) #--------------------------------------------------------------------------- class FocusEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3647,7 +3751,6 @@ _core.FocusEvent_swigregister(FocusEventPtr) #--------------------------------------------------------------------------- class ChildFocusEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3671,7 +3774,6 @@ _core.ChildFocusEvent_swigregister(ChildFocusEventPtr) #--------------------------------------------------------------------------- class ActivateEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3695,7 +3797,6 @@ _core.ActivateEvent_swigregister(ActivateEventPtr) #--------------------------------------------------------------------------- class InitDialogEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3715,7 +3816,6 @@ _core.InitDialogEvent_swigregister(InitDialogEventPtr) #--------------------------------------------------------------------------- class MenuEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3747,7 +3847,6 @@ _core.MenuEvent_swigregister(MenuEventPtr) #--------------------------------------------------------------------------- class CloseEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3791,7 +3890,6 @@ _core.CloseEvent_swigregister(CloseEventPtr) #--------------------------------------------------------------------------- class ShowEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3819,7 +3917,6 @@ _core.ShowEvent_swigregister(ShowEventPtr) #--------------------------------------------------------------------------- class IconizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3843,7 +3940,6 @@ _core.IconizeEvent_swigregister(IconizeEventPtr) #--------------------------------------------------------------------------- class MaximizeEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3863,7 +3959,6 @@ _core.MaximizeEvent_swigregister(MaximizeEventPtr) #--------------------------------------------------------------------------- class DropFilesEvent(Event): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3892,7 +3987,6 @@ _core.DropFilesEvent_swigregister(DropFilesEventPtr) UPDATE_UI_PROCESS_ALL = _core.UPDATE_UI_PROCESS_ALL UPDATE_UI_PROCESS_SPECIFIED = _core.UPDATE_UI_PROCESS_SPECIFIED class UpdateUIEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4002,7 +4096,6 @@ def UpdateUIEvent_GetMode(*args, **kwargs): #--------------------------------------------------------------------------- class SysColourChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4022,7 +4115,6 @@ _core.SysColourChangedEvent_swigregister(SysColourChangedEventPtr) #--------------------------------------------------------------------------- class MouseCaptureChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4046,7 +4138,6 @@ _core.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr) #--------------------------------------------------------------------------- class DisplayChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4066,7 +4157,6 @@ _core.DisplayChangedEvent_swigregister(DisplayChangedEventPtr) #--------------------------------------------------------------------------- class PaletteChangedEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4094,7 +4184,6 @@ _core.PaletteChangedEvent_swigregister(PaletteChangedEventPtr) #--------------------------------------------------------------------------- class QueryNewPaletteEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4122,7 +4211,6 @@ _core.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr) #--------------------------------------------------------------------------- class NavigationKeyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4166,7 +4254,6 @@ _core.NavigationKeyEvent_swigregister(NavigationKeyEventPtr) #--------------------------------------------------------------------------- class WindowCreateEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4188,7 +4275,6 @@ class WindowCreateEventPtr(WindowCreateEvent): _core.WindowCreateEvent_swigregister(WindowCreateEventPtr) class WindowDestroyEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4212,7 +4298,6 @@ _core.WindowDestroyEvent_swigregister(WindowDestroyEventPtr) #--------------------------------------------------------------------------- class ContextMenuEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4242,7 +4327,6 @@ _core.ContextMenuEvent_swigregister(ContextMenuEventPtr) IDLE_PROCESS_ALL = _core.IDLE_PROCESS_ALL IDLE_PROCESS_SPECIFIED = _core.IDLE_PROCESS_SPECIFIED class IdleEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4297,7 +4381,6 @@ def IdleEvent_CanSend(*args, **kwargs): #--------------------------------------------------------------------------- class PyEvent(Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4331,7 +4414,6 @@ class PyEventPtr(PyEvent): _core.PyEvent_swigregister(PyEventPtr) class PyCommandEvent(CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4373,7 +4455,6 @@ PYAPP_ASSERT_LOG = _core.PYAPP_ASSERT_LOG PRINT_WINDOWS = _core.PRINT_WINDOWS PRINT_POSTSCRIPT = _core.PRINT_POSTSCRIPT class PyApp(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4396,177 +4477,225 @@ class PyApp(EvtHandler): return _core.PyApp__setCallbackInfo(*args, **kwargs) def GetAppName(*args, **kwargs): - """GetAppName() -> wxString + """ + GetAppName() -> wxString -Get the application name.""" + Get the application name. + """ return _core.PyApp_GetAppName(*args, **kwargs) def SetAppName(*args, **kwargs): - """SetAppName(wxString name) + """ + SetAppName(wxString name) -Set the application name. This value may be used automatically -by wxConfig and such.""" + Set the application name. This value may be used automatically + by wxConfig and such. + """ return _core.PyApp_SetAppName(*args, **kwargs) def GetClassName(*args, **kwargs): - """GetClassName() -> wxString + """ + GetClassName() -> wxString -Get the application's class name.""" + Get the application's class name. + """ return _core.PyApp_GetClassName(*args, **kwargs) def SetClassName(*args, **kwargs): - """SetClassName(wxString name) + """ + SetClassName(wxString name) -Set the application's class name. This value may be used for X-resources if -applicable for the platform""" + Set the application's class name. This value may be used for X-resources if + applicable for the platform + """ return _core.PyApp_SetClassName(*args, **kwargs) def GetVendorName(*args, **kwargs): - """GetVendorName() -> wxString + """ + GetVendorName() -> wxString -Get the application's vendor name.""" + Get the application's vendor name. + """ return _core.PyApp_GetVendorName(*args, **kwargs) def SetVendorName(*args, **kwargs): - """SetVendorName(wxString name) + """ + SetVendorName(wxString name) -Set the application's vendor name. This value may be used automatically -by wxConfig and such.""" + Set the application's vendor name. This value may be used automatically + by wxConfig and such. + """ return _core.PyApp_SetVendorName(*args, **kwargs) def GetTraits(*args, **kwargs): - """GetTraits() -> wxAppTraits + """ + GetTraits() -> wxAppTraits -Create the app traits object to which we delegate for everything which either -should be configurable by the user (then he can change the default behaviour -simply by overriding CreateTraits() and returning his own traits object) or -which is GUI/console dependent as then wxAppTraits allows us to abstract the -differences behind the common facade""" + Create the app traits object to which we delegate for everything which either + should be configurable by the user (then he can change the default behaviour + simply by overriding CreateTraits() and returning his own traits object) or + which is GUI/console dependent as then wxAppTraits allows us to abstract the + differences behind the common facade + """ return _core.PyApp_GetTraits(*args, **kwargs) def ProcessPendingEvents(*args, **kwargs): - """ProcessPendingEvents() + """ + ProcessPendingEvents() -Process all events in the wxPendingEvents list -- it is necessary to call this -function to process posted events. This happens during each event loop -iteration.""" + Process all events in the wxPendingEvents list -- it is necessary to call this + function to process posted events. This happens during each event loop + iteration. + """ return _core.PyApp_ProcessPendingEvents(*args, **kwargs) def Yield(*args, **kwargs): - """Yield(bool onlyIfNeeded=False) -> bool + """ + Yield(bool onlyIfNeeded=False) -> bool -Process all currently pending events right now, instead of waiting until -return to the event loop. It is an error to call Yield() recursively unless -the value of onlyIfNeeded is True. + Process all currently pending events right now, instead of waiting until + return to the event loop. It is an error to call Yield() recursively unless + the value of onlyIfNeeded is True. -WARNING: This function is dangerous as it can lead to unexpected - reentrancies (i.e. when called from an event handler it - may result in calling the same event handler again), use - with _extreme_ care or, better, don't use at all! -""" + WARNING: This function is dangerous as it can lead to unexpected + reentrancies (i.e. when called from an event handler it + may result in calling the same event handler again), use + with _extreme_ care or, better, don't use at all! + + """ return _core.PyApp_Yield(*args, **kwargs) def WakeUpIdle(*args, **kwargs): - """WakeUpIdle() + """ + WakeUpIdle() -Make sure that idle events are sent again""" + Make sure that idle events are sent again + """ return _core.PyApp_WakeUpIdle(*args, **kwargs) def MainLoop(*args, **kwargs): - """MainLoop() -> int + """ + MainLoop() -> int -Execute the main GUI loop, the function returns when the loop ends.""" + Execute the main GUI loop, the function returns when the loop ends. + """ return _core.PyApp_MainLoop(*args, **kwargs) def Exit(*args, **kwargs): - """Exit() + """ + Exit() -Exit the main loop thus terminating the application.""" + Exit the main loop thus terminating the application. + """ return _core.PyApp_Exit(*args, **kwargs) def ExitMainLoop(*args, **kwargs): - """ExitMainLoop() + """ + ExitMainLoop() -Exit the main GUI loop during the next iteration (i.e. it does not -stop the program immediately!)""" + Exit the main GUI loop during the next iteration (i.e. it does not + stop the program immediately!) + """ return _core.PyApp_ExitMainLoop(*args, **kwargs) def Pending(*args, **kwargs): - """Pending() -> bool + """ + Pending() -> bool -Returns True if there are unprocessed events in the event queue.""" + Returns True if there are unprocessed events in the event queue. + """ return _core.PyApp_Pending(*args, **kwargs) def Dispatch(*args, **kwargs): - """Dispatch() -> bool + """ + Dispatch() -> bool -Process the first event in the event queue (blocks until an event -appears if there are none currently)""" + Process the first event in the event queue (blocks until an event + appears if there are none currently) + """ return _core.PyApp_Dispatch(*args, **kwargs) def ProcessIdle(*args, **kwargs): - """ProcessIdle() -> bool + """ + ProcessIdle() -> bool -Called from the MainLoop when the application becomes idle and sends an -IdleEvent to all interested parties. Returns True is more idle events are -needed, False if not.""" + Called from the MainLoop when the application becomes idle and sends an + IdleEvent to all interested parties. Returns True is more idle events are + needed, False if not. + """ return _core.PyApp_ProcessIdle(*args, **kwargs) def SendIdleEvents(*args, **kwargs): - """SendIdleEvents(Window win, IdleEvent event) -> bool + """ + SendIdleEvents(Window win, IdleEvent event) -> bool -Send idle event to window and all subwindows. Returns True if more idle time -is requested.""" + Send idle event to window and all subwindows. Returns True if more idle time + is requested. + """ return _core.PyApp_SendIdleEvents(*args, **kwargs) def IsActive(*args, **kwargs): - """IsActive() -> bool + """ + IsActive() -> bool -Return True if our app has focus.""" + Return True if our app has focus. + """ return _core.PyApp_IsActive(*args, **kwargs) def SetTopWindow(*args, **kwargs): - """SetTopWindow(Window win) + """ + SetTopWindow(Window win) -Set the "main" top level window""" + Set the "main" top level window + """ return _core.PyApp_SetTopWindow(*args, **kwargs) def GetTopWindow(*args, **kwargs): - """GetTopWindow() -> Window + """ + GetTopWindow() -> Window -Return the "main" top level window (if it hadn't been set previously with -SetTopWindow(), will return just some top level window and, if there not any, -will return None)""" + Return the "main" top level window (if it hadn't been set previously with + SetTopWindow(), will return just some top level window and, if there not any, + will return None) + """ return _core.PyApp_GetTopWindow(*args, **kwargs) def SetExitOnFrameDelete(*args, **kwargs): - """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 -deleted. Beware that if you disable this behaviour (with -SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly -from somewhere. -""" + """ + 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 + deleted. Beware that if you disable this behaviour (with + SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly + from somewhere. + + """ return _core.PyApp_SetExitOnFrameDelete(*args, **kwargs) def GetExitOnFrameDelete(*args, **kwargs): - """GetExitOnFrameDelete() -> bool + """ + GetExitOnFrameDelete() -> bool -Get the current exit behaviour setting.""" + Get the current exit behaviour setting. + """ return _core.PyApp_GetExitOnFrameDelete(*args, **kwargs) def SetUseBestVisual(*args, **kwargs): - """SetUseBestVisual(bool flag) + """ + 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.)""" + 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.) + """ return _core.PyApp_SetUseBestVisual(*args, **kwargs) def GetUseBestVisual(*args, **kwargs): - """GetUseBestVisual() -> bool + """ + GetUseBestVisual() -> bool -Get current UseBestVisual setting.""" + Get current UseBestVisual setting. + """ return _core.PyApp_GetUseBestVisual(*args, **kwargs) def SetPrintMode(*args, **kwargs): @@ -4578,22 +4707,26 @@ Get current UseBestVisual setting.""" return _core.PyApp_GetPrintMode(*args, **kwargs) def SetAssertMode(*args, **kwargs): - """SetAssertMode(int mode) + """ + SetAssertMode(int mode) -Set the OnAssert behaviour for debug and hybrid builds. The following flags -may be or'd together: + Set the OnAssert behaviour for debug and hybrid builds. The following flags + may be or'd together: - wxPYAPP_ASSERT_SUPPRESS Don't do anything - wxPYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) - wxPYAPP_ASSERT_DIALOG Display a message dialog - wxPYAPP_ASSERT_LOG Write the assertion info to the wxLog -""" + wxPYAPP_ASSERT_SUPPRESS Don't do anything + wxPYAPP_ASSERT_EXCEPTION Turn it into a Python exception if possible (default) + wxPYAPP_ASSERT_DIALOG Display a message dialog + wxPYAPP_ASSERT_LOG Write the assertion info to the wxLog + + """ return _core.PyApp_SetAssertMode(*args, **kwargs) def GetAssertMode(*args, **kwargs): - """GetAssertMode() -> int + """ + GetAssertMode() -> int -Get the current OnAssert behaviour setting.""" + Get the current OnAssert behaviour setting. + """ return _core.PyApp_GetAssertMode(*args, **kwargs) def GetMacSupportPCMenuShortcuts(*args, **kwargs): @@ -4647,16 +4780,20 @@ Get the current OnAssert behaviour setting.""" SetMacHelpMenuTitleName = staticmethod(SetMacHelpMenuTitleName) def _BootstrapApp(*args, **kwargs): - """_BootstrapApp() + """ + _BootstrapApp() -For internal use only""" + For internal use only + """ return _core.PyApp__BootstrapApp(*args, **kwargs) def GetComCtl32Version(*args, **kwargs): - """PyApp.GetComCtl32Version() -> int + """ + PyApp.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.""" + 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. + """ return _core.PyApp_GetComCtl32Version(*args, **kwargs) GetComCtl32Version = staticmethod(GetComCtl32Version) @@ -4709,66 +4846,84 @@ def PyApp_SetMacHelpMenuTitleName(*args, **kwargs): return _core.PyApp_SetMacHelpMenuTitleName(*args, **kwargs) def PyApp_GetComCtl32Version(*args, **kwargs): - """PyApp_GetComCtl32Version() -> int + """ + PyApp_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.""" + 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. + """ return _core.PyApp_GetComCtl32Version(*args, **kwargs) #--------------------------------------------------------------------------- def Exit(*args, **kwargs): - """Exit() + """ + Exit() -Force an exit of the application. Convenience for wx.GetApp().Exit()""" + Force an exit of the application. Convenience for wx.GetApp().Exit() + """ return _core.Exit(*args, **kwargs) def Yield(*args, **kwargs): - """Yield() -> bool + """ + Yield() -> bool -Yield to other apps/messages. Convenience for wx.GetApp().Yield()""" + Yield to other apps/messages. Convenience for wx.GetApp().Yield() + """ return _core.Yield(*args, **kwargs) def YieldIfNeeded(*args, **kwargs): - """YieldIfNeeded() -> bool + """ + YieldIfNeeded() -> bool -Yield to other apps/messages. Convenience for wx.GetApp().Yield(True)""" + Yield to other apps/messages. Convenience for wx.GetApp().Yield(True) + """ return _core.YieldIfNeeded(*args, **kwargs) def SafeYield(*args, **kwargs): - """SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool + """ + SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool -This function is similar to wx.Yield, except that it disables the user input -to all program windows before calling wx.Yield and re-enables it again -afterwards. If win is not None, this window will remain enabled, allowing the -implementation of some limited user interaction. + This function is similar to wx.Yield, except that it disables the user input + to all program windows before calling wx.Yield and re-enables it again + afterwards. If win is not None, this window will remain enabled, allowing the + implementation of some limited user interaction. -Returns the result of the call to wx.Yield.""" + Returns the result of the call to wx.Yield. + """ return _core.SafeYield(*args, **kwargs) def WakeUpIdle(*args, **kwargs): - """WakeUpIdle() + """ + WakeUpIdle() -Cause the message queue to become empty again, so idle events will be sent.""" + Cause the message queue to become empty again, so idle events will be sent. + """ return _core.WakeUpIdle(*args, **kwargs) def PostEvent(*args, **kwargs): - """PostEvent(EvtHandler dest, Event event) + """ + PostEvent(EvtHandler dest, Event event) -Send an event to a window or other wx.EvtHandler to be processed later.""" + Send an event to a window or other wx.EvtHandler to be processed later. + """ return _core.PostEvent(*args, **kwargs) def App_CleanUp(*args, **kwargs): - """App_CleanUp() + """ + App_CleanUp() -For internal use only, it is used to cleanup after wxWindows when Python shuts down.""" + For internal use only, it is used to cleanup after wxWindows when Python shuts down. + """ return _core.App_CleanUp(*args, **kwargs) def GetApp(*args, **kwargs): - """GetApp() -> PyApp + """ + GetApp() -> PyApp -Return a reference to the current wxApp object.""" + Return a reference to the current wxApp object. + """ return _core.GetApp(*args, **kwargs) #---------------------------------------------------------------------- @@ -4986,7 +5141,6 @@ _sys.__wxPythonCleanup = __wxPyCleanup() #--------------------------------------------------------------------------- class AcceleratorEntry(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -5034,14 +5188,15 @@ class AcceleratorEntryPtr(AcceleratorEntry): _core.AcceleratorEntry_swigregister(AcceleratorEntryPtr) class AcceleratorTable(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(entries) -> AcceleratorTable + """ + __init__(entries) -> AcceleratorTable -Construct an AcceleratorTable from a list of AcceleratorEntry items or -3-tuples (flags, keyCode, cmdID)""" + Construct an AcceleratorTable from a list of AcceleratorEntry items or + 3-tuples (flags, keyCode, cmdID) + """ newobj = _core.new_AcceleratorTable(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -5071,12 +5226,13 @@ def GetAccelFromString(*args, **kwargs): #--------------------------------------------------------------------------- class Window(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> Window""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> Window + """ newobj = _core.new_Window(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -5084,8 +5240,10 @@ class Window(EvtHandler): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> bool + """ return _core.Window_Create(*args, **kwargs) def Close(*args, **kwargs): @@ -5093,9 +5251,11 @@ class Window(EvtHandler): return _core.Window_Close(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() -> bool + """ + Destroy() -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Window_Destroy(*args, **kwargs) def DestroyChildren(*args, **kwargs): @@ -5199,27 +5359,35 @@ Deletes the C++ object this Python object is a proxy for.""" return _core.Window_SetClientRect(*args, **kwargs) def GetPosition(*args, **kwargs): - """GetPosition() -> Point + """ + GetPosition() -> Point -Get the window's position.""" + Get the window's position. + """ return _core.Window_GetPosition(*args, **kwargs) def GetPositionTuple(*args, **kwargs): - """GetPositionTuple() -> (x,y) + """ + GetPositionTuple() -> (x,y) -Get the window's position.""" + Get the window's position. + """ return _core.Window_GetPositionTuple(*args, **kwargs) def GetSize(*args, **kwargs): - """GetSize() -> Size + """ + GetSize() -> Size -Get the window size.""" + Get the window size. + """ return _core.Window_GetSize(*args, **kwargs) def GetSizeTuple(*args, **kwargs): - """GetSizeTuple() -> (width, height) + """ + GetSizeTuple() -> (width, height) -Get the window size.""" + Get the window size. + """ return _core.Window_GetSizeTuple(*args, **kwargs) def GetRect(*args, **kwargs): @@ -5227,15 +5395,19 @@ Get the window size.""" return _core.Window_GetRect(*args, **kwargs) def GetClientSize(*args, **kwargs): - """GetClientSize() -> Size + """ + GetClientSize() -> Size -Get the window's client size.""" + Get the window's client size. + """ return _core.Window_GetClientSize(*args, **kwargs) def GetClientSizeTuple(*args, **kwargs): - """GetClientSizeTuple() -> (width, height) + """ + GetClientSizeTuple() -> (width, height) -Get the window's client size.""" + Get the window's client size. + """ return _core.Window_GetClientSizeTuple(*args, **kwargs) def GetClientAreaOrigin(*args, **kwargs): @@ -5247,17 +5419,21 @@ Get the window's client size.""" return _core.Window_GetClientRect(*args, **kwargs) def GetBestSize(*args, **kwargs): - """GetBestSize() -> Size + """ + GetBestSize() -> Size -Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice")""" + Get the size best suited for the window (in fact, minimal acceptable size + using which it will still look "nice") + """ return _core.Window_GetBestSize(*args, **kwargs) def GetBestSizeTuple(*args, **kwargs): - """GetBestSizeTuple() -> (width, height) + """ + GetBestSizeTuple() -> (width, height) -Get the size best suited for the window (in fact, minimal acceptable size -using which it will still look "nice")""" + Get the size best suited for the window (in fact, minimal acceptable size + using which it will still look "nice") + """ return _core.Window_GetBestSizeTuple(*args, **kwargs) def GetAdjustedBestSize(*args, **kwargs): @@ -5288,8 +5464,10 @@ using which it will still look "nice")""" return _core.Window_FitInside(*args, **kwargs) def SetSizeHints(*args, **kwargs): - """SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, - int incH=-1)""" + """ + SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, + int incH=-1) + """ return _core.Window_SetSizeHints(*args, **kwargs) def SetVirtualSizeHints(*args, **kwargs): @@ -5317,35 +5495,43 @@ using which it will still look "nice")""" return _core.Window_GetMaxSize(*args, **kwargs) def SetVirtualSize(*args, **kwargs): - """SetVirtualSize(Size 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. 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. + """ return _core.Window_SetVirtualSize(*args, **kwargs) def SetVirtualSizeWH(*args, **kwargs): - """SetVirtualSizeWH(int w, int h) + """ + 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. 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. + """ return _core.Window_SetVirtualSizeWH(*args, **kwargs) def GetVirtualSize(*args, **kwargs): - """GetVirtualSize() -> 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. 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. + """ return _core.Window_GetVirtualSize(*args, **kwargs) def GetVirtualSizeTuple(*args, **kwargs): - """GetVirtualSizeTuple() -> (width, height) + """ + 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. 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. + """ return _core.Window_GetVirtualSizeTuple(*args, **kwargs) def GetBestVirtualSize(*args, **kwargs): @@ -5679,16 +5865,20 @@ more or less independent of the screen window size.""" return _core.Window_GetCharWidth(*args, **kwargs) def GetTextExtent(*args, **kwargs): - """GetTextExtent(wxString string) -> (width, height) + """ + GetTextExtent(wxString string) -> (width, height) -Get the width and height of the text using the current font.""" + Get the width and height of the text using the current font. + """ return _core.Window_GetTextExtent(*args, **kwargs) def GetFullTextExtent(*args, **kwargs): - """GetFullTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + 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.""" + Get the width, height, decent and leading of the text using the current or specified font. + """ return _core.Window_GetFullTextExtent(*args, **kwargs) def ClientToScreenXY(*args, **kwargs): @@ -5943,7 +6133,6 @@ def Window_FromHWND(*args, **kwargs): #--------------------------------------------------------------------------- class Validator(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6005,7 +6194,6 @@ def Validator_SetBellOnError(*args, **kwargs): return _core.Validator_SetBellOnError(*args, **kwargs) class PyValidator(Validator): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6033,7 +6221,6 @@ _core.PyValidator_swigregister(PyValidatorPtr) #--------------------------------------------------------------------------- class Menu(EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6045,8 +6232,10 @@ class Menu(EvtHandler): self._setOORInfo(self) def Append(*args, **kwargs): - """Append(int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Append(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Append(*args, **kwargs) def AppendSeparator(*args, **kwargs): @@ -6078,8 +6267,10 @@ class Menu(EvtHandler): return _core.Menu_InsertItem(*args, **kwargs) def Insert(*args, **kwargs): - """Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Insert(size_t pos, int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Insert(*args, **kwargs) def InsertSeparator(*args, **kwargs): @@ -6095,8 +6286,10 @@ class Menu(EvtHandler): return _core.Menu_InsertRadioItem(*args, **kwargs) def InsertMenu(*args, **kwargs): - """InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, - wxString help=wxPyEmptyString)""" + """ + InsertMenu(size_t pos, int itemid, wxString text, Menu submenu, + wxString help=wxPyEmptyString) + """ return _core.Menu_InsertMenu(*args, **kwargs) def PrependItem(*args, **kwargs): @@ -6104,8 +6297,10 @@ class Menu(EvtHandler): return _core.Menu_PrependItem(*args, **kwargs) def Prepend(*args, **kwargs): - """Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL)""" + """ + Prepend(int itemid, wxString text, wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL) + """ return _core.Menu_Prepend(*args, **kwargs) def PrependSeparator(*args, **kwargs): @@ -6141,21 +6336,27 @@ class Menu(EvtHandler): return _core.Menu_DeleteItem(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_Destroy(*args, **kwargs) def DestroyId(*args, **kwargs): - """DestroyId(int itemid) -> bool + """ + DestroyId(int itemid) -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_DestroyId(*args, **kwargs) def DestroyItem(*args, **kwargs): - """DestroyItem(MenuItem item) -> bool + """ + DestroyItem(MenuItem item) -> bool -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _core.Menu_DestroyItem(*args, **kwargs) def GetMenuItemCount(*args, **kwargs): @@ -6278,7 +6479,6 @@ DefaultValidator = cvar.DefaultValidator #--------------------------------------------------------------------------- class MenuBar(Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6400,13 +6600,14 @@ _core.MenuBar_swigregister(MenuBarPtr) #--------------------------------------------------------------------------- class MenuItem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, - wxString help=wxPyEmptyString, - wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem""" + """ + __init__(Menu parentMenu=None, int id=ID_SEPARATOR, wxString text=wxPyEmptyString, + wxString help=wxPyEmptyString, + wxItemKind kind=ITEM_NORMAL, Menu subMenu=None) -> MenuItem + """ newobj = _core.new_MenuItem(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -6540,13 +6741,14 @@ def MenuItem_GetDefaultMarginWidth(*args, **kwargs): #--------------------------------------------------------------------------- class Control(Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> Control""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> Control + """ newobj = _core.new_Control(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -6554,9 +6756,11 @@ class Control(Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, Validator validator=DefaultValidator, - wxString name=wxPyControlNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, Validator validator=DefaultValidator, + wxString name=wxPyControlNameStr) -> bool + """ return _core.Control_Create(*args, **kwargs) def Command(*args, **kwargs): @@ -6588,7 +6792,6 @@ def PreControl(*args, **kwargs): #--------------------------------------------------------------------------- class ItemContainer(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxItemContainer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6667,7 +6870,6 @@ _core.ItemContainer_swigregister(ItemContainerPtr) #--------------------------------------------------------------------------- class ControlWithItems(Control,ItemContainer): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxControlWithItems instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6682,7 +6884,6 @@ _core.ControlWithItems_swigregister(ControlWithItemsPtr) #--------------------------------------------------------------------------- class SizerItem(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -6820,28 +7021,33 @@ class SizerItemPtr(SizerItem): _core.SizerItem_swigregister(SizerItemPtr) def SizerItemSpacer(*args, **kwargs): - """SizerItemSpacer(int width, int height, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemSpacer(int width, int height, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemSpacer(*args, **kwargs) val.thisown = 1 return val def SizerItemWindow(*args, **kwargs): - """SizerItemWindow(Window window, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemWindow(Window window, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemWindow(*args, **kwargs) val.thisown = 1 return val def SizerItemSizer(*args, **kwargs): - """SizerItemSizer(Sizer sizer, int proportion, int flag, int border, - Object userData) -> SizerItem""" + """ + SizerItemSizer(Sizer sizer, int proportion, int flag, int border, + Object userData) -> SizerItem + """ val = _core.new_SizerItemSizer(*args, **kwargs) val.thisown = 1 return val class Sizer(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -6850,18 +7056,24 @@ class Sizer(Object): return _core.Sizer__setOORInfo(*args, **kwargs) def Add(*args, **kwargs): - """Add(PyObject item, int proportion=0, int flag=0, int border=0, - PyObject userData=None)""" + """ + Add(PyObject item, int proportion=0, int flag=0, int border=0, + PyObject userData=None) + """ return _core.Sizer_Add(*args, **kwargs) def Insert(*args, **kwargs): - """Insert(int before, 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) + """ return _core.Sizer_Insert(*args, **kwargs) def Prepend(*args, **kwargs): - """Prepend(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) + """ return _core.Sizer_Prepend(*args, **kwargs) def Remove(*args, **kwargs): @@ -6995,7 +7207,6 @@ class SizerPtr(Sizer): _core.Sizer_swigregister(SizerPtr) class PySizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7021,7 +7232,6 @@ _core.PySizer_swigregister(PySizerPtr) #--------------------------------------------------------------------------- class BoxSizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7059,7 +7269,6 @@ _core.BoxSizer_swigregister(BoxSizerPtr) #--------------------------------------------------------------------------- class StaticBoxSizer(BoxSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7093,7 +7302,6 @@ _core.StaticBoxSizer_swigregister(StaticBoxSizerPtr) #--------------------------------------------------------------------------- class GridSizer(Sizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7158,7 +7366,6 @@ FLEX_GROWMODE_NONE = _core.FLEX_GROWMODE_NONE FLEX_GROWMODE_SPECIFIED = _core.FLEX_GROWMODE_SPECIFIED FLEX_GROWMODE_ALL = _core.FLEX_GROWMODE_ALL class FlexGridSizer(GridSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7228,7 +7435,6 @@ _core.FlexGridSizer_swigregister(FlexGridSizerPtr) #--------------------------------------------------------------------------- class GBPosition(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBPosition instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7295,7 +7501,6 @@ class GBPositionPtr(GBPosition): _core.GBPosition_swigregister(GBPositionPtr) class GBSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7362,7 +7567,6 @@ class GBSpanPtr(GBSpan): _core.GBSpan_swigregister(GBSpanPtr) class GBSizerItem(SizerItem): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7390,8 +7594,10 @@ class GBSizerItem(SizerItem): return _core.GBSizerItem_SetSpan(*args, **kwargs) def Intersects(*args): - """Intersects(GBSizerItem other) -> bool -Intersects(GBPosition pos, GBSpan span) -> bool""" + """ + Intersects(GBSizerItem other) -> bool + Intersects(GBPosition pos, GBSpan span) -> bool + """ return _core.GBSizerItem_Intersects(*args) def GetEndPos(*args, **kwargs): @@ -7416,28 +7622,33 @@ _core.GBSizerItem_swigregister(GBSizerItemPtr) DefaultSpan = cvar.DefaultSpan def GBSizerItemWindow(*args, **kwargs): - """GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, - int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, + int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemWindow(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSizer(*args, **kwargs): - """GBSizerItemSizer(Sizer sizer, 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 + """ val = _core.new_GBSizerItemSizer(*args, **kwargs) val.thisown = 1 return val def GBSizerItemSpacer(*args, **kwargs): - """GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, - int flag, int border, Object userData) -> GBSizerItem""" + """ + GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, + int flag, int border, Object userData) -> GBSizerItem + """ val = _core.new_GBSizerItemSpacer(*args, **kwargs) val.thisown = 1 return val class GridBagSizer(FlexGridSizer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -7447,8 +7658,10 @@ class GridBagSizer(FlexGridSizer): self.thisown = 1 del newobj.thisown def Add(*args, **kwargs): - """Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, - int flag=0, int border=0, PyObject userData=None) -> bool""" + """ + Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, + int flag=0, int border=0, PyObject userData=None) -> bool + """ return _core.GridBagSizer_Add(*args, **kwargs) def AddItem(*args, **kwargs): @@ -7464,32 +7677,42 @@ class GridBagSizer(FlexGridSizer): return _core.GridBagSizer_SetEmptyCellSize(*args, **kwargs) def GetItemPosition(*args): - """GetItemPosition(Window window) -> GBPosition -GetItemPosition(Sizer sizer) -> GBPosition -GetItemPosition(size_t index) -> GBPosition""" + """ + GetItemPosition(Window window) -> GBPosition + GetItemPosition(Sizer sizer) -> GBPosition + GetItemPosition(size_t index) -> GBPosition + """ return _core.GridBagSizer_GetItemPosition(*args) def SetItemPosition(*args): - """SetItemPosition(Window window, GBPosition pos) -> bool -SetItemPosition(Sizer sizer, GBPosition pos) -> bool -SetItemPosition(size_t index, GBPosition pos) -> bool""" + """ + SetItemPosition(Window window, GBPosition pos) -> bool + SetItemPosition(Sizer sizer, GBPosition pos) -> bool + SetItemPosition(size_t index, GBPosition pos) -> bool + """ return _core.GridBagSizer_SetItemPosition(*args) def GetItemSpan(*args): - """GetItemSpan(Window window) -> GBSpan -GetItemSpan(Sizer sizer) -> GBSpan -GetItemSpan(size_t index) -> GBSpan""" + """ + GetItemSpan(Window window) -> GBSpan + GetItemSpan(Sizer sizer) -> GBSpan + GetItemSpan(size_t index) -> GBSpan + """ return _core.GridBagSizer_GetItemSpan(*args) def SetItemSpan(*args): - """SetItemSpan(Window window, GBSpan span) -> bool -SetItemSpan(Sizer sizer, GBSpan span) -> bool -SetItemSpan(size_t index, GBSpan span) -> bool""" + """ + SetItemSpan(Window window, GBSpan span) -> bool + SetItemSpan(Sizer sizer, GBSpan span) -> bool + SetItemSpan(size_t index, GBSpan span) -> bool + """ return _core.GridBagSizer_SetItemSpan(*args) def FindItem(*args): - """FindItem(Window window) -> GBSizerItem -FindItem(Sizer sizer) -> GBSizerItem""" + """ + FindItem(Window window) -> GBSizerItem + FindItem(Sizer sizer) -> GBSizerItem + """ return _core.GridBagSizer_FindItem(*args) def FindItemAtPosition(*args, **kwargs): @@ -7513,8 +7736,10 @@ FindItem(Sizer sizer) -> GBSizerItem""" return _core.GridBagSizer_CalcMin(*args, **kwargs) def CheckForIntersection(*args): - """CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool -CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool""" + """ + CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -> bool + CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool + """ return _core.GridBagSizer_CheckForIntersection(*args) @@ -7547,13 +7772,14 @@ RightOf = _core.RightOf SameAs = _core.SameAs Absolute = _core.Absolute class IndividualLayoutConstraint(Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxIndividualLayoutConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Set(*args, **kwargs): - """Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, - int marg=wxLAYOUT_DEFAULT_MARGIN)""" + """ + Set(wxRelationship rel, Window otherW, wxEdge otherE, int val=0, + int marg=wxLAYOUT_DEFAULT_MARGIN) + """ return _core.IndividualLayoutConstraint_Set(*args, **kwargs) def LeftOf(*args, **kwargs): @@ -7665,7 +7891,6 @@ class IndividualLayoutConstraintPtr(IndividualLayoutConstraint): _core.IndividualLayoutConstraint_swigregister(IndividualLayoutConstraintPtr) class LayoutConstraints(Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) left = property(_core.LayoutConstraints_left_get) diff --git a/wxPython/src/gtk/gdi.py b/wxPython/src/gtk/gdi.py index 0665d78ca0..18b5466bb8 100644 --- a/wxPython/src/gtk/gdi.py +++ b/wxPython/src/gtk/gdi.py @@ -8,7 +8,6 @@ wx = core #--------------------------------------------------------------------------- class GDIObject(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -46,7 +45,6 @@ _gdi.GDIObject_swigregister(GDIObjectPtr) #--------------------------------------------------------------------------- class Colour(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColour instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -126,7 +124,6 @@ def ColourRGB(*args, **kwargs): return val class Palette(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -165,7 +162,6 @@ _gdi.Palette_swigregister(PalettePtr) #--------------------------------------------------------------------------- class Pen(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -242,7 +238,6 @@ class PenPtr(Pen): _gdi.Pen_swigregister(PenPtr) class PyPen(Pen): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -273,14 +268,18 @@ Pen = PyPen #--------------------------------------------------------------------------- class Brush(GDIObject): - """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.""" + """ + 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. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Colour colour, int style=SOLID) -> Brush + """ + __init__(Colour colour, int style=SOLID) -> Brush -Constructs a brush from a colour object and style.""" + Constructs a brush from a colour object and style. + """ newobj = _gdi.new_Brush(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -329,13 +328,14 @@ class BrushPtr(Brush): _gdi.Brush_swigregister(BrushPtr) class Bitmap(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap + """ + __init__(wxString name, wxBitmapType type=BITMAP_TYPE_ANY) -> Bitmap -Loads a bitmap from a file.""" + Loads a bitmap from a file. + """ newobj = _gdi.new_Bitmap(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -351,68 +351,88 @@ Loads a bitmap from a file.""" return _gdi.Bitmap_Ok(*args, **kwargs) def GetWidth(*args, **kwargs): - """GetWidth() -> int + """ + GetWidth() -> int -Gets the width of the bitmap in pixels.""" + Gets the width of the bitmap in pixels. + """ return _gdi.Bitmap_GetWidth(*args, **kwargs) def GetHeight(*args, **kwargs): - """GetHeight() -> int + """ + GetHeight() -> int -Gets the height of the bitmap in pixels.""" + Gets the height of the bitmap in pixels. + """ return _gdi.Bitmap_GetHeight(*args, **kwargs) def GetDepth(*args, **kwargs): - """GetDepth() -> int + """ + GetDepth() -> int -Gets the colour depth of the bitmap. A value of 1 indicates a -monochrome bitmap.""" + Gets the colour depth of the bitmap. A value of 1 indicates a + monochrome bitmap. + """ return _gdi.Bitmap_GetDepth(*args, **kwargs) def ConvertToImage(*args, **kwargs): - """ConvertToImage() -> Image + """ + 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 -and forth without loss in that respect.""" + Creates a platform-independent image from a platform-dependent bitmap. This + preserves mask information so that bitmaps and images can be converted back + and forth without loss in that respect. + """ return _gdi.Bitmap_ConvertToImage(*args, **kwargs) def GetMask(*args, **kwargs): - """GetMask() -> Mask + """ + GetMask() -> Mask -Gets the associated mask (if any) which may have been loaded from a file -or explpicitly set for the bitmap.""" + Gets the associated mask (if any) which may have been loaded from a file + or explpicitly set for the bitmap. + """ return _gdi.Bitmap_GetMask(*args, **kwargs) def SetMask(*args, **kwargs): - """SetMask(Mask mask) + """ + SetMask(Mask mask) -Sets the mask for this bitmap.""" + Sets the mask for this bitmap. + """ return _gdi.Bitmap_SetMask(*args, **kwargs) def SetMaskColour(*args, **kwargs): - """SetMaskColour(Colour colour) + """ + SetMaskColour(Colour colour) -Create a Mask based on a specified colour in the Bitmap.""" + Create a Mask based on a specified colour in the Bitmap. + """ return _gdi.Bitmap_SetMaskColour(*args, **kwargs) def GetSubBitmap(*args, **kwargs): - """GetSubBitmap(Rect rect) -> 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.""" + 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. + """ return _gdi.Bitmap_GetSubBitmap(*args, **kwargs) def SaveFile(*args, **kwargs): - """SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool + """ + SaveFile(wxString name, wxBitmapType type, Palette palette=(wxPalette *) NULL) -> bool -Saves a bitmap in the named file.""" + Saves a bitmap in the named file. + """ return _gdi.Bitmap_SaveFile(*args, **kwargs) def LoadFile(*args, **kwargs): - """LoadFile(wxString name, wxBitmapType type) -> bool + """ + LoadFile(wxString name, wxBitmapType type) -> bool -Loads a bitmap from a file""" + Loads a bitmap from a file + """ return _gdi.Bitmap_LoadFile(*args, **kwargs) def CopyFromIcon(*args, **kwargs): @@ -420,21 +440,27 @@ Loads a bitmap from a file""" return _gdi.Bitmap_CopyFromIcon(*args, **kwargs) def SetHeight(*args, **kwargs): - """SetHeight(int height) + """ + SetHeight(int height) -Set the height property (does not affect the bitmap data).""" + Set the height property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetHeight(*args, **kwargs) def SetWidth(*args, **kwargs): - """SetWidth(int width) + """ + SetWidth(int width) -Set the width property (does not affect the bitmap data).""" + Set the width property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetWidth(*args, **kwargs) def SetDepth(*args, **kwargs): - """SetDepth(int depth) + """ + SetDepth(int depth) -Set the depth property (does not affect the bitmap data).""" + Set the depth property (does not affect the bitmap data). + """ return _gdi.Bitmap_SetDepth(*args, **kwargs) def __nonzero__(self): return self.Ok() @@ -447,64 +473,78 @@ class BitmapPtr(Bitmap): _gdi.Bitmap_swigregister(BitmapPtr) def EmptyBitmap(*args, **kwargs): - """EmptyBitmap(int width, int height, int depth=-1) -> Bitmap + """ + EmptyBitmap(int width, int height, int depth=-1) -> Bitmap -Creates a new bitmap of the given size. A depth of -1 indicates the depth of -the current screen or visual. Some platforms only support 1 for monochrome and --1 for the current colour setting.""" + Creates a new bitmap of the given size. A depth of -1 indicates the depth of + the current screen or visual. Some platforms only support 1 for monochrome and + -1 for the current colour setting. + """ val = _gdi.new_EmptyBitmap(*args, **kwargs) val.thisown = 1 return val def BitmapFromIcon(*args, **kwargs): - """BitmapFromIcon(Icon icon) -> Bitmap + """ + BitmapFromIcon(Icon icon) -> Bitmap -Create a new bitmap from an Icon object.""" + Create a new bitmap from an Icon object. + """ val = _gdi.new_BitmapFromIcon(*args, **kwargs) val.thisown = 1 return val def BitmapFromImage(*args, **kwargs): - """BitmapFromImage(Image image, int depth=-1) -> Bitmap - -Creates bitmap object from the image. This has to be done to actually display -an image as you cannot draw an image directly on a window. The resulting -bitmap will use the provided colour depth (or that of the current system if -depth is -1) which entails that a colour reduction has to take place.""" + """ + BitmapFromImage(Image image, int depth=-1) -> Bitmap + + Creates bitmap object from the image. This has to be done to actually display + an image as you cannot draw an image directly on a window. The resulting + bitmap will use the provided colour depth (or that of the current system if + depth is -1) which entails that a colour reduction has to take place. + """ val = _gdi.new_BitmapFromImage(*args, **kwargs) val.thisown = 1 return val def BitmapFromXPMData(*args, **kwargs): - """BitmapFromXPMData(PyObject listOfStrings) -> Bitmap + """ + BitmapFromXPMData(PyObject listOfStrings) -> Bitmap -Construct a Bitmap from a list of strings formatted as XPM data.""" + Construct a Bitmap from a list of strings formatted as XPM data. + """ val = _gdi.new_BitmapFromXPMData(*args, **kwargs) val.thisown = 1 return val def BitmapFromBits(*args, **kwargs): - """BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap - -Creates a bitmap from an array of bits. You should only use this function for -monochrome bitmaps (depth 1) in portable programs: in this case the bits -parameter should contain an XBM image. For other bit depths, the behaviour is -platform dependent.""" + """ + BitmapFromBits(PyObject bits, int width, int height, int depth=1) -> Bitmap + + Creates a bitmap from an array of bits. You should only use this function for + monochrome bitmaps (depth 1) in portable programs: in this case the bits + parameter should contain an XBM image. For other bit depths, the behaviour is + platform dependent. + """ val = _gdi.new_BitmapFromBits(*args, **kwargs) val.thisown = 1 return val class Mask(core.Object): - """This class encapsulates a monochrome mask bitmap, where the masked area is -black and the unmasked area is white. When associated with a bitmap and drawn -in a device context, the unmasked area of the bitmap will be drawn, and the -masked area will not be drawn.""" + """ + This class encapsulates a monochrome mask bitmap, where the masked area is + black and the unmasked area is white. When associated with a bitmap and drawn + in a device context, the unmasked area of the bitmap will be drawn, and the + masked area will not be drawn. + """ def __repr__(self): return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Bitmap bitmap) -> Mask + """ + __init__(Bitmap bitmap) -> Mask -Constructs a mask from a monochrome bitmap.""" + Constructs a mask from a monochrome bitmap. + """ newobj = _gdi.new_Mask(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -518,16 +558,17 @@ class MaskPtr(Mask): _gdi.Mask_swigregister(MaskPtr) def MaskColour(*args, **kwargs): - """MaskColour(Bitmap bitmap, Colour colour) -> Mask + """ + MaskColour(Bitmap bitmap, Colour colour) -> Mask -Constructs a mask from a bitmap and a colour in that bitmap that indicates the -background.""" + Constructs a mask from a bitmap and a colour in that bitmap that indicates the + background. + """ val = _gdi.new_MaskColour(*args, **kwargs) val.thisown = 1 return val class Icon(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -612,7 +653,6 @@ def IconFromXPMData(*args, **kwargs): return val class IconLocation(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -657,7 +697,6 @@ class IconLocationPtr(IconLocation): _gdi.IconLocation_swigregister(IconLocationPtr) class IconBundle(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -705,7 +744,6 @@ def IconBundleFromIcon(*args, **kwargs): return val class Cursor(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -746,8 +784,10 @@ def CursorFromImage(*args, **kwargs): return val def CursorFromBits(*args, **kwargs): - """CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, - int hotSpotY=-1, PyObject maskBits=0) -> Cursor""" + """ + CursorFromBits(PyObject bits, int width, int height, int hotSpotX=-1, + int hotSpotY=-1, PyObject maskBits=0) -> Cursor + """ val = _gdi.new_CursorFromBits(*args, **kwargs) val.thisown = 1 return val @@ -758,7 +798,6 @@ OutRegion = _gdi.OutRegion PartRegion = _gdi.PartRegion InRegion = _gdi.InRegion class Region(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -882,7 +921,6 @@ def RegionFromPoints(*args, **kwargs): return val class RegionIterator(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1035,7 +1073,6 @@ FONTENCODING_SHIFT_JIS = _gdi.FONTENCODING_SHIFT_JIS #--------------------------------------------------------------------------- class NativeFontInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1143,7 +1180,6 @@ class NativeFontInfoPtr(NativeFontInfo): _gdi.NativeFontInfo_swigregister(NativeFontInfoPtr) class NativeEncodingInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) facename = property(_gdi.NativeEncodingInfo_facename_get, _gdi.NativeEncodingInfo_facename_set) @@ -1187,7 +1223,6 @@ def TestFontEncoding(*args, **kwargs): #--------------------------------------------------------------------------- class FontMapper(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1250,8 +1285,10 @@ class FontMapper(object): GetDefaultConfigPath = staticmethod(GetDefaultConfigPath) def GetAltForEncoding(*args, **kwargs): - """GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, - bool interactive=True) -> PyObject""" + """ + GetAltForEncoding(wxFontEncoding encoding, wxString facename=wxPyEmptyString, + bool interactive=True) -> PyObject + """ return _gdi.FontMapper_GetAltForEncoding(*args, **kwargs) def IsEncodingAvailable(*args, **kwargs): @@ -1305,13 +1342,14 @@ def FontMapper_GetDefaultConfigPath(*args, **kwargs): #--------------------------------------------------------------------------- class Font(GDIObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int pointSize, int family, int style, int weight, bool underline=False, - wxString face=wxPyEmptyString, - wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + __init__(int pointSize, int family, int style, int weight, bool underline=False, + wxString face=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ newobj = _gdi.new_Font(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1470,8 +1508,10 @@ def FontFromNativeInfoString(*args, **kwargs): return val def Font2(*args, **kwargs): - """Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, - wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + Font2(int pointSize, wxFontFamily family, int flags=FONTFLAG_DEFAULT, + wxString face=wxPyEmptyString, wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ val = _gdi.new_Font2(*args, **kwargs) val.thisown = 1 return val @@ -1487,7 +1527,6 @@ def Font_SetDefaultEncoding(*args, **kwargs): #--------------------------------------------------------------------------- class FontEnumerator(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1766,7 +1805,6 @@ LANGUAGE_ZHUANG = _gdi.LANGUAGE_ZHUANG LANGUAGE_ZULU = _gdi.LANGUAGE_ZULU LANGUAGE_USER_DEFINED = _gdi.LANGUAGE_USER_DEFINED class LanguageInfo(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1790,7 +1828,6 @@ LOCALE_DECIMAL_POINT = _gdi.LOCALE_DECIMAL_POINT LOCALE_LOAD_DEFAULT = _gdi.LOCALE_LOAD_DEFAULT LOCALE_CONV_ENCODING = _gdi.LOCALE_CONV_ENCODING class Locale(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1806,9 +1843,11 @@ class Locale(object): except: pass def Init1(*args, **kwargs): - """Init1(wxString szName, wxString szShort=wxPyEmptyString, - wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, - bool bConvertEncoding=False) -> bool""" + """ + Init1(wxString szName, wxString szShort=wxPyEmptyString, + wxString szLocale=wxPyEmptyString, bool bLoadDefault=True, + bool bConvertEncoding=False) -> bool + """ return _gdi.Locale_Init1(*args, **kwargs) def Init2(*args, **kwargs): @@ -1953,7 +1992,6 @@ PLATFORM_WINDOWS = _gdi.PLATFORM_WINDOWS PLATFORM_OS2 = _gdi.PLATFORM_OS2 PLATFORM_MAC = _gdi.PLATFORM_MAC class EncodingConverter(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1969,8 +2007,10 @@ class EncodingConverter(core.Object): except: pass def Init(*args, **kwargs): - """Init(wxFontEncoding input_enc, wxFontEncoding output_enc, - int method=CONVERT_STRICT) -> bool""" + """ + Init(wxFontEncoding input_enc, wxFontEncoding output_enc, + int method=CONVERT_STRICT) -> bool + """ return _gdi.EncodingConverter_Init(*args, **kwargs) def Convert(*args, **kwargs): @@ -2002,8 +2042,10 @@ class EncodingConverterPtr(EncodingConverter): _gdi.EncodingConverter_swigregister(EncodingConverterPtr) def GetTranslation(*args): - """GetTranslation(wxString sz) -> wxString -GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString""" + """ + GetTranslation(wxString sz) -> wxString + GetTranslation(wxString sz1, wxString sz2, size_t n) -> wxString + """ return _gdi.GetTranslation(*args) def EncodingConverter_GetPlatformEquivalents(*args, **kwargs): @@ -2041,7 +2083,6 @@ if wx.Platform == "__WXMSW__": #--------------------------------------------------------------------------- class DC(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2200,14 +2241,18 @@ class DC(core.Object): return _gdi.DC_DrawRotatedText(*args, **kwargs) def BlitXY(*args, **kwargs): - """BlitXY(int xdest, int ydest, int width, int height, DC source, - int xsrc, int ysrc, int rop=COPY, bool useMask=False, - int xsrcMask=-1, int ysrcMask=-1) -> bool""" + """ + BlitXY(int xdest, int ydest, int width, int height, DC source, + int xsrc, int ysrc, int rop=COPY, bool useMask=False, + int xsrcMask=-1, int ysrcMask=-1) -> bool + """ return _gdi.DC_BlitXY(*args, **kwargs) def Blit(*args, **kwargs): - """Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, - bool useMask=False, Point srcPtMask=DefaultPosition) -> bool""" + """ + Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, + bool useMask=False, Point srcPtMask=DefaultPosition) -> bool + """ return _gdi.DC_Blit(*args, **kwargs) def DrawLines(*args, **kwargs): @@ -2215,18 +2260,24 @@ class DC(core.Object): return _gdi.DC_DrawLines(*args, **kwargs) def DrawPolygon(*args, **kwargs): - """DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, - int fillStyle=ODDEVEN_RULE)""" + """ + DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, + int fillStyle=ODDEVEN_RULE) + """ return _gdi.DC_DrawPolygon(*args, **kwargs) def DrawLabel(*args, **kwargs): - """DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, - int indexAccel=-1)""" + """ + DrawLabel(wxString text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) + """ return _gdi.DC_DrawLabel(*args, **kwargs) def DrawImageLabel(*args, **kwargs): - """DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, - int indexAccel=-1) -> Rect""" + """ + DrawImageLabel(wxString text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, + int indexAccel=-1) -> Rect + """ return _gdi.DC_DrawImageLabel(*args, **kwargs) def DrawSpline(*args, **kwargs): @@ -2310,50 +2361,64 @@ class DC(core.Object): return _gdi.DC_GetCharWidth(*args, **kwargs) def GetTextExtent(*args, **kwargs): - """GetTextExtent(wxString string) -> (width, height) + """ + GetTextExtent(wxString string) -> (width, height) -Get the width and height of the text using the current font. -Only works for single line strings.""" + Get the width and height of the text using the current font. + Only works for single line strings. + """ return _gdi.DC_GetTextExtent(*args, **kwargs) def GetFullTextExtent(*args, **kwargs): - """GetFullTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + 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.""" + Get the width, height, decent and leading of the text using the current or specified font. + Only works for single line strings. + """ return _gdi.DC_GetFullTextExtent(*args, **kwargs) def GetMultiLineTextExtent(*args, **kwargs): - """GetMultiLineTextExtent(wxString string, Font font=None) -> - (width, height, descent, externalLeading) + """ + 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.""" + 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. + """ return _gdi.DC_GetMultiLineTextExtent(*args, **kwargs) def GetSize(*args, **kwargs): - """GetSize() -> Size + """ + GetSize() -> Size -Get the DC size in device units.""" + Get the DC size in device units. + """ return _gdi.DC_GetSize(*args, **kwargs) def GetSizeTuple(*args, **kwargs): - """GetSizeTuple() -> (width, height) + """ + GetSizeTuple() -> (width, height) -Get the DC size in device units.""" + Get the DC size in device units. + """ return _gdi.DC_GetSizeTuple(*args, **kwargs) def GetSizeMM(*args, **kwargs): - """GetSizeMM() -> Size + """ + GetSizeMM() -> Size -Get the DC size in milimeters.""" + Get the DC size in milimeters. + """ return _gdi.DC_GetSizeMM(*args, **kwargs) def GetSizeMMTuple(*args, **kwargs): - """GetSizeMMTuple() -> (width, height) + """ + GetSizeMMTuple() -> (width, height) -Get the DC size in milimeters.""" + Get the DC size in milimeters. + """ return _gdi.DC_GetSizeMMTuple(*args, **kwargs) def DeviceToLogicalX(*args, **kwargs): @@ -2562,8 +2627,10 @@ Get the DC size in milimeters.""" return _gdi.DC__DrawPolygonList(*args, **kwargs) def _DrawTextList(*args, **kwargs): - """_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, - PyObject backgroundList) -> PyObject""" + """ + _DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, + PyObject backgroundList) -> PyObject + """ return _gdi.DC__DrawTextList(*args, **kwargs) def DrawPointList(self, points, pens=None): @@ -2669,7 +2736,6 @@ _gdi.DC_swigregister(DCPtr) #--------------------------------------------------------------------------- class MemoryDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2699,7 +2765,6 @@ def MemoryDCFromDC(*args, **kwargs): #--------------------------------------------------------------------------- class BufferedDC(MemoryDC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2730,7 +2795,6 @@ def BufferedDCInternalBuffer(*args, **kwargs): return val class BufferedPaintDC(BufferedDC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2750,7 +2814,6 @@ _gdi.BufferedPaintDC_swigregister(BufferedPaintDCPtr) #--------------------------------------------------------------------------- class ScreenDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2782,7 +2845,6 @@ _gdi.ScreenDC_swigregister(ScreenDCPtr) #--------------------------------------------------------------------------- class ClientDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2802,7 +2864,6 @@ _gdi.ClientDC_swigregister(ClientDCPtr) #--------------------------------------------------------------------------- class PaintDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2822,7 +2883,6 @@ _gdi.PaintDC_swigregister(PaintDCPtr) #--------------------------------------------------------------------------- class WindowDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2842,7 +2902,6 @@ _gdi.WindowDC_swigregister(WindowDCPtr) #--------------------------------------------------------------------------- class MirrorDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2862,7 +2921,6 @@ _gdi.MirrorDC_swigregister(MirrorDCPtr) #--------------------------------------------------------------------------- class PostScriptDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2908,7 +2966,6 @@ def PostScriptDC_GetResolution(*args, **kwargs): #--------------------------------------------------------------------------- class MetaFile(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2926,12 +2983,13 @@ class MetaFilePtr(MetaFile): _gdi.MetaFile_swigregister(MetaFilePtr) class MetaFileDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString filename=wxPyEmptyString, int width=0, int height=0, - wxString description=wxPyEmptyString) -> MetaFileDC""" + """ + __init__(wxString filename=wxPyEmptyString, int width=0, int height=0, + wxString description=wxPyEmptyString) -> MetaFileDC + """ newobj = _gdi.new_MetaFileDC(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2945,7 +3003,6 @@ class MetaFileDCPtr(MetaFileDC): _gdi.MetaFileDC_swigregister(MetaFileDCPtr) class PrinterDC(DC): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2972,7 +3029,6 @@ IMAGE_LIST_NORMAL = _gdi.IMAGE_LIST_NORMAL IMAGE_LIST_SMALL = _gdi.IMAGE_LIST_SMALL IMAGE_LIST_STATE = _gdi.IMAGE_LIST_STATE class ImageList(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3004,8 +3060,10 @@ class ImageList(core.Object): return _gdi.ImageList_Replace(*args, **kwargs) def Draw(*args, **kwargs): - """Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, - bool solidBackground=False) -> bool""" + """ + Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, + bool solidBackground=False) -> bool + """ return _gdi.ImageList_Draw(*args, **kwargs) def GetImageCount(*args, **kwargs): @@ -3035,7 +3093,6 @@ _gdi.ImageList_swigregister(ImageListPtr) #--------------------------------------------------------------------------- class PenList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3064,7 +3121,6 @@ class PenListPtr(PenList): _gdi.PenList_swigregister(PenListPtr) class BrushList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3093,7 +3149,6 @@ class BrushListPtr(BrushList): _gdi.BrushList_swigregister(BrushListPtr) class ColourDatabase(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3134,7 +3189,6 @@ class ColourDatabasePtr(ColourDatabase): _gdi.ColourDatabase_swigregister(ColourDatabasePtr) class FontList(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3143,9 +3197,11 @@ class FontList(core.Object): return _gdi.FontList_AddFont(*args, **kwargs) def FindOrCreateFont(*args, **kwargs): - """FindOrCreateFont(int point_size, int family, int style, int weight, - bool underline=False, wxString facename=wxPyEmptyString, - wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font""" + """ + FindOrCreateFont(int point_size, int family, int style, int weight, + bool underline=False, wxString facename=wxPyEmptyString, + wxFontEncoding encoding=FONTENCODING_DEFAULT) -> Font + """ return _gdi.FontList_FindOrCreateFont(*args, **kwargs) def RemoveFont(*args, **kwargs): @@ -3169,7 +3225,6 @@ _gdi.FontList_swigregister(FontListPtr) #--------------------------------------------------------------------------- class Effects(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3219,8 +3274,10 @@ class Effects(core.Object): return _gdi.Effects_SetDarkShadow(*args, **kwargs) def Set(*args, **kwargs): - """Set(Colour highlightColour, Colour lightShadow, Colour faceColour, - Colour mediumShadow, Colour darkShadow)""" + """ + Set(Colour highlightColour, Colour lightShadow, Colour faceColour, + Colour mediumShadow, Colour darkShadow) + """ return _gdi.Effects_Set(*args, **kwargs) def DrawSunkenEdge(*args, **kwargs): diff --git a/wxPython/src/gtk/grid.py b/wxPython/src/gtk/grid.py index 0cc50a9b02..5874da0dbc 100644 --- a/wxPython/src/gtk/grid.py +++ b/wxPython/src/gtk/grid.py @@ -16,7 +16,6 @@ GRID_VALUE_LONG = _grid.GRID_VALUE_LONG GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME class GridCellRenderer(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -37,8 +36,10 @@ class GridCellRenderer(object): return _grid.GridCellRenderer_DecRef(*args, **kwargs) def Draw(*args, **kwargs): - """Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, - int col, bool isSelected)""" + """ + Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, + int col, bool isSelected) + """ return _grid.GridCellRenderer_Draw(*args, **kwargs) def GetBestSize(*args, **kwargs): @@ -61,7 +62,6 @@ GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect class PyGridCellRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -89,7 +89,6 @@ class PyGridCellRendererPtr(PyGridCellRenderer): _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) class GridCellStringRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -109,7 +108,6 @@ class GridCellStringRendererPtr(GridCellStringRenderer): _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) class GridCellNumberRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -129,7 +127,6 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer): _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) class GridCellFloatRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -165,7 +162,6 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer): _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) class GridCellBoolRenderer(GridCellRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -185,7 +181,6 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer): _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) class GridCellDateTimeRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -205,7 +200,6 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) class GridCellEnumRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -225,7 +219,6 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer): _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) class GridCellAutoWrapStringRenderer(GridCellStringRenderer): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -245,7 +238,6 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) class GridCellEditor(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -346,7 +338,6 @@ class GridCellEditorPtr(GridCellEditor): _grid.GridCellEditor_swigregister(GridCellEditorPtr) class PyGridCellEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -406,7 +397,6 @@ class PyGridCellEditorPtr(PyGridCellEditor): _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) class GridCellTextEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -430,7 +420,6 @@ class GridCellTextEditorPtr(GridCellTextEditor): _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) class GridCellNumberEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -454,7 +443,6 @@ class GridCellNumberEditorPtr(GridCellNumberEditor): _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) class GridCellFloatEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -478,7 +466,6 @@ class GridCellFloatEditorPtr(GridCellFloatEditor): _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) class GridCellBoolEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -502,7 +489,6 @@ class GridCellBoolEditorPtr(GridCellBoolEditor): _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) class GridCellChoiceEditor(GridCellEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -526,7 +512,6 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor): _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) class GridCellEnumEditor(GridCellChoiceEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -550,7 +535,6 @@ class GridCellEnumEditorPtr(GridCellEnumEditor): _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) class GridCellAutoWrapStringEditor(GridCellTextEditor): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -574,7 +558,6 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) class GridCellAttr(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Any = _grid.GridCellAttr_Any @@ -732,7 +715,6 @@ class GridCellAttrPtr(GridCellAttr): _grid.GridCellAttr_swigregister(GridCellAttrPtr) class GridCellAttrProvider(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -780,7 +762,6 @@ class GridCellAttrProviderPtr(GridCellAttrProvider): _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) class PyGridCellAttrProvider(GridCellAttrProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -820,7 +801,6 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) class GridTableBase(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -973,7 +953,6 @@ class GridTableBasePtr(GridTableBase): _grid.GridTableBase_swigregister(GridTableBasePtr) class PyGridTableBase(GridTableBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -989,9 +968,11 @@ class PyGridTableBase(GridTableBase): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + Deletes the C++ object this Python object is a proxy for. + """ return _grid.PyGridTableBase_Destroy(*args, **kwargs) def base_GetTypeName(*args, **kwargs): @@ -1079,7 +1060,6 @@ class PyGridTableBasePtr(PyGridTableBase): _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) class GridStringTable(GridTableBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1107,7 +1087,6 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED class GridTableMessage(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1163,7 +1142,6 @@ class GridTableMessagePtr(GridTableMessage): _grid.GridTableMessage_swigregister(GridTableMessagePtr) class GridCellCoords(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1228,13 +1206,14 @@ class GridCellCoordsPtr(GridCellCoords): _grid.GridCellCoords_swigregister(GridCellCoordsPtr) class Grid(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=WANTS_CHARS, - wxString name=PanelNameStr) -> Grid""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=WANTS_CHARS, + wxString name=PanelNameStr) -> Grid + """ newobj = _grid.new_Grid(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1309,8 +1288,10 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_DrawCellHighlight(*args, **kwargs) def DrawTextRectangle(*args, **kwargs): - """DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, - int verticalAlignment=TOP, int textOrientation=HORIZONTAL)""" + """ + DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, + int verticalAlignment=TOP, int textOrientation=HORIZONTAL) + """ return _grid.Grid_DrawTextRectangle(*args, **kwargs) def GetTextBoxSize(*args, **kwargs): @@ -1886,8 +1867,10 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_SelectCol(*args, **kwargs) def SelectBlock(*args, **kwargs): - """SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, - bool addToSelected=False)""" + """ + SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, + bool addToSelected=False) + """ return _grid.Grid_SelectBlock(*args, **kwargs) def SelectAll(*args, **kwargs): @@ -2007,14 +1990,15 @@ class GridPtr(Grid): _grid.Grid_swigregister(GridPtr) class GridEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, - int x=-1, int y=-1, bool sel=True, bool control=False, - bool shift=False, bool alt=False, - bool meta=False) -> GridEvent""" + """ + __init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, + int x=-1, int y=-1, bool sel=True, bool control=False, + bool shift=False, bool alt=False, + bool meta=False) -> GridEvent + """ newobj = _grid.new_GridEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2060,13 +2044,14 @@ class GridEventPtr(GridEvent): _grid.GridEvent_swigregister(GridEventPtr) class GridSizeEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, - int x=-1, int y=-1, bool control=False, bool shift=False, - bool alt=False, bool meta=False) -> GridSizeEvent""" + """ + __init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, + int x=-1, int y=-1, bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridSizeEvent + """ newobj = _grid.new_GridSizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2104,14 +2089,15 @@ class GridSizeEventPtr(GridSizeEvent): _grid.GridSizeEvent_swigregister(GridSizeEventPtr) class GridRangeSelectEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, - GridCellCoords bottomRight, bool sel=True, - bool control=False, bool shift=False, - bool alt=False, bool meta=False) -> GridRangeSelectEvent""" + """ + __init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, + GridCellCoords bottomRight, bool sel=True, + bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridRangeSelectEvent + """ newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2169,12 +2155,13 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent): _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) class GridEditorCreatedEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(int id, wxEventType type, Object obj, int row, int col, - Control ctrl) -> GridEditorCreatedEvent""" + """ + __init__(int id, wxEventType type, Object obj, int row, int col, + Control ctrl) -> GridEditorCreatedEvent + """ newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 diff --git a/wxPython/src/gtk/grid_wrap.cpp b/wxPython/src/gtk/grid_wrap.cpp index 91918b230e..50d01b6ee5 100644 --- a/wxPython/src/gtk/grid_wrap.cpp +++ b/wxPython/src/gtk/grid_wrap.cpp @@ -14784,9 +14784,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -14796,6 +14793,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/gtk/html.py b/wxPython/src/gtk/html.py index 3f585bcc02..8bc9e84430 100644 --- a/wxPython/src/gtk/html.py +++ b/wxPython/src/gtk/html.py @@ -45,7 +45,6 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE HTML_URL_IMAGE = _html.HTML_URL_IMAGE HTML_URL_OTHER = _html.HTML_URL_OTHER class HtmlLinkInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -87,7 +86,6 @@ class HtmlLinkInfoPtr(HtmlLinkInfo): _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) class HtmlTag(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -132,7 +130,6 @@ class HtmlTagPtr(HtmlTag): _html.HtmlTag_swigregister(HtmlTagPtr) class HtmlParser(core.Object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -189,7 +186,6 @@ class HtmlParserPtr(HtmlParser): _html.HtmlParser_swigregister(HtmlParserPtr) class HtmlWinParser(HtmlParser): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -323,7 +319,6 @@ class HtmlWinParserPtr(HtmlWinParser): _html.HtmlWinParser_swigregister(HtmlWinParserPtr) class HtmlTagHandler(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -359,7 +354,6 @@ class HtmlTagHandlerPtr(HtmlTagHandler): _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) class HtmlWinTagHandler(HtmlTagHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -401,7 +395,6 @@ def HtmlWinParser_AddTagHandler(*args, **kwargs): #--------------------------------------------------------------------------- class HtmlSelection(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -476,7 +469,6 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT HTML_SEL_IN = _html.HTML_SEL_IN HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING class HtmlRenderingState(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -524,7 +516,6 @@ class HtmlRenderingStatePtr(HtmlRenderingState): _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) class HtmlRenderingStyle(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -545,7 +536,6 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle): _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) class DefaultHtmlRenderingStyle(HtmlRenderingStyle): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -566,7 +556,6 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) class HtmlRenderingInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -615,7 +604,6 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER class HtmlCell(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -753,7 +741,6 @@ class HtmlCellPtr(HtmlCell): _html.HtmlCell_swigregister(HtmlCellPtr) class HtmlWordCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -771,7 +758,6 @@ class HtmlWordCellPtr(HtmlWordCell): _html.HtmlWordCell_swigregister(HtmlWordCellPtr) class HtmlContainerCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -853,7 +839,6 @@ class HtmlContainerCellPtr(HtmlContainerCell): _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) class HtmlColourCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -871,7 +856,6 @@ class HtmlColourCellPtr(HtmlColourCell): _html.HtmlColourCell_swigregister(HtmlColourCellPtr) class HtmlFontCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -889,7 +873,6 @@ class HtmlFontCellPtr(HtmlFontCell): _html.HtmlFontCell_swigregister(HtmlFontCellPtr) class HtmlWidgetCell(HtmlCell): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -909,7 +892,6 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) #--------------------------------------------------------------------------- class HtmlFilter(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -935,13 +917,14 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr) #--------------------------------------------------------------------------- class HtmlWindow(windows.ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, int style=HW_DEFAULT_STYLE, - wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_DEFAULT_STYLE, + wxString name=wxPyHtmlWindowNameStr) -> HtmlWindow + """ newobj = _html.new_HtmlWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -949,9 +932,11 @@ class HtmlWindow(windows.ScrolledWindow): self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, - wxString name=wxPyHtmlWindowNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, + wxString name=wxPyHtmlWindowNameStr) -> bool + """ return _html.HtmlWindow_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): @@ -1096,7 +1081,6 @@ def HtmlWindow_AddFilter(*args, **kwargs): #--------------------------------------------------------------------------- class HtmlDCRenderer(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1128,8 +1112,10 @@ class HtmlDCRenderer(core.Object): return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) def Render(*args, **kwargs): - """Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, - int choices=None, int LCOUNT=0) -> int""" + """ + Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, + int choices=None, int LCOUNT=0) -> int + """ return _html.HtmlDCRenderer_Render(*args, **kwargs) def GetTotalHeight(*args, **kwargs): @@ -1148,7 +1134,6 @@ PAGE_ODD = _html.PAGE_ODD PAGE_EVEN = _html.PAGE_EVEN PAGE_ALL = _html.PAGE_ALL class HtmlPrintout(windows.Printout): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1178,8 +1163,10 @@ class HtmlPrintout(windows.Printout): return _html.HtmlPrintout_SetFonts(*args, **kwargs) def SetMargins(*args, **kwargs): - """SetMargins(float top=25.2, float bottom=25.2, float left=25.2, - float right=25.2, float spaces=5)""" + """ + SetMargins(float top=25.2, float bottom=25.2, float left=25.2, + float right=25.2, float spaces=5) + """ return _html.HtmlPrintout_SetMargins(*args, **kwargs) def AddFilter(*args, **kwargs): @@ -1209,7 +1196,6 @@ def HtmlPrintout_CleanUpStatics(*args, **kwargs): return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) class HtmlEasyPrinting(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1279,12 +1265,13 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) #--------------------------------------------------------------------------- class HtmlBookRecord(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString bookfile, wxString basepath, wxString title, - wxString start) -> HtmlBookRecord""" + """ + __init__(wxString bookfile, wxString basepath, wxString title, + wxString start) -> HtmlBookRecord + """ newobj = _html.new_HtmlBookRecord(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1342,7 +1329,6 @@ class HtmlBookRecordPtr(HtmlBookRecord): _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) class HtmlContentsItem(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1375,7 +1361,6 @@ class HtmlContentsItemPtr(HtmlContentsItem): _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) class HtmlSearchStatus(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -1412,7 +1397,6 @@ class HtmlSearchStatusPtr(HtmlSearchStatus): _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) class HtmlHelpData(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1472,12 +1456,13 @@ class HtmlHelpDataPtr(HtmlHelpData): _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) class HtmlHelpFrame(windows.Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int ??, wxString title=wxPyEmptyString, - int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame""" + """ + __init__(Window parent, int ??, wxString title=wxPyEmptyString, + int style=HF_DEFAULTSTYLE, HtmlHelpData data=None) -> HtmlHelpFrame + """ newobj = _html.new_HtmlHelpFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1542,7 +1527,6 @@ HF_OPENFILES = _html.HF_OPENFILES HF_PRINT = _html.HF_PRINT HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE class HtmlHelpController(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): diff --git a/wxPython/src/gtk/html_wrap.cpp b/wxPython/src/gtk/html_wrap.cpp index ad01de3dec..78f5953e24 100644 --- a/wxPython/src/gtk/html_wrap.cpp +++ b/wxPython/src/gtk/html_wrap.cpp @@ -10186,9 +10186,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -10198,6 +10195,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } diff --git a/wxPython/src/gtk/misc.py b/wxPython/src/gtk/misc.py index 26f8536762..2c7f424821 100644 --- a/wxPython/src/gtk/misc.py +++ b/wxPython/src/gtk/misc.py @@ -99,7 +99,6 @@ SYS_SCREEN_PDA = _misc.SYS_SCREEN_PDA SYS_SCREEN_SMALL = _misc.SYS_SCREEN_SMALL SYS_SCREEN_DESKTOP = _misc.SYS_SCREEN_DESKTOP class SystemSettings(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -166,7 +165,6 @@ def SystemSettings_SetScreenType(*args, **kwargs): return _misc.SystemSettings_SetScreenType(*args, **kwargs) class SystemOptions(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -346,65 +344,85 @@ def Trap(*args, **kwargs): return _misc.Trap(*args, **kwargs) def FileSelector(*args, **kwargs): - """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, - wxString default_filename=wxPyEmptyString, - wxString default_extension=wxPyEmptyString, - wxString wildcard=wxPyFileSelectorDefaultWildcardStr, - int flags=0, - Window parent=None, int x=-1, int y=-1) -> wxString""" + """ + FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, + wxString default_filename=wxPyEmptyString, + wxString default_extension=wxPyEmptyString, + wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + int flags=0, + Window parent=None, int x=-1, int y=-1) -> wxString + """ return _misc.FileSelector(*args, **kwargs) def LoadFileSelector(*args, **kwargs): - """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString + """ return _misc.LoadFileSelector(*args, **kwargs) def SaveFileSelector(*args, **kwargs): - """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, + Window parent=None) -> wxString + """ return _misc.SaveFileSelector(*args, **kwargs) def DirSelector(*args, **kwargs): - """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, - long style=DD_DEFAULT_STYLE, - Point pos=DefaultPosition, Window parent=None) -> wxString""" + """ + DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, + long style=DD_DEFAULT_STYLE, + Point pos=DefaultPosition, Window parent=None) -> wxString + """ return _misc.DirSelector(*args, **kwargs) def GetTextFromUser(*args, **kwargs): - """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None, - int x=-1, int y=-1, bool centre=True) -> wxString""" + """ + GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None, + int x=-1, int y=-1, bool centre=True) -> wxString + """ return _misc.GetTextFromUser(*args, **kwargs) def GetPasswordFromUser(*args, **kwargs): - """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None) -> wxString""" + """ + GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, + wxString default_value=wxPyEmptyString, Window parent=None) -> wxString + """ return _misc.GetPasswordFromUser(*args, **kwargs) def GetSingleChoice(*args, **kwargs): - """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> wxString""" + """ + GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> wxString + """ return _misc.GetSingleChoice(*args, **kwargs) def GetSingleChoiceIndex(*args, **kwargs): - """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> int""" + """ + GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, + int height=200) -> int + """ return _misc.GetSingleChoiceIndex(*args, **kwargs) def MessageBox(*args, **kwargs): - """MessageBox(wxString message, wxString caption=wxPyEmptyString, - int style=wxOK|wxCENTRE, Window parent=None, - int x=-1, int y=-1) -> int""" + """ + MessageBox(wxString message, wxString caption=wxPyEmptyString, + int style=wxOK|wxCENTRE, Window parent=None, + int x=-1, int y=-1) -> int + """ return _misc.MessageBox(*args, **kwargs) def GetNumberFromUser(*args, **kwargs): - """GetNumberFromUser(wxString message, wxString prompt, wxString caption, - long value, long min=0, long max=100, Window parent=None, - Point pos=DefaultPosition) -> long""" + """ + GetNumberFromUser(wxString message, wxString prompt, wxString caption, + long value, long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long + """ return _misc.GetNumberFromUser(*args, **kwargs) def ColourDisplay(*args, **kwargs): @@ -479,7 +497,6 @@ def MutexGuiLeave(*args, **kwargs): """MutexGuiLeave()""" return _misc.MutexGuiLeave(*args, **kwargs) class MutexGuiLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -509,7 +526,6 @@ def Thread_IsMain(*args, **kwargs): #--------------------------------------------------------------------------- class ToolTip(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -557,7 +573,6 @@ def ToolTip_SetDelay(*args, **kwargs): return _misc.ToolTip_SetDelay(*args, **kwargs) class Caret(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -642,7 +657,6 @@ def Caret_SetBlinkTime(*args, **kwargs): """Caret_SetBlinkTime(int milliseconds)""" return _misc.Caret_SetBlinkTime(*args, **kwargs) class BusyCursor(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -666,7 +680,6 @@ class BusyCursorPtr(BusyCursor): _misc.BusyCursor_swigregister(BusyCursorPtr) class WindowDisabler(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -690,7 +703,6 @@ class WindowDisablerPtr(WindowDisabler): _misc.WindowDisabler_swigregister(WindowDisablerPtr) class BusyInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -714,7 +726,6 @@ class BusyInfoPtr(BusyInfo): _misc.BusyInfo_swigregister(BusyInfoPtr) class StopWatch(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -748,7 +759,6 @@ class StopWatchPtr(StopWatch): _misc.StopWatch_swigregister(StopWatchPtr) class FileHistory(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -816,7 +826,6 @@ class FileHistoryPtr(FileHistory): _misc.FileHistory_swigregister(FileHistoryPtr) class SingleInstanceChecker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -860,7 +869,6 @@ def DrawWindowOnDC(*args, **kwargs): #--------------------------------------------------------------------------- class TipProvider(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -891,7 +899,6 @@ class TipProviderPtr(TipProvider): _misc.TipProvider_swigregister(TipProviderPtr) class PyTipProvider(TipProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -926,7 +933,6 @@ TIMER_CONTINUOUS = _misc.TIMER_CONTINUOUS TIMER_ONE_SHOT = _misc.TIMER_ONE_SHOT wxEVT_TIMER = _misc.wxEVT_TIMER class Timer(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -994,7 +1000,6 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) class TimerEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1016,12 +1021,13 @@ class TimerEventPtr(TimerEvent): _misc.TimerEvent_swigregister(TimerEventPtr) class TimerRunner(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): - """__init__(wxTimer timer) -> TimerRunner -__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner""" + """ + __init__(wxTimer timer) -> TimerRunner + __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner + """ newobj = _misc.new_TimerRunner(*args) self.this = newobj.this self.thisown = 1 @@ -1068,7 +1074,6 @@ TraceResAlloc = _misc.TraceResAlloc TraceRefCount = _misc.TraceRefCount TraceOleCalls = _misc.TraceOleCalls class Log(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1301,7 +1306,6 @@ def Log_TimeStamp(*args, **kwargs): return _misc.Log_TimeStamp(*args, **kwargs) class LogStderr(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1319,7 +1323,6 @@ class LogStderrPtr(LogStderr): _misc.LogStderr_swigregister(LogStderrPtr) class LogTextCtrl(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1337,7 +1340,6 @@ class LogTextCtrlPtr(LogTextCtrl): _misc.LogTextCtrl_swigregister(LogTextCtrlPtr) class LogGui(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1355,12 +1357,13 @@ class LogGuiPtr(LogGui): _misc.LogGui_swigregister(LogGuiPtr) class LogWindow(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxFrame pParent, wxString szTitle, bool bShow=True, - bool bPassToOld=True) -> LogWindow""" + """ + __init__(wxFrame pParent, wxString szTitle, bool bShow=True, + bool bPassToOld=True) -> LogWindow + """ newobj = _misc.new_LogWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1394,7 +1397,6 @@ class LogWindowPtr(LogWindow): _misc.LogWindow_swigregister(LogWindowPtr) class LogChain(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1492,7 +1494,6 @@ def SafeShowMessage(*args, **kwargs): """SafeShowMessage(wxString title, wxString text)""" return _misc.SafeShowMessage(*args, **kwargs) class LogNull(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1516,7 +1517,6 @@ class LogNullPtr(LogNull): _misc.LogNull_swigregister(LogNullPtr) class PyLog(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1566,7 +1566,6 @@ SIGPIPE = _misc.SIGPIPE SIGALRM = _misc.SIGALRM SIGTERM = _misc.SIGTERM class Process(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Kill(*args, **kwargs): @@ -1661,7 +1660,6 @@ def Process_Open(*args, **kwargs): return _misc.Process_Open(*args, **kwargs) class ProcessEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1709,7 +1707,6 @@ JOY_BUTTON2 = _misc.JOY_BUTTON2 JOY_BUTTON3 = _misc.JOY_BUTTON3 JOY_BUTTON4 = _misc.JOY_BUTTON4 class Joystick(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1906,7 +1903,6 @@ wxEVT_JOY_BUTTON_UP = _misc.wxEVT_JOY_BUTTON_UP wxEVT_JOY_MOVE = _misc.wxEVT_JOY_MOVE wxEVT_JOY_ZMOVE = _misc.wxEVT_JOY_ZMOVE class JoystickEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) m_pos = property(_misc.JoystickEvent_m_pos_get, _misc.JoystickEvent_m_pos_set) @@ -1915,8 +1911,10 @@ class JoystickEvent(core.Event): m_buttonState = property(_misc.JoystickEvent_m_buttonState_get, _misc.JoystickEvent_m_buttonState_set) m_joyStick = property(_misc.JoystickEvent_m_joyStick_get, _misc.JoystickEvent_m_joyStick_set) def __init__(self, *args, **kwargs): - """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, - int change=0) -> JoystickEvent""" + """ + __init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, + int change=0) -> JoystickEvent + """ newobj = _misc.new_JoystickEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2008,7 +2006,6 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, #--------------------------------------------------------------------------- class Wave(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2054,12 +2051,13 @@ MAILCAP_KDE = _misc.MAILCAP_KDE MAILCAP_GNOME = _misc.MAILCAP_GNOME MAILCAP_ALL = _misc.MAILCAP_ALL class FileTypeInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString mimeType, wxString openCmd, wxString printCmd, - wxString desc) -> FileTypeInfo""" + """ + __init__(wxString mimeType, wxString openCmd, wxString printCmd, + wxString desc) -> FileTypeInfo + """ newobj = _misc.new_FileTypeInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2133,7 +2131,6 @@ def NullFileTypeInfo(*args, **kwargs): return val class FileType(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2214,7 +2211,6 @@ def FileType_ExpandCommand(*args, **kwargs): return _misc.FileType_ExpandCommand(*args, **kwargs) class MimeTypesManager(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def IsOfType(*args, **kwargs): @@ -2291,7 +2287,6 @@ def MimeTypesManager_IsOfType(*args, **kwargs): #--------------------------------------------------------------------------- class ArtProvider(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2307,40 +2302,50 @@ class ArtProvider(object): return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) def PushProvider(*args, **kwargs): - """ArtProvider.PushProvider(ArtProvider provider) + """ + ArtProvider.PushProvider(ArtProvider provider) -Add new provider to the top of providers stack.""" + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) PushProvider = staticmethod(PushProvider) def PopProvider(*args, **kwargs): - """ArtProvider.PopProvider() -> bool + """ + ArtProvider.PopProvider() -> bool -Remove latest added provider and delete it.""" + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) PopProvider = staticmethod(PopProvider) def RemoveProvider(*args, **kwargs): - """ArtProvider.RemoveProvider(ArtProvider provider) -> bool + """ + ArtProvider.RemoveProvider(ArtProvider provider) -> bool -Remove provider. The provider must have been added previously! -The provider is _not_ deleted.""" + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) RemoveProvider = staticmethod(RemoveProvider) def GetBitmap(*args, **kwargs): - """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap + """ + ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap -Query the providers for bitmap with given ID and return it. Return -wx.NullBitmap if no provider provides it.""" + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) GetBitmap = staticmethod(GetBitmap) def GetIcon(*args, **kwargs): - """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon + """ + ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon -Query the providers for icon with given ID and return it. Return -wx.NullIcon if no provider provides it.""" + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) @@ -2395,36 +2400,46 @@ ART_INFORMATION = cvar.ART_INFORMATION ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE def ArtProvider_PushProvider(*args, **kwargs): - """ArtProvider_PushProvider(ArtProvider provider) + """ + ArtProvider_PushProvider(ArtProvider provider) -Add new provider to the top of providers stack.""" + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) def ArtProvider_PopProvider(*args, **kwargs): - """ArtProvider_PopProvider() -> bool + """ + ArtProvider_PopProvider() -> bool -Remove latest added provider and delete it.""" + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) def ArtProvider_RemoveProvider(*args, **kwargs): - """ArtProvider_RemoveProvider(ArtProvider provider) -> bool + """ + ArtProvider_RemoveProvider(ArtProvider provider) -> bool -Remove provider. The provider must have been added previously! -The provider is _not_ deleted.""" + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) def ArtProvider_GetBitmap(*args, **kwargs): - """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap + """ + ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap -Query the providers for bitmap with given ID and return it. Return -wx.NullBitmap if no provider provides it.""" + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) def ArtProvider_GetIcon(*args, **kwargs): - """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon + """ + ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon -Query the providers for icon with given ID and return it. Return -wx.NullIcon if no provider provides it.""" + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) #--------------------------------------------------------------------------- @@ -2434,7 +2449,6 @@ CONFIG_USE_GLOBAL_FILE = _misc.CONFIG_USE_GLOBAL_FILE CONFIG_USE_RELATIVE_PATH = _misc.CONFIG_USE_RELATIVE_PATH CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc.CONFIG_USE_NO_ESCAPE_CHARACTERS class ConfigBase(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2642,7 +2656,6 @@ def ConfigBase_DontCreateOnDemand(*args, **kwargs): return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) class ConfigPathChanger(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2670,14 +2683,15 @@ class ConfigPathChangerPtr(ConfigPathChanger): _misc.ConfigPathChanger_swigregister(ConfigPathChangerPtr) class Config(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> Config""" + """ + __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> Config + """ newobj = _misc.new_Config(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2697,14 +2711,15 @@ class ConfigPtr(Config): _misc.Config_swigregister(ConfigPtr) class FileConfig(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> FileConfig""" + """ + __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, + wxString localFilename=wxPyEmptyString, + wxString globalFilename=wxPyEmptyString, + long style=0) -> FileConfig + """ newobj = _misc.new_FileConfig(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2730,7 +2745,6 @@ def ExpandEnvVars(*args, **kwargs): #--------------------------------------------------------------------------- class DateTime(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Local = _misc.DateTime_Local @@ -2949,9 +2963,11 @@ class DateTime(object): GetWeekDayName = staticmethod(GetWeekDayName) def GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) GetAmPmStrings = staticmethod(GetAmPmStrings) @@ -3014,9 +3030,11 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_SetHMS(*args, **kwargs) def Set(*args, **kwargs): - """Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, + int hour=0, int minute=0, int second=0, + int millisec=0) -> DateTime + """ return _misc.DateTime_Set(*args, **kwargs) def ResetTime(*args, **kwargs): @@ -3076,18 +3094,24 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) def SetToWeekDay(*args, **kwargs): - """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """ + SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool + """ return _misc.DateTime_SetToWeekDay(*args, **kwargs) def SetToLastWeekDay(*args, **kwargs): - """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """ + SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> bool + """ return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) def GetLastWeekDay(*args, **kwargs): - """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> DateTime""" + """ + GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, + int year=Inv_Year) -> DateTime + """ return _misc.DateTime_GetLastWeekDay(*args, **kwargs) def SetToTheWeek(*args, **kwargs): @@ -3263,24 +3287,32 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_Subtract(*args, **kwargs) def __iadd__(*args): - """__iadd__(TimeSpan diff) -> DateTime -__iadd__(DateSpan diff) -> DateTime""" + """ + __iadd__(TimeSpan diff) -> DateTime + __iadd__(DateSpan diff) -> DateTime + """ return _misc.DateTime___iadd__(*args) def __isub__(*args): - """__isub__(TimeSpan diff) -> DateTime -__isub__(DateSpan diff) -> DateTime""" + """ + __isub__(TimeSpan diff) -> DateTime + __isub__(DateSpan diff) -> DateTime + """ return _misc.DateTime___isub__(*args) def __add__(*args): - """__add__(TimeSpan other) -> DateTime -__add__(DateSpan other) -> DateTime""" + """ + __add__(TimeSpan other) -> DateTime + __add__(DateSpan other) -> DateTime + """ return _misc.DateTime___add__(*args) def __sub__(*args): - """__sub__(DateTime other) -> TimeSpan -__sub__(TimeSpan other) -> DateTime -__sub__(DateSpan other) -> DateTime""" + """ + __sub__(DateTime other) -> TimeSpan + __sub__(TimeSpan other) -> DateTime + __sub__(DateSpan other) -> DateTime + """ return _misc.DateTime___sub__(*args) def __lt__(*args): @@ -3409,9 +3441,11 @@ def DateTime_GetWeekDayName(*args, **kwargs): return _misc.DateTime_GetWeekDayName(*args, **kwargs) def DateTime_GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) def DateTime_IsDSTApplicable(*args, **kwargs): @@ -3457,15 +3491,16 @@ def DateTimeFromHMS(*args, **kwargs): return val def DateTimeFromDMY(*args, **kwargs): - """DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, + int hour=0, int minute=0, int second=0, + int millisec=0) -> DateTime + """ val = _misc.new_DateTimeFromDMY(*args, **kwargs) val.thisown = 1 return val class TimeSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Seconds(*args, **kwargs): @@ -3712,7 +3747,6 @@ def TimeSpan_Week(*args, **kwargs): return _misc.TimeSpan_Week(*args, **kwargs) class DateSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3938,7 +3972,6 @@ DF_PRIVATE = _misc.DF_PRIVATE DF_HTML = _misc.DF_HTML DF_MAX = _misc.DF_MAX class DataFormat(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3954,13 +3987,17 @@ class DataFormat(object): except: pass def __eq__(*args): - """__eq__(wxDataFormatId format) -> bool -__eq__(DataFormat format) -> bool""" + """ + __eq__(wxDataFormatId format) -> bool + __eq__(DataFormat format) -> bool + """ return _misc.DataFormat___eq__(*args) def __ne__(*args): - """__ne__(wxDataFormatId format) -> bool -__ne__(DataFormat format) -> bool""" + """ + __ne__(wxDataFormatId format) -> bool + __ne__(DataFormat format) -> bool + """ return _misc.DataFormat___ne__(*args) def SetType(*args, **kwargs): @@ -3994,7 +4031,6 @@ def CustomDataFormat(*args, **kwargs): return val class DataObject(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -4045,7 +4081,6 @@ _misc.DataObject_swigregister(DataObjectPtr) FormatInvalid = cvar.FormatInvalid class DataObjectSimple(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4071,7 +4106,6 @@ class DataObjectSimplePtr(DataObjectSimple): _misc.DataObjectSimple_swigregister(DataObjectSimplePtr) class PyDataObjectSimple(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4095,7 +4129,6 @@ class PyDataObjectSimplePtr(PyDataObjectSimple): _misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr) class DataObjectComposite(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4119,7 +4152,6 @@ class DataObjectCompositePtr(DataObjectComposite): _misc.DataObjectComposite_swigregister(DataObjectCompositePtr) class TextDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4149,7 +4181,6 @@ class TextDataObjectPtr(TextDataObject): _misc.TextDataObject_swigregister(TextDataObjectPtr) class PyTextDataObject(TextDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4173,7 +4204,6 @@ class PyTextDataObjectPtr(PyTextDataObject): _misc.PyTextDataObject_swigregister(PyTextDataObjectPtr) class BitmapDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4199,7 +4229,6 @@ class BitmapDataObjectPtr(BitmapDataObject): _misc.BitmapDataObject_swigregister(BitmapDataObjectPtr) class PyBitmapDataObject(BitmapDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4223,7 +4252,6 @@ class PyBitmapDataObjectPtr(PyBitmapDataObject): _misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr) class FileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4245,7 +4273,6 @@ class FileDataObjectPtr(FileDataObject): _misc.FileDataObject_swigregister(FileDataObjectPtr) class CustomDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4279,7 +4306,6 @@ class CustomDataObjectPtr(CustomDataObject): _misc.CustomDataObject_swigregister(CustomDataObjectPtr) class URLDataObject(DataObjectComposite): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4305,7 +4331,6 @@ class URLDataObjectPtr(URLDataObject): _misc.URLDataObject_swigregister(URLDataObjectPtr) class MetafileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4338,12 +4363,13 @@ def IsDragResultOk(*args, **kwargs): """IsDragResultOk(wxDragResult res) -> bool""" return _misc.IsDragResultOk(*args, **kwargs) class DropSource(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window win=None, wxIcon copy=wxNullIcon, wxIcon move=wxNullIcon, - wxIcon none=wxNullIcon) -> DropSource""" + """ + __init__(Window win=None, wxIcon copy=wxNullIcon, wxIcon move=wxNullIcon, + wxIcon none=wxNullIcon) -> DropSource + """ newobj = _misc.new_DropSource(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4387,7 +4413,6 @@ class DropSourcePtr(DropSource): _misc.DropSource_swigregister(DropSourcePtr) class DropTarget(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4449,7 +4474,6 @@ _misc.DropTarget_swigregister(DropTargetPtr) PyDropTarget = DropTarget class TextDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4493,7 +4517,6 @@ class TextDropTargetPtr(TextDropTarget): _misc.TextDropTarget_swigregister(TextDropTargetPtr) class FileDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4539,7 +4562,6 @@ _misc.FileDropTarget_swigregister(FileDropTargetPtr) #--------------------------------------------------------------------------- class Clipboard(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4603,7 +4625,6 @@ class ClipboardPtr(Clipboard): _misc.Clipboard_swigregister(ClipboardPtr) class ClipboardLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): diff --git a/wxPython/src/gtk/windows.py b/wxPython/src/gtk/windows.py index 2027f25cb5..46b5bdcfbc 100644 --- a/wxPython/src/gtk/windows.py +++ b/wxPython/src/gtk/windows.py @@ -8,13 +8,14 @@ wx = core #--------------------------------------------------------------------------- class Panel(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, - wxString name=PanelNameStr) -> Panel""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> Panel + """ newobj = _windows.new_Panel(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -22,9 +23,11 @@ class Panel(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxTAB_TRAVERSAL|wxNO_BORDER, - wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxTAB_TRAVERSAL|wxNO_BORDER, + wxString name=PanelNameStr) -> bool + """ return _windows.Panel_Create(*args, **kwargs) def InitDialog(*args, **kwargs): @@ -48,13 +51,14 @@ def PrePanel(*args, **kwargs): #--------------------------------------------------------------------------- class ScrolledWindow(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, - wxString name=PanelNameStr) -> ScrolledWindow""" + """ + __init__(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> ScrolledWindow + """ newobj = _windows.new_ScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -62,14 +66,18 @@ class ScrolledWindow(Panel): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, - wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id=-1, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, + wxString name=PanelNameStr) -> bool + """ return _windows.ScrolledWindow_Create(*args, **kwargs) def SetScrollbars(*args, **kwargs): - """SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, - int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)""" + """ + SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, + int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False) + """ return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs) def Scroll(*args, **kwargs): @@ -89,9 +97,11 @@ class ScrolledWindow(Panel): return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs) def GetScrollPixelsPerUnit(*args, **kwargs): - """GetScrollPixelsPerUnit() -> (xUnit, yUnit) + """ + GetScrollPixelsPerUnit() -> (xUnit, yUnit) -Get the size of one logical unit in physical units.""" + Get the size of one logical unit in physical units. + """ return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs) def EnableScrolling(*args, **kwargs): @@ -99,9 +109,11 @@ Get the size of one logical unit in physical units.""" return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs) def GetViewStart(*args, **kwargs): - """GetViewStart() -> (x,y) + """ + GetViewStart() -> (x,y) -Get the view start""" + Get the view start + """ return _windows.ScrolledWindow_GetViewStart(*args, **kwargs) def SetScale(*args, **kwargs): @@ -117,17 +129,21 @@ Get the view start""" return _windows.ScrolledWindow_GetScaleY(*args, **kwargs) def CalcScrolledPosition(*args): - """CalcScrolledPosition(Point pt) -> Point -CalcScrolledPosition(int x, int y) -> (sx, sy) + """ + CalcScrolledPosition(Point pt) -> Point + CalcScrolledPosition(int x, int y) -> (sx, sy) -Translate between scrolled and unscrolled coordinates.""" + Translate between scrolled and unscrolled coordinates. + """ return _windows.ScrolledWindow_CalcScrolledPosition(*args) def CalcUnscrolledPosition(*args): - """CalcUnscrolledPosition(Point pt) -> Point -CalcUnscrolledPosition(int x, int y) -> (ux, uy) + """ + CalcUnscrolledPosition(Point pt) -> Point + CalcUnscrolledPosition(int x, int y) -> (ux, uy) -Translate between scrolled and unscrolled coordinates.""" + Translate between scrolled and unscrolled coordinates. + """ return _windows.ScrolledWindow_CalcUnscrolledPosition(*args) def AdjustScrollbars(*args, **kwargs): @@ -170,7 +186,6 @@ FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION FULLSCREEN_ALL = _windows.FULLSCREEN_ALL TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG class TopLevelWindow(core.Window): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -237,13 +252,14 @@ _windows.TopLevelWindow_swigregister(TopLevelWindowPtr) #--------------------------------------------------------------------------- class Frame(TopLevelWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> Frame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> Frame + """ newobj = _windows.new_Frame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -251,9 +267,11 @@ class Frame(TopLevelWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.Frame_Create(*args, **kwargs) def GetClientAreaOrigin(*args, **kwargs): @@ -278,8 +296,10 @@ class Frame(TopLevelWindow): Command = ProcessCommand def CreateStatusBar(*args, **kwargs): - """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, - wxString name=wxPyStatusLineNameStr) -> StatusBar""" + """ + CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0, + wxString name=wxPyStatusLineNameStr) -> StatusBar + """ return _windows.Frame_CreateStatusBar(*args, **kwargs) def GetStatusBar(*args, **kwargs): @@ -351,13 +371,14 @@ def PreFrame(*args, **kwargs): #--------------------------------------------------------------------------- class Dialog(TopLevelWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, - wxString name=wxPyDialogNameStr) -> Dialog""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> Dialog + """ newobj = _windows.new_Dialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -365,9 +386,11 @@ class Dialog(TopLevelWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, - wxString name=wxPyDialogNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE, + wxString name=wxPyDialogNameStr) -> bool + """ return _windows.Dialog_Create(*args, **kwargs) def SetReturnCode(*args, **kwargs): @@ -423,13 +446,14 @@ def PreDialog(*args, **kwargs): #--------------------------------------------------------------------------- class MiniFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> MiniFrame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> MiniFrame + """ newobj = _windows.new_MiniFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -437,9 +461,11 @@ class MiniFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MiniFrame_Create(*args, **kwargs) @@ -464,12 +490,13 @@ SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT class SplashScreenWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, - Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow""" + """ + __init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition, + Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow + """ newobj = _windows.new_SplashScreenWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -493,13 +520,14 @@ class SplashScreenWindowPtr(SplashScreenWindow): _windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr) class SplashScreen(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap 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""" + """ + __init__(wxBitmap 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 + """ newobj = _windows.new_SplashScreen(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -529,7 +557,6 @@ _windows.SplashScreen_swigregister(SplashScreenPtr) #--------------------------------------------------------------------------- class StatusBar(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -618,12 +645,13 @@ SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN class SplitterWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow""" + """ + __init__(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow + """ newobj = _windows.new_SplitterWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -631,8 +659,10 @@ class SplitterWindow(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point point=DefaultPosition, - Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool""" + """ + Create(Window parent, int id, Point point=DefaultPosition, + Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool + """ return _windows.SplitterWindow_Create(*args, **kwargs) def GetWindow1(*args, **kwargs): @@ -738,7 +768,6 @@ def PreSplitterWindow(*args, **kwargs): return val class SplitterEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -800,13 +829,14 @@ SASH_BOTTOM = _windows.SASH_BOTTOM SASH_LEFT = _windows.SASH_LEFT SASH_NONE = _windows.SASH_NONE class SashWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashNameStr) -> SashWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> SashWindow + """ newobj = _windows.new_SashWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -814,9 +844,11 @@ class SashWindow(core.Window): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashNameStr) -> bool + """ return _windows.SashWindow_Create(*args, **kwargs) def SetSashVisible(*args, **kwargs): @@ -912,7 +944,6 @@ def PreSashWindow(*args, **kwargs): SASH_STATUS_OK = _windows.SASH_STATUS_OK SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE class SashEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -973,7 +1004,6 @@ LAYOUT_QUERY = _windows.LAYOUT_QUERY wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT class QueryLayoutInfoEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1031,7 +1061,6 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent): _windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr) class CalculateLayoutEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1068,13 +1097,14 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO ) EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT ) class SashLayoutWindow(SashWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow + """ newobj = _windows.new_SashLayoutWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1082,9 +1112,11 @@ class SashLayoutWindow(SashWindow): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=wxCLIP_CHILDREN|wxSW_3D, - wxString name=wxPySashLayoutNameStr) -> bool""" + """ + Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=wxCLIP_CHILDREN|wxSW_3D, + wxString name=wxPySashLayoutNameStr) -> bool + """ return _windows.SashLayoutWindow_Create(*args, **kwargs) def GetAlignment(*args, **kwargs): @@ -1122,7 +1154,6 @@ def PreSashLayoutWindow(*args, **kwargs): return val class LayoutAlgorithm(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1160,7 +1191,6 @@ _windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr) #--------------------------------------------------------------------------- class PopupWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1196,7 +1226,6 @@ def PrePopupWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PopupTransientWindow(PopupWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1236,7 +1265,6 @@ def PrePopupTransientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class TipWindow(PopupTransientWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1266,12 +1294,13 @@ _windows.TipWindow_swigregister(TipWindowPtr) #--------------------------------------------------------------------------- class VScrolledWindow(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow + """ newobj = _windows.new_VScrolledWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1283,8 +1312,10 @@ class VScrolledWindow(Panel): return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool + """ return _windows.VScrolledWindow_Create(*args, **kwargs) def SetLineCount(*args, **kwargs): @@ -1354,12 +1385,13 @@ def PreVScrolledWindow(*args, **kwargs): return val class VListBox(VScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox + """ newobj = _windows.new_VListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1371,8 +1403,10 @@ class VListBox(VScrolledWindow): return _windows.VListBox__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool + """ return _windows.VListBox_Create(*args, **kwargs) def GetItemCount(*args, **kwargs): @@ -1474,12 +1508,13 @@ def PreVListBox(*args, **kwargs): return val class HtmlListBox(VListBox): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox""" + """ + __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox + """ newobj = _windows.new_HtmlListBox(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1491,8 +1526,10 @@ class HtmlListBox(VListBox): return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs) def Create(*args, **kwargs): - """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool""" + """ + Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool + """ return _windows.HtmlListBox_Create(*args, **kwargs) def RefreshAll(*args, **kwargs): @@ -1520,7 +1557,6 @@ def PreHtmlListBox(*args, **kwargs): #--------------------------------------------------------------------------- class TaskBarIcon(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1564,7 +1600,6 @@ class TaskBarIconPtr(TaskBarIcon): _windows.TaskBarIcon_swigregister(TaskBarIconPtr) class TaskBarIconEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1599,7 +1634,6 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK ) #--------------------------------------------------------------------------- class ColourData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1647,7 +1681,6 @@ class ColourDataPtr(ColourData): _windows.ColourData_swigregister(ColourDataPtr) class ColourDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1675,14 +1708,15 @@ class ColourDialogPtr(ColourDialog): _windows.ColourDialog_swigregister(ColourDialogPtr) class DirDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr, - wxString defaultPath=wxPyEmptyString, - long style=0, Point pos=DefaultPosition, Size size=DefaultSize, - wxString name=wxPyDirDialogNameStr) -> DirDialog""" + """ + __init__(Window parent, wxString message=wxPyDirSelectorPromptStr, + wxString defaultPath=wxPyEmptyString, + long style=0, Point pos=DefaultPosition, Size size=DefaultSize, + wxString name=wxPyDirDialogNameStr) -> DirDialog + """ newobj = _windows.new_DirDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1722,15 +1756,16 @@ class DirDialogPtr(DirDialog): _windows.DirDialog_swigregister(DirDialogPtr) class FileDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr, - wxString defaultDir=wxPyEmptyString, - wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, - long style=0, - Point pos=DefaultPosition) -> FileDialog""" + """ + __init__(Window parent, wxString message=wxPyFileSelectorPromptStr, + wxString defaultDir=wxPyEmptyString, + wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr, + long style=0, + Point pos=DefaultPosition) -> FileDialog + """ newobj = _windows.new_FileDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1811,13 +1846,14 @@ _windows.FileDialog_swigregister(FileDialogPtr) CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE class MultiChoiceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption, - int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, - Point pos=DefaultPosition) -> MultiChoiceDialog""" + """ + __init__(Window parent, wxString message, wxString caption, + int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> MultiChoiceDialog + """ newobj = _windows.new_MultiChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1841,13 +1877,14 @@ class MultiChoiceDialogPtr(MultiChoiceDialog): _windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr) class SingleChoiceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption, - int choices, wxString choices_array, long style=CHOICEDLG_STYLE, - Point pos=DefaultPosition) -> SingleChoiceDialog""" + """ + __init__(Window parent, wxString message, wxString caption, + int choices, wxString choices_array, long style=CHOICEDLG_STYLE, + Point pos=DefaultPosition) -> SingleChoiceDialog + """ newobj = _windows.new_SingleChoiceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1879,14 +1916,15 @@ class SingleChoiceDialogPtr(SingleChoiceDialog): _windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr) class TextEntryDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, - wxString defaultValue=wxPyEmptyString, - long style=wxOK|wxCANCEL|wxCENTRE, - Point pos=DefaultPosition) -> TextEntryDialog""" + """ + __init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr, + wxString defaultValue=wxPyEmptyString, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> TextEntryDialog + """ newobj = _windows.new_TextEntryDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1914,7 +1952,6 @@ class TextEntryDialogPtr(TextEntryDialog): _windows.TextEntryDialog_swigregister(TextEntryDialogPtr) class FontData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1990,7 +2027,6 @@ class FontDataPtr(FontData): _windows.FontData_swigregister(FontDataPtr) class FontDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2018,13 +2054,14 @@ class FontDialogPtr(FontDialog): _windows.FontDialog_swigregister(FontDialogPtr) class MessageDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, - long style=wxOK|wxCANCEL|wxCENTRE, - Point pos=DefaultPosition) -> MessageDialog""" + """ + __init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr, + long style=wxOK|wxCANCEL|wxCENTRE, + Point pos=DefaultPosition) -> MessageDialog + """ newobj = _windows.new_MessageDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2044,12 +2081,13 @@ class MessageDialogPtr(MessageDialog): _windows.MessageDialog_swigregister(MessageDialogPtr) class ProgressDialog(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString title, wxString message, int maximum=100, - Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog""" + """ + __init__(wxString title, wxString message, int maximum=100, + Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog + """ newobj = _windows.new_ProgressDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2098,7 +2136,6 @@ EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE class FindDialogEvent(core.CommandEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2144,7 +2181,6 @@ class FindDialogEventPtr(FindDialogEvent): _windows.FindDialogEvent_swigregister(FindDialogEventPtr) class FindReplaceData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2192,12 +2228,13 @@ class FindReplaceDataPtr(FindReplaceData): _windows.FindReplaceData_swigregister(FindReplaceDataPtr) class FindReplaceDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, FindReplaceData data, wxString title, - int style=0) -> FindReplaceDialog""" + """ + __init__(Window parent, FindReplaceData data, wxString title, + int style=0) -> FindReplaceDialog + """ newobj = _windows.new_FindReplaceDialog(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2205,8 +2242,10 @@ class FindReplaceDialog(Dialog): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, FindReplaceData data, wxString title, - int style=0) -> bool""" + """ + Create(Window parent, FindReplaceData data, wxString title, + int style=0) -> bool + """ return _windows.FindReplaceDialog_Create(*args, **kwargs) def GetData(*args, **kwargs): @@ -2242,13 +2281,14 @@ IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows.LAST_MDI_CHILD class MDIParentFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, - wxString name=wxPyFrameNameStr) -> MDIParentFrame""" + """ + __init__(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> MDIParentFrame + """ newobj = _windows.new_MDIParentFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2256,9 +2296,11 @@ class MDIParentFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, - wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(Window parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, + wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MDIParentFrame_Create(*args, **kwargs) def ActivateNext(*args, **kwargs): @@ -2308,13 +2350,14 @@ def PreMDIParentFrame(*args, **kwargs): return val class MDIChildFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame""" + """ + __init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame + """ newobj = _windows.new_MDIChildFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2322,9 +2365,11 @@ class MDIChildFrame(Frame): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, - Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool""" + """ + Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition, + Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool + """ return _windows.MDIChildFrame_Create(*args, **kwargs) def Activate(*args, **kwargs): @@ -2354,7 +2399,6 @@ def PreMDIChildFrame(*args, **kwargs): return val class MDIClientWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2386,12 +2430,13 @@ def PreMDIClientWindow(*args, **kwargs): #--------------------------------------------------------------------------- class PyWindow(core.Window): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> PyWindow""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyWindow + """ newobj = _windows.new_PyWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2483,12 +2528,13 @@ class PyWindowPtr(PyWindow): _windows.PyWindow_swigregister(PyWindowPtr) class PyPanel(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> PyPanel""" + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPanel + """ newobj = _windows.new_PyPanel(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2586,7 +2632,6 @@ PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW PRINT_MODE_FILE = _windows.PRINT_MODE_FILE PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER class PrintData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2775,7 +2820,6 @@ class PrintDataPtr(PrintData): _windows.PrintData_swigregister(PrintDataPtr) class PageSetupDialogData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2916,7 +2960,6 @@ class PageSetupDialogDataPtr(PageSetupDialogData): _windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr) class PageSetupDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2944,7 +2987,6 @@ class PageSetupDialogPtr(PageSetupDialog): _windows.PageSetupDialog_swigregister(PageSetupDialogPtr) class PrintDialogData(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3093,7 +3135,6 @@ class PrintDialogDataPtr(PrintDialogData): _windows.PrintDialogData_swigregister(PrintDialogDataPtr) class PrintDialog(Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3128,7 +3169,6 @@ PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR PRINTER_CANCELLED = _windows.PRINTER_CANCELLED PRINTER_ERROR = _windows.PRINTER_ERROR class Printer(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3189,7 +3229,6 @@ def Printer_GetLastError(*args, **kwargs): return _windows.Printer_GetLastError(*args, **kwargs) class Printout(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3293,13 +3332,14 @@ class PrintoutPtr(Printout): _windows.Printout_swigregister(PrintoutPtr) class PreviewCanvas(ScrolledWindow): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, - wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas""" + """ + __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, + Size size=DefaultSize, long style=0, + wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas + """ newobj = _windows.new_PreviewCanvas(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3315,13 +3355,14 @@ class PreviewCanvasPtr(PreviewCanvas): _windows.PreviewCanvas_swigregister(PreviewCanvasPtr) class PreviewFrame(Frame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Frame parent, wxString title, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame""" + """ + __init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame + """ newobj = _windows.new_PreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3369,13 +3410,14 @@ ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO class PreviewControlBar(Panel): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, long buttons, Window parent, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar""" + """ + __init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar + """ newobj = _windows.new_PreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3423,7 +3465,6 @@ class PreviewControlBarPtr(PreviewControlBar): _windows.PreviewControlBar_swigregister(PreviewControlBarPtr) class PrintPreview(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3530,7 +3571,6 @@ class PrintPreviewPtr(PrintPreview): _windows.PrintPreview_swigregister(PrintPreviewPtr) class PyPrintPreview(PrintPreview): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3582,13 +3622,14 @@ class PyPrintPreviewPtr(PyPrintPreview): _windows.PyPrintPreview_swigregister(PyPrintPreviewPtr) class PyPreviewFrame(PreviewFrame): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, Frame parent, wxString title, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame""" + """ + __init__(PrintPreview preview, Frame parent, wxString title, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame + """ newobj = _windows.new_PyPreviewFrame(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3628,13 +3669,14 @@ class PyPreviewFramePtr(PyPreviewFrame): _windows.PyPreviewFrame_swigregister(PyPreviewFramePtr) class PyPreviewControlBar(PreviewControlBar): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(PrintPreview preview, long buttons, Window parent, - Point pos=DefaultPosition, Size size=DefaultSize, - long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar""" + """ + __init__(PrintPreview preview, long buttons, Window parent, + Point pos=DefaultPosition, Size size=DefaultSize, + long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar + """ newobj = _windows.new_PyPreviewControlBar(*args, **kwargs) self.this = newobj.this self.thisown = 1 diff --git a/wxPython/src/gtk/wizard.py b/wxPython/src/gtk/wizard.py index 589de2b875..65c71be1b3 100644 --- a/wxPython/src/gtk/wizard.py +++ b/wxPython/src/gtk/wizard.py @@ -19,12 +19,13 @@ EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) class WizardEvent(core.NotifyEvent): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, - WizardPage page=None) -> WizardEvent""" + """ + __init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, + WizardPage page=None) -> WizardEvent + """ newobj = _wizard.new_WizardEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -46,7 +47,6 @@ class WizardEventPtr(WizardEvent): _wizard.WizardEvent_swigregister(WizardEventPtr) class WizardPage(windows.Panel): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -75,7 +75,6 @@ class WizardPagePtr(WizardPage): _wizard.WizardPage_swigregister(WizardPagePtr) class PyWizardPage(WizardPage): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -181,12 +180,13 @@ def PrePyWizardPage(*args, **kwargs): return val class WizardPageSimple(WizardPage): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Wizard parent, WizardPage prev=None, WizardPage next=None, - wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple""" + """ + __init__(Wizard parent, WizardPage prev=None, WizardPage next=None, + wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple + """ newobj = _wizard.new_WizardPageSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -194,8 +194,10 @@ class WizardPageSimple(WizardPage): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, - wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool""" + """ + Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, + wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool + """ return _wizard.WizardPageSimple_Create(*args, **kwargs) def SetPrev(*args, **kwargs): @@ -230,13 +232,14 @@ def WizardPageSimple_Chain(*args, **kwargs): return _wizard.WizardPageSimple_Chain(*args, **kwargs) class Wizard(windows.Dialog): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString title=wxEmptyString, - wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, - long style=DEFAULT_DIALOG_STYLE) -> Wizard""" + """ + __init__(Window parent, int id=-1, wxString title=wxEmptyString, + wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, + long style=DEFAULT_DIALOG_STYLE) -> Wizard + """ newobj = _wizard.new_Wizard(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -244,8 +247,10 @@ class Wizard(windows.Dialog): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString title=wxEmptyString, - wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool""" + """ + Create(Window parent, int id=-1, wxString title=wxEmptyString, + wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool + """ return _wizard.Wizard_Create(*args, **kwargs) def Init(*args, **kwargs): diff --git a/wxPython/src/gtk/wizard_wrap.cpp b/wxPython/src/gtk/wizard_wrap.cpp index 8a6f687ff8..80abb9b747 100644 --- a/wxPython/src/gtk/wizard_wrap.cpp +++ b/wxPython/src/gtk/wizard_wrap.cpp @@ -2323,9 +2323,6 @@ static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { static void *_p_wxKeyEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); -} static void *_p_wxWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } @@ -2335,6 +2332,9 @@ static void *_p_wxMenuTo_p_wxObject(void *x) { static void *_p_wxMenuBarTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +} static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } -- 2.45.2