mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-20 21:08:24 +08:00
reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1350,7 +1350,7 @@ int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
|
||||
|
||||
static const wxString wxPyPanelNameStr(wxPanelNameStr);
|
||||
wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
|
||||
void delete_wxVisualAttributes(wxVisualAttributes *self){}
|
||||
void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
|
||||
PyObject *wxWindow_GetChildren(wxWindow *self){
|
||||
wxWindowList& list = self->GetChildren();
|
||||
return wxPy_ConvertList(&list);
|
||||
|
||||
@@ -41,6 +41,23 @@ class Panel(_core.Window):
|
||||
"""
|
||||
return _windows_.Panel_InitDialog(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class PanelPtr(Panel):
|
||||
def __init__(self, this):
|
||||
@@ -55,6 +72,22 @@ def PrePanel(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Panel_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Panel_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class ScrolledWindow(Panel):
|
||||
@@ -179,6 +212,23 @@ class ScrolledWindow(Panel):
|
||||
"""GetTargetRect(self) -> Rect"""
|
||||
return _windows_.ScrolledWindow_GetTargetRect(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class ScrolledWindowPtr(ScrolledWindow):
|
||||
def __init__(self, this):
|
||||
@@ -193,6 +243,22 @@ def PreScrolledWindow(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
ScrolledWindow_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
STAY_ON_TOP = _windows_.STAY_ON_TOP
|
||||
@@ -423,6 +489,23 @@ class Frame(TopLevelWindow):
|
||||
"""DoMenuUpdates(self, Menu menu=None)"""
|
||||
return _windows_.Frame_DoMenuUpdates(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class FramePtr(Frame):
|
||||
def __init__(self, this):
|
||||
@@ -437,6 +520,22 @@ def PreFrame(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Frame_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Frame_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class Dialog(TopLevelWindow):
|
||||
@@ -490,6 +589,23 @@ class Dialog(TopLevelWindow):
|
||||
"""EndModal(self, int retCode)"""
|
||||
return _windows_.Dialog_EndModal(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class DialogPtr(Dialog):
|
||||
def __init__(self, this):
|
||||
@@ -504,6 +620,22 @@ def PreDialog(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Dialog_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Dialog_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class MiniFrame(Frame):
|
||||
@@ -676,6 +808,23 @@ class StatusBar(_core.Window):
|
||||
"""GetBorderY(self) -> int"""
|
||||
return _windows_.StatusBar_GetBorderY(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class StatusBarPtr(StatusBar):
|
||||
def __init__(self, this):
|
||||
@@ -690,6 +839,22 @@ def PreStatusBar(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def StatusBar_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
StatusBar_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
SP_NOBORDER = _windows_.SP_NOBORDER
|
||||
@@ -991,6 +1156,23 @@ class SplitterWindow(_core.Window):
|
||||
"""GetNeedUpdating(self) -> bool"""
|
||||
return _windows_.SplitterWindow_GetNeedUpdating(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class SplitterWindowPtr(SplitterWindow):
|
||||
def __init__(self, this):
|
||||
@@ -1010,6 +1192,22 @@ def PreSplitterWindow(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def SplitterWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
SplitterWindow_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
class SplitterEvent(_core.NotifyEvent):
|
||||
"""This class represents the events generated by a splitter control."""
|
||||
def __repr__(self):
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -490,6 +490,23 @@ class CalendarCtrl(_core.Control):
|
||||
"""
|
||||
return _calendar.CalendarCtrl_GetYearControl(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class CalendarCtrlPtr(CalendarCtrl):
|
||||
def __init__(self, this):
|
||||
@@ -510,4 +527,20 @@ def PreCalendarCtrl(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
CalendarCtrl_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1983,6 +1983,23 @@ class Grid(_windows.ScrolledWindow):
|
||||
"""GetGridCornerLabelWindow(self) -> Window"""
|
||||
return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class GridPtr(Grid):
|
||||
def __init__(self, this):
|
||||
@@ -1991,6 +2008,22 @@ class GridPtr(Grid):
|
||||
self.__class__ = Grid
|
||||
_grid.Grid_swigregister(GridPtr)
|
||||
|
||||
def Grid_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Grid_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
class GridEvent(_core.NotifyEvent):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
@@ -220,45 +220,46 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con
|
||||
#define SWIGTYPE_p_wxDC swig_types[11]
|
||||
#define SWIGTYPE_p_wxGridTableMessage swig_types[12]
|
||||
#define SWIGTYPE_p_wxGrid swig_types[13]
|
||||
#define SWIGTYPE_p_char swig_types[14]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[15]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[16]
|
||||
#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
|
||||
#define SWIGTYPE_p_wxSize swig_types[18]
|
||||
#define SWIGTYPE_p_wxGridCellCoords swig_types[19]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[20]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[21]
|
||||
#define SWIGTYPE_p_wxFont swig_types[22]
|
||||
#define SWIGTYPE_p_wxControl swig_types[23]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[24]
|
||||
#define SWIGTYPE_p_wxObject swig_types[25]
|
||||
#define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
|
||||
#define SWIGTYPE_p_wxRect swig_types[27]
|
||||
#define SWIGTYPE_p_long swig_types[28]
|
||||
#define SWIGTYPE_p_wxString swig_types[29]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[30]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[31]
|
||||
#define SWIGTYPE_p_wxGridEvent swig_types[32]
|
||||
#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
|
||||
#define SWIGTYPE_p_wxGridTableBase swig_types[34]
|
||||
#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
|
||||
#define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
|
||||
#define SWIGTYPE_p_wxGridCellEditor swig_types[37]
|
||||
#define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
|
||||
#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
|
||||
#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
|
||||
#define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
|
||||
#define SWIGTYPE_p_wxGridStringTable swig_types[42]
|
||||
#define SWIGTYPE_p_wxArrayString swig_types[43]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[44]
|
||||
#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[46]
|
||||
#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
|
||||
#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
|
||||
#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
|
||||
#define SWIGTYPE_p_int swig_types[50]
|
||||
#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
|
||||
static swig_type_info *swig_types[53];
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[14]
|
||||
#define SWIGTYPE_p_char swig_types[15]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[16]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[17]
|
||||
#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
|
||||
#define SWIGTYPE_p_wxSize swig_types[19]
|
||||
#define SWIGTYPE_p_wxGridCellCoords swig_types[20]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[21]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[22]
|
||||
#define SWIGTYPE_p_wxFont swig_types[23]
|
||||
#define SWIGTYPE_p_wxControl swig_types[24]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[25]
|
||||
#define SWIGTYPE_p_wxObject swig_types[26]
|
||||
#define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
|
||||
#define SWIGTYPE_p_wxRect swig_types[28]
|
||||
#define SWIGTYPE_p_long swig_types[29]
|
||||
#define SWIGTYPE_p_wxString swig_types[30]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[31]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[32]
|
||||
#define SWIGTYPE_p_wxGridEvent swig_types[33]
|
||||
#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
|
||||
#define SWIGTYPE_p_wxGridTableBase swig_types[35]
|
||||
#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
|
||||
#define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
|
||||
#define SWIGTYPE_p_wxGridCellEditor swig_types[38]
|
||||
#define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
|
||||
#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
|
||||
#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
|
||||
#define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
|
||||
#define SWIGTYPE_p_wxGridStringTable swig_types[43]
|
||||
#define SWIGTYPE_p_wxArrayString swig_types[44]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[45]
|
||||
#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[47]
|
||||
#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
|
||||
#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
|
||||
#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
|
||||
#define SWIGTYPE_p_int swig_types[51]
|
||||
#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
|
||||
static swig_type_info *swig_types[54];
|
||||
|
||||
/* -------- TYPES TABLE (END) -------- */
|
||||
|
||||
@@ -14261,6 +14262,38 @@ static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
|
||||
wxVisualAttributes result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "variant", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
|
||||
if (obj0) {
|
||||
arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@@ -15854,6 +15887,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
|
||||
{ (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -16940,6 +16974,7 @@ static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0
|
||||
static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 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_wxGrid", _p_wxGridTo_p_wxPanel, 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_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -16994,6 +17029,7 @@ _swigt__p_wxColour,
|
||||
_swigt__p_wxDC,
|
||||
_swigt__p_wxGridTableMessage,
|
||||
_swigt__p_wxGrid,
|
||||
_swigt__p_wxVisualAttributes,
|
||||
_swigt__p_char,
|
||||
_swigt__p_wxPanel,
|
||||
_swigt__p_wxNotifyEvent,
|
||||
|
||||
@@ -1089,6 +1089,23 @@ class HtmlWindow(_windows.ScrolledWindow):
|
||||
"""base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
|
||||
return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class HtmlWindowPtr(HtmlWindow):
|
||||
def __init__(self, this):
|
||||
@@ -1107,6 +1124,22 @@ def HtmlWindow_AddFilter(*args, **kwargs):
|
||||
"""HtmlWindow_AddFilter(HtmlFilter filter)"""
|
||||
return _html.HtmlWindow_AddFilter(*args, **kwargs)
|
||||
|
||||
def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
HtmlWindow_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class HtmlDCRenderer(_core.Object):
|
||||
|
||||
@@ -214,51 +214,52 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con
|
||||
#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[6]
|
||||
#define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
|
||||
#define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
|
||||
#define SWIGTYPE_p_char swig_types[9]
|
||||
#define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
|
||||
#define SWIGTYPE_p_wxHtmlParser swig_types[11]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[12]
|
||||
#define SWIGTYPE_p_wxFont swig_types[13]
|
||||
#define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
|
||||
#define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[17]
|
||||
#define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
|
||||
#define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
|
||||
#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
|
||||
#define SWIGTYPE_p_wxHtmlSelection swig_types[21]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
|
||||
#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
|
||||
#define SWIGTYPE_p_wxObject swig_types[24]
|
||||
#define SWIGTYPE_p_wxString swig_types[25]
|
||||
#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
|
||||
#define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
|
||||
#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[29]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[30]
|
||||
#define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
|
||||
#define SWIGTYPE_p_wxCursor swig_types[32]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[33]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
|
||||
#define SWIGTYPE_p_wxPyPrintout swig_types[35]
|
||||
#define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
|
||||
#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
|
||||
#define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
|
||||
#define SWIGTYPE_p_wxConfigBase swig_types[39]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[40]
|
||||
#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[43]
|
||||
#define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
|
||||
#define SWIGTYPE_p_wxHtmlFilter swig_types[45]
|
||||
#define SWIGTYPE_p_wxHtmlCell swig_types[46]
|
||||
#define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
|
||||
#define SWIGTYPE_p_wxHtmlTag swig_types[48]
|
||||
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
|
||||
#define SWIGTYPE_p_int swig_types[50]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
|
||||
static swig_type_info *swig_types[53];
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[8]
|
||||
#define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
|
||||
#define SWIGTYPE_p_char swig_types[10]
|
||||
#define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
|
||||
#define SWIGTYPE_p_wxHtmlParser swig_types[12]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[13]
|
||||
#define SWIGTYPE_p_wxFont swig_types[14]
|
||||
#define SWIGTYPE_p_wxHtmlColourCell swig_types[15]
|
||||
#define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[17]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[18]
|
||||
#define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
|
||||
#define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
|
||||
#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
|
||||
#define SWIGTYPE_p_wxHtmlSelection swig_types[22]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
|
||||
#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
|
||||
#define SWIGTYPE_p_wxObject swig_types[25]
|
||||
#define SWIGTYPE_p_wxString swig_types[26]
|
||||
#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
|
||||
#define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
|
||||
#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[30]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[31]
|
||||
#define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
|
||||
#define SWIGTYPE_p_wxCursor swig_types[33]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[34]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
|
||||
#define SWIGTYPE_p_wxPyPrintout swig_types[36]
|
||||
#define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
|
||||
#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
|
||||
#define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
|
||||
#define SWIGTYPE_p_wxConfigBase swig_types[40]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[41]
|
||||
#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[44]
|
||||
#define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
|
||||
#define SWIGTYPE_p_wxHtmlFilter swig_types[46]
|
||||
#define SWIGTYPE_p_wxHtmlCell swig_types[47]
|
||||
#define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
|
||||
#define SWIGTYPE_p_wxHtmlTag swig_types[49]
|
||||
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
|
||||
#define SWIGTYPE_p_int swig_types[51]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
|
||||
static swig_type_info *swig_types[54];
|
||||
|
||||
/* -------- TYPES TABLE (END) -------- */
|
||||
|
||||
@@ -7163,6 +7164,38 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
|
||||
wxVisualAttributes result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "variant", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
|
||||
if (obj0) {
|
||||
arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@@ -10714,6 +10747,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
|
||||
{ (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11736,6 +11770,7 @@ static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultH
|
||||
static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -11790,6 +11825,7 @@ _swigt__p_wxDefaultHtmlRenderingStyle,
|
||||
_swigt__p_wxHtmlRenderingStyle,
|
||||
_swigt__p_wxMouseEvent,
|
||||
_swigt__p_wxHtmlWordCell,
|
||||
_swigt__p_wxVisualAttributes,
|
||||
_swigt__p_wxHtmlHelpData,
|
||||
_swigt__p_char,
|
||||
_swigt__p_wxHtmlWinParser,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1349,7 +1349,7 @@ wxPyApp *new_wxPyApp(){
|
||||
|
||||
static const wxString wxPyPanelNameStr(wxPanelNameStr);
|
||||
wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
|
||||
void delete_wxVisualAttributes(wxVisualAttributes *self){}
|
||||
void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
|
||||
PyObject *wxWindow_GetChildren(wxWindow *self){
|
||||
wxWindowList& list = self->GetChildren();
|
||||
return wxPy_ConvertList(&list);
|
||||
|
||||
@@ -41,6 +41,23 @@ class Panel(_core.Window):
|
||||
"""
|
||||
return _windows_.Panel_InitDialog(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class PanelPtr(Panel):
|
||||
def __init__(self, this):
|
||||
@@ -55,6 +72,22 @@ def PrePanel(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Panel_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Panel_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class ScrolledWindow(Panel):
|
||||
@@ -179,6 +212,23 @@ class ScrolledWindow(Panel):
|
||||
"""GetTargetRect(self) -> Rect"""
|
||||
return _windows_.ScrolledWindow_GetTargetRect(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class ScrolledWindowPtr(ScrolledWindow):
|
||||
def __init__(self, this):
|
||||
@@ -193,6 +243,22 @@ def PreScrolledWindow(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
ScrolledWindow_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
STAY_ON_TOP = _windows_.STAY_ON_TOP
|
||||
@@ -415,6 +481,23 @@ class Frame(TopLevelWindow):
|
||||
"""DoMenuUpdates(self, Menu menu=None)"""
|
||||
return _windows_.Frame_DoMenuUpdates(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class FramePtr(Frame):
|
||||
def __init__(self, this):
|
||||
@@ -429,6 +512,22 @@ def PreFrame(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Frame_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Frame_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class Dialog(TopLevelWindow):
|
||||
@@ -482,6 +581,23 @@ class Dialog(TopLevelWindow):
|
||||
"""EndModal(self, int retCode)"""
|
||||
return _windows_.Dialog_EndModal(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class DialogPtr(Dialog):
|
||||
def __init__(self, this):
|
||||
@@ -496,6 +612,22 @@ def PreDialog(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Dialog_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Dialog_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class MiniFrame(Frame):
|
||||
@@ -668,6 +800,23 @@ class StatusBar(_core.Window):
|
||||
"""GetBorderY(self) -> int"""
|
||||
return _windows_.StatusBar_GetBorderY(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class StatusBarPtr(StatusBar):
|
||||
def __init__(self, this):
|
||||
@@ -682,6 +831,22 @@ def PreStatusBar(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def StatusBar_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
StatusBar_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
SP_NOBORDER = _windows_.SP_NOBORDER
|
||||
@@ -983,6 +1148,23 @@ class SplitterWindow(_core.Window):
|
||||
"""GetNeedUpdating(self) -> bool"""
|
||||
return _windows_.SplitterWindow_GetNeedUpdating(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class SplitterWindowPtr(SplitterWindow):
|
||||
def __init__(self, this):
|
||||
@@ -1002,6 +1184,22 @@ def PreSplitterWindow(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def SplitterWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
SplitterWindow_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
class SplitterEvent(_core.NotifyEvent):
|
||||
"""This class represents the events generated by a splitter control."""
|
||||
def __repr__(self):
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -490,6 +490,23 @@ class CalendarCtrl(_core.Control):
|
||||
"""
|
||||
return _calendar.CalendarCtrl_GetYearControl(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class CalendarCtrlPtr(CalendarCtrl):
|
||||
def __init__(self, this):
|
||||
@@ -510,4 +527,20 @@ def PreCalendarCtrl(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
CalendarCtrl_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1983,6 +1983,23 @@ class Grid(_windows.ScrolledWindow):
|
||||
"""GetGridCornerLabelWindow(self) -> Window"""
|
||||
return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class GridPtr(Grid):
|
||||
def __init__(self, this):
|
||||
@@ -1991,6 +2008,22 @@ class GridPtr(Grid):
|
||||
self.__class__ = Grid
|
||||
_grid.Grid_swigregister(GridPtr)
|
||||
|
||||
def Grid_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Grid_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
class GridEvent(_core.NotifyEvent):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
@@ -220,45 +220,46 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con
|
||||
#define SWIGTYPE_p_wxDC swig_types[11]
|
||||
#define SWIGTYPE_p_wxGridTableMessage swig_types[12]
|
||||
#define SWIGTYPE_p_wxGrid swig_types[13]
|
||||
#define SWIGTYPE_p_char swig_types[14]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[15]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[16]
|
||||
#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
|
||||
#define SWIGTYPE_p_wxSize swig_types[18]
|
||||
#define SWIGTYPE_p_wxGridCellCoords swig_types[19]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[20]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[21]
|
||||
#define SWIGTYPE_p_wxFont swig_types[22]
|
||||
#define SWIGTYPE_p_wxControl swig_types[23]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[24]
|
||||
#define SWIGTYPE_p_wxObject swig_types[25]
|
||||
#define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
|
||||
#define SWIGTYPE_p_wxRect swig_types[27]
|
||||
#define SWIGTYPE_p_long swig_types[28]
|
||||
#define SWIGTYPE_p_wxString swig_types[29]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[30]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[31]
|
||||
#define SWIGTYPE_p_wxGridEvent swig_types[32]
|
||||
#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
|
||||
#define SWIGTYPE_p_wxGridTableBase swig_types[34]
|
||||
#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
|
||||
#define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
|
||||
#define SWIGTYPE_p_wxGridCellEditor swig_types[37]
|
||||
#define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
|
||||
#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
|
||||
#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
|
||||
#define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
|
||||
#define SWIGTYPE_p_wxGridStringTable swig_types[42]
|
||||
#define SWIGTYPE_p_wxArrayString swig_types[43]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[44]
|
||||
#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[46]
|
||||
#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
|
||||
#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
|
||||
#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
|
||||
#define SWIGTYPE_p_int swig_types[50]
|
||||
#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
|
||||
static swig_type_info *swig_types[53];
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[14]
|
||||
#define SWIGTYPE_p_char swig_types[15]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[16]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[17]
|
||||
#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
|
||||
#define SWIGTYPE_p_wxSize swig_types[19]
|
||||
#define SWIGTYPE_p_wxGridCellCoords swig_types[20]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[21]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[22]
|
||||
#define SWIGTYPE_p_wxFont swig_types[23]
|
||||
#define SWIGTYPE_p_wxControl swig_types[24]
|
||||
#define SWIGTYPE_p_wxEvent swig_types[25]
|
||||
#define SWIGTYPE_p_wxObject swig_types[26]
|
||||
#define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
|
||||
#define SWIGTYPE_p_wxRect swig_types[28]
|
||||
#define SWIGTYPE_p_long swig_types[29]
|
||||
#define SWIGTYPE_p_wxString swig_types[30]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[31]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[32]
|
||||
#define SWIGTYPE_p_wxGridEvent swig_types[33]
|
||||
#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
|
||||
#define SWIGTYPE_p_wxGridTableBase swig_types[35]
|
||||
#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
|
||||
#define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
|
||||
#define SWIGTYPE_p_wxGridCellEditor swig_types[38]
|
||||
#define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
|
||||
#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
|
||||
#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
|
||||
#define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
|
||||
#define SWIGTYPE_p_wxGridStringTable swig_types[43]
|
||||
#define SWIGTYPE_p_wxArrayString swig_types[44]
|
||||
#define SWIGTYPE_p_wxCommandEvent swig_types[45]
|
||||
#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[47]
|
||||
#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
|
||||
#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
|
||||
#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
|
||||
#define SWIGTYPE_p_int swig_types[51]
|
||||
#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
|
||||
static swig_type_info *swig_types[54];
|
||||
|
||||
/* -------- TYPES TABLE (END) -------- */
|
||||
|
||||
@@ -14261,6 +14262,38 @@ static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
|
||||
wxVisualAttributes result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "variant", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
|
||||
if (obj0) {
|
||||
arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * Grid_swigregister(PyObject *self, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@@ -15854,6 +15887,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Grid_GetGridRowLabelWindow", (PyCFunction) _wrap_Grid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_GetGridColLabelWindow", (PyCFunction) _wrap_Grid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction) _wrap_Grid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_GetClassDefaultAttributes", (PyCFunction) _wrap_Grid_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Grid_swigregister", Grid_swigregister, METH_VARARGS },
|
||||
{ (char *)"new_GridEvent", (PyCFunction) _wrap_new_GridEvent, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"GridEvent_GetRow", (PyCFunction) _wrap_GridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -16940,6 +16974,7 @@ static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0
|
||||
static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 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_wxGrid", _p_wxGridTo_p_wxPanel, 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_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -16994,6 +17029,7 @@ _swigt__p_wxColour,
|
||||
_swigt__p_wxDC,
|
||||
_swigt__p_wxGridTableMessage,
|
||||
_swigt__p_wxGrid,
|
||||
_swigt__p_wxVisualAttributes,
|
||||
_swigt__p_char,
|
||||
_swigt__p_wxPanel,
|
||||
_swigt__p_wxNotifyEvent,
|
||||
|
||||
@@ -1089,6 +1089,23 @@ class HtmlWindow(_windows.ScrolledWindow):
|
||||
"""base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
|
||||
return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class HtmlWindowPtr(HtmlWindow):
|
||||
def __init__(self, this):
|
||||
@@ -1107,6 +1124,22 @@ def HtmlWindow_AddFilter(*args, **kwargs):
|
||||
"""HtmlWindow_AddFilter(HtmlFilter filter)"""
|
||||
return _html.HtmlWindow_AddFilter(*args, **kwargs)
|
||||
|
||||
def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
HtmlWindow_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
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class HtmlDCRenderer(_core.Object):
|
||||
|
||||
@@ -214,51 +214,52 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con
|
||||
#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[6]
|
||||
#define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
|
||||
#define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
|
||||
#define SWIGTYPE_p_char swig_types[9]
|
||||
#define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
|
||||
#define SWIGTYPE_p_wxHtmlParser swig_types[11]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[12]
|
||||
#define SWIGTYPE_p_wxFont swig_types[13]
|
||||
#define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
|
||||
#define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[17]
|
||||
#define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
|
||||
#define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
|
||||
#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
|
||||
#define SWIGTYPE_p_wxHtmlSelection swig_types[21]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
|
||||
#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
|
||||
#define SWIGTYPE_p_wxObject swig_types[24]
|
||||
#define SWIGTYPE_p_wxString swig_types[25]
|
||||
#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
|
||||
#define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
|
||||
#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[29]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[30]
|
||||
#define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
|
||||
#define SWIGTYPE_p_wxCursor swig_types[32]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[33]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
|
||||
#define SWIGTYPE_p_wxPyPrintout swig_types[35]
|
||||
#define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
|
||||
#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
|
||||
#define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
|
||||
#define SWIGTYPE_p_wxConfigBase swig_types[39]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[40]
|
||||
#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[43]
|
||||
#define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
|
||||
#define SWIGTYPE_p_wxHtmlFilter swig_types[45]
|
||||
#define SWIGTYPE_p_wxHtmlCell swig_types[46]
|
||||
#define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
|
||||
#define SWIGTYPE_p_wxHtmlTag swig_types[48]
|
||||
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
|
||||
#define SWIGTYPE_p_int swig_types[50]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
|
||||
static swig_type_info *swig_types[53];
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[8]
|
||||
#define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
|
||||
#define SWIGTYPE_p_char swig_types[10]
|
||||
#define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
|
||||
#define SWIGTYPE_p_wxHtmlParser swig_types[12]
|
||||
#define SWIGTYPE_p_wxPanel swig_types[13]
|
||||
#define SWIGTYPE_p_wxFont swig_types[14]
|
||||
#define SWIGTYPE_p_wxHtmlColourCell swig_types[15]
|
||||
#define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
|
||||
#define SWIGTYPE_p_wxScrolledWindow swig_types[17]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[18]
|
||||
#define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
|
||||
#define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
|
||||
#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
|
||||
#define SWIGTYPE_p_wxHtmlSelection swig_types[22]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
|
||||
#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
|
||||
#define SWIGTYPE_p_wxObject swig_types[25]
|
||||
#define SWIGTYPE_p_wxString swig_types[26]
|
||||
#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
|
||||
#define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
|
||||
#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
|
||||
#define SWIGTYPE_p_wxEvtHandler swig_types[30]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[31]
|
||||
#define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
|
||||
#define SWIGTYPE_p_wxCursor swig_types[33]
|
||||
#define SWIGTYPE_p_wxFileSystem swig_types[34]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
|
||||
#define SWIGTYPE_p_wxPyPrintout swig_types[36]
|
||||
#define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
|
||||
#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
|
||||
#define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
|
||||
#define SWIGTYPE_p_wxConfigBase swig_types[40]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[41]
|
||||
#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
|
||||
#define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[44]
|
||||
#define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
|
||||
#define SWIGTYPE_p_wxHtmlFilter swig_types[46]
|
||||
#define SWIGTYPE_p_wxHtmlCell swig_types[47]
|
||||
#define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
|
||||
#define SWIGTYPE_p_wxHtmlTag swig_types[49]
|
||||
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
|
||||
#define SWIGTYPE_p_int swig_types[51]
|
||||
#define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
|
||||
static swig_type_info *swig_types[54];
|
||||
|
||||
/* -------- TYPES TABLE (END) -------- */
|
||||
|
||||
@@ -7163,6 +7164,38 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
|
||||
wxVisualAttributes result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "variant", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
|
||||
if (obj0) {
|
||||
arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
@@ -10714,6 +10747,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
|
||||
{ (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11730,6 +11764,7 @@ static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultH
|
||||
static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@@ -11784,6 +11819,7 @@ _swigt__p_wxDefaultHtmlRenderingStyle,
|
||||
_swigt__p_wxHtmlRenderingStyle,
|
||||
_swigt__p_wxMouseEvent,
|
||||
_swigt__p_wxHtmlWordCell,
|
||||
_swigt__p_wxVisualAttributes,
|
||||
_swigt__p_wxHtmlHelpData,
|
||||
_swigt__p_char,
|
||||
_swigt__p_wxHtmlWinParser,
|
||||
|
||||
Reference in New Issue
Block a user