reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-02 03:32:57 +00:00
parent 7fdaaabe42
commit d6c14a4c94
17 changed files with 2079 additions and 1697 deletions
+124 -29
View File
@@ -5,7 +5,6 @@ import _controls_
import _core
wx = _core
__docfilter__ = wx.__docfilter__
#---------------------------------------------------------------------------
BU_LEFT = _controls_.BU_LEFT
@@ -19,6 +18,29 @@ class Button(_core.Control):
A button is a control that contains a text string, and is one of the most
common elements of a GUI. It may be placed on a dialog box or panel, or
indeed almost any other window.
Window Styles
-------------
============== ==========================================
wx.BU_LEFT Left-justifies the label. WIN32 only.
wx.BU_TOP Aligns the label to the top of the button.
WIN32 only.
wx.BU_RIGHT Right-justifies the bitmap label. WIN32 only.
wx.BU_BOTTOM Aligns the label to the bottom of the button.
WIN32 only.
wx.BU_EXACTFIT Creates the button as small as possible
instead of making it of the standard size
(which is the default behaviour.)
============== ==========================================
Events
------
============ ==========================================
EVT_BUTTON Sent when the button is clicked.
============ ==========================================
:see: `wx.BitmapButton`
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -55,7 +77,11 @@ class Button(_core.Control):
return _controls_.Button_SetDefault(*args, **kwargs)
def GetDefaultSize(*args, **kwargs):
"""Button.GetDefaultSize() -> Size"""
"""
GetDefaultSize() -> Size
Returns the default button size for this platform.
"""
return _controls_.Button_GetDefaultSize(*args, **kwargs)
GetDefaultSize = staticmethod(GetDefaultSize)
@@ -80,16 +106,48 @@ def PreButton(*args, **kwargs):
return val
def Button_GetDefaultSize(*args, **kwargs):
"""Button_GetDefaultSize() -> Size"""
"""
Button_GetDefaultSize() -> Size
Returns the default button size for this platform.
"""
return _controls_.Button_GetDefaultSize(*args, **kwargs)
class BitmapButton(Button):
"""
A Button that contains a bitmap. A bitmap button can be supplied with a
single bitmap, and wxWindows will draw all button states using this bitmap. If
single bitmap, and wxWidgets will draw all button states using this bitmap. If
the application needs more control, additional bitmaps for the selected state,
unpressed focused state, and greyed-out state may be supplied.
Window Styles
-------------
============== =============================================
wx.BU_AUTODRAW If this is specified, the button will be drawn
automatically using the label bitmap only,
providing a 3D-look border. If this style is
not specified, the button will be drawn
without borders and using all provided
bitmaps. WIN32 only.
wx.BU_LEFT Left-justifies the label. WIN32 only.
wx.BU_TOP Aligns the label to the top of the button. WIN32
only.
wx.BU_RIGHT Right-justifies the bitmap label. WIN32 only.
wx.BU_BOTTOM Aligns the label to the bottom of the
button. WIN32 only.
wx.BU_EXACTFIT Creates the button as small as possible
instead of making it of the standard size
(which is the default behaviour.)
============== =============================================
Events
------
=========== ==================================
EVT_BUTTON Sent when the button is clicked.
=========== ==================================
:see: `wx.Button`, `wx.Bitmap`
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -224,10 +282,36 @@ CHK_CHECKED = _controls_.CHK_CHECKED
CHK_UNDETERMINED = _controls_.CHK_UNDETERMINED
class CheckBox(_core.Control):
"""
A checkbox is a labelled box which by default is either on (checkmark is
visible) or off (no checkmark). Optionally (When the wxCHK_3STATE style flag
is set) it can have a third state, called the mixed or undetermined
state. Often this is used as a "Does Not Apply" state.
A checkbox is a labelled box which by default is either on (the
checkmark is visible) or off (no checkmark). Optionally (When the
wx.CHK_3STATE style flag is set) it can have a third state, called the
mixed or undetermined state. Often this is used as a "Does Not
Apply" state.
Window Styles
-------------
================================= ===============================
wx.CHK_2STATE Create a 2-state checkbox.
This is the default.
wx.CHK_3STATE Create a 3-state checkbox.
wx.CHK_ALLOW_3RD_STATE_FOR_USER By default a user can't set a
3-state checkbox to the
third state. It can only be
done from code. Using this
flags allows the user to set
the checkbox to the third
state by clicking.
wx.ALIGN_RIGHT Makes the
text appear on the left of
the checkbox.
================================= ===============================
Events
------
=============================== ===============================
EVT_CHECKBOX Sent when checkbox is clicked.
=============================== ===============================
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -268,7 +352,8 @@ class CheckBox(_core.Control):
"""
IsChecked(self) -> bool
Similar to GetValue, but raises an exception if it is not a 2-state CheckBox.
Similar to GetValue, but raises an exception if it is not a 2-state
CheckBox.
"""
return _controls_.CheckBox_IsChecked(*args, **kwargs)
@@ -276,8 +361,8 @@ class CheckBox(_core.Control):
"""
SetValue(self, bool state)
Set the state of a 2-state CheckBox. Pass True for checked,
False for unchecked.
Set the state of a 2-state CheckBox. Pass True for checked, False for
unchecked.
"""
return _controls_.CheckBox_SetValue(*args, **kwargs)
@@ -285,9 +370,10 @@ class CheckBox(_core.Control):
"""
Get3StateValue(self) -> int
Returns wx.CHK_UNCHECKED when the CheckBox is unchecked, wx.CHK_CHECKED when
it is checked and wx.CHK_UNDETERMINED when it's in the undetermined state.
Raises an exceptiion when the function is used with a 2-state CheckBox.
Returns wx.CHK_UNCHECKED when the CheckBox is unchecked,
wx.CHK_CHECKED when it is checked and wx.CHK_UNDETERMINED when it's in
the undetermined state. Raises an exceptiion when the function is
used with a 2-state CheckBox.
"""
return _controls_.CheckBox_Get3StateValue(*args, **kwargs)
@@ -295,11 +381,11 @@ class CheckBox(_core.Control):
"""
Set3StateValue(self, int state)
Sets the CheckBox to the given state. The state parameter can be
one of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED
(Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an
exception when the CheckBox is a 2-state checkbox and setting the state
to wx.CHK_UNDETERMINED.
Sets the CheckBox to the given state. The state parameter can be one
of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED (the
Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an
exception when the CheckBox is a 2-state checkbox and setting the
state to wx.CHK_UNDETERMINED.
"""
return _controls_.CheckBox_Set3StateValue(*args, **kwargs)
@@ -315,7 +401,8 @@ class CheckBox(_core.Control):
"""
Is3rdStateAllowedForUser(self) -> bool
Returns whether or not the user can set the CheckBox to the third state.
Returns whether or not the user can set the CheckBox to the third
state.
"""
return _controls_.CheckBox_Is3rdStateAllowedForUser(*args, **kwargs)
@@ -342,8 +429,16 @@ def PreCheckBox(*args, **kwargs):
class Choice(_core.ControlWithItems):
"""
A Choice control is used to select one of a list of strings. Unlike a ListBox,
only the selection is visible until the user pulls down the menu of choices.
A Choice control is used to select one of a list of strings.
Unlike a `wx.ListBox`, only the selection is visible until the
user pulls down the menu of choices.
Events
------
================ ==========================================
EVT_CHOICE Sent when an item in the list is selected.
================ ==========================================
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -745,7 +840,7 @@ class StaticLine(_core.Control):
return _controls_.StaticLine_IsVertical(*args, **kwargs)
def GetDefaultSize(*args, **kwargs):
"""StaticLine.GetDefaultSize() -> int"""
"""GetDefaultSize() -> int"""
return _controls_.StaticLine_GetDefaultSize(*args, **kwargs)
GetDefaultSize = staticmethod(GetDefaultSize)
@@ -967,7 +1062,7 @@ class ListBox(_core.ControlWithItems):
def GetClassDefaultAttributes(*args, **kwargs):
"""
ListBox.GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
Get the default attributes for this class. This is useful if
you want to use the same font or colour in your own control as
@@ -1245,7 +1340,7 @@ class TextAttr(object):
return _controls_.TextAttr_IsDefault(*args, **kwargs)
def Combine(*args, **kwargs):
"""TextAttr.Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr"""
"""Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr"""
return _controls_.TextAttr_Combine(*args, **kwargs)
Combine = staticmethod(Combine)
@@ -3832,7 +3927,7 @@ class ListCtrl(_core.Control):
def GetClassDefaultAttributes(*args, **kwargs):
"""
ListCtrl.GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
Get the default attributes for this class. This is useful if
you want to use the same font or colour in your own control as
@@ -4514,7 +4609,7 @@ class TreeCtrl(_core.Control):
def GetClassDefaultAttributes(*args, **kwargs):
"""
TreeCtrl.GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
Get the default attributes for this class. This is useful if
you want to use the same font or colour in your own control as
@@ -5070,7 +5165,7 @@ class HelpProvider(object):
return "<%s.%s; proxy of C++ wxHelpProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Set(*args, **kwargs):
"""
HelpProvider.Set(HelpProvider helpProvider) -> HelpProvider
Set(HelpProvider helpProvider) -> HelpProvider
Sset the current, application-wide help provider. Returns the
previous one. Unlike some other classes, the help provider is
@@ -5082,7 +5177,7 @@ class HelpProvider(object):
Set = staticmethod(Set)
def Get(*args, **kwargs):
"""
HelpProvider.Get() -> HelpProvider
Get() -> HelpProvider
Return the current application-wide help provider.
"""
+348 -159
View File
File diff suppressed because it is too large Load Diff
+20 -169
View File
@@ -1094,15 +1094,12 @@ SWIG_CheckUnsignedChar(PyObject* obj)
}
}
wxImage *new_wxImage__SWIG_0(int width,int height,bool clear){
wxImage *new_wxImage(int width,int height,bool clear){
if (width > 0 && height > 0)
return new wxImage(width, height, clear);
else
return new wxImage;
}
wxImage *new_wxImage__SWIG_1(wxSize const &size,bool clear){
return new wxImage(size.x, size.y, clear);
}
wxImage *new_wxImage(wxBitmap const &bitmap){
return new wxImage(bitmap.ConvertToImage());
}
@@ -1666,21 +1663,27 @@ PyObject *wxSizer_GetChildren(wxSizer *self){
return wxPy_ConvertList(&list);
}
void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
bool blocked = wxPyBeginBlockThreads();
wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
wxPyEndBlockThreads(blocked);
if ( info.window )
self->Show(info.window, show);
else if ( info.sizer )
self->Show(info.sizer, show);
}
void wxSizer_Hide(wxSizer *self,PyObject *item){
bool blocked = wxPyBeginBlockThreads();
wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
wxPyEndBlockThreads(blocked);
if ( info.window )
self->Hide(info.window);
else if ( info.sizer )
self->Hide(info.sizer);
}
bool wxSizer_IsShown(wxSizer *self,PyObject *item){
bool blocked = wxPyBeginBlockThreads();
wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
wxPyEndBlockThreads(blocked);
if ( info.window )
return self->IsShown(info.window);
else if ( info.sizer )
@@ -8792,7 +8795,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, P
}
static PyObject *_wrap_new_EmptyImage__SWIG_0(PyObject *self, PyObject *args) {
static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
@@ -8801,8 +8804,11 @@ static PyObject *_wrap_new_EmptyImage__SWIG_0(PyObject *self, PyObject *args) {
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
char *kwnames[] = {
(char *) "width",(char *) "height",(char *) "clear", NULL
};
if(!PyArg_ParseTuple(args,(char *)"|OOO:new_EmptyImage",&obj0,&obj1,&obj2)) goto fail;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
arg1 = (int) SWIG_AsInt(obj0);
if (PyErr_Occurred()) SWIG_fail;
@@ -8817,7 +8823,7 @@ static PyObject *_wrap_new_EmptyImage__SWIG_0(PyObject *self, PyObject *args) {
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxImage *)new_wxImage__SWIG_0(arg1,arg2,arg3);
result = (wxImage *)new_wxImage(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
@@ -8829,90 +8835,6 @@ static PyObject *_wrap_new_EmptyImage__SWIG_0(PyObject *self, PyObject *args) {
}
static PyObject *_wrap_new_EmptyImage__SWIG_1(PyObject *self, PyObject *args) {
PyObject *resultobj;
wxSize *arg1 = 0 ;
bool arg2 = (bool) True ;
wxImage *result;
wxSize temp1 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if(!PyArg_ParseTuple(args,(char *)"O|O:new_EmptyImage",&obj0,&obj1)) goto fail;
{
arg1 = &temp1;
if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
}
if (obj1) {
arg2 = (bool) SWIG_AsBool(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxImage *)new_wxImage__SWIG_1((wxSize const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args) {
int argc;
PyObject *argv[4];
int ii;
argc = PyObject_Length(args);
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
argv[ii] = PyTuple_GetItem(args,ii);
}
if ((argc >= 0) && (argc <= 3)) {
int _v;
if (argc <= 0) {
return _wrap_new_EmptyImage__SWIG_0(self,args);
}
_v = SWIG_CheckInt(argv[0]);
if (_v) {
if (argc <= 1) {
return _wrap_new_EmptyImage__SWIG_0(self,args);
}
_v = SWIG_CheckInt(argv[1]);
if (_v) {
if (argc <= 2) {
return _wrap_new_EmptyImage__SWIG_0(self,args);
}
_v = SWIG_CheckBool(argv[2]);
if (_v) {
return _wrap_new_EmptyImage__SWIG_0(self,args);
}
}
}
}
if ((argc >= 1) && (argc <= 2)) {
int _v;
{
_v = wxPySimple_typecheck(argv[0], wxT("wxSize"), 2);
}
if (_v) {
if (argc <= 1) {
return _wrap_new_EmptyImage__SWIG_1(self,args);
}
_v = SWIG_CheckBool(argv[1]);
if (_v) {
return _wrap_new_EmptyImage__SWIG_1(self,args);
}
}
}
PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_EmptyImage'");
return NULL;
}
static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxBitmap *arg1 = 0 ;
@@ -20861,17 +20783,15 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyOb
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 0 ;
wxMenuItem *arg4 = (wxMenuItem *) NULL ;
wxAcceleratorEntry *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
char *kwnames[] = {
(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
(char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
arg1 = (int) SWIG_AsInt(obj0);
if (PyErr_Occurred()) SWIG_fail;
@@ -20884,13 +20804,9 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyOb
arg3 = (int) SWIG_AsInt(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
@@ -20933,17 +20849,15 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyOb
int arg2 ;
int arg3 ;
int arg4 ;
wxMenuItem *arg5 = (wxMenuItem *) NULL ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
(char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
arg2 = (int) SWIG_AsInt(obj1);
@@ -20952,13 +20866,9 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyOb
if (PyErr_Occurred()) SWIG_fail;
arg4 = (int) SWIG_AsInt(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->Set(arg2,arg3,arg4,arg5);
(arg1)->Set(arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
@@ -20970,63 +20880,6 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyOb
}
static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
wxMenuItem *arg2 = (wxMenuItem *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "item", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetMenuItem(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
wxMenuItem *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = wxPyMake_wxObject(result);
}
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
@@ -40498,7 +40351,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
{ (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
{ (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
{ (char *)"new_EmptyImage", _wrap_new_EmptyImage, METH_VARARGS },
{ (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
{ (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
{ (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
@@ -40945,8 +40798,6 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
{ (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
{ (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
{ (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
{ (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
{ (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
{ (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
{ (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
+317 -435
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+299 -128
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+42 -9
View File
@@ -283,15 +283,16 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con
#define SWIGTYPE_p_wxPanel swig_types[74]
#define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
#define SWIGTYPE_p_wxPrintDialog swig_types[76]
#define SWIGTYPE_p_wxBitmap swig_types[77]
#define SWIGTYPE_p_wxCommandEvent swig_types[78]
#define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
#define SWIGTYPE_p_wxColour swig_types[81]
#define SWIGTYPE_p_wxToolBar swig_types[82]
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
#define SWIGTYPE_p_wxPrintDialogData swig_types[84]
static swig_type_info *swig_types[86];
#define SWIGTYPE_p_wxFileSystem swig_types[77]
#define SWIGTYPE_p_wxBitmap swig_types[78]
#define SWIGTYPE_p_wxCommandEvent swig_types[79]
#define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
#define SWIGTYPE_p_wxColour swig_types[82]
#define SWIGTYPE_p_wxToolBar swig_types[83]
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
#define SWIGTYPE_p_wxPrintDialogData swig_types[85]
static swig_type_info *swig_types[87];
/* -------- TYPES TABLE (END) -------- */
@@ -10458,6 +10459,35 @@ static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args,
}
static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
wxFileSystem *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
wxFileSystem &_result_ref = (arg1)->GetFileSystem();
result = (wxFileSystem *) &_result_ref;
}
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
return resultobj;
fail:
return NULL;
}
static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
@@ -24282,6 +24312,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
{ (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
{ (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
{ (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
{ (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
{ (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
{ (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
@@ -25801,6 +25832,7 @@ static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0
static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
@@ -25888,6 +25920,7 @@ _swigt__p_wxDialog,
_swigt__p_wxPanel,
_swigt__p_wxPageSetupDialog,
_swigt__p_wxPrintDialog,
_swigt__p_wxFileSystem,
_swigt__p_wxBitmap,
_swigt__p_wxCommandEvent,
_swigt__p_wxPreviewControlBar,
+106 -32
View File
@@ -6,7 +6,7 @@ import _calendar
import _misc
import _core
wx = _core
__docfilter__ = wx.__docfilter__
__docfilter__ = wx.__DocFilter(globals())
CAL_SUNDAY_FIRST = _calendar.CAL_SUNDAY_FIRST
CAL_MONDAY_FIRST = _calendar.CAL_MONDAY_FIRST
CAL_SHOW_HOLIDAYS = _calendar.CAL_SHOW_HOLIDAYS
@@ -25,8 +25,8 @@ CAL_BORDER_SQUARE = _calendar.CAL_BORDER_SQUARE
CAL_BORDER_ROUND = _calendar.CAL_BORDER_ROUND
class CalendarDateAttr(object):
"""
A set of customization attributes for a calendar date, which can be used to
control the look of the Calendar object.
A set of customization attributes for a calendar date, which can be
used to control the look of the Calendar object.
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -165,7 +165,70 @@ 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):
"""The calendar control allows the user to pick a date interactively."""
"""
The calendar control allows the user to pick a date interactively.
The CalendarCtrl displays a window containing several parts: the
control to pick the month and the year at the top (either or both of
them may be disabled) and a month area below them which shows all the
days in the month. The user can move the current selection using the
keyboard and select the date (generating EVT_CALENDAR event) by
pressing <Return> or double clicking it.
It has advanced possibilities for the customization of its
display. All global settings (such as colours and fonts used) can, of
course, be changed. But also, the display style for each day in the
month can be set independently using CalendarDateAttr class.
An item without custom attributes is drawn with the default colours
and font and without border, but setting custom attributes with
SetAttr allows to modify its appearance. Just create a custom
attribute object and set it for the day you want to be displayed
specially A day may be marked as being a holiday, (even if it is not
recognized as one by wx.DateTime) by using the SetHoliday method.
As the attributes are specified for each day, they may change when the
month is changed, so you will often want to update them in an
EVT_CALENDAR_MONTH event handler.
Window Styles
-------------
============================== ============================
CAL_SUNDAY_FIRST Show Sunday as the first day
in the week
CAL_MONDAY_FIRST Show Monday as the first day
in the week
CAL_SHOW_HOLIDAYS Highlight holidays in the
calendar
CAL_NO_YEAR_CHANGE Disable the year changing
CAL_NO_MONTH_CHANGE Disable the month (and,
implicitly, the year) changing
CAL_SHOW_SURROUNDING_WEEKS Show the neighbouring weeks in
the previous and next months
CAL_SEQUENTIAL_MONTH_SELECTION Use alternative, more compact,
style for the month and year
selection controls.
The default calendar style is CAL_SHOW_HOLIDAYS.
Events
-------
=========================== ==============================
EVT_CALENDAR A day was double clicked in the
calendar.
EVT_CALENDAR_SEL_CHANGED The selected date changed.
EVT_CALENDAR_DAY The selected day changed.
EVT_CALENDAR_MONTH The selected month changed.
EVT_CALENDAR_YEAR The selected year changed.
EVT_CALENDAR_WEEKDAY_CLICKED User clicked on the week day
header
Note that changing the selected date will result in one of
EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED
event.
"""
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):
@@ -190,7 +253,8 @@ class CalendarCtrl(_core.Control):
long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS,
String name=CalendarNameStr) -> bool
Acutally create the GUI portion of the CalendarCtrl for 2-phase creation.
Acutally create the GUI portion of the CalendarCtrl for 2-phase
creation.
"""
return _calendar.CalendarCtrl_Create(*args, **kwargs)
@@ -264,9 +328,10 @@ class CalendarCtrl(_core.Control):
"""
EnableMonthChange(self, bool enable=True)
This function should be used instead of changing CAL_NO_MONTH_CHANGE style
bit. It allows or disallows the user to change the month interactively. Note
that if the month can not be changed, the year can not be changed either.
This function should be used instead of changing CAL_NO_MONTH_CHANGE
style bit. It allows or disallows the user to change the month
interactively. Note that if the month can not be changed, the year can
not be changed either.
"""
return _calendar.CalendarCtrl_EnableMonthChange(*args, **kwargs)
@@ -274,8 +339,9 @@ class CalendarCtrl(_core.Control):
"""
EnableHolidayDisplay(self, bool display=True)
This function should be used instead of changing CAL_SHOW_HOLIDAYS style
bit directly. It enables or disables the special highlighting of the holidays.
This function should be used instead of changing CAL_SHOW_HOLIDAYS
style bit directly. It enables or disables the special highlighting of
the holidays.
"""
return _calendar.CalendarCtrl_EnableHolidayDisplay(*args, **kwargs)
@@ -283,7 +349,7 @@ class CalendarCtrl(_core.Control):
"""
SetHeaderColours(self, Colour colFg, Colour colBg)
header colours are used for painting the weekdays at the top
Header colours are used for painting the weekdays at the top.
"""
return _calendar.CalendarCtrl_SetHeaderColours(*args, **kwargs)
@@ -291,7 +357,7 @@ class CalendarCtrl(_core.Control):
"""
GetHeaderColourFg(self) -> Colour
header colours are used for painting the weekdays at the top
Header colours are used for painting the weekdays at the top.
"""
return _calendar.CalendarCtrl_GetHeaderColourFg(*args, **kwargs)
@@ -299,7 +365,7 @@ class CalendarCtrl(_core.Control):
"""
GetHeaderColourBg(self) -> Colour
header colours are used for painting the weekdays at the top
Header colours are used for painting the weekdays at the top.
"""
return _calendar.CalendarCtrl_GetHeaderColourBg(*args, **kwargs)
@@ -307,7 +373,7 @@ class CalendarCtrl(_core.Control):
"""
SetHighlightColours(self, Colour colFg, Colour colBg)
highlight colour is used for the currently selected date
Highlight colour is used for the currently selected date.
"""
return _calendar.CalendarCtrl_SetHighlightColours(*args, **kwargs)
@@ -315,7 +381,7 @@ class CalendarCtrl(_core.Control):
"""
GetHighlightColourFg(self) -> Colour
highlight colour is used for the currently selected date
Highlight colour is used for the currently selected date.
"""
return _calendar.CalendarCtrl_GetHighlightColourFg(*args, **kwargs)
@@ -323,7 +389,7 @@ class CalendarCtrl(_core.Control):
"""
GetHighlightColourBg(self) -> Colour
highlight colour is used for the currently selected date
Highlight colour is used for the currently selected date.
"""
return _calendar.CalendarCtrl_GetHighlightColourBg(*args, **kwargs)
@@ -331,7 +397,8 @@ class CalendarCtrl(_core.Control):
"""
SetHolidayColours(self, Colour colFg, Colour colBg)
holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)
Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
used).
"""
return _calendar.CalendarCtrl_SetHolidayColours(*args, **kwargs)
@@ -339,7 +406,8 @@ class CalendarCtrl(_core.Control):
"""
GetHolidayColourFg(self) -> Colour
holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)
Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
used).
"""
return _calendar.CalendarCtrl_GetHolidayColourFg(*args, **kwargs)
@@ -347,7 +415,8 @@ class CalendarCtrl(_core.Control):
"""
GetHolidayColourBg(self) -> Colour
holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)
Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
used).
"""
return _calendar.CalendarCtrl_GetHolidayColourBg(*args, **kwargs)
@@ -355,8 +424,8 @@ class CalendarCtrl(_core.Control):
"""
GetAttr(self, size_t day) -> CalendarDateAttr
Returns the attribute for the given date (should be in the range 1...31).
The returned value may be None
Returns the attribute for the given date (should be in the range
1...31). The returned value may be None
"""
return _calendar.CalendarCtrl_GetAttr(*args, **kwargs)
@@ -364,8 +433,9 @@ class CalendarCtrl(_core.Control):
"""
SetAttr(self, size_t day, CalendarDateAttr attr)
Associates the attribute with the specified date (in the range 1...31).
If the attribute passed is None, the items attribute is cleared.
Associates the attribute with the specified date (in the range
1...31). If the attribute passed is None, the items attribute is
cleared.
"""
return _calendar.CalendarCtrl_SetAttr(*args, **kwargs)
@@ -381,7 +451,8 @@ class CalendarCtrl(_core.Control):
"""
ResetAttr(self, size_t day)
Clears any attributes associated with the given day (in the range 1...31).
Clears any attributes associated with the given day (in the range
1...31).
"""
return _calendar.CalendarCtrl_ResetAttr(*args, **kwargs)
@@ -389,13 +460,16 @@ class CalendarCtrl(_core.Control):
"""
HitTest(Point pos) -> (result, date, weekday)
Returns 3-tuple with information about the given position on the calendar
control. The first value of the tuple is a result code and determines the
validity of the remaining two values. The result codes are:
Returns 3-tuple with information about the given position on the
calendar control. The first value of the tuple is a result code and
determines the validity of the remaining two values. The result codes
are:
CAL_HITTEST_NOWHERE: hit outside of anything
CAL_HITTEST_HEADER: hit on the header, weekday is valid
CAL_HITTEST_DAY: hit on a day in the calendar, date is set.
=================== ============================================
CAL_HITTEST_NOWHERE hit outside of anything
CAL_HITTEST_HEADER hit on the header, weekday is valid
CAL_HITTEST_DAY hit on a day in the calendar, date is set.
=================== ============================================
"""
return _calendar.CalendarCtrl_HitTest(*args, **kwargs)
@@ -404,7 +478,7 @@ class CalendarCtrl(_core.Control):
"""
GetMonthControl(self) -> Control
get the currently shown control for month
Get the currently shown control for month.
"""
return _calendar.CalendarCtrl_GetMonthControl(*args, **kwargs)
@@ -412,7 +486,7 @@ class CalendarCtrl(_core.Control):
"""
GetYearControl(self) -> Control
get the currently shown control for year
Get the currently shown control for year.
"""
return _calendar.CalendarCtrl_GetYearControl(*args, **kwargs)
+1 -1
View File
@@ -6,7 +6,7 @@ import _grid
import _windows
import _core
wx = _core
__docfilter__ = wx.__docfilter__
__docfilter__ = wx.__DocFilter(globals())
GRID_VALUE_STRING = _grid.GRID_VALUE_STRING
GRID_VALUE_BOOL = _grid.GRID_VALUE_BOOL
GRID_VALUE_NUMBER = _grid.GRID_VALUE_NUMBER
+4 -4
View File
@@ -6,7 +6,7 @@ import _html
import _windows
import _core
wx = _core
__docfilter__ = wx.__docfilter__
__docfilter__ = wx.__DocFilter(globals())
#---------------------------------------------------------------------------
HTML_ALIGN_LEFT = _html.HTML_ALIGN_LEFT
@@ -1057,7 +1057,7 @@ class HtmlWindow(_windows.ScrolledWindow):
return _html.HtmlWindow_HasAnchor(*args, **kwargs)
def AddFilter(*args, **kwargs):
"""HtmlWindow.AddFilter(HtmlFilter filter)"""
"""AddFilter(HtmlFilter filter)"""
return _html.HtmlWindow_AddFilter(*args, **kwargs)
AddFilter = staticmethod(AddFilter)
@@ -1199,12 +1199,12 @@ class HtmlPrintout(_windows.Printout):
return _html.HtmlPrintout_SetMargins(*args, **kwargs)
def AddFilter(*args, **kwargs):
"""HtmlPrintout.AddFilter(wxHtmlFilter filter)"""
"""AddFilter(wxHtmlFilter filter)"""
return _html.HtmlPrintout_AddFilter(*args, **kwargs)
AddFilter = staticmethod(AddFilter)
def CleanUpStatics(*args, **kwargs):
"""HtmlPrintout.CleanUpStatics()"""
"""CleanUpStatics()"""
return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
CleanUpStatics = staticmethod(CleanUpStatics)
+2 -1
View File
@@ -6,6 +6,7 @@ import _wizard
import _windows
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
WIZARD_EX_HELPBUTTON = _wizard.WIZARD_EX_HELPBUTTON
wxEVT_WIZARD_PAGE_CHANGED = _wizard.wxEVT_WIZARD_PAGE_CHANGED
wxEVT_WIZARD_PAGE_CHANGING = _wizard.wxEVT_WIZARD_PAGE_CHANGING
@@ -209,7 +210,7 @@ class WizardPageSimple(WizardPage):
return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
def Chain(*args, **kwargs):
"""WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)"""
"""Chain(WizardPageSimple first, WizardPageSimple second)"""
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
Chain = staticmethod(Chain)