reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10984,8 +10984,8 @@ class Sizer(Object):
|
||||
wx.Sizer is the abstract base class used for laying out subwindows in
|
||||
a window. You cannot use wx.Sizer directly; instead, you will have to
|
||||
use one of the sizer classes derived from it such as `wx.BoxSizer`,
|
||||
`wx.StaticBoxSizer`, `wx.NotebookSizer`, `wx.GridSizer`, `wx.FlexGridSizer`
|
||||
and `wx.GridBagSizer`.
|
||||
`wx.StaticBoxSizer`, `wx.GridSizer`, `wx.FlexGridSizer` and
|
||||
`wx.GridBagSizer`.
|
||||
|
||||
The concept implemented by sizers in wxWidgets is closely related to
|
||||
layout tools in other GUI toolkits, such as Java's AWT, the GTK
|
||||
|
@@ -4981,7 +4981,7 @@ class RendererNative(object):
|
||||
Return the generic implementation of the renderer. Under some
|
||||
platforms, this is the default renderer implementation, others have
|
||||
platform-specific default renderer which can be retrieved by calling
|
||||
`GetDefault`.
|
||||
`wx.RendererNative.GetDefault`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetGeneric(*args, **kwargs)
|
||||
|
||||
@@ -4991,9 +4991,9 @@ class RendererNative(object):
|
||||
GetDefault() -> RendererNative
|
||||
|
||||
Return the default (native) implementation for this platform -- this
|
||||
is also the one used by default but this may be changed by calling `Set`
|
||||
in which case the return value of this method may be different from
|
||||
the return value of `Get`.
|
||||
is also the one used by default but this may be changed by calling
|
||||
`wx.RendererNative.Set` in which case the return value of this method
|
||||
may be different from the return value of `wx.RendererNative.Get`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetDefault(*args, **kwargs)
|
||||
|
||||
@@ -5034,7 +5034,7 @@ def RendererNative_GetGeneric(*args):
|
||||
Return the generic implementation of the renderer. Under some
|
||||
platforms, this is the default renderer implementation, others have
|
||||
platform-specific default renderer which can be retrieved by calling
|
||||
`GetDefault`.
|
||||
`wx.RendererNative.GetDefault`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetGeneric(*args)
|
||||
|
||||
@@ -5043,9 +5043,9 @@ def RendererNative_GetDefault(*args):
|
||||
RendererNative_GetDefault() -> RendererNative
|
||||
|
||||
Return the default (native) implementation for this platform -- this
|
||||
is also the one used by default but this may be changed by calling `Set`
|
||||
in which case the return value of this method may be different from
|
||||
the return value of `Get`.
|
||||
is also the one used by default but this may be changed by calling
|
||||
`wx.RendererNative.Set` in which case the return value of this method
|
||||
may be different from the return value of `wx.RendererNative.Get`.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetDefault(*args)
|
||||
|
||||
@@ -5557,8 +5557,10 @@ class PseudoDC(_core.Object):
|
||||
font, and the current text foreground and background colours.
|
||||
|
||||
The coordinates refer to the top-left corner of the rectangle bounding
|
||||
the string. See `GetTextExtent` for how to get the dimensions of a
|
||||
text string, which can be used to position the text more precisely.
|
||||
the string. See `wx.DC.GetTextExtent` for how to get the dimensions of
|
||||
a text string, which can be used to position the text more precisely,
|
||||
(you will need to use a real DC with GetTextExtent as wx.PseudoDC does
|
||||
not implement it.)
|
||||
|
||||
**NOTE**: under wxGTK the current logical function is used by this
|
||||
function but it is ignored by wxMSW. Thus, you should avoid using
|
||||
@@ -5574,8 +5576,10 @@ class PseudoDC(_core.Object):
|
||||
font, and the current text foreground and background colours.
|
||||
|
||||
The coordinates refer to the top-left corner of the rectangle bounding
|
||||
the string. See `GetTextExtent` for how to get the dimensions of a
|
||||
text string, which can be used to position the text more precisely.
|
||||
the string. See `wx.DC.GetTextExtent` for how to get the dimensions of
|
||||
a text string, which can be used to position the text more precisely,
|
||||
(you will need to use a real DC with GetTextExtent as wx.PseudoDC does
|
||||
not implement it.)
|
||||
|
||||
**NOTE**: under wxGTK the current logical function is used by this
|
||||
function but it is ignored by wxMSW. Thus, you should avoid using
|
||||
@@ -5758,9 +5762,8 @@ class PseudoDC(_core.Object):
|
||||
SetLogicalFunction(self, int function)
|
||||
|
||||
Sets the current logical function for the device context. This
|
||||
determines how a source pixel (from a pen or brush colour, or source
|
||||
device context if using `Blit`) combines with a destination pixel in
|
||||
the current device context.
|
||||
determines how a source pixel (from a pen or brush colour, combines
|
||||
with a destination pixel in the current device context.
|
||||
|
||||
The possible values and their meaning in terms of source and
|
||||
destination pixel values are as follows:
|
||||
|
@@ -942,7 +942,7 @@ class FrameManager(_core.EvtHandler):
|
||||
|
||||
def SetFrame(*args, **kwargs):
|
||||
"""
|
||||
SetFrame(self, Frame frame)
|
||||
SetFrame(self, Window frame)
|
||||
|
||||
SetFrame is called to specify the frame which is to be managed by the
|
||||
FrameManager. It only needs to be called if the Frame was not given
|
||||
@@ -953,7 +953,7 @@ class FrameManager(_core.EvtHandler):
|
||||
|
||||
def GetFrame(*args, **kwargs):
|
||||
"""
|
||||
GetFrame(self) -> Frame
|
||||
GetFrame(self) -> Window
|
||||
|
||||
GetFrame returns the frame currently being managed by the
|
||||
FrameManager.
|
||||
|
@@ -6722,7 +6722,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
wxFrame *arg2 = (wxFrame *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
@@ -6739,11 +6739,11 @@ SWIGINTERN PyObject *_wrap_FrameManager_SetFrame(PyObject *SWIGUNUSEDPARM(self),
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFrame" "', expected argument " "1"" of type '" "wxFrameManager *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetFrame" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxFrame * >(argp2);
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetFrame(arg2);
|
||||
@@ -6760,7 +6760,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
wxFrame *result = 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
@@ -6774,7 +6774,7 @@ SWIGINTERN PyObject *_wrap_FrameManager_GetFrame(PyObject *SWIGUNUSEDPARM(self),
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxFrame *)((wxFrameManager const *)arg1)->GetFrame();
|
||||
result = (wxWindow *)((wxFrameManager const *)arg1)->GetFrame();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
|
@@ -675,7 +675,7 @@ class RichTextCtrl(_windows.ScrolledWindow):
|
||||
SaveFile(self, String file=EmptyString, int type=RICHTEXT_TYPE_ANY) -> bool
|
||||
|
||||
Save the contents of the document to the given filename, or if the
|
||||
empty string is passed then to the filename set with `SetFileName`.
|
||||
empty string is passed then to the filename set with `SetFilename`.
|
||||
"""
|
||||
return _richtext.RichTextCtrl_SaveFile(*args, **kwargs)
|
||||
|
||||
|
Reference in New Issue
Block a user