reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1373,9 +1373,12 @@ class Rect(object):
|
||||
"""
|
||||
return _core_.Rect_ContainsRect(*args, **kwargs)
|
||||
|
||||
Inside = wx._deprecated(Contains, "Use `Contains` instead.")
|
||||
InsideXY = wx._deprecated(ContainsXY, "Use `ContainsXY` instead.")
|
||||
InsideRect = wx._deprecated(ContainsRect, "Use `ContainsRect` instead.")
|
||||
#Inside = wx._deprecated(Contains, "Use `Contains` instead.")
|
||||
#InsideXY = wx._deprecated(ContainsXY, "Use `ContainsXY` instead.")
|
||||
#InsideRect = wx._deprecated(ContainsRect, "Use `ContainsRect` instead.")
|
||||
Inside = Contains
|
||||
InsideXY = ContainsXY
|
||||
InsideRect = ContainsRect
|
||||
|
||||
def Intersects(*args, **kwargs):
|
||||
"""
|
||||
|
@@ -2851,7 +2851,7 @@ def EncodingConverter_CanConvert(*args, **kwargs):
|
||||
# to the default catalog path.
|
||||
if wx.Platform == "__WXMSW__":
|
||||
import os
|
||||
_localedir = os.path.join(os.path.split(__file__)[0], "i18n")
|
||||
_localedir = os.path.join(os.path.split(__file__)[0], "locale")
|
||||
Locale.AddCatalogLookupPathPrefix(_localedir)
|
||||
del os
|
||||
|
||||
@@ -4559,7 +4559,27 @@ _gdi_.ScreenDC_swigregister(ScreenDC)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class ClientDC(DC):
|
||||
class WindowDC(DC):
|
||||
"""
|
||||
A wx.WindowDC must be constructed if an application wishes to paint on
|
||||
the whole area of a window (client and decorations). This should
|
||||
normally be constructed as a temporary stack object; don't store a
|
||||
wx.WindowDC object.
|
||||
"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window win) -> WindowDC
|
||||
|
||||
Constructor. Pass the window on which you wish to paint.
|
||||
"""
|
||||
_gdi_.WindowDC_swiginit(self,_gdi_.new_WindowDC(*args, **kwargs))
|
||||
_gdi_.WindowDC_swigregister(WindowDC)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class ClientDC(WindowDC):
|
||||
"""
|
||||
A wx.ClientDC must be constructed if an application wishes to paint on
|
||||
the client area of a window from outside an EVT_PAINT event. This should
|
||||
@@ -4586,7 +4606,7 @@ _gdi_.ClientDC_swigregister(ClientDC)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class PaintDC(DC):
|
||||
class PaintDC(ClientDC):
|
||||
"""
|
||||
A wx.PaintDC must be constructed if an application wishes to paint on
|
||||
the client area of a window from within an EVT_PAINT event
|
||||
@@ -4616,26 +4636,6 @@ _gdi_.PaintDC_swigregister(PaintDC)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class WindowDC(DC):
|
||||
"""
|
||||
A wx.WindowDC must be constructed if an application wishes to paint on
|
||||
the whole area of a window (client and decorations). This should
|
||||
normally be constructed as a temporary stack object; don't store a
|
||||
wx.WindowDC object.
|
||||
"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window win) -> WindowDC
|
||||
|
||||
Constructor. Pass the window on which you wish to paint.
|
||||
"""
|
||||
_gdi_.WindowDC_swiginit(self,_gdi_.new_WindowDC(*args, **kwargs))
|
||||
_gdi_.WindowDC_swigregister(WindowDC)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class MirrorDC(DC):
|
||||
"""
|
||||
wx.MirrorDC is a simple wrapper class which is always associated with a
|
||||
@@ -4753,6 +4753,265 @@ _gdi_.PrinterDC_swigregister(PrinterDC)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class GraphicsPath(object):
|
||||
"""Proxy of C++ GraphicsPath class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsPath
|
||||
__del__ = lambda self : None;
|
||||
def MoveToPoint(*args, **kwargs):
|
||||
"""
|
||||
MoveToPoint(self, Double x, Double y)
|
||||
|
||||
Begins a new subpath at (x,y)
|
||||
"""
|
||||
return _gdi_.GraphicsPath_MoveToPoint(*args, **kwargs)
|
||||
|
||||
def AddLineToPoint(*args, **kwargs):
|
||||
"""
|
||||
AddLineToPoint(self, Double x, Double y)
|
||||
|
||||
Adds a straight line from the current point to (x,y)
|
||||
"""
|
||||
return _gdi_.GraphicsPath_AddLineToPoint(*args, **kwargs)
|
||||
|
||||
def AddCurveToPoint(*args, **kwargs):
|
||||
"""
|
||||
AddCurveToPoint(self, Double cx1, Double cy1, Double cx2, Double cy2, Double x,
|
||||
Double y)
|
||||
|
||||
Adds a cubic Bezier curve from the current point, using two control
|
||||
points and an end point
|
||||
"""
|
||||
return _gdi_.GraphicsPath_AddCurveToPoint(*args, **kwargs)
|
||||
|
||||
def CloseSubpath(*args, **kwargs):
|
||||
"""
|
||||
CloseSubpath(self)
|
||||
|
||||
closes the current sub-path
|
||||
"""
|
||||
return _gdi_.GraphicsPath_CloseSubpath(*args, **kwargs)
|
||||
|
||||
def GetCurrentPoint(*args, **kwargs):
|
||||
"""
|
||||
GetCurrentPoint(self) -> Point2D
|
||||
|
||||
Gets the last point of the current path, (0,0) if not yet set
|
||||
"""
|
||||
return _gdi_.GraphicsPath_GetCurrentPoint(*args, **kwargs)
|
||||
|
||||
def AddArc(*args, **kwargs):
|
||||
"""
|
||||
AddArc(self, Double x, Double y, Double r, Double startAngle, Double endAngle,
|
||||
bool clockwise)
|
||||
|
||||
Adds an arc of a circle centering at (x,y) with radius (r) from
|
||||
startAngle to endAngle
|
||||
"""
|
||||
return _gdi_.GraphicsPath_AddArc(*args, **kwargs)
|
||||
|
||||
def AddQuadCurveToPoint(*args, **kwargs):
|
||||
"""
|
||||
AddQuadCurveToPoint(self, Double cx, Double cy, Double x, Double y)
|
||||
|
||||
Adds a quadratic Bezier curve from the current point, using a control
|
||||
point and an end point
|
||||
"""
|
||||
return _gdi_.GraphicsPath_AddQuadCurveToPoint(*args, **kwargs)
|
||||
|
||||
def AddRectangle(*args, **kwargs):
|
||||
"""
|
||||
AddRectangle(self, Double x, Double y, Double w, Double h)
|
||||
|
||||
Appends a rectangle as a new closed subpath
|
||||
"""
|
||||
return _gdi_.GraphicsPath_AddRectangle(*args, **kwargs)
|
||||
|
||||
def AddCircle(*args, **kwargs):
|
||||
"""
|
||||
AddCircle(self, Double x, Double y, Double r)
|
||||
|
||||
Appends an ellipsis as a new closed subpath fitting the passed rectangle
|
||||
"""
|
||||
return _gdi_.GraphicsPath_AddCircle(*args, **kwargs)
|
||||
|
||||
def AddArcToPoint(*args, **kwargs):
|
||||
"""
|
||||
AddArcToPoint(self, Double x1, Double y1, Double x2, Double y2, Double r)
|
||||
|
||||
Draws a an arc to two tangents connecting (current) to (x1,y1) and (x1,y1)
|
||||
to (x2,y2), also a straight line from (current) to (x1,y1)
|
||||
"""
|
||||
return _gdi_.GraphicsPath_AddArcToPoint(*args, **kwargs)
|
||||
|
||||
_gdi_.GraphicsPath_swigregister(GraphicsPath)
|
||||
|
||||
class GraphicsContext(object):
|
||||
"""Proxy of C++ GraphicsContext class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsContext
|
||||
__del__ = lambda self : None;
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(WindowDC dc) -> GraphicsContext"""
|
||||
val = _gdi_.GraphicsContext_Create(*args, **kwargs)
|
||||
val.__dc = args[0] # save a ref so the other dc will not be deleted before self
|
||||
return val
|
||||
|
||||
Create = staticmethod(Create)
|
||||
def CreatePath(*args, **kwargs):
|
||||
"""CreatePath(self) -> GraphicsPath"""
|
||||
return _gdi_.GraphicsContext_CreatePath(*args, **kwargs)
|
||||
|
||||
def PushState(*args, **kwargs):
|
||||
"""PushState(self)"""
|
||||
return _gdi_.GraphicsContext_PushState(*args, **kwargs)
|
||||
|
||||
def PopState(*args, **kwargs):
|
||||
"""PopState(self)"""
|
||||
return _gdi_.GraphicsContext_PopState(*args, **kwargs)
|
||||
|
||||
def Clip(*args, **kwargs):
|
||||
"""Clip(self, Region region)"""
|
||||
return _gdi_.GraphicsContext_Clip(*args, **kwargs)
|
||||
|
||||
def Translate(*args, **kwargs):
|
||||
"""Translate(self, Double dx, Double dy)"""
|
||||
return _gdi_.GraphicsContext_Translate(*args, **kwargs)
|
||||
|
||||
def Scale(*args, **kwargs):
|
||||
"""Scale(self, Double xScale, Double yScale)"""
|
||||
return _gdi_.GraphicsContext_Scale(*args, **kwargs)
|
||||
|
||||
def Rotate(*args, **kwargs):
|
||||
"""Rotate(self, Double angle)"""
|
||||
return _gdi_.GraphicsContext_Rotate(*args, **kwargs)
|
||||
|
||||
def SetPen(*args, **kwargs):
|
||||
"""SetPen(self, Pen pen)"""
|
||||
return _gdi_.GraphicsContext_SetPen(*args, **kwargs)
|
||||
|
||||
def SetBrush(*args, **kwargs):
|
||||
"""SetBrush(self, Brush brush)"""
|
||||
return _gdi_.GraphicsContext_SetBrush(*args, **kwargs)
|
||||
|
||||
def SetLinearGradientBrush(*args, **kwargs):
|
||||
"""
|
||||
SetLinearGradientBrush(self, Double x1, Double y1, Double x2, Double y2, Colour c1,
|
||||
Colour c2)
|
||||
"""
|
||||
return _gdi_.GraphicsContext_SetLinearGradientBrush(*args, **kwargs)
|
||||
|
||||
def SetRadialGradientBrush(*args, **kwargs):
|
||||
"""
|
||||
SetRadialGradientBrush(self, Double xo, Double yo, Double xc, Double yc, Double radius,
|
||||
Colour oColor, Colour cColor)
|
||||
"""
|
||||
return _gdi_.GraphicsContext_SetRadialGradientBrush(*args, **kwargs)
|
||||
|
||||
def SetFont(*args, **kwargs):
|
||||
"""SetFont(self, Font font)"""
|
||||
return _gdi_.GraphicsContext_SetFont(*args, **kwargs)
|
||||
|
||||
def SetTextColor(*args, **kwargs):
|
||||
"""SetTextColor(self, Colour col)"""
|
||||
return _gdi_.GraphicsContext_SetTextColor(*args, **kwargs)
|
||||
|
||||
def StrokePath(*args, **kwargs):
|
||||
"""StrokePath(self, GraphicsPath path)"""
|
||||
return _gdi_.GraphicsContext_StrokePath(*args, **kwargs)
|
||||
|
||||
def FillPath(*args, **kwargs):
|
||||
"""FillPath(self, GraphicsPath path, int fillStyle=WINDING_RULE)"""
|
||||
return _gdi_.GraphicsContext_FillPath(*args, **kwargs)
|
||||
|
||||
def DrawPath(*args, **kwargs):
|
||||
"""DrawPath(self, GraphicsPath path, int fillStyle=WINDING_RULE)"""
|
||||
return _gdi_.GraphicsContext_DrawPath(*args, **kwargs)
|
||||
|
||||
def DrawText(*args):
|
||||
"""
|
||||
DrawText(self, String str, Double x, Double y)
|
||||
DrawText(self, String str, Double x, Double y, Double angle)
|
||||
"""
|
||||
return _gdi_.GraphicsContext_DrawText(*args)
|
||||
|
||||
def GetTextExtent(*args, **kwargs):
|
||||
"""
|
||||
GetTextExtent(self, String text, Double OUTPUT, Double OUTPUT, Double OUTPUT,
|
||||
Double OUTPUT)
|
||||
"""
|
||||
return _gdi_.GraphicsContext_GetTextExtent(*args, **kwargs)
|
||||
|
||||
def GetPartialTextExtents(*args, **kwargs):
|
||||
"""GetPartialTextExtents(self, String text, wxArrayDouble widths)"""
|
||||
return _gdi_.GraphicsContext_GetPartialTextExtents(*args, **kwargs)
|
||||
|
||||
def DrawBitmap(*args, **kwargs):
|
||||
"""DrawBitmap(self, Bitmap bmp, Double x, Double y, Double w, Double h)"""
|
||||
return _gdi_.GraphicsContext_DrawBitmap(*args, **kwargs)
|
||||
|
||||
def DrawIcon(*args, **kwargs):
|
||||
"""DrawIcon(self, Icon icon, Double x, Double y, Double w, Double h)"""
|
||||
return _gdi_.GraphicsContext_DrawIcon(*args, **kwargs)
|
||||
|
||||
def StrokeLine(*args, **kwargs):
|
||||
"""StrokeLine(self, Double x1, Double y1, Double x2, Double y2)"""
|
||||
return _gdi_.GraphicsContext_StrokeLine(*args, **kwargs)
|
||||
|
||||
def StrokeLines(*args):
|
||||
"""
|
||||
StrokeLines(self, size_t n, Point2D points)
|
||||
StrokeLines(self, size_t n, Point2D beginPoints, Point2D endPoints)
|
||||
"""
|
||||
return _gdi_.GraphicsContext_StrokeLines(*args)
|
||||
|
||||
def DrawLines(*args, **kwargs):
|
||||
"""DrawLines(self, size_t n, Point2D points, int fillStyle=WINDING_RULE)"""
|
||||
return _gdi_.GraphicsContext_DrawLines(*args, **kwargs)
|
||||
|
||||
def DrawRectangle(*args, **kwargs):
|
||||
"""DrawRectangle(self, Double x, Double y, Double w, Double h)"""
|
||||
return _gdi_.GraphicsContext_DrawRectangle(*args, **kwargs)
|
||||
|
||||
def DrawEllipse(*args, **kwargs):
|
||||
"""DrawEllipse(self, Double x, Double y, Double w, Double h)"""
|
||||
return _gdi_.GraphicsContext_DrawEllipse(*args, **kwargs)
|
||||
|
||||
def DrawRoundedRectangle(*args, **kwargs):
|
||||
"""DrawRoundedRectangle(self, Double x, Double y, Double w, Double h, Double radius)"""
|
||||
return _gdi_.GraphicsContext_DrawRoundedRectangle(*args, **kwargs)
|
||||
|
||||
_gdi_.GraphicsContext_swigregister(GraphicsContext)
|
||||
|
||||
def GraphicsContext_Create(*args, **kwargs):
|
||||
"""GraphicsContext_Create(WindowDC dc) -> GraphicsContext"""
|
||||
val = _gdi_.GraphicsContext_Create(*args, **kwargs)
|
||||
val.__dc = args[0] # save a ref so the other dc will not be deleted before self
|
||||
return val
|
||||
|
||||
class GCDC(DC):
|
||||
"""Proxy of C++ GCDC class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, WindowDC dc) -> GCDC"""
|
||||
_gdi_.GCDC_swiginit(self,_gdi_.new_GCDC(*args, **kwargs))
|
||||
self.__dc = args[0] # save a ref so the other dc will not be deleted before self
|
||||
|
||||
__swig_destroy__ = _gdi_.delete_GCDC
|
||||
__del__ = lambda self : None;
|
||||
def GetGraphicContext(*args, **kwargs):
|
||||
"""GetGraphicContext(self) -> GraphicsContext"""
|
||||
return _gdi_.GCDC_GetGraphicContext(*args, **kwargs)
|
||||
|
||||
_gdi_.GCDC_swigregister(GCDC)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
IMAGELIST_DRAW_NORMAL = _gdi_.IMAGELIST_DRAW_NORMAL
|
||||
IMAGELIST_DRAW_TRANSPARENT = _gdi_.IMAGELIST_DRAW_TRANSPARENT
|
||||
IMAGELIST_DRAW_SELECTED = _gdi_.IMAGELIST_DRAW_SELECTED
|
||||
@@ -5682,6 +5941,43 @@ class PseudoDC(_core.Object):
|
||||
"""
|
||||
return _gdi_.PseudoDC_TranslateId(*args, **kwargs)
|
||||
|
||||
def SetIdGreyedOut(*args, **kwargs):
|
||||
"""
|
||||
SetIdGreyedOut(self, int id, bool greyout=True)
|
||||
|
||||
Set whether an object is drawn greyed out or not.
|
||||
"""
|
||||
return _gdi_.PseudoDC_SetIdGreyedOut(*args, **kwargs)
|
||||
|
||||
def GetIdGreyedOut(*args, **kwargs):
|
||||
"""
|
||||
GetIdGreyedOut(self, int id) -> bool
|
||||
|
||||
Get whether an object is drawn greyed out or not.
|
||||
"""
|
||||
return _gdi_.PseudoDC_GetIdGreyedOut(*args, **kwargs)
|
||||
|
||||
def FindObjects(*args, **kwargs):
|
||||
"""
|
||||
FindObjects(self, int x, int y, int radius=1, wxColor bg=*wxWHITE) -> PyObject
|
||||
|
||||
Returns a list of all the id's that draw a pixel with color
|
||||
not equal to bg within radius of (x,y).
|
||||
Returns an empty list if nothing is found. The list is in
|
||||
reverse drawing order so list[0] is the top id.
|
||||
"""
|
||||
return _gdi_.PseudoDC_FindObjects(*args, **kwargs)
|
||||
|
||||
def FindObjectsByBBox(*args, **kwargs):
|
||||
"""
|
||||
FindObjectsByBBox(self, int x, int y) -> PyObject
|
||||
|
||||
Returns a list of all the id's whose bounding boxes include (x,y).
|
||||
Returns an empty list if nothing is found. The list is in
|
||||
reverse drawing order so list[0] is the top id.
|
||||
"""
|
||||
return _gdi_.PseudoDC_FindObjectsByBBox(*args, **kwargs)
|
||||
|
||||
def DrawIdToDC(*args, **kwargs):
|
||||
"""
|
||||
DrawIdToDC(self, int id, DC dc)
|
||||
|
File diff suppressed because one or more lines are too long
@@ -1266,12 +1266,13 @@ class DockInfo(object):
|
||||
resizable = property(_aui.DockInfo_resizable_get, _aui.DockInfo_resizable_set)
|
||||
toolbar = property(_aui.DockInfo_toolbar_get, _aui.DockInfo_toolbar_set)
|
||||
fixed = property(_aui.DockInfo_fixed_get, _aui.DockInfo_fixed_set)
|
||||
__swig_destroy__ = _aui.delete_DockInfo
|
||||
__del__ = lambda self : None;
|
||||
_aui.DockInfo_swigregister(DockInfo)
|
||||
|
||||
class DockUIPart(object):
|
||||
"""Proxy of C++ DockUIPart class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
typeCaption = _aui.DockUIPart_typeCaption
|
||||
typeGripper = _aui.DockUIPart_typeGripper
|
||||
@@ -1290,14 +1291,23 @@ class DockUIPart(object):
|
||||
cont_sizer = property(_aui.DockUIPart_cont_sizer_get, _aui.DockUIPart_cont_sizer_set)
|
||||
sizer_item = property(_aui.DockUIPart_sizer_item_get, _aui.DockUIPart_sizer_item_set)
|
||||
rect = property(_aui.DockUIPart_rect_get, _aui.DockUIPart_rect_set)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> DockUIPart"""
|
||||
_aui.DockUIPart_swiginit(self,_aui.new_DockUIPart(*args, **kwargs))
|
||||
__swig_destroy__ = _aui.delete_DockUIPart
|
||||
__del__ = lambda self : None;
|
||||
_aui.DockUIPart_swigregister(DockUIPart)
|
||||
|
||||
class PaneButton(object):
|
||||
"""Proxy of C++ PaneButton class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
button_id = property(_aui.PaneButton_button_id_get, _aui.PaneButton_button_id_set)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> PaneButton"""
|
||||
_aui.PaneButton_swiginit(self,_aui.new_PaneButton(*args, **kwargs))
|
||||
__swig_destroy__ = _aui.delete_PaneButton
|
||||
__del__ = lambda self : None;
|
||||
_aui.PaneButton_swigregister(PaneButton)
|
||||
|
||||
wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON
|
||||
|
@@ -2858,6 +2858,11 @@ SWIG_AsVal_bool (PyObject *obj, bool *val)
|
||||
}
|
||||
}
|
||||
|
||||
SWIGINTERN void delete_wxDockInfo(wxDockInfo *self){}
|
||||
SWIGINTERN wxDockUIPart *new_wxDockUIPart(){}
|
||||
SWIGINTERN void delete_wxDockUIPart(wxDockUIPart *self){}
|
||||
SWIGINTERN wxPaneButton *new_wxPaneButton(){}
|
||||
SWIGINTERN void delete_wxPaneButton(wxPaneButton *self){}
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
||||
@@ -9180,6 +9185,34 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_delete_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDockInfo *arg1 = (wxDockInfo *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockInfo" "', expected argument " "1"" of type '" "wxDockInfo *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxDockInfo * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
delete_wxDockInfo(arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@@ -9617,6 +9650,52 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_new_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDockUIPart *result = 0 ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"new_DockUIPart",0,0,0)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxDockUIPart *)new_wxDockUIPart();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_NEW | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_delete_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockUIPart" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
delete_wxDockUIPart(arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@@ -9624,6 +9703,10 @@ SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyO
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *DockUIPart_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
return SWIG_Python_InitShadowInstance(args);
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPaneButton *arg1 = (wxPaneButton *) 0 ;
|
||||
@@ -9677,6 +9760,52 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_new_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPaneButton *result = 0 ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"new_PaneButton",0,0,0)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxPaneButton *)new_wxPaneButton();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, SWIG_POINTER_NEW | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_delete_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPaneButton *arg1 = (wxPaneButton *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneButton" "', expected argument " "1"" of type '" "wxPaneButton *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxPaneButton * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
delete_wxPaneButton(arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@@ -9684,6 +9813,10 @@ SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyO
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *PaneButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
return SWIG_Python_InitShadowInstance(args);
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDockArt *arg1 = (wxDockArt *) 0 ;
|
||||
@@ -13291,6 +13424,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
|
||||
{ (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
|
||||
{ (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
|
||||
{ (char *)"delete_DockInfo", (PyCFunction)_wrap_delete_DockInfo, METH_O, NULL},
|
||||
{ (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
|
||||
@@ -13309,10 +13443,16 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
|
||||
{ (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
|
||||
{ (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
|
||||
{ (char *)"new_DockUIPart", (PyCFunction)_wrap_new_DockUIPart, METH_NOARGS, NULL},
|
||||
{ (char *)"delete_DockUIPart", (PyCFunction)_wrap_delete_DockUIPart, METH_O, NULL},
|
||||
{ (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"DockUIPart_swiginit", DockUIPart_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
|
||||
{ (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
|
||||
{ (char *)"new_PaneButton", (PyCFunction)_wrap_new_PaneButton, METH_NOARGS, NULL},
|
||||
{ (char *)"delete_PaneButton", (PyCFunction)_wrap_delete_PaneButton, METH_O, NULL},
|
||||
{ (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"PaneButton_swiginit", PaneButton_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
|
||||
{ (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
Reference in New Issue
Block a user