reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,8 +27,6 @@ class Panel(_core.Window):
|
||||
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
|
||||
String name=PanelNameStr) -> bool
|
||||
|
||||
Create the GUI part of the Window for 2-phase creation mode.
|
||||
"""
|
||||
return _windows_.Panel_Create(*args, **kwargs)
|
||||
|
||||
@@ -112,8 +110,6 @@ class ScrolledWindow(Panel):
|
||||
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
|
||||
String name=PanelNameStr) -> bool
|
||||
|
||||
Create the GUI part of the Window for 2-phase creation mode.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_Create(*args, **kwargs)
|
||||
|
||||
@@ -373,9 +369,9 @@ class Frame(TopLevelWindow):
|
||||
return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
|
||||
String name=FrameNameStr) -> Frame
|
||||
__init__(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
|
||||
"""
|
||||
newobj = _windows_.new_Frame(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
@@ -385,9 +381,9 @@ class Frame(TopLevelWindow):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
|
||||
String name=FrameNameStr) -> bool
|
||||
Create(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
|
||||
"""
|
||||
return _windows_.Frame_Create(*args, **kwargs)
|
||||
|
||||
@@ -533,9 +529,9 @@ class Dialog(TopLevelWindow):
|
||||
return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
|
||||
String name=DialogNameStr) -> Dialog
|
||||
__init__(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
|
||||
"""
|
||||
newobj = _windows_.new_Dialog(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
@@ -545,9 +541,9 @@ class Dialog(TopLevelWindow):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
|
||||
String name=DialogNameStr) -> bool
|
||||
Create(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
|
||||
"""
|
||||
return _windows_.Dialog_Create(*args, **kwargs)
|
||||
|
||||
@@ -635,9 +631,9 @@ class MiniFrame(Frame):
|
||||
return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
|
||||
String name=FrameNameStr) -> MiniFrame
|
||||
__init__(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
|
||||
"""
|
||||
newobj = _windows_.new_MiniFrame(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
@@ -647,9 +643,9 @@ class MiniFrame(Frame):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
|
||||
String name=FrameNameStr) -> bool
|
||||
Create(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
|
||||
"""
|
||||
return _windows_.MiniFrame_Create(*args, **kwargs)
|
||||
|
||||
@@ -710,7 +706,7 @@ class SplashScreen(Frame):
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
|
||||
Window parent, int id, Point pos=DefaultPosition,
|
||||
Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
|
||||
"""
|
||||
newobj = _windows_.new_SplashScreen(*args, **kwargs)
|
||||
@@ -753,7 +749,7 @@ class StatusBar(_core.Window):
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(self, Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
|
||||
"""Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
|
||||
return _windows_.StatusBar_Create(*args, **kwargs)
|
||||
|
||||
def SetFieldsCount(*args, **kwargs):
|
||||
@@ -1264,8 +1260,8 @@ class SashWindow(_core.Window):
|
||||
return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
String name=SashNameStr) -> SashWindow
|
||||
"""
|
||||
newobj = _windows_.new_SashWindow(*args, **kwargs)
|
||||
@@ -1276,8 +1272,8 @@ class SashWindow(_core.Window):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
String name=SashNameStr) -> bool
|
||||
"""
|
||||
return _windows_.SashWindow_Create(*args, **kwargs)
|
||||
@@ -1534,8 +1530,8 @@ class SashLayoutWindow(SashWindow):
|
||||
return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
String name=SashLayoutNameStr) -> SashLayoutWindow
|
||||
"""
|
||||
newobj = _windows_.new_SashLayoutWindow(*args, **kwargs)
|
||||
@@ -1546,8 +1542,8 @@ class SashLayoutWindow(SashWindow):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
|
||||
String name=SashLayoutNameStr) -> bool
|
||||
"""
|
||||
return _windows_.SashLayoutWindow_Create(*args, **kwargs)
|
||||
@@ -1760,14 +1756,7 @@ class VScrolledWindow(Panel):
|
||||
return _windows_.VScrolledWindow_ScrollToLine(*args, **kwargs)
|
||||
|
||||
def ScrollLines(*args, **kwargs):
|
||||
"""
|
||||
ScrollLines(self, int lines) -> bool
|
||||
|
||||
If the platform and window class supports it, scrolls the window by
|
||||
the given number of lines down, if lines is positive, or up if lines
|
||||
is negative. Returns True if the window was scrolled, False if it was
|
||||
already on top/bottom and nothing was done.
|
||||
"""
|
||||
"""ScrollLines(self, int lines) -> bool"""
|
||||
return _windows_.VScrolledWindow_ScrollLines(*args, **kwargs)
|
||||
|
||||
def ScrollPages(*args, **kwargs):
|
||||
@@ -1790,19 +1779,11 @@ class VScrolledWindow(Panel):
|
||||
return _windows_.VScrolledWindow_RefreshLines(*args, **kwargs)
|
||||
|
||||
def HitTestXT(*args, **kwargs):
|
||||
"""
|
||||
HitTestXT(self, int x, int y) -> int
|
||||
|
||||
Test where the given (in client coords) point lies
|
||||
"""
|
||||
"""HitTestXT(self, int x, int y) -> int"""
|
||||
return _windows_.VScrolledWindow_HitTestXT(*args, **kwargs)
|
||||
|
||||
def HitTest(*args, **kwargs):
|
||||
"""
|
||||
HitTest(self, Point pt) -> int
|
||||
|
||||
Test where the given (in client coords) point lies
|
||||
"""
|
||||
"""HitTest(self, Point pt) -> int"""
|
||||
return _windows_.VScrolledWindow_HitTest(*args, **kwargs)
|
||||
|
||||
def RefreshAll(*args, **kwargs):
|
||||
@@ -2150,7 +2131,7 @@ class ColourData(_core.Object):
|
||||
|
||||
Gets the i'th custom colour associated with the colour dialog. i
|
||||
should be an integer between 0 and 15. The default custom colours are
|
||||
all white.
|
||||
all invalid colours.
|
||||
"""
|
||||
return _windows_.ColourData_GetCustomColour(*args, **kwargs)
|
||||
|
||||
@@ -2178,7 +2159,7 @@ class ColourData(_core.Object):
|
||||
SetCustomColour(self, int i, Colour colour)
|
||||
|
||||
Sets the i'th custom colour for the colour dialog. i should be an
|
||||
integer between 0 and 15. The default custom colours are all white.
|
||||
integer between 0 and 15. The default custom colours are all invalid colours.
|
||||
"""
|
||||
return _windows_.ColourData_SetCustomColour(*args, **kwargs)
|
||||
|
||||
@@ -3135,8 +3116,9 @@ class MDIParentFrame(Frame):
|
||||
return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
|
||||
__init__(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
|
||||
String name=FrameNameStr) -> MDIParentFrame
|
||||
"""
|
||||
newobj = _windows_.new_MDIParentFrame(*args, **kwargs)
|
||||
@@ -3147,8 +3129,9 @@ class MDIParentFrame(Frame):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
|
||||
Create(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
|
||||
String name=FrameNameStr) -> bool
|
||||
"""
|
||||
return _windows_.MDIParentFrame_Create(*args, **kwargs)
|
||||
@@ -3216,8 +3199,9 @@ class MDIChildFrame(Frame):
|
||||
return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
|
||||
__init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_FRAME_STYLE,
|
||||
String name=FrameNameStr) -> MDIChildFrame
|
||||
"""
|
||||
newobj = _windows_.new_MDIChildFrame(*args, **kwargs)
|
||||
@@ -3228,8 +3212,9 @@ class MDIChildFrame(Frame):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
|
||||
Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=DEFAULT_FRAME_STYLE,
|
||||
String name=FrameNameStr) -> bool
|
||||
"""
|
||||
return _windows_.MDIChildFrame_Create(*args, **kwargs)
|
||||
@@ -3296,8 +3281,8 @@ class PyWindow(_core.Window):
|
||||
return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=PanelNameStr) -> PyWindow
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
|
||||
"""
|
||||
newobj = _windows_.new_PyWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
@@ -3416,8 +3401,8 @@ class PyPanel(Panel):
|
||||
return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=PanelNameStr) -> PyPanel
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
|
||||
"""
|
||||
newobj = _windows_.new_PyPanel(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
@@ -3536,8 +3521,8 @@ class PyScrolledWindow(ScrolledWindow):
|
||||
return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=PanelNameStr) -> PyScrolledWindow
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
|
||||
"""
|
||||
newobj = _windows_.new_PyScrolledWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
|
Reference in New Issue
Block a user