Some docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -670,13 +670,15 @@ public:
|
||||
static wxGraphicsContext* , CreateFromNative( void * context ) ,
|
||||
"Creates a wx.GraphicsContext from a native context. This native
|
||||
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo.", "");
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo. NOTE: For
|
||||
wxPython we still need a way to make this value usable.", "");
|
||||
|
||||
|
||||
%newobject CreateFromNative;
|
||||
DocDeclStr(
|
||||
static wxGraphicsContext* , CreateFromNativeWindow( void * window ) ,
|
||||
"Creates a wx.GraphicsContext from a native window.", "");
|
||||
"Creates a wx.GraphicsContext from a native window. NOTE: For wxPython
|
||||
we still need a way to make this value usable.", "");
|
||||
|
||||
|
||||
|
||||
@@ -802,7 +804,6 @@ this context.", "");
|
||||
|
||||
|
||||
|
||||
|
||||
DocStr(SetPen, "Sets the stroke pen", "");
|
||||
%nokwargs SetPen;
|
||||
virtual void SetPen( const wxGraphicsPen& pen );
|
||||
@@ -937,7 +938,8 @@ and the current brush is used for filling.", "");
|
||||
|
||||
|
||||
%extend {
|
||||
DocStr(StrokeLineSegements,
|
||||
DocAStr(StrokeLineSegements,
|
||||
"StrokeLineSegments(self, List beginPoints, List endPoints)",
|
||||
"Stroke disconnected lines from begin to end points", "");
|
||||
void StrokeLineSegements(PyObject* beginPoints, PyObject* endPoints)
|
||||
{
|
||||
|
@@ -5391,7 +5391,8 @@ class GraphicsContext(GraphicsObject):
|
||||
|
||||
Creates a wx.GraphicsContext from a native context. This native
|
||||
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo.
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo. NOTE: For
|
||||
wxPython we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
|
||||
|
||||
@@ -5400,7 +5401,8 @@ class GraphicsContext(GraphicsObject):
|
||||
"""
|
||||
CreateFromNativeWindow(void window) -> GraphicsContext
|
||||
|
||||
Creates a wx.GraphicsContext from a native window.
|
||||
Creates a wx.GraphicsContext from a native window. NOTE: For wxPython
|
||||
we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNativeWindow(*args, **kwargs)
|
||||
|
||||
@@ -5719,7 +5721,7 @@ class GraphicsContext(GraphicsObject):
|
||||
|
||||
def StrokeLineSegements(*args, **kwargs):
|
||||
"""
|
||||
StrokeLineSegements(self, PyObject beginPoints, PyObject endPoints)
|
||||
StrokeLineSegments(self, List beginPoints, List endPoints)
|
||||
|
||||
Stroke disconnected lines from begin to end points
|
||||
"""
|
||||
@@ -5800,7 +5802,8 @@ def GraphicsContext_CreateFromNative(*args, **kwargs):
|
||||
|
||||
Creates a wx.GraphicsContext from a native context. This native
|
||||
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo.
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo. NOTE: For
|
||||
wxPython we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
|
||||
|
||||
@@ -5808,7 +5811,8 @@ def GraphicsContext_CreateFromNativeWindow(*args, **kwargs):
|
||||
"""
|
||||
GraphicsContext_CreateFromNativeWindow(void window) -> GraphicsContext
|
||||
|
||||
Creates a wx.GraphicsContext from a native window.
|
||||
Creates a wx.GraphicsContext from a native window. NOTE: For wxPython
|
||||
we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNativeWindow(*args, **kwargs)
|
||||
|
||||
|
@@ -5418,7 +5418,8 @@ class GraphicsContext(GraphicsObject):
|
||||
|
||||
Creates a wx.GraphicsContext from a native context. This native
|
||||
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo.
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo. NOTE: For
|
||||
wxPython we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
|
||||
|
||||
@@ -5427,7 +5428,8 @@ class GraphicsContext(GraphicsObject):
|
||||
"""
|
||||
CreateFromNativeWindow(void window) -> GraphicsContext
|
||||
|
||||
Creates a wx.GraphicsContext from a native window.
|
||||
Creates a wx.GraphicsContext from a native window. NOTE: For wxPython
|
||||
we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNativeWindow(*args, **kwargs)
|
||||
|
||||
@@ -5746,7 +5748,7 @@ class GraphicsContext(GraphicsObject):
|
||||
|
||||
def StrokeLineSegements(*args, **kwargs):
|
||||
"""
|
||||
StrokeLineSegements(self, PyObject beginPoints, PyObject endPoints)
|
||||
StrokeLineSegments(self, List beginPoints, List endPoints)
|
||||
|
||||
Stroke disconnected lines from begin to end points
|
||||
"""
|
||||
@@ -5827,7 +5829,8 @@ def GraphicsContext_CreateFromNative(*args, **kwargs):
|
||||
|
||||
Creates a wx.GraphicsContext from a native context. This native
|
||||
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo.
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo. NOTE: For
|
||||
wxPython we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
|
||||
|
||||
@@ -5835,7 +5838,8 @@ def GraphicsContext_CreateFromNativeWindow(*args, **kwargs):
|
||||
"""
|
||||
GraphicsContext_CreateFromNativeWindow(void window) -> GraphicsContext
|
||||
|
||||
Creates a wx.GraphicsContext from a native window.
|
||||
Creates a wx.GraphicsContext from a native window. NOTE: For wxPython
|
||||
we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNativeWindow(*args, **kwargs)
|
||||
|
||||
|
@@ -5516,7 +5516,8 @@ class GraphicsContext(GraphicsObject):
|
||||
|
||||
Creates a wx.GraphicsContext from a native context. This native
|
||||
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo.
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo. NOTE: For
|
||||
wxPython we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
|
||||
|
||||
@@ -5525,7 +5526,8 @@ class GraphicsContext(GraphicsObject):
|
||||
"""
|
||||
CreateFromNativeWindow(void window) -> GraphicsContext
|
||||
|
||||
Creates a wx.GraphicsContext from a native window.
|
||||
Creates a wx.GraphicsContext from a native window. NOTE: For wxPython
|
||||
we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNativeWindow(*args, **kwargs)
|
||||
|
||||
@@ -5844,7 +5846,7 @@ class GraphicsContext(GraphicsObject):
|
||||
|
||||
def StrokeLineSegements(*args, **kwargs):
|
||||
"""
|
||||
StrokeLineSegements(self, PyObject beginPoints, PyObject endPoints)
|
||||
StrokeLineSegments(self, List beginPoints, List endPoints)
|
||||
|
||||
Stroke disconnected lines from begin to end points
|
||||
"""
|
||||
@@ -5925,7 +5927,8 @@ def GraphicsContext_CreateFromNative(*args, **kwargs):
|
||||
|
||||
Creates a wx.GraphicsContext from a native context. This native
|
||||
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo.
|
||||
pointer for GDIPlus or a cairo_t pointer for Cairo. NOTE: For
|
||||
wxPython we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
|
||||
|
||||
@@ -5933,7 +5936,8 @@ def GraphicsContext_CreateFromNativeWindow(*args, **kwargs):
|
||||
"""
|
||||
GraphicsContext_CreateFromNativeWindow(void window) -> GraphicsContext
|
||||
|
||||
Creates a wx.GraphicsContext from a native window.
|
||||
Creates a wx.GraphicsContext from a native window. NOTE: For wxPython
|
||||
we still need a way to make this value usable.
|
||||
"""
|
||||
return _gdi_.GraphicsContext_CreateFromNativeWindow(*args, **kwargs)
|
||||
|
||||
|
Reference in New Issue
Block a user