Add properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-26 00:26:35 +00:00
parent 4627af27d4
commit e70b4d2db9
50 changed files with 1799 additions and 249 deletions

View File

@@ -184,6 +184,8 @@ class GridCellFloatRenderer(GridCellStringRenderer):
"""SetPrecision(self, int precision)"""
return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs)
Precision = property(GetPrecision,SetPrecision,doc="See `GetPrecision` and `SetPrecision`")
Width = property(GetWidth,SetWidth,doc="See `GetWidth` and `SetWidth`")
_grid.GridCellFloatRenderer_swigregister(GridCellFloatRenderer)
class GridCellBoolRenderer(GridCellRenderer):
@@ -309,6 +311,8 @@ class GridCellEditor(GridCellWorker):
args[0].thisown = 0
return val
CellAttr = property(GetCellAttr,SetCellAttr,doc="See `GetCellAttr` and `SetCellAttr`")
Control = property(GetControl,SetControl,doc="See `GetControl` and `SetControl`")
_grid.GridCellEditor_swigregister(GridCellEditor)
class PyGridCellEditor(GridCellEditor):
@@ -388,6 +392,7 @@ class GridCellTextEditor(GridCellEditor):
"""GetValue(self) -> String"""
return _grid.GridCellTextEditor_GetValue(*args, **kwargs)
Value = property(GetValue,doc="See `GetValue`")
_grid.GridCellTextEditor_swigregister(GridCellTextEditor)
class GridCellNumberEditor(GridCellTextEditor):
@@ -421,10 +426,6 @@ class GridCellBoolEditor(GridCellEditor):
_grid.GridCellBoolEditor_swiginit(self,_grid.new_GridCellBoolEditor(*args, **kwargs))
self._setOORInfo(self)
def GetValue(*args, **kwargs):
"""GetValue(self) -> String"""
return _grid.GridCellBoolEditor_GetValue(*args, **kwargs)
_grid.GridCellBoolEditor_swigregister(GridCellBoolEditor)
class GridCellChoiceEditor(GridCellEditor):
@@ -436,10 +437,6 @@ class GridCellChoiceEditor(GridCellEditor):
_grid.GridCellChoiceEditor_swiginit(self,_grid.new_GridCellChoiceEditor(*args, **kwargs))
self._setOORInfo(self)
def GetValue(*args, **kwargs):
"""GetValue(self) -> String"""
return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs)
_grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditor)
class GridCellEnumEditor(GridCellChoiceEditor):
@@ -617,6 +614,13 @@ class GridCellAttr(object):
"""SetDefAttr(self, GridCellAttr defAttr)"""
return _grid.GridCellAttr_SetDefAttr(*args, **kwargs)
Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
Kind = property(GetKind,SetKind,doc="See `GetKind` and `SetKind`")
Overflow = property(GetOverflow,SetOverflow,doc="See `GetOverflow` and `SetOverflow`")
Size = property(GetSize,SetSize,doc="See `GetSize` and `SetSize`")
TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_grid.GridCellAttr_swigregister(GridCellAttr)
class GridCellAttrProvider(object):
@@ -856,6 +860,10 @@ class GridTableBase(_core.Object):
"""SetColAttr(self, GridCellAttr attr, int col)"""
return _grid.GridTableBase_SetColAttr(*args, **kwargs)
AttrProvider = property(GetAttrProvider,SetAttrProvider,doc="See `GetAttrProvider` and `SetAttrProvider`")
NumberCols = property(GetNumberCols,doc="See `GetNumberCols`")
NumberRows = property(GetNumberRows,doc="See `GetNumberRows`")
View = property(GetView,SetView,doc="See `GetView` and `SetView`")
_grid.GridTableBase_swigregister(GridTableBase)
class PyGridTableBase(GridTableBase):
@@ -1038,6 +1046,10 @@ class GridTableMessage(object):
"""GetCommandInt2(self) -> int"""
return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs)
CommandInt = property(GetCommandInt,SetCommandInt,doc="See `GetCommandInt` and `SetCommandInt`")
CommandInt2 = property(GetCommandInt2,SetCommandInt2,doc="See `GetCommandInt2` and `SetCommandInt2`")
Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
TableObject = property(GetTableObject,SetTableObject,doc="See `GetTableObject` and `SetTableObject`")
_grid.GridTableMessage_swigregister(GridTableMessage)
class GridCellCoords(object):
@@ -1099,6 +1111,8 @@ class GridCellCoords(object):
elif index == 1: self.SetCol(val)
else: raise IndexError
Col = property(GetCol,SetCol,doc="See `GetCol` and `SetCol`")
Row = property(GetRow,SetRow,doc="See `GetRow` and `SetRow`")
_grid.GridCellCoords_swigregister(GridCellCoords)
class Grid(_windows.ScrolledWindow):
@@ -1625,7 +1639,7 @@ class Grid(_windows.ScrolledWindow):
return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs)
def GetCellAlignment(*args, **kwargs):
"""GetCellAlignment() -> (horiz, vert)"""
"""GetCellAlignment(int row, int col) -> (horiz, vert)"""
return _grid.Grid_GetCellAlignment(*args, **kwargs)
def GetDefaultCellOverflow(*args, **kwargs):
@@ -1977,6 +1991,53 @@ class Grid(_windows.ScrolledWindow):
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
BatchCount = property(GetBatchCount,doc="See `GetBatchCount`")
CellHighlightColour = property(GetCellHighlightColour,SetCellHighlightColour,doc="See `GetCellHighlightColour` and `SetCellHighlightColour`")
CellHighlightPenWidth = property(GetCellHighlightPenWidth,SetCellHighlightPenWidth,doc="See `GetCellHighlightPenWidth` and `SetCellHighlightPenWidth`")
CellHighlightROPenWidth = property(GetCellHighlightROPenWidth,SetCellHighlightROPenWidth,doc="See `GetCellHighlightROPenWidth` and `SetCellHighlightROPenWidth`")
CellSize = property(GetCellSize,SetCellSize,doc="See `GetCellSize` and `SetCellSize`")
ColLabelAlignment = property(GetColLabelAlignment,SetColLabelAlignment,doc="See `GetColLabelAlignment` and `SetColLabelAlignment`")
ColLabelSize = property(GetColLabelSize,SetColLabelSize,doc="See `GetColLabelSize` and `SetColLabelSize`")
ColLabelTextOrientation = property(GetColLabelTextOrientation,SetColLabelTextOrientation,doc="See `GetColLabelTextOrientation` and `SetColLabelTextOrientation`")
ColMinimalAcceptableWidth = property(GetColMinimalAcceptableWidth,SetColMinimalAcceptableWidth,doc="See `GetColMinimalAcceptableWidth` and `SetColMinimalAcceptableWidth`")
DefaultCellAlignment = property(GetDefaultCellAlignment,SetDefaultCellAlignment,doc="See `GetDefaultCellAlignment` and `SetDefaultCellAlignment`")
DefaultCellBackgroundColour = property(GetDefaultCellBackgroundColour,SetDefaultCellBackgroundColour,doc="See `GetDefaultCellBackgroundColour` and `SetDefaultCellBackgroundColour`")
DefaultCellFont = property(GetDefaultCellFont,SetDefaultCellFont,doc="See `GetDefaultCellFont` and `SetDefaultCellFont`")
DefaultCellOverflow = property(GetDefaultCellOverflow,SetDefaultCellOverflow,doc="See `GetDefaultCellOverflow` and `SetDefaultCellOverflow`")
DefaultCellTextColour = property(GetDefaultCellTextColour,SetDefaultCellTextColour,doc="See `GetDefaultCellTextColour` and `SetDefaultCellTextColour`")
DefaultColLabelSize = property(GetDefaultColLabelSize,doc="See `GetDefaultColLabelSize`")
DefaultColSize = property(GetDefaultColSize,SetDefaultColSize,doc="See `GetDefaultColSize` and `SetDefaultColSize`")
DefaultEditor = property(GetDefaultEditor,SetDefaultEditor,doc="See `GetDefaultEditor` and `SetDefaultEditor`")
DefaultGridLinePen = property(GetDefaultGridLinePen,doc="See `GetDefaultGridLinePen`")
DefaultRenderer = property(GetDefaultRenderer,SetDefaultRenderer,doc="See `GetDefaultRenderer` and `SetDefaultRenderer`")
DefaultRowLabelSize = property(GetDefaultRowLabelSize,doc="See `GetDefaultRowLabelSize`")
DefaultRowSize = property(GetDefaultRowSize,SetDefaultRowSize,doc="See `GetDefaultRowSize` and `SetDefaultRowSize`")
GridColLabelWindow = property(GetGridColLabelWindow,doc="See `GetGridColLabelWindow`")
GridCornerLabelWindow = property(GetGridCornerLabelWindow,doc="See `GetGridCornerLabelWindow`")
GridCursorCol = property(GetGridCursorCol,doc="See `GetGridCursorCol`")
GridCursorRow = property(GetGridCursorRow,doc="See `GetGridCursorRow`")
GridLineColour = property(GetGridLineColour,SetGridLineColour,doc="See `GetGridLineColour` and `SetGridLineColour`")
GridRowLabelWindow = property(GetGridRowLabelWindow,doc="See `GetGridRowLabelWindow`")
GridWindow = property(GetGridWindow,doc="See `GetGridWindow`")
LabelBackgroundColour = property(GetLabelBackgroundColour,SetLabelBackgroundColour,doc="See `GetLabelBackgroundColour` and `SetLabelBackgroundColour`")
LabelFont = property(GetLabelFont,SetLabelFont,doc="See `GetLabelFont` and `SetLabelFont`")
LabelTextColour = property(GetLabelTextColour,SetLabelTextColour,doc="See `GetLabelTextColour` and `SetLabelTextColour`")
NumberCols = property(GetNumberCols,doc="See `GetNumberCols`")
NumberRows = property(GetNumberRows,doc="See `GetNumberRows`")
RowLabelAlignment = property(GetRowLabelAlignment,SetRowLabelAlignment,doc="See `GetRowLabelAlignment` and `SetRowLabelAlignment`")
RowLabelSize = property(GetRowLabelSize,SetRowLabelSize,doc="See `GetRowLabelSize` and `SetRowLabelSize`")
RowMinimalAcceptableHeight = property(GetRowMinimalAcceptableHeight,SetRowMinimalAcceptableHeight,doc="See `GetRowMinimalAcceptableHeight` and `SetRowMinimalAcceptableHeight`")
ScrollLineX = property(GetScrollLineX,SetScrollLineX,doc="See `GetScrollLineX` and `SetScrollLineX`")
ScrollLineY = property(GetScrollLineY,SetScrollLineY,doc="See `GetScrollLineY` and `SetScrollLineY`")
SelectedCells = property(GetSelectedCells,doc="See `GetSelectedCells`")
SelectedCols = property(GetSelectedCols,doc="See `GetSelectedCols`")
SelectedRows = property(GetSelectedRows,doc="See `GetSelectedRows`")
SelectionBackground = property(GetSelectionBackground,SetSelectionBackground,doc="See `GetSelectionBackground` and `SetSelectionBackground`")
SelectionBlockBottomRight = property(GetSelectionBlockBottomRight,doc="See `GetSelectionBlockBottomRight`")
SelectionBlockTopLeft = property(GetSelectionBlockTopLeft,doc="See `GetSelectionBlockTopLeft`")
SelectionForeground = property(GetSelectionForeground,SetSelectionForeground,doc="See `GetSelectionForeground` and `SetSelectionForeground`")
SelectionMode = property(GetSelectionMode,SetSelectionMode,doc="See `GetSelectionMode` and `SetSelectionMode`")
Table = property(GetTable,SetTable,doc="See `GetTable` and `SetTable`")
_grid.Grid_swigregister(Grid)
def PreGrid(*args, **kwargs):
@@ -2049,6 +2110,9 @@ class GridEvent(_core.NotifyEvent):
"""CmdDown(self) -> bool"""
return _grid.GridEvent_CmdDown(*args, **kwargs)
Col = property(GetCol,doc="See `GetCol`")
Position = property(GetPosition,doc="See `GetPosition`")
Row = property(GetRow,doc="See `GetRow`")
_grid.GridEvent_swigregister(GridEvent)
class GridSizeEvent(_core.NotifyEvent):
@@ -2090,6 +2154,8 @@ class GridSizeEvent(_core.NotifyEvent):
"""CmdDown(self) -> bool"""
return _grid.GridSizeEvent_CmdDown(*args, **kwargs)
Position = property(GetPosition,doc="See `GetPosition`")
RowOrCol = property(GetRowOrCol,doc="See `GetRowOrCol`")
_grid.GridSizeEvent_swigregister(GridSizeEvent)
class GridRangeSelectEvent(_core.NotifyEvent):
@@ -2152,6 +2218,12 @@ class GridRangeSelectEvent(_core.NotifyEvent):
"""CmdDown(self) -> bool"""
return _grid.GridRangeSelectEvent_CmdDown(*args, **kwargs)
BottomRightCoords = property(GetBottomRightCoords,doc="See `GetBottomRightCoords`")
BottomRow = property(GetBottomRow,doc="See `GetBottomRow`")
LeftCol = property(GetLeftCol,doc="See `GetLeftCol`")
RightCol = property(GetRightCol,doc="See `GetRightCol`")
TopLeftCoords = property(GetTopLeftCoords,doc="See `GetTopLeftCoords`")
TopRow = property(GetTopRow,doc="See `GetTopRow`")
_grid.GridRangeSelectEvent_swigregister(GridRangeSelectEvent)
class GridEditorCreatedEvent(_core.CommandEvent):
@@ -2188,6 +2260,9 @@ class GridEditorCreatedEvent(_core.CommandEvent):
"""SetControl(self, Control ctrl)"""
return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs)
Col = property(GetCol,SetCol,doc="See `GetCol` and `SetCol`")
Control = property(GetControl,SetControl,doc="See `GetControl` and `SetControl`")
Row = property(GetRow,SetRow,doc="See `GetRow` and `SetRow`")
_grid.GridEditorCreatedEvent_swigregister(GridEditorCreatedEvent)
wxEVT_GRID_CELL_LEFT_CLICK = _grid.wxEVT_GRID_CELL_LEFT_CLICK

