mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 06:05:36 +08:00
reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
+620
-158
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -6,25 +6,54 @@ 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"""
|
||||
newobj = _glcanvas.new_GLContext(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_glcanvas.delete_GLContext):
|
||||
"""__del__()"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
def SetCurrent(*args, **kwargs): return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
|
||||
def SetColour(*args, **kwargs): return _glcanvas.GLContext_SetColour(*args, **kwargs)
|
||||
def SwapBuffers(*args, **kwargs): return _glcanvas.GLContext_SwapBuffers(*args, **kwargs)
|
||||
def SetupPixelFormat(*args, **kwargs): return _glcanvas.GLContext_SetupPixelFormat(*args, **kwargs)
|
||||
def SetupPalette(*args, **kwargs): return _glcanvas.GLContext_SetupPalette(*args, **kwargs)
|
||||
def CreateDefaultPalette(*args, **kwargs): return _glcanvas.GLContext_CreateDefaultPalette(*args, **kwargs)
|
||||
def GetPalette(*args, **kwargs): return _glcanvas.GLContext_GetPalette(*args, **kwargs)
|
||||
def GetWindow(*args, **kwargs): return _glcanvas.GLContext_GetWindow(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def SetCurrent(*args, **kwargs):
|
||||
"""SetCurrent()"""
|
||||
return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
|
||||
|
||||
def SetColour(*args, **kwargs):
|
||||
"""SetColour(wxString colour)"""
|
||||
return _glcanvas.GLContext_SetColour(*args, **kwargs)
|
||||
|
||||
def SwapBuffers(*args, **kwargs):
|
||||
"""SwapBuffers()"""
|
||||
return _glcanvas.GLContext_SwapBuffers(*args, **kwargs)
|
||||
|
||||
def SetupPixelFormat(*args, **kwargs):
|
||||
"""SetupPixelFormat()"""
|
||||
return _glcanvas.GLContext_SetupPixelFormat(*args, **kwargs)
|
||||
|
||||
def SetupPalette(*args, **kwargs):
|
||||
"""SetupPalette(wxPalette palette)"""
|
||||
return _glcanvas.GLContext_SetupPalette(*args, **kwargs)
|
||||
|
||||
def CreateDefaultPalette(*args, **kwargs):
|
||||
"""CreateDefaultPalette() -> wxPalette"""
|
||||
return _glcanvas.GLContext_CreateDefaultPalette(*args, **kwargs)
|
||||
|
||||
def GetPalette(*args, **kwargs):
|
||||
"""GetPalette() -> wxPalette"""
|
||||
return _glcanvas.GLContext_GetPalette(*args, **kwargs)
|
||||
|
||||
def GetWindow(*args, **kwargs):
|
||||
"""GetWindow() -> Window"""
|
||||
return _glcanvas.GLContext_GetWindow(*args, **kwargs)
|
||||
|
||||
|
||||
class GLContextPtr(GLContext):
|
||||
def __init__(self, this):
|
||||
@@ -50,18 +79,36 @@ 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"""
|
||||
newobj = _glcanvas.new_GLCanvas(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def SetCurrent(*args, **kwargs): return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
|
||||
def SetColour(*args, **kwargs): return _glcanvas.GLCanvas_SetColour(*args, **kwargs)
|
||||
def SwapBuffers(*args, **kwargs): return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs)
|
||||
def GetContext(*args, **kwargs): return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def SetCurrent(*args, **kwargs):
|
||||
"""SetCurrent()"""
|
||||
return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
|
||||
|
||||
def SetColour(*args, **kwargs):
|
||||
"""SetColour(wxString colour)"""
|
||||
return _glcanvas.GLCanvas_SetColour(*args, **kwargs)
|
||||
|
||||
def SwapBuffers(*args, **kwargs):
|
||||
"""SwapBuffers()"""
|
||||
return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs)
|
||||
|
||||
def GetContext(*args, **kwargs):
|
||||
"""GetContext() -> GLContext"""
|
||||
return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
|
||||
|
||||
|
||||
class GLCanvasPtr(GLCanvas):
|
||||
def __init__(self, this):
|
||||
@@ -71,6 +118,10 @@ 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"""
|
||||
val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
|
||||
@@ -347,7 +347,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj
|
||||
PyObject *resultobj;
|
||||
wxGLContext *arg1 = (wxGLContext *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -359,7 +359,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -552,7 +552,7 @@ static PyObject * GLContext_swigregister(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindowID arg2 = (wxWindowID) -1 ;
|
||||
int arg2 = (int) -1 ;
|
||||
wxPoint const &arg3_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
|
||||
wxSize const &arg4_defvalue = wxDefaultSize ;
|
||||
@@ -566,7 +566,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp3 ;
|
||||
wxSize temp4 ;
|
||||
bool temp6 = false ;
|
||||
bool temp6 = False ;
|
||||
int *temp7 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -596,7 +596,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = true;
|
||||
temp6 = True;
|
||||
}
|
||||
}
|
||||
if (obj6) {
|
||||
@@ -651,7 +651,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxGLContext *arg2 = (wxGLContext *) NULL ;
|
||||
wxWindowID arg3 = (wxWindowID) -1 ;
|
||||
int arg3 = (int) -1 ;
|
||||
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
|
||||
wxSize const &arg5_defvalue = wxDefaultSize ;
|
||||
@@ -665,7 +665,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = false ;
|
||||
bool temp7 = False ;
|
||||
int *temp8 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -699,7 +699,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = true;
|
||||
temp7 = True;
|
||||
}
|
||||
}
|
||||
if (obj7) {
|
||||
@@ -778,7 +778,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje
|
||||
PyObject *resultobj;
|
||||
wxGLCanvas *arg1 = (wxGLCanvas *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -790,7 +790,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
|
||||
+3413
-848
File diff suppressed because it is too large
Load Diff
+105
-105
File diff suppressed because it is too large
Load Diff
+1545
-386
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+475
-121
File diff suppressed because it is too large
Load Diff
+139
-139
File diff suppressed because it is too large
Load Diff
+207
-52
@@ -23,30 +23,85 @@ 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"""
|
||||
newobj = _calendar.new_CalendarDateAttr(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def SetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs)
|
||||
def SetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs)
|
||||
def SetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs)
|
||||
def SetFont(*args, **kwargs): return _calendar.CalendarDateAttr_SetFont(*args, **kwargs)
|
||||
def SetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs)
|
||||
def SetHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs)
|
||||
def HasTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs)
|
||||
def HasBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs)
|
||||
def HasBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs)
|
||||
def HasFont(*args, **kwargs): return _calendar.CalendarDateAttr_HasFont(*args, **kwargs)
|
||||
def HasBorder(*args, **kwargs): return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs)
|
||||
def IsHoliday(*args, **kwargs): return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs)
|
||||
def GetTextColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs)
|
||||
def GetBackgroundColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs)
|
||||
def GetBorderColour(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs)
|
||||
def GetFont(*args, **kwargs): return _calendar.CalendarDateAttr_GetFont(*args, **kwargs)
|
||||
def GetBorder(*args, **kwargs): return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def SetTextColour(*args, **kwargs):
|
||||
"""SetTextColour(wxColour colText)"""
|
||||
return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs)
|
||||
|
||||
def SetBackgroundColour(*args, **kwargs):
|
||||
"""SetBackgroundColour(wxColour colBack)"""
|
||||
return _calendar.CalendarDateAttr_SetBackgroundColour(*args, **kwargs)
|
||||
|
||||
def SetBorderColour(*args, **kwargs):
|
||||
"""SetBorderColour(wxColour col)"""
|
||||
return _calendar.CalendarDateAttr_SetBorderColour(*args, **kwargs)
|
||||
|
||||
def SetFont(*args, **kwargs):
|
||||
"""SetFont(wxFont font)"""
|
||||
return _calendar.CalendarDateAttr_SetFont(*args, **kwargs)
|
||||
|
||||
def SetBorder(*args, **kwargs):
|
||||
"""SetBorder(wxCalendarDateBorder border)"""
|
||||
return _calendar.CalendarDateAttr_SetBorder(*args, **kwargs)
|
||||
|
||||
def SetHoliday(*args, **kwargs):
|
||||
"""SetHoliday(bool holiday)"""
|
||||
return _calendar.CalendarDateAttr_SetHoliday(*args, **kwargs)
|
||||
|
||||
def HasTextColour(*args, **kwargs):
|
||||
"""HasTextColour() -> bool"""
|
||||
return _calendar.CalendarDateAttr_HasTextColour(*args, **kwargs)
|
||||
|
||||
def HasBackgroundColour(*args, **kwargs):
|
||||
"""HasBackgroundColour() -> bool"""
|
||||
return _calendar.CalendarDateAttr_HasBackgroundColour(*args, **kwargs)
|
||||
|
||||
def HasBorderColour(*args, **kwargs):
|
||||
"""HasBorderColour() -> bool"""
|
||||
return _calendar.CalendarDateAttr_HasBorderColour(*args, **kwargs)
|
||||
|
||||
def HasFont(*args, **kwargs):
|
||||
"""HasFont() -> bool"""
|
||||
return _calendar.CalendarDateAttr_HasFont(*args, **kwargs)
|
||||
|
||||
def HasBorder(*args, **kwargs):
|
||||
"""HasBorder() -> bool"""
|
||||
return _calendar.CalendarDateAttr_HasBorder(*args, **kwargs)
|
||||
|
||||
def IsHoliday(*args, **kwargs):
|
||||
"""IsHoliday() -> bool"""
|
||||
return _calendar.CalendarDateAttr_IsHoliday(*args, **kwargs)
|
||||
|
||||
def GetTextColour(*args, **kwargs):
|
||||
"""GetTextColour() -> wxColour"""
|
||||
return _calendar.CalendarDateAttr_GetTextColour(*args, **kwargs)
|
||||
|
||||
def GetBackgroundColour(*args, **kwargs):
|
||||
"""GetBackgroundColour() -> wxColour"""
|
||||
return _calendar.CalendarDateAttr_GetBackgroundColour(*args, **kwargs)
|
||||
|
||||
def GetBorderColour(*args, **kwargs):
|
||||
"""GetBorderColour() -> wxColour"""
|
||||
return _calendar.CalendarDateAttr_GetBorderColour(*args, **kwargs)
|
||||
|
||||
def GetFont(*args, **kwargs):
|
||||
"""GetFont() -> wxFont"""
|
||||
return _calendar.CalendarDateAttr_GetFont(*args, **kwargs)
|
||||
|
||||
def GetBorder(*args, **kwargs):
|
||||
"""GetBorder() -> wxCalendarDateBorder"""
|
||||
return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
|
||||
|
||||
|
||||
class CalendarDateAttrPtr(CalendarDateAttr):
|
||||
def __init__(self, this):
|
||||
@@ -56,20 +111,29 @@ class CalendarDateAttrPtr(CalendarDateAttr):
|
||||
_calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr)
|
||||
|
||||
def CalendarDateAttrBorder(*args, **kwargs):
|
||||
"""CalendarDateAttrBorder(wxCalendarDateBorder border, wxColour colBorder=wxNullColour) -> CalendarDateAttr"""
|
||||
val = _calendar.new_CalendarDateAttrBorder(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
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):
|
||||
"""__init__(CalendarCtrl cal, wxEventType type) -> CalendarEvent"""
|
||||
newobj = _calendar.new_CalendarEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def GetDate(*args, **kwargs): return _calendar.CalendarEvent_GetDate(*args, **kwargs)
|
||||
def GetWeekDay(*args, **kwargs): return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def GetDate(*args, **kwargs):
|
||||
"""GetDate() -> DateTime"""
|
||||
return _calendar.CalendarEvent_GetDate(*args, **kwargs)
|
||||
|
||||
def GetWeekDay(*args, **kwargs):
|
||||
"""GetWeekDay() -> wxDateTime::WeekDay"""
|
||||
return _calendar.CalendarEvent_GetWeekDay(*args, **kwargs)
|
||||
|
||||
|
||||
class CalendarEventPtr(CalendarEvent):
|
||||
def __init__(self, this):
|
||||
@@ -92,41 +156,131 @@ 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"""
|
||||
newobj = _calendar.new_CalendarCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def Create(*args, **kwargs): return _calendar.CalendarCtrl_Create(*args, **kwargs)
|
||||
def SetDate(*args, **kwargs): return _calendar.CalendarCtrl_SetDate(*args, **kwargs)
|
||||
def GetDate(*args, **kwargs): return _calendar.CalendarCtrl_GetDate(*args, **kwargs)
|
||||
def SetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs)
|
||||
def GetLowerDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs)
|
||||
def SetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs)
|
||||
def GetUpperDateLimit(*args, **kwargs): return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs)
|
||||
def SetDateRange(*args, **kwargs): return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs)
|
||||
def EnableYearChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs)
|
||||
def EnableMonthChange(*args, **kwargs): return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs)
|
||||
def EnableHolidayDisplay(*args, **kwargs): return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs)
|
||||
def SetHeaderColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs)
|
||||
def GetHeaderColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs)
|
||||
def GetHeaderColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs)
|
||||
def SetHighlightColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs)
|
||||
def GetHighlightColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs)
|
||||
def GetHighlightColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs)
|
||||
def SetHolidayColours(*args, **kwargs): return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs)
|
||||
def GetHolidayColourFg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs)
|
||||
def GetHolidayColourBg(*args, **kwargs): return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs)
|
||||
def GetAttr(*args, **kwargs): return _calendar.CalendarCtrl_GetAttr(*args, **kwargs)
|
||||
def SetAttr(*args, **kwargs): return _calendar.CalendarCtrl_SetAttr(*args, **kwargs)
|
||||
def SetHoliday(*args, **kwargs): return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs)
|
||||
def ResetAttr(*args, **kwargs): return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs)
|
||||
def HitTest(*args, **kwargs): return _calendar.CalendarCtrl_HitTest(*args, **kwargs)
|
||||
def Enable(*args, **kwargs): return _calendar.CalendarCtrl_Enable(*args, **kwargs)
|
||||
def Show(*args, **kwargs): return _calendar.CalendarCtrl_Show(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
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"""
|
||||
return _calendar.CalendarCtrl_Create(*args, **kwargs)
|
||||
|
||||
def SetDate(*args, **kwargs):
|
||||
"""SetDate(DateTime date)"""
|
||||
return _calendar.CalendarCtrl_SetDate(*args, **kwargs)
|
||||
|
||||
def GetDate(*args, **kwargs):
|
||||
"""GetDate() -> DateTime"""
|
||||
return _calendar.CalendarCtrl_GetDate(*args, **kwargs)
|
||||
|
||||
def SetLowerDateLimit(*args, **kwargs):
|
||||
"""SetLowerDateLimit(DateTime date=wxDefaultDateTime) -> bool"""
|
||||
return _calendar.CalendarCtrl_SetLowerDateLimit(*args, **kwargs)
|
||||
|
||||
def GetLowerDateLimit(*args, **kwargs):
|
||||
"""GetLowerDateLimit() -> DateTime"""
|
||||
return _calendar.CalendarCtrl_GetLowerDateLimit(*args, **kwargs)
|
||||
|
||||
def SetUpperDateLimit(*args, **kwargs):
|
||||
"""SetUpperDateLimit(DateTime date=wxDefaultDateTime) -> bool"""
|
||||
return _calendar.CalendarCtrl_SetUpperDateLimit(*args, **kwargs)
|
||||
|
||||
def GetUpperDateLimit(*args, **kwargs):
|
||||
"""GetUpperDateLimit() -> DateTime"""
|
||||
return _calendar.CalendarCtrl_GetUpperDateLimit(*args, **kwargs)
|
||||
|
||||
def SetDateRange(*args, **kwargs):
|
||||
"""SetDateRange(DateTime lowerdate=wxDefaultDateTime, DateTime upperdate=wxDefaultDateTime) -> bool"""
|
||||
return _calendar.CalendarCtrl_SetDateRange(*args, **kwargs)
|
||||
|
||||
def EnableYearChange(*args, **kwargs):
|
||||
"""EnableYearChange(bool enable=True)"""
|
||||
return _calendar.CalendarCtrl_EnableYearChange(*args, **kwargs)
|
||||
|
||||
def EnableMonthChange(*args, **kwargs):
|
||||
"""EnableMonthChange(bool enable=True)"""
|
||||
return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs)
|
||||
|
||||
def EnableHolidayDisplay(*args, **kwargs):
|
||||
"""EnableHolidayDisplay(bool display=True)"""
|
||||
return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs)
|
||||
|
||||
def SetHeaderColours(*args, **kwargs):
|
||||
"""SetHeaderColours(wxColour colFg, wxColour colBg)"""
|
||||
return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs)
|
||||
|
||||
def GetHeaderColourFg(*args, **kwargs):
|
||||
"""GetHeaderColourFg() -> wxColour"""
|
||||
return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs)
|
||||
|
||||
def GetHeaderColourBg(*args, **kwargs):
|
||||
"""GetHeaderColourBg() -> wxColour"""
|
||||
return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs)
|
||||
|
||||
def SetHighlightColours(*args, **kwargs):
|
||||
"""SetHighlightColours(wxColour colFg, wxColour colBg)"""
|
||||
return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs)
|
||||
|
||||
def GetHighlightColourFg(*args, **kwargs):
|
||||
"""GetHighlightColourFg() -> wxColour"""
|
||||
return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs)
|
||||
|
||||
def GetHighlightColourBg(*args, **kwargs):
|
||||
"""GetHighlightColourBg() -> wxColour"""
|
||||
return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs)
|
||||
|
||||
def SetHolidayColours(*args, **kwargs):
|
||||
"""SetHolidayColours(wxColour colFg, wxColour colBg)"""
|
||||
return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs)
|
||||
|
||||
def GetHolidayColourFg(*args, **kwargs):
|
||||
"""GetHolidayColourFg() -> wxColour"""
|
||||
return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs)
|
||||
|
||||
def GetHolidayColourBg(*args, **kwargs):
|
||||
"""GetHolidayColourBg() -> wxColour"""
|
||||
return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs)
|
||||
|
||||
def GetAttr(*args, **kwargs):
|
||||
"""GetAttr(size_t day) -> CalendarDateAttr"""
|
||||
return _calendar.CalendarCtrl_GetAttr(*args, **kwargs)
|
||||
|
||||
def SetAttr(*args, **kwargs):
|
||||
"""SetAttr(size_t day, CalendarDateAttr attr)"""
|
||||
return _calendar.CalendarCtrl_SetAttr(*args, **kwargs)
|
||||
|
||||
def SetHoliday(*args, **kwargs):
|
||||
"""SetHoliday(size_t day)"""
|
||||
return _calendar.CalendarCtrl_SetHoliday(*args, **kwargs)
|
||||
|
||||
def ResetAttr(*args, **kwargs):
|
||||
"""ResetAttr(size_t day)"""
|
||||
return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs)
|
||||
|
||||
def HitTest(*args, **kwargs):
|
||||
"""HitTest(Point pos, DateTime date=None, wxDateTime::WeekDay wd=None) -> wxCalendarHitTestResult"""
|
||||
return _calendar.CalendarCtrl_HitTest(*args, **kwargs)
|
||||
|
||||
def Enable(*args, **kwargs):
|
||||
"""Enable(bool enable=True) -> bool"""
|
||||
return _calendar.CalendarCtrl_Enable(*args, **kwargs)
|
||||
|
||||
def Show(*args, **kwargs):
|
||||
"""Show(bool show=True) -> bool"""
|
||||
return _calendar.CalendarCtrl_Show(*args, **kwargs)
|
||||
|
||||
|
||||
class CalendarCtrlPtr(CalendarCtrl):
|
||||
def __init__(self, this):
|
||||
@@ -136,6 +290,7 @@ class CalendarCtrlPtr(CalendarCtrl):
|
||||
_calendar.CalendarCtrl_swigregister(CalendarCtrlPtr)
|
||||
|
||||
def PreCalendarCtrl(*args, **kwargs):
|
||||
"""PreCalendarCtrl() -> CalendarCtrl"""
|
||||
val = _calendar.new_PreCalendarCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
@@ -913,7 +913,7 @@ static PyObject * CalendarEvent_swigregister(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindowID arg2 ;
|
||||
int arg2 ;
|
||||
wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
|
||||
wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
|
||||
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
||||
@@ -926,7 +926,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject
|
||||
wxCalendarCtrl *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = false ;
|
||||
bool temp7 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
@@ -960,7 +960,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = true;
|
||||
temp7 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1011,7 +1011,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxWindowID arg3 ;
|
||||
int arg3 ;
|
||||
wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
|
||||
wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
|
||||
wxPoint const &arg5_defvalue = wxDefaultPosition ;
|
||||
@@ -1024,7 +1024,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj
|
||||
bool result;
|
||||
wxPoint temp5 ;
|
||||
wxSize temp6 ;
|
||||
bool temp8 = false ;
|
||||
bool temp8 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
@@ -1060,7 +1060,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg8 = wxString_in_helper(obj7);
|
||||
if (arg8 == NULL) SWIG_fail;
|
||||
temp8 = true;
|
||||
temp8 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1313,7 +1313,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *self, PyObject *args,
|
||||
static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg2 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1343,7 +1343,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *self, PyObject *a
|
||||
static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg2 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1373,7 +1373,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *self, PyObject *
|
||||
static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg2 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1849,7 +1849,7 @@ static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *self, PyObject *args, PyOb
|
||||
static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1880,7 +1880,7 @@ static PyObject *_wrap_CalendarCtrl_Enable(PyObject *self, PyObject *args, PyObj
|
||||
static PyObject *_wrap_CalendarCtrl_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
+3011
-736
File diff suppressed because it is too large
Load Diff
+1077
-430
File diff suppressed because one or more lines are too long
+4463
-1149
File diff suppressed because it is too large
Load Diff
+689
-632
File diff suppressed because it is too large
Load Diff
+1827
-528
File diff suppressed because it is too large
Load Diff
+459
-1094
File diff suppressed because one or more lines are too long
+1709
-442
File diff suppressed because it is too large
Load Diff
+111
-105
File diff suppressed because it is too large
Load Diff
+1118
-293
File diff suppressed because it is too large
Load Diff
+232
-181
File diff suppressed because it is too large
Load Diff
+2962
-788
File diff suppressed because it is too large
Load Diff
+375
-375
File diff suppressed because it is too large
Load Diff
+2535
-651
File diff suppressed because it is too large
Load Diff
+255
-255
File diff suppressed because it is too large
Load Diff
+205
-52
@@ -19,15 +19,24 @@ 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"""
|
||||
newobj = _wizard.new_WizardEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def GetDirection(*args, **kwargs): return _wizard.WizardEvent_GetDirection(*args, **kwargs)
|
||||
def GetPage(*args, **kwargs): return _wizard.WizardEvent_GetPage(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def GetDirection(*args, **kwargs):
|
||||
"""GetDirection() -> bool"""
|
||||
return _wizard.WizardEvent_GetDirection(*args, **kwargs)
|
||||
|
||||
def GetPage(*args, **kwargs):
|
||||
"""GetPage() -> WizardPage"""
|
||||
return _wizard.WizardEvent_GetPage(*args, **kwargs)
|
||||
|
||||
|
||||
class WizardEventPtr(WizardEvent):
|
||||
def __init__(self, this):
|
||||
@@ -37,13 +46,26 @@ class WizardEventPtr(WizardEvent):
|
||||
_wizard.WizardEvent_swigregister(WizardEventPtr)
|
||||
|
||||
class WizardPage(windows.Panel):
|
||||
def Create(*args, **kwargs): return _wizard.WizardPage_Create(*args, **kwargs)
|
||||
def GetPrev(*args, **kwargs): return _wizard.WizardPage_GetPrev(*args, **kwargs)
|
||||
def GetNext(*args, **kwargs): return _wizard.WizardPage_GetNext(*args, **kwargs)
|
||||
def GetBitmap(*args, **kwargs): return _wizard.WizardPage_GetBitmap(*args, **kwargs)
|
||||
""""""
|
||||
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,)
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool"""
|
||||
return _wizard.WizardPage_Create(*args, **kwargs)
|
||||
|
||||
def GetPrev(*args, **kwargs):
|
||||
"""GetPrev() -> WizardPage"""
|
||||
return _wizard.WizardPage_GetPrev(*args, **kwargs)
|
||||
|
||||
def GetNext(*args, **kwargs):
|
||||
"""GetNext() -> WizardPage"""
|
||||
return _wizard.WizardPage_GetNext(*args, **kwargs)
|
||||
|
||||
def GetBitmap(*args, **kwargs):
|
||||
"""GetBitmap() -> wxBitmap"""
|
||||
return _wizard.WizardPage_GetBitmap(*args, **kwargs)
|
||||
|
||||
|
||||
class WizardPagePtr(WizardPage):
|
||||
def __init__(self, this):
|
||||
@@ -53,34 +75,97 @@ 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):
|
||||
"""__init__(Wizard parent, wxBitmap bitmap=&wxNullBitmap, wxString resource=&wxPyEmptyString) -> PyWizardPage"""
|
||||
newobj = _wizard.new_PyWizardPage(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)
|
||||
def Create(*args, **kwargs): return _wizard.PyWizardPage_Create(*args, **kwargs)
|
||||
def _setCallbackInfo(*args, **kwargs): return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
|
||||
def base_DoMoveWindow(*args, **kwargs): return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs)
|
||||
def base_DoSetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs)
|
||||
def base_DoSetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
|
||||
def base_DoSetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs)
|
||||
def base_DoGetSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs)
|
||||
def base_DoGetClientSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs)
|
||||
def base_DoGetPosition(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs)
|
||||
def base_DoGetVirtualSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
|
||||
def base_DoGetBestSize(*args, **kwargs): return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
|
||||
def base_InitDialog(*args, **kwargs): return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
|
||||
def base_TransferDataToWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
|
||||
def base_TransferDataFromWindow(*args, **kwargs): return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
|
||||
def base_Validate(*args, **kwargs): return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
|
||||
def base_AcceptsFocus(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
|
||||
def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
|
||||
def base_GetMaxSize(*args, **kwargs): return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
|
||||
def base_AddChild(*args, **kwargs): return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
|
||||
def base_RemoveChild(*args, **kwargs): return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool"""
|
||||
return _wizard.PyWizardPage_Create(*args, **kwargs)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
"""_setCallbackInfo(PyObject self, PyObject _class)"""
|
||||
return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
|
||||
|
||||
def base_DoMoveWindow(*args, **kwargs):
|
||||
"""base_DoMoveWindow(int x, int y, int width, int height)"""
|
||||
return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs)
|
||||
|
||||
def base_DoSetSize(*args, **kwargs):
|
||||
"""base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
|
||||
return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs)
|
||||
|
||||
def base_DoSetClientSize(*args, **kwargs):
|
||||
"""base_DoSetClientSize(int width, int height)"""
|
||||
return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
|
||||
|
||||
def base_DoSetVirtualSize(*args, **kwargs):
|
||||
"""base_DoSetVirtualSize(int x, int y)"""
|
||||
return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetSize(*args, **kwargs):
|
||||
"""base_DoGetSize(int OUTPUT, int OUTPUT)"""
|
||||
return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetClientSize(*args, **kwargs):
|
||||
"""base_DoGetClientSize(int OUTPUT, int OUTPUT)"""
|
||||
return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetPosition(*args, **kwargs):
|
||||
"""base_DoGetPosition(int OUTPUT, int OUTPUT)"""
|
||||
return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs)
|
||||
|
||||
def base_DoGetVirtualSize(*args, **kwargs):
|
||||
"""base_DoGetVirtualSize() -> Size"""
|
||||
return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetBestSize(*args, **kwargs):
|
||||
"""base_DoGetBestSize() -> Size"""
|
||||
return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
|
||||
|
||||
def base_InitDialog(*args, **kwargs):
|
||||
"""base_InitDialog()"""
|
||||
return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
|
||||
|
||||
def base_TransferDataToWindow(*args, **kwargs):
|
||||
"""base_TransferDataToWindow() -> bool"""
|
||||
return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
|
||||
|
||||
def base_TransferDataFromWindow(*args, **kwargs):
|
||||
"""base_TransferDataFromWindow() -> bool"""
|
||||
return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
|
||||
|
||||
def base_Validate(*args, **kwargs):
|
||||
"""base_Validate() -> bool"""
|
||||
return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
|
||||
|
||||
def base_AcceptsFocus(*args, **kwargs):
|
||||
"""base_AcceptsFocus() -> bool"""
|
||||
return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
|
||||
|
||||
def base_AcceptsFocusFromKeyboard(*args, **kwargs):
|
||||
"""base_AcceptsFocusFromKeyboard() -> bool"""
|
||||
return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
|
||||
|
||||
def base_GetMaxSize(*args, **kwargs):
|
||||
"""base_GetMaxSize() -> Size"""
|
||||
return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
|
||||
|
||||
def base_AddChild(*args, **kwargs):
|
||||
"""base_AddChild(Window child)"""
|
||||
return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
|
||||
|
||||
def base_RemoveChild(*args, **kwargs):
|
||||
"""base_RemoveChild(Window child)"""
|
||||
return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs)
|
||||
|
||||
|
||||
class PyWizardPagePtr(PyWizardPage):
|
||||
def __init__(self, this):
|
||||
@@ -90,23 +175,42 @@ class PyWizardPagePtr(PyWizardPage):
|
||||
_wizard.PyWizardPage_swigregister(PyWizardPagePtr)
|
||||
|
||||
def PrePyWizardPage(*args, **kwargs):
|
||||
"""PrePyWizardPage() -> PyWizardPage"""
|
||||
val = _wizard.new_PrePyWizardPage(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
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"""
|
||||
newobj = _wizard.new_WizardPageSimple(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def Create(*args, **kwargs): return _wizard.WizardPageSimple_Create(*args, **kwargs)
|
||||
def SetPrev(*args, **kwargs): return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
|
||||
def SetNext(*args, **kwargs): return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
|
||||
Chain = staticmethod(_wizard.WizardPageSimple_Chain)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""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):
|
||||
"""SetPrev(WizardPage prev)"""
|
||||
return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
|
||||
|
||||
def SetNext(*args, **kwargs):
|
||||
"""SetNext(WizardPage next)"""
|
||||
return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
|
||||
|
||||
def Chain(*args, **kwargs):
|
||||
"""WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)"""
|
||||
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
|
||||
|
||||
Chain = staticmethod(Chain)
|
||||
|
||||
class WizardPageSimplePtr(WizardPageSimple):
|
||||
def __init__(self, this):
|
||||
@@ -116,34 +220,82 @@ class WizardPageSimplePtr(WizardPageSimple):
|
||||
_wizard.WizardPageSimple_swigregister(WizardPageSimplePtr)
|
||||
|
||||
def PreWizardPageSimple(*args, **kwargs):
|
||||
"""PreWizardPageSimple() -> WizardPageSimple"""
|
||||
val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
WizardPageSimple_Chain = _wizard.WizardPageSimple_Chain
|
||||
def WizardPageSimple_Chain(*args, **kwargs):
|
||||
"""WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
|
||||
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"""
|
||||
newobj = _wizard.new_Wizard(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def Create(*args, **kwargs): return _wizard.Wizard_Create(*args, **kwargs)
|
||||
def Init(*args, **kwargs): return _wizard.Wizard_Init(*args, **kwargs)
|
||||
def RunWizard(*args, **kwargs): return _wizard.Wizard_RunWizard(*args, **kwargs)
|
||||
def GetCurrentPage(*args, **kwargs): return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
|
||||
def SetPageSize(*args, **kwargs): return _wizard.Wizard_SetPageSize(*args, **kwargs)
|
||||
def GetPageSize(*args, **kwargs): return _wizard.Wizard_GetPageSize(*args, **kwargs)
|
||||
def FitToPage(*args, **kwargs): return _wizard.Wizard_FitToPage(*args, **kwargs)
|
||||
def GetPageAreaSizer(*args, **kwargs): return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
|
||||
def SetBorder(*args, **kwargs): return _wizard.Wizard_SetBorder(*args, **kwargs)
|
||||
def IsRunning(*args, **kwargs): return _wizard.Wizard_IsRunning(*args, **kwargs)
|
||||
def ShowPage(*args, **kwargs): return _wizard.Wizard_ShowPage(*args, **kwargs)
|
||||
def HasNextPage(*args, **kwargs): return _wizard.Wizard_HasNextPage(*args, **kwargs)
|
||||
def HasPrevPage(*args, **kwargs): return _wizard.Wizard_HasPrevPage(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""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):
|
||||
"""Init()"""
|
||||
return _wizard.Wizard_Init(*args, **kwargs)
|
||||
|
||||
def RunWizard(*args, **kwargs):
|
||||
"""RunWizard(WizardPage firstPage) -> bool"""
|
||||
return _wizard.Wizard_RunWizard(*args, **kwargs)
|
||||
|
||||
def GetCurrentPage(*args, **kwargs):
|
||||
"""GetCurrentPage() -> WizardPage"""
|
||||
return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
|
||||
|
||||
def SetPageSize(*args, **kwargs):
|
||||
"""SetPageSize(Size size)"""
|
||||
return _wizard.Wizard_SetPageSize(*args, **kwargs)
|
||||
|
||||
def GetPageSize(*args, **kwargs):
|
||||
"""GetPageSize() -> Size"""
|
||||
return _wizard.Wizard_GetPageSize(*args, **kwargs)
|
||||
|
||||
def FitToPage(*args, **kwargs):
|
||||
"""FitToPage(WizardPage firstPage)"""
|
||||
return _wizard.Wizard_FitToPage(*args, **kwargs)
|
||||
|
||||
def GetPageAreaSizer(*args, **kwargs):
|
||||
"""GetPageAreaSizer() -> Sizer"""
|
||||
return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
|
||||
|
||||
def SetBorder(*args, **kwargs):
|
||||
"""SetBorder(int border)"""
|
||||
return _wizard.Wizard_SetBorder(*args, **kwargs)
|
||||
|
||||
def IsRunning(*args, **kwargs):
|
||||
"""IsRunning() -> bool"""
|
||||
return _wizard.Wizard_IsRunning(*args, **kwargs)
|
||||
|
||||
def ShowPage(*args, **kwargs):
|
||||
"""ShowPage(WizardPage page, bool goingForward=True) -> bool"""
|
||||
return _wizard.Wizard_ShowPage(*args, **kwargs)
|
||||
|
||||
def HasNextPage(*args, **kwargs):
|
||||
"""HasNextPage(WizardPage page) -> bool"""
|
||||
return _wizard.Wizard_HasNextPage(*args, **kwargs)
|
||||
|
||||
def HasPrevPage(*args, **kwargs):
|
||||
"""HasPrevPage(WizardPage page) -> bool"""
|
||||
return _wizard.Wizard_HasPrevPage(*args, **kwargs)
|
||||
|
||||
|
||||
class WizardPtr(Wizard):
|
||||
def __init__(self, this):
|
||||
@@ -153,6 +305,7 @@ class WizardPtr(Wizard):
|
||||
_wizard.Wizard_swigregister(WizardPtr)
|
||||
|
||||
def PreWizard(*args, **kwargs):
|
||||
"""PreWizard() -> Wizard"""
|
||||
val = _wizard.new_PreWizard(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
@@ -385,7 +385,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *self, PyObject *args, PyObject
|
||||
PyObject *resultobj;
|
||||
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
|
||||
int arg2 = (int) -1 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
wxWizardPage *arg4 = (wxWizardPage *) NULL ;
|
||||
wxWizardEvent *result;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -484,7 +484,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = false ;
|
||||
bool temp4 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -506,7 +506,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *self, PyObject *args, PyObjec
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = true;
|
||||
temp4 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -687,7 +687,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = false ;
|
||||
bool temp4 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -709,7 +709,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = true;
|
||||
temp4 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1509,7 +1509,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar
|
||||
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
|
||||
long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
|
||||
wxWizard *result;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
wxPoint temp5 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -1525,7 +1525,7 @@ static PyObject *_wrap_new_Wizard(PyObject *self, PyObject *args, PyObject *kwar
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
}
|
||||
if (obj3) {
|
||||
@@ -1596,7 +1596,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k
|
||||
wxPoint const &arg6_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = false ;
|
||||
bool temp4 = False ;
|
||||
wxPoint temp6 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1614,7 +1614,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *self, PyObject *args, PyObject *k
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = true;
|
||||
temp4 = True;
|
||||
}
|
||||
}
|
||||
if (obj4) {
|
||||
@@ -1898,7 +1898,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *self, PyObject *args, PyObject
|
||||
PyObject *resultobj;
|
||||
wxWizard *arg1 = (wxWizard *) 0 ;
|
||||
wxWizardPage *arg2 = (wxWizardPage *) 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
@@ -351,6 +351,11 @@ wxHelpProvider_Set = wx.controls.HelpProvider_Set
|
||||
wxHelpProvider_Get = wx.controls.HelpProvider_Get
|
||||
wxHelpProvider = wx.controls.HelpProvider
|
||||
wxSimpleHelpProvider = wx.controls.SimpleHelpProvider
|
||||
wxDragIcon = wx.controls.DragIcon
|
||||
wxDragString = wx.controls.DragString
|
||||
wxDragTreeItem = wx.controls.DragTreeItem
|
||||
wxDragListItem = wx.controls.DragListItem
|
||||
wxDragImage = wx.controls.DragImage
|
||||
|
||||
|
||||
d = globals()
|
||||
|
||||
@@ -899,6 +899,7 @@ wxWakeUpIdle = wx.core.WakeUpIdle
|
||||
wxPostEvent = wx.core.PostEvent
|
||||
wxApp_CleanUp = wx.core.App_CleanUp
|
||||
wxGetApp = wx.core.GetApp
|
||||
wxPanelNameStr = wx.core.PanelNameStr
|
||||
wxPreWindow = wx.core.PreWindow
|
||||
wxWindow_NewControlId = wx.core.Window_NewControlId
|
||||
wxWindow_NextControlId = wx.core.Window_NextControlId
|
||||
|
||||
@@ -493,11 +493,6 @@ wxTheFontList = wx.gdi.TheFontList
|
||||
wxThePenList = wx.gdi.ThePenList
|
||||
wxTheBrushList = wx.gdi.TheBrushList
|
||||
wxTheColourDatabase = wx.gdi.TheColourDatabase
|
||||
wxDragIcon = wx.gdi.DragIcon
|
||||
wxDragString = wx.gdi.DragString
|
||||
wxDragTreeItem = wx.gdi.DragTreeItem
|
||||
wxDragListItem = wx.gdi.DragListItem
|
||||
wxDragImage = wx.gdi.DragImage
|
||||
wxEffects = wx.gdi.Effects
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user