View File

@@ -5504,40 +5504,6 @@ fail:
}
SWIGINTERN PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ;
wxString result;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGridCellBoolEditor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridCellBoolEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellBoolEditor *""'");
}
arg1 = reinterpret_cast< wxGridCellBoolEditor * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (arg1)->GetValue();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GridCellBoolEditor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
@@ -5597,40 +5563,6 @@ fail:
}
SWIGINTERN PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ;
wxString result;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGridCellChoiceEditor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridCellChoiceEditor_GetValue" "', expected argument " "1"" of type '" "wxGridCellChoiceEditor *""'");
}
arg1 = reinterpret_cast< wxGridCellChoiceEditor * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (arg1)->GetValue();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
#else
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
#endif
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GridCellChoiceEditor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
@@ -20439,11 +20371,9 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS, NULL},
{ (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit, METH_VARARGS, NULL},
{ (char *)"new_GridCellBoolEditor", (PyCFunction)_wrap_new_GridCellBoolEditor, METH_NOARGS, NULL},
{ (char *)"GridCellBoolEditor_GetValue", (PyCFunction)_wrap_GridCellBoolEditor_GetValue, METH_O, NULL},
{ (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS, NULL},
{ (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit, METH_VARARGS, NULL},
{ (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GridCellChoiceEditor_GetValue", (PyCFunction)_wrap_GridCellChoiceEditor_GetValue, METH_O, NULL},
{ (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister, METH_VARARGS, NULL},
{ (char *)"GridCellChoiceEditor_swiginit", GridCellChoiceEditor_swiginit, METH_VARARGS, NULL},
{ (char *)"new_GridCellEnumEditor", (PyCFunction) _wrap_new_GridCellEnumEditor, METH_VARARGS | METH_KEYWORDS, NULL},

View File

@@ -121,6 +121,10 @@ class HtmlLinkInfo(_core.Object):
"""SetHtmlCell(self, HtmlCell e)"""
return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs)
Event = property(GetEvent,SetEvent,doc="See `GetEvent` and `SetEvent`")
Href = property(GetHref,doc="See `GetHref`")
HtmlCell = property(GetHtmlCell,SetHtmlCell,doc="See `GetHtmlCell` and `SetHtmlCell`")
Target = property(GetTarget,doc="See `GetTarget`")
_html.HtmlLinkInfo_swigregister(HtmlLinkInfo)
cvar = _html.cvar
HtmlWindowNameStr = cvar.HtmlWindowNameStr
@@ -164,6 +168,11 @@ class HtmlTag(_core.Object):
"""GetEndPos2(self) -> int"""
return _html.HtmlTag_GetEndPos2(*args, **kwargs)
AllParams = property(GetAllParams,doc="See `GetAllParams`")
BeginPos = property(GetBeginPos,doc="See `GetBeginPos`")
EndPos1 = property(GetEndPos1,doc="See `GetEndPos1`")
EndPos2 = property(GetEndPos2,doc="See `GetEndPos2`")
Name = property(GetName,doc="See `GetName`")
_html.HtmlTag_swigregister(HtmlTag)
class HtmlParser(_core.Object):
@@ -219,6 +228,8 @@ class HtmlParser(_core.Object):
"""GetInnerSource(self, HtmlTag tag) -> String"""
return _html.HtmlParser_GetInnerSource(*args, **kwargs)
FS = property(GetFS,SetFS,doc="See `GetFS` and `SetFS`")
Source = property(GetSource,doc="See `GetSource`")
_html.HtmlParser_swigregister(HtmlParser)
class HtmlWinParser(HtmlParser):
@@ -356,6 +367,21 @@ class HtmlWinParser(HtmlParser):
"""GetLink(self) -> HtmlLinkInfo"""
return _html.HtmlWinParser_GetLink(*args, **kwargs)
ActualColor = property(GetActualColor,SetActualColor,doc="See `GetActualColor` and `SetActualColor`")
ActualColour = property(GetActualColour,SetActualColour,doc="See `GetActualColour` and `SetActualColour`")
Align = property(GetAlign,SetAlign,doc="See `GetAlign` and `SetAlign`")
CharHeight = property(GetCharHeight,doc="See `GetCharHeight`")
CharWidth = property(GetCharWidth,doc="See `GetCharWidth`")
Container = property(GetContainer,SetContainer,doc="See `GetContainer` and `SetContainer`")
DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
FontBold = property(GetFontBold,SetFontBold,doc="See `GetFontBold` and `SetFontBold`")
FontFixed = property(GetFontFixed,SetFontFixed,doc="See `GetFontFixed` and `SetFontFixed`")
FontItalic = property(GetFontItalic,SetFontItalic,doc="See `GetFontItalic` and `SetFontItalic`")
FontSize = property(GetFontSize,SetFontSize,doc="See `GetFontSize` and `SetFontSize`")
FontUnderlined = property(GetFontUnderlined,SetFontUnderlined,doc="See `GetFontUnderlined` and `SetFontUnderlined`")
Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
LinkColor = property(GetLinkColor,SetLinkColor,doc="See `GetLinkColor` and `SetLinkColor`")
WindowInterface = property(GetWindowInterface,doc="See `GetWindowInterface`")
_html.HtmlWinParser_swigregister(HtmlWinParser)
class HtmlTagHandler(_core.Object):
@@ -383,6 +409,7 @@ class HtmlTagHandler(_core.Object):
"""ParseInner(self, HtmlTag tag)"""
return _html.HtmlTagHandler_ParseInner(*args, **kwargs)
Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
_html.HtmlTagHandler_swigregister(HtmlTagHandler)
class HtmlWinTagHandler(HtmlTagHandler):
@@ -410,6 +437,7 @@ class HtmlWinTagHandler(HtmlTagHandler):
"""ParseInner(self, HtmlTag tag)"""
return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs)
Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
_html.HtmlWinTagHandler_swigregister(HtmlWinTagHandler)
@@ -475,6 +503,12 @@ class HtmlSelection(object):
"""IsEmpty(self) -> bool"""
return _html.HtmlSelection_IsEmpty(*args, **kwargs)
FromCell = property(GetFromCell,doc="See `GetFromCell`")
FromPos = property(GetFromPos,doc="See `GetFromPos`")
FromPrivPos = property(GetFromPrivPos,SetFromPrivPos,doc="See `GetFromPrivPos` and `SetFromPrivPos`")
ToCell = property(GetToCell,doc="See `GetToCell`")
ToPos = property(GetToPos,doc="See `GetToPos`")
ToPrivPos = property(GetToPrivPos,SetToPrivPos,doc="See `GetToPrivPos` and `SetToPrivPos`")
_html.HtmlSelection_swigregister(HtmlSelection)
HTML_SEL_OUT = _html.HTML_SEL_OUT
@@ -513,6 +547,9 @@ class HtmlRenderingState(object):
"""GetBgColour(self) -> Colour"""
return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
BgColour = property(GetBgColour,SetBgColour,doc="See `GetBgColour` and `SetBgColour`")
FgColour = property(GetFgColour,SetFgColour,doc="See `GetFgColour` and `SetFgColour`")
SelectionState = property(GetSelectionState,SetSelectionState,doc="See `GetSelectionState` and `SetSelectionState`")
_html.HtmlRenderingState_swigregister(HtmlRenderingState)
class HtmlRenderingStyle(object):
@@ -528,6 +565,8 @@ class HtmlRenderingStyle(object):
"""GetSelectedTextBgColour(self, Colour clr) -> Colour"""
return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
SelectedTextBgColour = property(GetSelectedTextBgColour,doc="See `GetSelectedTextBgColour`")
SelectedTextColour = property(GetSelectedTextColour,doc="See `GetSelectedTextColour`")
_html.HtmlRenderingStyle_swigregister(HtmlRenderingStyle)
class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
@@ -566,6 +605,9 @@ class HtmlRenderingInfo(object):
"""GetState(self) -> HtmlRenderingState"""
return _html.HtmlRenderingInfo_GetState(*args, **kwargs)
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
State = property(GetState,doc="See `GetState`")
Style = property(GetStyle,SetStyle,doc="See `GetStyle` and `SetStyle`")
_html.HtmlRenderingInfo_swigregister(HtmlRenderingInfo)
#---------------------------------------------------------------------------
@@ -723,6 +765,23 @@ class HtmlCell(_core.Object):
"""ConvertToText(self, HtmlSelection sel) -> String"""
return _html.HtmlCell_ConvertToText(*args, **kwargs)
Cursor = property(GetCursor,doc="See `GetCursor`")
Depth = property(GetDepth,doc="See `GetDepth`")
Descent = property(GetDescent,doc="See `GetDescent`")
FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
FirstTerminal = property(GetFirstTerminal,doc="See `GetFirstTerminal`")
Height = property(GetHeight,doc="See `GetHeight`")
Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
LastTerminal = property(GetLastTerminal,doc="See `GetLastTerminal`")
Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
MaxTotalWidth = property(GetMaxTotalWidth,doc="See `GetMaxTotalWidth`")
MouseCursor = property(GetMouseCursor,doc="See `GetMouseCursor`")
Next = property(GetNext,SetNext,doc="See `GetNext` and `SetNext`")
Parent = property(GetParent,SetParent,doc="See `GetParent` and `SetParent`")
PosX = property(GetPosX,doc="See `GetPosX`")
PosY = property(GetPosY,doc="See `GetPosY`")
RootCell = property(GetRootCell,doc="See `GetRootCell`")
Width = property(GetWidth,doc="See `GetWidth`")
_html.HtmlCell_swigregister(HtmlCell)
class HtmlWordCell(HtmlCell):
@@ -817,6 +876,12 @@ class HtmlContainerCell(HtmlCell):
"""GetFirstChild(self) -> HtmlCell"""
return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
AlignHor = property(GetAlignHor,SetAlignHor,doc="See `GetAlignHor` and `SetAlignHor`")
AlignVer = property(GetAlignVer,SetAlignVer,doc="See `GetAlignVer` and `SetAlignVer`")
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
IndentUnits = property(GetIndentUnits,doc="See `GetIndentUnits`")
_html.HtmlContainerCell_swigregister(HtmlContainerCell)
class HtmlColourCell(HtmlCell):
@@ -901,6 +966,8 @@ class HtmlWindowInterface(object):
HTMLCursor_Default = _html.HtmlWindowInterface_HTMLCursor_Default
HTMLCursor_Link = _html.HtmlWindowInterface_HTMLCursor_Link
HTMLCursor_Text = _html.HtmlWindowInterface_HTMLCursor_Text
HTMLBackgroundColour = property(GetHTMLBackgroundColour,SetHTMLBackgroundColour,doc="See `GetHTMLBackgroundColour` and `SetHTMLBackgroundColour`")
HTMLWindow = property(GetHTMLWindow,doc="See `GetHTMLWindow`")
_html.HtmlWindowInterface_swigregister(HtmlWindowInterface)
#---------------------------------------------------------------------------
@@ -1121,6 +1188,12 @@ class HtmlWindow(_windows.ScrolledWindow):
return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
GetDefaultHTMLCursor = staticmethod(GetDefaultHTMLCursor)
InternalRepresentation = property(GetInternalRepresentation,doc="See `GetInternalRepresentation`")
OpenedAnchor = property(GetOpenedAnchor,doc="See `GetOpenedAnchor`")
OpenedPage = property(GetOpenedPage,doc="See `GetOpenedPage`")
OpenedPageTitle = property(GetOpenedPageTitle,doc="See `GetOpenedPageTitle`")
Parser = property(GetParser,doc="See `GetParser`")
RelatedFrame = property(GetRelatedFrame,doc="See `GetRelatedFrame`")
_html.HtmlWindow_swigregister(HtmlWindow)
def PreHtmlWindow(*args, **kwargs):
@@ -1195,6 +1268,7 @@ class HtmlDCRenderer(_core.Object):
"""GetTotalHeight(self) -> int"""
return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
TotalHeight = property(GetTotalHeight,doc="See `GetTotalHeight`")
_html.HtmlDCRenderer_swigregister(HtmlDCRenderer)
PAGE_ODD = _html.PAGE_ODD
@@ -1311,6 +1385,8 @@ class HtmlEasyPrinting(_core.Object):
"""GetPageSetupData(self) -> PageSetupDialogData"""
return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
PageSetupData = property(GetPageSetupData,doc="See `GetPageSetupData`")
PrintData = property(GetPrintData,doc="See `GetPrintData`")
_html.HtmlEasyPrinting_swigregister(HtmlEasyPrinting)
#---------------------------------------------------------------------------
@@ -1366,6 +1442,13 @@ class HtmlBookRecord(object):
"""GetFullPath(self, String page) -> String"""
return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
BasePath = property(GetBasePath,SetBasePath,doc="See `GetBasePath` and `SetBasePath`")
BookFile = property(GetBookFile,doc="See `GetBookFile`")
ContentsEnd = property(GetContentsEnd,doc="See `GetContentsEnd`")
ContentsStart = property(GetContentsStart,doc="See `GetContentsStart`")
FullPath = property(GetFullPath,doc="See `GetFullPath`")
Start = property(GetStart,SetStart,doc="See `GetStart` and `SetStart`")
Title = property(GetTitle,SetTitle,doc="See `GetTitle` and `SetTitle`")
_html.HtmlBookRecord_swigregister(HtmlBookRecord)
class HtmlSearchStatus(object):
@@ -1393,6 +1476,9 @@ class HtmlSearchStatus(object):
"""GetName(self) -> String"""
return _html.HtmlSearchStatus_GetName(*args, **kwargs)
CurIndex = property(GetCurIndex,doc="See `GetCurIndex`")
MaxIndex = property(GetMaxIndex,doc="See `GetMaxIndex`")
Name = property(GetName,doc="See `GetName`")
_html.HtmlSearchStatus_swigregister(HtmlSearchStatus)
class HtmlHelpData(object):
@@ -1424,6 +1510,7 @@ class HtmlHelpData(object):
"""GetBookRecArray(self) -> wxHtmlBookRecArray"""
return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
BookRecArray = property(GetBookRecArray,doc="See `GetBookRecArray`")
_html.HtmlHelpData_swigregister(HtmlHelpData)
HF_TOOLBAR = _html.HF_TOOLBAR
@@ -1562,6 +1649,13 @@ class HtmlHelpWindow(_core.Window):
"""GetTreeCtrl(self) -> wxPyTreeCtrl"""
return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
CfgData = property(GetCfgData,doc="See `GetCfgData`")
Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
Data = property(GetData,doc="See `GetData`")
HtmlWindow = property(GetHtmlWindow,doc="See `GetHtmlWindow`")
SplitterWindow = property(GetSplitterWindow,doc="See `GetSplitterWindow`")
ToolBar = property(GetToolBar,doc="See `GetToolBar`")
TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
_html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
def PreHtmlHelpWindow(*args, **kwargs):
@@ -1585,6 +1679,7 @@ class HtmlWindowEvent(_core.NotifyEvent):
"""GetURL(self) -> String"""
return _html.HtmlWindowEvent_GetURL(*args, **kwargs)
URL = property(GetURL,SetURL,doc="See `GetURL` and `SetURL`")
_html.HtmlWindowEvent_swigregister(HtmlWindowEvent)
class HtmlHelpFrame(_windows.Frame):
@@ -1647,6 +1742,9 @@ class HtmlHelpFrame(_windows.Frame):
def WriteCustomization(self, config, rootpath=""):
return self.GetHelpWindow().WriteCustomization(config, rootpath)
Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
Data = property(GetData,doc="See `GetData`")
HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
_html.HtmlHelpFrame_swigregister(HtmlHelpFrame)
def PreHtmlHelpFrame(*args, **kwargs):
@@ -1691,6 +1789,9 @@ class HtmlHelpDialog(_windows.Dialog):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs)
Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
Data = property(GetData,doc="See `GetData`")
HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
_html.HtmlHelpDialog_swigregister(HtmlHelpDialog)
def PreHtmlHelpDialog(*args, **kwargs):
@@ -1773,6 +1874,7 @@ class HelpControllerBase(_core.Object):
"""GetParentWindow(self) -> Window"""
return _html.HelpControllerBase_GetParentWindow(*args, **kwargs)
ParentWindow = property(GetParentWindow,SetParentWindow,doc="See `GetParentWindow` and `SetParentWindow`")
_html.HelpControllerBase_swigregister(HelpControllerBase)
class HtmlHelpController(HelpControllerBase):
@@ -1852,6 +1954,9 @@ class HtmlHelpController(HelpControllerBase):
"""FindTopLevelWindow(self) -> Window"""
return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs)
Dialog = property(GetDialog,doc="See `GetDialog`")
Frame = property(GetFrame,doc="See `GetFrame`")
HelpWindow = property(GetHelpWindow,SetHelpWindow,doc="See `GetHelpWindow` and `SetHelpWindow`")
_html.HtmlHelpController_swigregister(HtmlHelpController)
class HtmlModalHelp(object):

View File

@@ -175,6 +175,11 @@ class MediaCtrl(_core.Control):
"""GetDownloadTotal(self) -> wxFileOffset"""
return _media.MediaCtrl_GetDownloadTotal(*args, **kwargs)
DownloadProgress = property(GetDownloadProgress,doc="See `GetDownloadProgress`")
DownloadTotal = property(GetDownloadTotal,doc="See `GetDownloadTotal`")
PlaybackRate = property(GetPlaybackRate,SetPlaybackRate,doc="See `GetPlaybackRate` and `SetPlaybackRate`")
State = property(GetState,doc="See `GetState`")
Volume = property(GetVolume,SetVolume,doc="See `GetVolume` and `SetVolume`")
_media.MediaCtrl_swigregister(MediaCtrl)
MediaCtrlNameStr = cvar.MediaCtrlNameStr

View File

@@ -247,6 +247,9 @@ class RichTextRange(object):
__safe_for_unpickling__ = True
def __reduce__(self): return (RichTextRange, self.Get())
End = property(GetEnd,SetEnd,doc="See `GetEnd` and `SetEnd`")
Length = property(GetLength,doc="See `GetLength`")
Start = property(GetStart,SetStart,doc="See `GetStart` and `SetStart`")
_richtext.RichTextRange_swigregister(RichTextRange)
class RichTextAttr(object):
@@ -542,6 +545,29 @@ class RichTextAttr(object):
"""IsDefault(self) -> bool"""
return _richtext.RichTextAttr_IsDefault(*args, **kwargs)
Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
BulletNumber = property(GetBulletNumber,SetBulletNumber,doc="See `GetBulletNumber` and `SetBulletNumber`")
BulletStyle = property(GetBulletStyle,SetBulletStyle,doc="See `GetBulletStyle` and `SetBulletStyle`")
BulletSymbol = property(GetBulletSymbol,SetBulletSymbol,doc="See `GetBulletSymbol` and `SetBulletSymbol`")
CharacterStyleName = property(GetCharacterStyleName,SetCharacterStyleName,doc="See `GetCharacterStyleName` and `SetCharacterStyleName`")
Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
FontAttributes = property(GetFontAttributes,doc="See `GetFontAttributes`")
FontFaceName = property(GetFontFaceName,SetFontFaceName,doc="See `GetFontFaceName` and `SetFontFaceName`")
FontSize = property(GetFontSize,SetFontSize,doc="See `GetFontSize` and `SetFontSize`")
FontStyle = property(GetFontStyle,SetFontStyle,doc="See `GetFontStyle` and `SetFontStyle`")
FontUnderlined = property(GetFontUnderlined,SetFontUnderlined,doc="See `GetFontUnderlined` and `SetFontUnderlined`")
FontWeight = property(GetFontWeight,SetFontWeight,doc="See `GetFontWeight` and `SetFontWeight`")
LeftIndent = property(GetLeftIndent,SetLeftIndent,doc="See `GetLeftIndent` and `SetLeftIndent`")
LeftSubIndent = property(GetLeftSubIndent,doc="See `GetLeftSubIndent`")
LineSpacing = property(GetLineSpacing,SetLineSpacing,doc="See `GetLineSpacing` and `SetLineSpacing`")
ParagraphSpacingAfter = property(GetParagraphSpacingAfter,SetParagraphSpacingAfter,doc="See `GetParagraphSpacingAfter` and `SetParagraphSpacingAfter`")
ParagraphSpacingBefore = property(GetParagraphSpacingBefore,SetParagraphSpacingBefore,doc="See `GetParagraphSpacingBefore` and `SetParagraphSpacingBefore`")
ParagraphStyleName = property(GetParagraphStyleName,SetParagraphStyleName,doc="See `GetParagraphStyleName` and `SetParagraphStyleName`")
RightIndent = property(GetRightIndent,SetRightIndent,doc="See `GetRightIndent` and `SetRightIndent`")
Tabs = property(GetTabs,SetTabs,doc="See `GetTabs` and `SetTabs`")
TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_richtext.RichTextAttr_swigregister(RichTextAttr)
cvar = _richtext.cvar
RICHTEXT_ALL = cvar.RICHTEXT_ALL
@@ -1291,6 +1317,19 @@ class RichTextCtrl(_windows.ScrolledWindow):
"""GetStyleSheet(self) -> wxRichTextStyleSheet"""
return _richtext.RichTextCtrl_GetStyleSheet(*args, **kwargs)
Buffer = property(GetBuffer,doc="See `GetBuffer`")
DefaultStyle = property(GetDefaultStyle,SetDefaultStyle,doc="See `GetDefaultStyle` and `SetDefaultStyle`")
DelayedLayoutThreshold = property(GetDelayedLayoutThreshold,SetDelayedLayoutThreshold,doc="See `GetDelayedLayoutThreshold` and `SetDelayedLayoutThreshold`")
Filename = property(GetFilename,SetFilename,doc="See `GetFilename` and `SetFilename`")
InsertionPoint = property(GetInsertionPoint,SetInsertionPoint,doc="See `GetInsertionPoint` and `SetInsertionPoint`")
InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`")
LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`")
StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`")
Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_richtext.RichTextCtrl_swigregister(RichTextCtrl)
def PreRichTextCtrl(*args, **kwargs):
@@ -1336,6 +1375,8 @@ class RichTextEvent(_core.NotifyEvent):
"""SetFlags(self, int flags)"""
return _richtext.RichTextEvent_SetFlags(*args, **kwargs)
Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
Index = property(GetIndex,SetIndex,doc="See `GetIndex` and `SetIndex`")
_richtext.RichTextEvent_swigregister(RichTextEvent)

View File

@@ -129,6 +129,9 @@ class WebKitCtrl(_core.Control):
"""GetPageTitle(self) -> String"""
return _webkit.WebKitCtrl_GetPageTitle(*args, **kwargs)
PageSource = property(GetPageSource,SetPageSource,doc="See `GetPageSource` and `SetPageSource`")
PageTitle = property(GetPageTitle,doc="See `GetPageTitle`")
PageURL = property(GetPageURL,doc="See `GetPageURL`")
_webkit.WebKitCtrl_swigregister(WebKitCtrl)
cvar = _webkit.cvar
WebKitNameStr = cvar.WebKitNameStr
@@ -168,6 +171,8 @@ class WebKitStateChangedEvent(_core.CommandEvent):
"""SetURL(self, String url)"""
return _webkit.WebKitStateChangedEvent_SetURL(*args, **kwargs)
State = property(GetState,SetState,doc="See `GetState` and `SetState`")
URL = property(GetURL,SetURL,doc="See `GetURL` and `SetURL`")
_webkit.WebKitStateChangedEvent_swigregister(WebKitStateChangedEvent)
EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED)

View File

@@ -90,6 +90,8 @@ class WizardEvent(_core.NotifyEvent):
"""GetPage(self) -> WizardPage"""
return _wizard.WizardEvent_GetPage(*args, **kwargs)
Direction = property(GetDirection,doc="See `GetDirection`")
Page = property(GetPage,doc="See `GetPage`")
_wizard.WizardEvent_swigregister(WizardEvent)
class WizardPage(_windows.Panel):
@@ -113,6 +115,9 @@ class WizardPage(_windows.Panel):
"""GetBitmap(self) -> Bitmap"""
return _wizard.WizardPage_GetBitmap(*args, **kwargs)
Bitmap = property(GetBitmap,doc="See `GetBitmap`")
Next = property(GetNext,doc="See `GetNext`")
Prev = property(GetPrev,doc="See `GetPrev`")
_wizard.WizardPage_swigregister(WizardPage)
class PyWizardPage(WizardPage):
@@ -399,6 +404,9 @@ class Wizard(_windows.Dialog):
"""HasPrevPage(self, WizardPage page) -> bool"""
return _wizard.Wizard_HasPrevPage(*args, **kwargs)
CurrentPage = property(GetCurrentPage,doc="See `GetCurrentPage`")
PageAreaSizer = property(GetPageAreaSizer,doc="See `GetPageAreaSizer`")
PageSize = property(GetPageSize,SetPageSize,doc="See `GetPageSize` and `SetPageSize`")
_wizard.Wizard_swigregister(Wizard)
def PreWizard(*args, **kwargs):

View File

@@ -211,6 +211,9 @@ class XmlResource(_core.Object):
"""SetDomain(self, String domain)"""
return _xrc.XmlResource_SetDomain(*args, **kwargs)
Domain = property(GetDomain,SetDomain,doc="See `GetDomain` and `SetDomain`")
Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
Version = property(GetVersion,doc="See `GetVersion`")
_xrc.XmlResource_swigregister(XmlResource)
cvar = _xrc.cvar
UTF8String = cvar.UTF8String
@@ -315,6 +318,9 @@ class XmlProperty(object):
"""SetNext(self, XmlProperty next)"""
return _xrc.XmlProperty_SetNext(*args, **kwargs)
Name = property(GetName,SetName,doc="See `GetName` and `SetName`")
Next = property(GetNext,SetNext,doc="See `GetNext` and `SetNext`")
Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_xrc.XmlProperty_swigregister(XmlProperty)
class XmlNode(object):
@@ -430,6 +436,13 @@ class XmlNode(object):
"""SetProperties(self, XmlProperty prop)"""
return _xrc.XmlNode_SetProperties(*args, **kwargs)
Children = property(GetChildren,SetChildren,doc="See `GetChildren` and `SetChildren`")
Content = property(GetContent,SetContent,doc="See `GetContent` and `SetContent`")
Name = property(GetName,SetName,doc="See `GetName` and `SetName`")
Next = property(GetNext,SetNext,doc="See `GetNext` and `SetNext`")
Parent = property(GetParent,SetParent,doc="See `GetParent` and `SetParent`")
Properties = property(GetProperties,SetProperties,doc="See `GetProperties` and `SetProperties`")
Type = property(GetType,SetType,doc="See `GetType` and `SetType`")
_xrc.XmlNode_swigregister(XmlNode)
def XmlNodeEasy(*args, **kwargs):
@@ -497,6 +510,9 @@ class XmlDocument(_core.Object):
"""SetFileEncoding(self, String encoding)"""
return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
FileEncoding = property(GetFileEncoding,SetFileEncoding,doc="See `GetFileEncoding` and `SetFileEncoding`")
Root = property(GetRoot,SetRoot,doc="See `GetRoot` and `SetRoot`")
Version = property(GetVersion,SetVersion,doc="See `GetVersion` and `SetVersion`")
_xrc.XmlDocument_swigregister(XmlDocument)
def XmlDocumentFromStream(*args, **kwargs):
@@ -664,6 +680,15 @@ class XmlResourceHandler(_core.Object):
"""GetCurFileSystem(self) -> FileSystem"""
return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
Class = property(GetClass,doc="See `GetClass`")
CurFileSystem = property(GetCurFileSystem,doc="See `GetCurFileSystem`")
ID = property(GetID,doc="See `GetID`")
Instance = property(GetInstance,doc="See `GetInstance`")
Name = property(GetName,doc="See `GetName`")
Node = property(GetNode,doc="See `GetNode`")
Parent = property(GetParent,doc="See `GetParent`")
ParentAsWindow = property(GetParentAsWindow,doc="See `GetParentAsWindow`")
Resource = property(GetResource,doc="See `GetResource`")
_xrc.XmlResourceHandler_swigregister(XmlResourceHandler)
#----------------------------------------------------------------------------