reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-12-19 04:47:55 +00:00
parent 64e8a1f072
commit 196addbfe0
19 changed files with 1741 additions and 1837 deletions

View File

@@ -52,7 +52,7 @@ class DynamicSashWindow(core.Window):
"""
__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
wxString name=wxPyDynamicSashNameStr) -> DynamicSashWindow
String name=wxPyDynamicSashNameStr) -> DynamicSashWindow
"""
newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs)
self.this = newobj.this
@@ -64,7 +64,7 @@ class DynamicSashWindow(core.Window):
"""
Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
wxString name=wxPyDynamicSashNameStr) -> bool
String name=wxPyDynamicSashNameStr) -> bool
"""
return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
@@ -101,9 +101,9 @@ class EditableListBox(windows.Panel):
return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
__init__(Window parent, int id, String label, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
wxString name=wxPyEditableListBoxNameStr) -> EditableListBox
String name=wxPyEditableListBoxNameStr) -> EditableListBox
"""
newobj = _gizmos.new_EditableListBox(*args, **kwargs)
self.this = newobj.this
@@ -302,7 +302,7 @@ class LEDNumberCtrl(core.Control):
return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
def GetAlignment(*args, **kwargs):
"""GetAlignment() -> wxLEDValueAlign"""
"""GetAlignment() -> int"""
return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
def GetDrawFaded(*args, **kwargs):
@@ -310,11 +310,11 @@ class LEDNumberCtrl(core.Control):
return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
def GetValue(*args, **kwargs):
"""GetValue() -> wxString"""
"""GetValue() -> String"""
return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
def SetAlignment(*args, **kwargs):
"""SetAlignment(wxLEDValueAlign Alignment, bool Redraw=true)"""
"""SetAlignment(int Alignment, bool Redraw=true)"""
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
def SetDrawFaded(*args, **kwargs):
@@ -322,7 +322,7 @@ class LEDNumberCtrl(core.Control):
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
def SetValue(*args, **kwargs):
"""SetValue(wxString Value, bool Redraw=true)"""
"""SetValue(String Value, bool Redraw=true)"""
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
@@ -348,19 +348,19 @@ class TreeListColumnInfo(core.Object):
return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(wxString text=wxPyEmptyString, int image=-1, size_t width=100,
wxTreeListColumnAlign alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
__init__(String text=EmptyString, int image=-1, size_t width=100,
int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
"""
newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def GetAlignment(*args, **kwargs):
"""GetAlignment() -> wxTreeListColumnAlign"""
"""GetAlignment() -> int"""
return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
def GetText(*args, **kwargs):
"""GetText() -> wxString"""
"""GetText() -> String"""
return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
def GetImage(*args, **kwargs):
@@ -376,11 +376,11 @@ class TreeListColumnInfo(core.Object):
return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
def SetAlignment(*args, **kwargs):
"""SetAlignment(wxTreeListColumnAlign alignment)"""
"""SetAlignment(int alignment)"""
return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
def SetText(*args, **kwargs):
"""SetText(wxString text)"""
"""SetText(String text)"""
return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
def SetImage(*args, **kwargs):
@@ -411,7 +411,7 @@ class TreeListCtrl(core.Control):
__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
Validator validator=DefaultValidator,
wxString name=wxPyTreeListCtrlNameStr) -> TreeListCtrl
String name=wxPyTreeListCtrlNameStr) -> TreeListCtrl
"""
newobj = _gizmos.new_TreeListCtrl(*args, **kwargs)
self.this = newobj.this
@@ -424,7 +424,7 @@ class TreeListCtrl(core.Control):
Create(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
Validator validator=DefaultValidator,
wxString name=wxPyTreeListCtrlNameStr) -> bool
String name=wxPyTreeListCtrlNameStr) -> bool
"""
return _gizmos.TreeListCtrl_Create(*args, **kwargs)
@@ -503,7 +503,7 @@ class TreeListCtrl(core.Control):
return val
def AddColumn(*args, **kwargs):
"""AddColumn(wxString text)"""
"""AddColumn(String text)"""
return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
def AddColumnInfo(*args, **kwargs):
@@ -511,7 +511,7 @@ class TreeListCtrl(core.Control):
return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
def InsertColumn(*args, **kwargs):
"""InsertColumn(size_t before, wxString text)"""
"""InsertColumn(size_t before, String text)"""
return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
def InsertColumnInfo(*args, **kwargs):
@@ -543,11 +543,11 @@ class TreeListCtrl(core.Control):
return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
def SetColumnText(*args, **kwargs):
"""SetColumnText(size_t column, wxString text)"""
"""SetColumnText(size_t column, String text)"""
return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
def GetColumnText(*args, **kwargs):
"""GetColumnText(size_t column) -> wxString"""
"""GetColumnText(size_t column) -> String"""
return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
def SetColumn(*args, **kwargs):
@@ -559,11 +559,11 @@ class TreeListCtrl(core.Control):
return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
def SetColumnAlignment(*args, **kwargs):
"""SetColumnAlignment(size_t column, wxTreeListColumnAlign align)"""
"""SetColumnAlignment(size_t column, int align)"""
return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
def GetColumnAlignment(*args, **kwargs):
"""GetColumnAlignment(size_t column) -> wxTreeListColumnAlign"""
"""GetColumnAlignment(size_t column) -> int"""
return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
def SetColumnImage(*args, **kwargs):
@@ -575,19 +575,19 @@ class TreeListCtrl(core.Control):
return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
def GetItemText(*args, **kwargs):
"""GetItemText(TreeItemId item, int column=-1) -> wxString"""
"""GetItemText(TreeItemId item, int column=-1) -> String"""
return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
def GetItemImage(*args, **kwargs):
"""GetItemImage(TreeItemId item, int column=-1, wxTreeItemIcon which=TreeItemIcon_Normal) -> int"""
"""GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
def SetItemText(*args, **kwargs):
"""SetItemText(TreeItemId item, wxString text, int column=-1)"""
"""SetItemText(TreeItemId item, String text, int column=-1)"""
return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
def SetItemImage(*args, **kwargs):
"""SetItemImage(TreeItemId item, int image, int column=-1, wxTreeItemIcon which=TreeItemIcon_Normal)"""
"""SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
def GetItemData(*args, **kwargs):
@@ -615,15 +615,15 @@ class TreeListCtrl(core.Control):
return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
def SetItemTextColour(*args, **kwargs):
"""SetItemTextColour(TreeItemId item, wxColour col)"""
"""SetItemTextColour(TreeItemId item, Colour col)"""
return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
def SetItemBackgroundColour(*args, **kwargs):
"""SetItemBackgroundColour(TreeItemId item, wxColour col)"""
"""SetItemBackgroundColour(TreeItemId item, Colour col)"""
return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
def SetItemFont(*args, **kwargs):
"""SetItemFont(TreeItemId item, wxFont font)"""
"""SetItemFont(TreeItemId item, Font font)"""
return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
def GetItemBold(*args, **kwargs):
@@ -631,15 +631,15 @@ class TreeListCtrl(core.Control):
return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
def GetItemTextColour(*args, **kwargs):
"""GetItemTextColour(TreeItemId item) -> wxColour"""
"""GetItemTextColour(TreeItemId item) -> Colour"""
return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
def GetItemBackgroundColour(*args, **kwargs):
"""GetItemBackgroundColour(TreeItemId item) -> wxColour"""
"""GetItemBackgroundColour(TreeItemId item) -> Colour"""
return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
def GetItemFont(*args, **kwargs):
"""GetItemFont(TreeItemId item) -> wxFont"""
"""GetItemFont(TreeItemId item) -> Font"""
return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
def IsVisible(*args, **kwargs):
@@ -719,36 +719,33 @@ class TreeListCtrl(core.Control):
return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
def AddRoot(*args, **kwargs):
"""
AddRoot(wxString text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId
"""
"""AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
def PrependItem(*args, **kwargs):
"""
PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId
"""
return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
def InsertItem(*args, **kwargs):
"""
InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text,
InsertItem(TreeItemId parent, TreeItemId idPrevious, String text,
int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
"""
return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
def InsertItemBefore(*args, **kwargs):
"""
InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1,
InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1,
int selectedImage=-1, TreeItemData data=None) -> TreeItemId
"""
return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
def AppendItem(*args, **kwargs):
"""
AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
TreeItemData data=None) -> TreeItemId
"""
return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)

View File

@@ -28,7 +28,7 @@ class GLContext(core.Object):
return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
def SetColour(*args, **kwargs):
"""SetColour(wxString colour)"""
"""SetColour(String colour)"""
return _glcanvas.GLContext_SetColour(*args, **kwargs)
def SwapBuffers(*args, **kwargs):
@@ -85,7 +85,7 @@ class GLCanvas(core.Window):
def __init__(self, *args, **kwargs):
"""
__init__(Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=0, wxString name=wxPyGLCanvasNameStr,
Size size=DefaultSize, long style=0, String name=wxPyGLCanvasNameStr,
int attribList=None,
wxPalette palette=wxNullPalette) -> GLCanvas
"""
@@ -100,7 +100,7 @@ class GLCanvas(core.Window):
return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
def SetColour(*args, **kwargs):
"""SetColour(wxString colour)"""
"""SetColour(String colour)"""
return _glcanvas.GLCanvas_SetColour(*args, **kwargs)
def SwapBuffers(*args, **kwargs):
@@ -123,7 +123,7 @@ def wxGLCanvasWithContext(*args, **kwargs):
"""
wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize,
long style=0, wxString name=wxPyGLCanvasNameStr,
long style=0, String name=wxPyGLCanvasNameStr,
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas
"""
val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs)

File diff suppressed because it is too large Load Diff

View File

@@ -783,7 +783,7 @@ class StyledTextCtrl(core.Control):
def __init__(self, *args, **kwargs):
"""
__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, wxString name=wxPySTCNameStr) -> StyledTextCtrl
long style=0, String name=wxPySTCNameStr) -> StyledTextCtrl
"""
newobj = _stc.new_StyledTextCtrl(*args, **kwargs)
self.this = newobj.this
@@ -794,12 +794,12 @@ class StyledTextCtrl(core.Control):
def Create(*args, **kwargs):
"""
Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, wxString name=wxSTCNameStr)
long style=0, String name=wxSTCNameStr)
"""
return _stc.StyledTextCtrl_Create(*args, **kwargs)
def AddText(*args, **kwargs):
"""AddText(wxString text)"""
"""AddText(String text)"""
return _stc.StyledTextCtrl_AddText(*args, **kwargs)
def AddStyledText(*args, **kwargs):
@@ -807,7 +807,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_AddStyledText(*args, **kwargs)
def InsertText(*args, **kwargs):
"""InsertText(int pos, wxString text)"""
"""InsertText(int pos, String text)"""
return _stc.StyledTextCtrl_InsertText(*args, **kwargs)
def ClearAll(*args, **kwargs):
@@ -903,7 +903,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_SetAnchor(*args, **kwargs)
def GetCurLine(*args, **kwargs):
"""GetCurLine(int OUTPUT) -> wxString"""
"""GetCurLine(int OUTPUT) -> String"""
return _stc.StyledTextCtrl_GetCurLine(*args, **kwargs)
def GetEndStyled(*args, **kwargs):
@@ -952,17 +952,17 @@ class StyledTextCtrl(core.Control):
def MarkerDefine(*args, **kwargs):
"""
MarkerDefine(int markerNumber, int markerSymbol, wxColour foreground=wxNullColour,
wxColour background=wxNullColour)
MarkerDefine(int markerNumber, int markerSymbol, Colour foreground=wxNullColour,
Colour background=wxNullColour)
"""
return _stc.StyledTextCtrl_MarkerDefine(*args, **kwargs)
def MarkerSetForeground(*args, **kwargs):
"""MarkerSetForeground(int markerNumber, wxColour fore)"""
"""MarkerSetForeground(int markerNumber, Colour fore)"""
return _stc.StyledTextCtrl_MarkerSetForeground(*args, **kwargs)
def MarkerSetBackground(*args, **kwargs):
"""MarkerSetBackground(int markerNumber, wxColour back)"""
"""MarkerSetBackground(int markerNumber, Colour back)"""
return _stc.StyledTextCtrl_MarkerSetBackground(*args, **kwargs)
def MarkerAdd(*args, **kwargs):
@@ -990,7 +990,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_MarkerPrevious(*args, **kwargs)
def MarkerDefineBitmap(*args, **kwargs):
"""MarkerDefineBitmap(int markerNumber, wxBitmap bmp)"""
"""MarkerDefineBitmap(int markerNumber, Bitmap bmp)"""
return _stc.StyledTextCtrl_MarkerDefineBitmap(*args, **kwargs)
def SetMarginType(*args, **kwargs):
@@ -1030,11 +1030,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_StyleClearAll(*args, **kwargs)
def StyleSetForeground(*args, **kwargs):
"""StyleSetForeground(int style, wxColour fore)"""
"""StyleSetForeground(int style, Colour fore)"""
return _stc.StyledTextCtrl_StyleSetForeground(*args, **kwargs)
def StyleSetBackground(*args, **kwargs):
"""StyleSetBackground(int style, wxColour back)"""
"""StyleSetBackground(int style, Colour back)"""
return _stc.StyledTextCtrl_StyleSetBackground(*args, **kwargs)
def StyleSetBold(*args, **kwargs):
@@ -1050,7 +1050,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_StyleSetSize(*args, **kwargs)
def StyleSetFaceName(*args, **kwargs):
"""StyleSetFaceName(int style, wxString fontName)"""
"""StyleSetFaceName(int style, String fontName)"""
return _stc.StyledTextCtrl_StyleSetFaceName(*args, **kwargs)
def StyleSetEOLFilled(*args, **kwargs):
@@ -1078,15 +1078,15 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_StyleSetHotSpot(*args, **kwargs)
def SetSelForeground(*args, **kwargs):
"""SetSelForeground(bool useSetting, wxColour fore)"""
"""SetSelForeground(bool useSetting, Colour fore)"""
return _stc.StyledTextCtrl_SetSelForeground(*args, **kwargs)
def SetSelBackground(*args, **kwargs):
"""SetSelBackground(bool useSetting, wxColour back)"""
"""SetSelBackground(bool useSetting, Colour back)"""
return _stc.StyledTextCtrl_SetSelBackground(*args, **kwargs)
def SetCaretForeground(*args, **kwargs):
"""SetCaretForeground(wxColour fore)"""
"""SetCaretForeground(Colour fore)"""
return _stc.StyledTextCtrl_SetCaretForeground(*args, **kwargs)
def CmdKeyAssign(*args, **kwargs):
@@ -1118,7 +1118,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_SetCaretPeriod(*args, **kwargs)
def SetWordChars(*args, **kwargs):
"""SetWordChars(wxString characters)"""
"""SetWordChars(String characters)"""
return _stc.StyledTextCtrl_SetWordChars(*args, **kwargs)
def BeginUndoAction(*args, **kwargs):
@@ -1138,19 +1138,19 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_IndicatorGetStyle(*args, **kwargs)
def IndicatorSetForeground(*args, **kwargs):
"""IndicatorSetForeground(int indic, wxColour fore)"""
"""IndicatorSetForeground(int indic, Colour fore)"""
return _stc.StyledTextCtrl_IndicatorSetForeground(*args, **kwargs)
def IndicatorGetForeground(*args, **kwargs):
"""IndicatorGetForeground(int indic) -> wxColour"""
"""IndicatorGetForeground(int indic) -> Colour"""
return _stc.StyledTextCtrl_IndicatorGetForeground(*args, **kwargs)
def SetWhitespaceForeground(*args, **kwargs):
"""SetWhitespaceForeground(bool useSetting, wxColour fore)"""
"""SetWhitespaceForeground(bool useSetting, Colour fore)"""
return _stc.StyledTextCtrl_SetWhitespaceForeground(*args, **kwargs)
def SetWhitespaceBackground(*args, **kwargs):
"""SetWhitespaceBackground(bool useSetting, wxColour back)"""
"""SetWhitespaceBackground(bool useSetting, Colour back)"""
return _stc.StyledTextCtrl_SetWhitespaceBackground(*args, **kwargs)
def SetStyleBits(*args, **kwargs):
@@ -1182,11 +1182,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_SetCaretLineVisible(*args, **kwargs)
def GetCaretLineBack(*args, **kwargs):
"""GetCaretLineBack() -> wxColour"""
"""GetCaretLineBack() -> Colour"""
return _stc.StyledTextCtrl_GetCaretLineBack(*args, **kwargs)
def SetCaretLineBack(*args, **kwargs):
"""SetCaretLineBack(wxColour back)"""
"""SetCaretLineBack(Colour back)"""
return _stc.StyledTextCtrl_SetCaretLineBack(*args, **kwargs)
def StyleSetChangeable(*args, **kwargs):
@@ -1194,7 +1194,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_StyleSetChangeable(*args, **kwargs)
def AutoCompShow(*args, **kwargs):
"""AutoCompShow(int lenEntered, wxString itemList)"""
"""AutoCompShow(int lenEntered, String itemList)"""
return _stc.StyledTextCtrl_AutoCompShow(*args, **kwargs)
def AutoCompCancel(*args, **kwargs):
@@ -1214,7 +1214,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_AutoCompComplete(*args, **kwargs)
def AutoCompStops(*args, **kwargs):
"""AutoCompStops(wxString characterSet)"""
"""AutoCompStops(String characterSet)"""
return _stc.StyledTextCtrl_AutoCompStops(*args, **kwargs)
def AutoCompSetSeparator(*args, **kwargs):
@@ -1226,7 +1226,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_AutoCompGetSeparator(*args, **kwargs)
def AutoCompSelect(*args, **kwargs):
"""AutoCompSelect(wxString text)"""
"""AutoCompSelect(String text)"""
return _stc.StyledTextCtrl_AutoCompSelect(*args, **kwargs)
def AutoCompSetCancelAtStart(*args, **kwargs):
@@ -1238,7 +1238,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_AutoCompGetCancelAtStart(*args, **kwargs)
def AutoCompSetFillUps(*args, **kwargs):
"""AutoCompSetFillUps(wxString characterSet)"""
"""AutoCompSetFillUps(String characterSet)"""
return _stc.StyledTextCtrl_AutoCompSetFillUps(*args, **kwargs)
def AutoCompSetChooseSingle(*args, **kwargs):
@@ -1258,7 +1258,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_AutoCompGetIgnoreCase(*args, **kwargs)
def UserListShow(*args, **kwargs):
"""UserListShow(int listType, wxString itemList)"""
"""UserListShow(int listType, String itemList)"""
return _stc.StyledTextCtrl_UserListShow(*args, **kwargs)
def AutoCompSetAutoHide(*args, **kwargs):
@@ -1278,7 +1278,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_AutoCompGetDropRestOfWord(*args, **kwargs)
def RegisterImage(*args, **kwargs):
"""RegisterImage(int type, wxBitmap bmp)"""
"""RegisterImage(int type, Bitmap bmp)"""
return _stc.StyledTextCtrl_RegisterImage(*args, **kwargs)
def ClearRegisteredImages(*args, **kwargs):
@@ -1358,7 +1358,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetCodePage(*args, **kwargs)
def GetCaretForeground(*args, **kwargs):
"""GetCaretForeground() -> wxColour"""
"""GetCaretForeground() -> Colour"""
return _stc.StyledTextCtrl_GetCaretForeground(*args, **kwargs)
def GetReadOnly(*args, **kwargs):
@@ -1402,12 +1402,12 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetPrintColourMode(*args, **kwargs)
def FindText(*args, **kwargs):
"""FindText(int minPos, int maxPos, wxString text, int flags=0) -> int"""
"""FindText(int minPos, int maxPos, String text, int flags=0) -> int"""
return _stc.StyledTextCtrl_FindText(*args, **kwargs)
def FormatRange(*args, **kwargs):
"""
FormatRange(bool doDraw, int startPos, int endPos, wxDC draw, wxDC target,
FormatRange(bool doDraw, int startPos, int endPos, DC draw, DC target,
Rect renderRect, Rect pageRect) -> int
"""
return _stc.StyledTextCtrl_FormatRange(*args, **kwargs)
@@ -1417,7 +1417,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetFirstVisibleLine(*args, **kwargs)
def GetLine(*args, **kwargs):
"""GetLine(int line) -> wxString"""
"""GetLine(int line) -> String"""
return _stc.StyledTextCtrl_GetLine(*args, **kwargs)
def GetLineCount(*args, **kwargs):
@@ -1449,11 +1449,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_SetSelection(*args, **kwargs)
def GetSelectedText(*args, **kwargs):
"""GetSelectedText() -> wxString"""
"""GetSelectedText() -> String"""
return _stc.StyledTextCtrl_GetSelectedText(*args, **kwargs)
def GetTextRange(*args, **kwargs):
"""GetTextRange(int startPos, int endPos) -> wxString"""
"""GetTextRange(int startPos, int endPos) -> String"""
return _stc.StyledTextCtrl_GetTextRange(*args, **kwargs)
def HideSelection(*args, **kwargs):
@@ -1477,7 +1477,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_EnsureCaretVisible(*args, **kwargs)
def ReplaceSelection(*args, **kwargs):
"""ReplaceSelection(wxString text)"""
"""ReplaceSelection(String text)"""
return _stc.StyledTextCtrl_ReplaceSelection(*args, **kwargs)
def SetReadOnly(*args, **kwargs):
@@ -1517,11 +1517,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_Clear(*args, **kwargs)
def SetText(*args, **kwargs):
"""SetText(wxString text)"""
"""SetText(String text)"""
return _stc.StyledTextCtrl_SetText(*args, **kwargs)
def GetText(*args, **kwargs):
"""GetText() -> wxString"""
"""GetText() -> String"""
return _stc.StyledTextCtrl_GetText(*args, **kwargs)
def GetTextLength(*args, **kwargs):
@@ -1561,15 +1561,15 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetTargetEnd(*args, **kwargs)
def ReplaceTarget(*args, **kwargs):
"""ReplaceTarget(wxString text) -> int"""
"""ReplaceTarget(String text) -> int"""
return _stc.StyledTextCtrl_ReplaceTarget(*args, **kwargs)
def ReplaceTargetRE(*args, **kwargs):
"""ReplaceTargetRE(wxString text) -> int"""
"""ReplaceTargetRE(String text) -> int"""
return _stc.StyledTextCtrl_ReplaceTargetRE(*args, **kwargs)
def SearchInTarget(*args, **kwargs):
"""SearchInTarget(wxString text) -> int"""
"""SearchInTarget(String text) -> int"""
return _stc.StyledTextCtrl_SearchInTarget(*args, **kwargs)
def SetSearchFlags(*args, **kwargs):
@@ -1581,7 +1581,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetSearchFlags(*args, **kwargs)
def CallTipShow(*args, **kwargs):
"""CallTipShow(int pos, wxString definition)"""
"""CallTipShow(int pos, String definition)"""
return _stc.StyledTextCtrl_CallTipShow(*args, **kwargs)
def CallTipCancel(*args, **kwargs):
@@ -1601,15 +1601,15 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_CallTipSetHighlight(*args, **kwargs)
def CallTipSetBackground(*args, **kwargs):
"""CallTipSetBackground(wxColour back)"""
"""CallTipSetBackground(Colour back)"""
return _stc.StyledTextCtrl_CallTipSetBackground(*args, **kwargs)
def CallTipSetForeground(*args, **kwargs):
"""CallTipSetForeground(wxColour fore)"""
"""CallTipSetForeground(Colour fore)"""
return _stc.StyledTextCtrl_CallTipSetForeground(*args, **kwargs)
def CallTipSetForegroundHighlight(*args, **kwargs):
"""CallTipSetForegroundHighlight(wxColour fore)"""
"""CallTipSetForegroundHighlight(Colour fore)"""
return _stc.StyledTextCtrl_CallTipSetForegroundHighlight(*args, **kwargs)
def VisibleFromDocLine(*args, **kwargs):
@@ -1729,7 +1729,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetScrollWidth(*args, **kwargs)
def TextWidth(*args, **kwargs):
"""TextWidth(int style, wxString text) -> int"""
"""TextWidth(int style, String text) -> int"""
return _stc.StyledTextCtrl_TextWidth(*args, **kwargs)
def SetEndAtLastLine(*args, **kwargs):
@@ -1753,7 +1753,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetUseVerticalScrollBar(*args, **kwargs)
def AppendText(*args, **kwargs):
"""AppendText(int length, wxString text)"""
"""AppendText(int length, String text)"""
return _stc.StyledTextCtrl_AppendText(*args, **kwargs)
def GetTwoPhaseDraw(*args, **kwargs):
@@ -1777,11 +1777,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_LinesSplit(*args, **kwargs)
def SetFoldMarginColour(*args, **kwargs):
"""SetFoldMarginColour(bool useSetting, wxColour back)"""
"""SetFoldMarginColour(bool useSetting, Colour back)"""
return _stc.StyledTextCtrl_SetFoldMarginColour(*args, **kwargs)
def SetFoldMarginHiColour(*args, **kwargs):
"""SetFoldMarginHiColour(bool useSetting, wxColour fore)"""
"""SetFoldMarginHiColour(bool useSetting, Colour fore)"""
return _stc.StyledTextCtrl_SetFoldMarginHiColour(*args, **kwargs)
def LineDuplicate(*args, **kwargs):
@@ -1865,11 +1865,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_SetEdgeMode(*args, **kwargs)
def GetEdgeColour(*args, **kwargs):
"""GetEdgeColour() -> wxColour"""
"""GetEdgeColour() -> Colour"""
return _stc.StyledTextCtrl_GetEdgeColour(*args, **kwargs)
def SetEdgeColour(*args, **kwargs):
"""SetEdgeColour(wxColour edgeColour)"""
"""SetEdgeColour(Colour edgeColour)"""
return _stc.StyledTextCtrl_SetEdgeColour(*args, **kwargs)
def SearchAnchor(*args, **kwargs):
@@ -1877,11 +1877,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_SearchAnchor(*args, **kwargs)
def SearchNext(*args, **kwargs):
"""SearchNext(int flags, wxString text) -> int"""
"""SearchNext(int flags, String text) -> int"""
return _stc.StyledTextCtrl_SearchNext(*args, **kwargs)
def SearchPrev(*args, **kwargs):
"""SearchPrev(int flags, wxString text) -> int"""
"""SearchPrev(int flags, String text) -> int"""
return _stc.StyledTextCtrl_SearchPrev(*args, **kwargs)
def LinesOnScreen(*args, **kwargs):
@@ -2017,11 +2017,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetPrintWrapMode(*args, **kwargs)
def SetHotspotActiveForeground(*args, **kwargs):
"""SetHotspotActiveForeground(bool useSetting, wxColour fore)"""
"""SetHotspotActiveForeground(bool useSetting, Colour fore)"""
return _stc.StyledTextCtrl_SetHotspotActiveForeground(*args, **kwargs)
def SetHotspotActiveBackground(*args, **kwargs):
"""SetHotspotActiveBackground(bool useSetting, wxColour back)"""
"""SetHotspotActiveBackground(bool useSetting, Colour back)"""
return _stc.StyledTextCtrl_SetHotspotActiveBackground(*args, **kwargs)
def SetHotspotActiveUnderline(*args, **kwargs):
@@ -2041,7 +2041,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_CopyRange(*args, **kwargs)
def CopyText(*args, **kwargs):
"""CopyText(int length, wxString text)"""
"""CopyText(int length, String text)"""
return _stc.StyledTextCtrl_CopyText(*args, **kwargs)
def StartRecord(*args, **kwargs):
@@ -2065,15 +2065,15 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_Colourise(*args, **kwargs)
def SetProperty(*args, **kwargs):
"""SetProperty(wxString key, wxString value)"""
"""SetProperty(String key, String value)"""
return _stc.StyledTextCtrl_SetProperty(*args, **kwargs)
def SetKeyWords(*args, **kwargs):
"""SetKeyWords(int keywordSet, wxString keyWords)"""
"""SetKeyWords(int keywordSet, String keyWords)"""
return _stc.StyledTextCtrl_SetKeyWords(*args, **kwargs)
def SetLexerLanguage(*args, **kwargs):
"""SetLexerLanguage(wxString language)"""
"""SetLexerLanguage(String language)"""
return _stc.StyledTextCtrl_SetLexerLanguage(*args, **kwargs)
def GetCurrentLine(*args, **kwargs):
@@ -2081,16 +2081,16 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_GetCurrentLine(*args, **kwargs)
def StyleSetSpec(*args, **kwargs):
"""StyleSetSpec(int styleNum, wxString spec)"""
"""StyleSetSpec(int styleNum, String spec)"""
return _stc.StyledTextCtrl_StyleSetSpec(*args, **kwargs)
def StyleSetFont(*args, **kwargs):
"""StyleSetFont(int styleNum, wxFont font)"""
"""StyleSetFont(int styleNum, Font font)"""
return _stc.StyledTextCtrl_StyleSetFont(*args, **kwargs)
def StyleSetFontAttr(*args, **kwargs):
"""
StyleSetFontAttr(int styleNum, int size, wxString faceName, bool bold,
StyleSetFontAttr(int styleNum, int size, String faceName, bool bold,
bool italic, bool underline)
"""
return _stc.StyledTextCtrl_StyleSetFontAttr(*args, **kwargs)
@@ -2140,11 +2140,11 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_SetLastKeydownProcessed(*args, **kwargs)
def SaveFile(*args, **kwargs):
"""SaveFile(wxString filename) -> bool"""
"""SaveFile(String filename) -> bool"""
return _stc.StyledTextCtrl_SaveFile(*args, **kwargs)
def LoadFile(*args, **kwargs):
"""LoadFile(wxString filename) -> bool"""
"""LoadFile(String filename) -> bool"""
return _stc.StyledTextCtrl_LoadFile(*args, **kwargs)
def DoDragOver(*args, **kwargs):
@@ -2152,7 +2152,7 @@ class StyledTextCtrl(core.Control):
return _stc.StyledTextCtrl_DoDragOver(*args, **kwargs)
def DoDropText(*args, **kwargs):
"""DoDropText(long x, long y, wxString data) -> bool"""
"""DoDropText(long x, long y, String data) -> bool"""
return _stc.StyledTextCtrl_DoDropText(*args, **kwargs)
@@ -2201,7 +2201,7 @@ class StyledTextEvent(core.CommandEvent):
return _stc.StyledTextEvent_SetModificationType(*args, **kwargs)
def SetText(*args, **kwargs):
"""SetText(wxString t)"""
"""SetText(String t)"""
return _stc.StyledTextEvent_SetText(*args, **kwargs)
def SetLength(*args, **kwargs):
@@ -2253,7 +2253,7 @@ class StyledTextEvent(core.CommandEvent):
return _stc.StyledTextEvent_SetY(*args, **kwargs)
def SetDragText(*args, **kwargs):
"""SetDragText(wxString val)"""
"""SetDragText(String val)"""
return _stc.StyledTextEvent_SetDragText(*args, **kwargs)
def SetDragAllowMove(*args, **kwargs):
@@ -2281,7 +2281,7 @@ class StyledTextEvent(core.CommandEvent):
return _stc.StyledTextEvent_GetModificationType(*args, **kwargs)
def GetText(*args, **kwargs):
"""GetText() -> wxString"""
"""GetText() -> String"""
return _stc.StyledTextEvent_GetText(*args, **kwargs)
def GetLength(*args, **kwargs):
@@ -2333,7 +2333,7 @@ class StyledTextEvent(core.CommandEvent):
return _stc.StyledTextEvent_GetY(*args, **kwargs)
def GetDragText(*args, **kwargs):
"""GetDragText() -> wxString"""
"""GetDragText() -> String"""
return _stc.StyledTextEvent_GetDragText(*args, **kwargs)
def GetDragAllowMove(*args, **kwargs):

View File

@@ -17,7 +17,7 @@ class XmlResource(core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxString filemask, int flags=XRC_USE_LOCALE) -> XmlResource"""
"""__init__(String filemask, int flags=XRC_USE_LOCALE) -> XmlResource"""
newobj = _xrc.new_XmlResource(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
@@ -31,11 +31,11 @@ class XmlResource(core.Object):
except: pass
def Load(*args, **kwargs):
"""Load(wxString filemask) -> bool"""
"""Load(String filemask) -> bool"""
return _xrc.XmlResource_Load(*args, **kwargs)
def LoadFromString(*args, **kwargs):
"""LoadFromString(wxString data) -> bool"""
"""LoadFromString(String data) -> bool"""
return _xrc.XmlResource_LoadFromString(*args, **kwargs)
def InitAllHandlers(*args, **kwargs):
@@ -60,67 +60,67 @@ class XmlResource(core.Object):
AddSubclassFactory = staticmethod(AddSubclassFactory)
def LoadMenu(*args, **kwargs):
"""LoadMenu(wxString name) -> Menu"""
"""LoadMenu(String name) -> Menu"""
return _xrc.XmlResource_LoadMenu(*args, **kwargs)
def LoadMenuBar(*args, **kwargs):
"""LoadMenuBar(wxString name) -> MenuBar"""
"""LoadMenuBar(String name) -> MenuBar"""
return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
def LoadMenuBarOnFrame(*args, **kwargs):
"""LoadMenuBarOnFrame(Window parent, wxString name) -> MenuBar"""
"""LoadMenuBarOnFrame(Window parent, String name) -> MenuBar"""
return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
def LoadToolBar(*args, **kwargs):
"""LoadToolBar(Window parent, wxString name) -> wxToolBar"""
"""LoadToolBar(Window parent, String name) -> wxToolBar"""
return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
def LoadDialog(*args, **kwargs):
"""LoadDialog(Window parent, wxString name) -> wxDialog"""
"""LoadDialog(Window parent, String name) -> wxDialog"""
return _xrc.XmlResource_LoadDialog(*args, **kwargs)
def LoadOnDialog(*args, **kwargs):
"""LoadOnDialog(wxDialog dlg, Window parent, wxString name) -> bool"""
"""LoadOnDialog(wxDialog dlg, Window parent, String name) -> bool"""
return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
def LoadPanel(*args, **kwargs):
"""LoadPanel(Window parent, wxString name) -> wxPanel"""
"""LoadPanel(Window parent, String name) -> wxPanel"""
return _xrc.XmlResource_LoadPanel(*args, **kwargs)
def LoadOnPanel(*args, **kwargs):
"""LoadOnPanel(wxPanel panel, Window parent, wxString name) -> bool"""
"""LoadOnPanel(wxPanel panel, Window parent, String name) -> bool"""
return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
def LoadFrame(*args, **kwargs):
"""LoadFrame(Window parent, wxString name) -> wxFrame"""
"""LoadFrame(Window parent, String name) -> wxFrame"""
return _xrc.XmlResource_LoadFrame(*args, **kwargs)
def LoadOnFrame(*args, **kwargs):
"""LoadOnFrame(wxFrame frame, Window parent, wxString name) -> bool"""
"""LoadOnFrame(wxFrame frame, Window parent, String name) -> bool"""
return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
def LoadObject(*args, **kwargs):
"""LoadObject(Window parent, wxString name, wxString classname) -> Object"""
"""LoadObject(Window parent, String name, String classname) -> Object"""
return _xrc.XmlResource_LoadObject(*args, **kwargs)
def LoadOnObject(*args, **kwargs):
"""LoadOnObject(Object instance, Window parent, wxString name, wxString classname) -> bool"""
"""LoadOnObject(Object instance, Window parent, String name, String classname) -> bool"""
return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
def LoadBitmap(*args, **kwargs):
"""LoadBitmap(wxString name) -> wxBitmap"""
"""LoadBitmap(String name) -> Bitmap"""
return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
def LoadIcon(*args, **kwargs):
"""LoadIcon(wxString name) -> wxIcon"""
"""LoadIcon(String name) -> wxIcon"""
return _xrc.XmlResource_LoadIcon(*args, **kwargs)
def AttachUnknownControl(*args, **kwargs):
"""AttachUnknownControl(wxString name, Window control, Window parent=None) -> bool"""
"""AttachUnknownControl(String name, Window control, Window parent=None) -> bool"""
return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
def GetXRCID(*args, **kwargs):
"""XmlResource.GetXRCID(wxString str_id) -> int"""
"""XmlResource.GetXRCID(String str_id) -> int"""
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
GetXRCID = staticmethod(GetXRCID)
@@ -170,7 +170,7 @@ def XmlResource_AddSubclassFactory(*args, **kwargs):
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
def XmlResource_GetXRCID(*args, **kwargs):
"""XmlResource_GetXRCID(wxString str_id) -> int"""
"""XmlResource_GetXRCID(String str_id) -> int"""
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
def XmlResource_Get(*args, **kwargs):
@@ -232,7 +232,7 @@ class XmlProperty(object):
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(wxString name=wxPyEmptyString, wxString value=wxPyEmptyString,
__init__(String name=EmptyString, String value=EmptyString,
XmlProperty next=None) -> XmlProperty
"""
newobj = _xrc.new_XmlProperty(*args, **kwargs)
@@ -240,11 +240,11 @@ class XmlProperty(object):
self.thisown = 1
del newobj.thisown
def GetName(*args, **kwargs):
"""GetName() -> wxString"""
"""GetName() -> String"""
return _xrc.XmlProperty_GetName(*args, **kwargs)
def GetValue(*args, **kwargs):
"""GetValue() -> wxString"""
"""GetValue() -> String"""
return _xrc.XmlProperty_GetValue(*args, **kwargs)
def GetNext(*args, **kwargs):
@@ -252,11 +252,11 @@ class XmlProperty(object):
return _xrc.XmlProperty_GetNext(*args, **kwargs)
def SetName(*args, **kwargs):
"""SetName(wxString name)"""
"""SetName(String name)"""
return _xrc.XmlProperty_SetName(*args, **kwargs)
def SetValue(*args, **kwargs):
"""SetValue(wxString value)"""
"""SetValue(String value)"""
return _xrc.XmlProperty_SetValue(*args, **kwargs)
def SetNext(*args, **kwargs):
@@ -276,9 +276,9 @@ class XmlNode(object):
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(XmlNode parent=None, wxXmlNodeType type=0, wxString name=wxPyEmptyString,
wxString content=wxPyEmptyString,
XmlProperty props=None, XmlNode next=None) -> XmlNode
__init__(XmlNode parent=None, int type=0, String name=EmptyString,
String content=EmptyString, XmlProperty props=None,
XmlNode next=None) -> XmlNode
"""
newobj = _xrc.new_XmlNode(*args, **kwargs)
self.this = newobj.this
@@ -307,23 +307,23 @@ class XmlNode(object):
return _xrc.XmlNode_AddProperty(*args, **kwargs)
def AddPropertyName(*args, **kwargs):
"""AddPropertyName(wxString name, wxString value)"""
"""AddPropertyName(String name, String value)"""
return _xrc.XmlNode_AddPropertyName(*args, **kwargs)
def DeleteProperty(*args, **kwargs):
"""DeleteProperty(wxString name) -> bool"""
"""DeleteProperty(String name) -> bool"""
return _xrc.XmlNode_DeleteProperty(*args, **kwargs)
def GetType(*args, **kwargs):
"""GetType() -> wxXmlNodeType"""
"""GetType() -> int"""
return _xrc.XmlNode_GetType(*args, **kwargs)
def GetName(*args, **kwargs):
"""GetName() -> wxString"""
"""GetName() -> String"""
return _xrc.XmlNode_GetName(*args, **kwargs)
def GetContent(*args, **kwargs):
"""GetContent() -> wxString"""
"""GetContent() -> String"""
return _xrc.XmlNode_GetContent(*args, **kwargs)
def GetParent(*args, **kwargs):
@@ -343,23 +343,23 @@ class XmlNode(object):
return _xrc.XmlNode_GetProperties(*args, **kwargs)
def GetPropVal(*args, **kwargs):
"""GetPropVal(wxString propName, wxString defaultVal) -> wxString"""
"""GetPropVal(String propName, String defaultVal) -> String"""
return _xrc.XmlNode_GetPropVal(*args, **kwargs)
def HasProp(*args, **kwargs):
"""HasProp(wxString propName) -> bool"""
"""HasProp(String propName) -> bool"""
return _xrc.XmlNode_HasProp(*args, **kwargs)
def SetType(*args, **kwargs):
"""SetType(wxXmlNodeType type)"""
"""SetType(int type)"""
return _xrc.XmlNode_SetType(*args, **kwargs)
def SetName(*args, **kwargs):
"""SetName(wxString name)"""
"""SetName(String name)"""
return _xrc.XmlNode_SetName(*args, **kwargs)
def SetContent(*args, **kwargs):
"""SetContent(wxString con)"""
"""SetContent(String con)"""
return _xrc.XmlNode_SetContent(*args, **kwargs)
def SetParent(*args, **kwargs):
@@ -387,7 +387,7 @@ class XmlNodePtr(XmlNode):
_xrc.XmlNode_swigregister(XmlNodePtr)
def XmlNodeEasy(*args, **kwargs):
"""XmlNodeEasy(wxXmlNodeType type, wxString name, wxString content=wxPyEmptyString) -> XmlNode"""
"""XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode"""
val = _xrc.new_XmlNodeEasy(*args, **kwargs)
val.thisown = 1
return val
@@ -396,7 +396,7 @@ class XmlDocument(core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(wxString filename, wxString encoding=wxPyUTF8String) -> XmlDocument"""
"""__init__(String filename, String encoding=wxPyUTF8String) -> XmlDocument"""
newobj = _xrc.new_XmlDocument(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
@@ -408,15 +408,15 @@ class XmlDocument(core.Object):
except: pass
def Load(*args, **kwargs):
"""Load(wxString filename, wxString encoding=wxPyUTF8String) -> bool"""
"""Load(String filename, String encoding=wxPyUTF8String) -> bool"""
return _xrc.XmlDocument_Load(*args, **kwargs)
def LoadFromStream(*args, **kwargs):
"""LoadFromStream(wxInputStream stream, wxString encoding=wxPyUTF8String) -> bool"""
"""LoadFromStream(InputStream stream, String encoding=wxPyUTF8String) -> bool"""
return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
def Save(*args, **kwargs):
"""Save(wxString filename) -> bool"""
"""Save(String filename) -> bool"""
return _xrc.XmlDocument_Save(*args, **kwargs)
def SaveToStream(*args, **kwargs):
@@ -432,11 +432,11 @@ class XmlDocument(core.Object):
return _xrc.XmlDocument_GetRoot(*args, **kwargs)
def GetVersion(*args, **kwargs):
"""GetVersion() -> wxString"""
"""GetVersion() -> String"""
return _xrc.XmlDocument_GetVersion(*args, **kwargs)
def GetFileEncoding(*args, **kwargs):
"""GetFileEncoding() -> wxString"""
"""GetFileEncoding() -> String"""
return _xrc.XmlDocument_GetFileEncoding(*args, **kwargs)
def SetRoot(*args, **kwargs):
@@ -444,11 +444,11 @@ class XmlDocument(core.Object):
return _xrc.XmlDocument_SetRoot(*args, **kwargs)
def SetVersion(*args, **kwargs):
"""SetVersion(wxString version)"""
"""SetVersion(String version)"""
return _xrc.XmlDocument_SetVersion(*args, **kwargs)
def SetFileEncoding(*args, **kwargs):
"""SetFileEncoding(wxString encoding)"""
"""SetFileEncoding(String encoding)"""
return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
@@ -460,7 +460,7 @@ class XmlDocumentPtr(XmlDocument):
_xrc.XmlDocument_swigregister(XmlDocumentPtr)
def XmlDocumentFromStream(*args, **kwargs):
"""XmlDocumentFromStream(wxInputStream stream, wxString encoding=wxPyUTF8String) -> XmlDocument"""
"""XmlDocumentFromStream(InputStream stream, String encoding=wxPyUTF8String) -> XmlDocument"""
val = _xrc.new_XmlDocumentFromStream(*args, **kwargs)
val.thisown = 1
return val
@@ -505,7 +505,7 @@ class XmlResourceHandler(core.Object):
return _xrc.XmlResourceHandler_GetNode(*args, **kwargs)
def GetClass(*args, **kwargs):
"""GetClass() -> wxString"""
"""GetClass() -> String"""
return _xrc.XmlResourceHandler_GetClass(*args, **kwargs)
def GetParent(*args, **kwargs):
@@ -525,27 +525,27 @@ class XmlResourceHandler(core.Object):
return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
def IsOfClass(*args, **kwargs):
"""IsOfClass(XmlNode node, wxString classname) -> bool"""
"""IsOfClass(XmlNode node, String classname) -> bool"""
return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
def GetNodeContent(*args, **kwargs):
"""GetNodeContent(XmlNode node) -> wxString"""
"""GetNodeContent(XmlNode node) -> String"""
return _xrc.XmlResourceHandler_GetNodeContent(*args, **kwargs)
def HasParam(*args, **kwargs):
"""HasParam(wxString param) -> bool"""
"""HasParam(String param) -> bool"""
return _xrc.XmlResourceHandler_HasParam(*args, **kwargs)
def GetParamNode(*args, **kwargs):
"""GetParamNode(wxString param) -> XmlNode"""
"""GetParamNode(String param) -> XmlNode"""
return _xrc.XmlResourceHandler_GetParamNode(*args, **kwargs)
def GetParamValue(*args, **kwargs):
"""GetParamValue(wxString param) -> wxString"""
"""GetParamValue(String param) -> String"""
return _xrc.XmlResourceHandler_GetParamValue(*args, **kwargs)
def AddStyle(*args, **kwargs):
"""AddStyle(wxString name, int value)"""
"""AddStyle(String name, int value)"""
return _xrc.XmlResourceHandler_AddStyle(*args, **kwargs)
def AddWindowStyles(*args, **kwargs):
@@ -553,11 +553,11 @@ class XmlResourceHandler(core.Object):
return _xrc.XmlResourceHandler_AddWindowStyles(*args, **kwargs)
def GetStyle(*args, **kwargs):
"""GetStyle(wxString param=wxPyStyleString, int defaults=0) -> int"""
"""GetStyle(String param=wxPyStyleString, int defaults=0) -> int"""
return _xrc.XmlResourceHandler_GetStyle(*args, **kwargs)
def GetText(*args, **kwargs):
"""GetText(wxString param, bool translate=True) -> wxString"""
"""GetText(String param, bool translate=True) -> String"""
return _xrc.XmlResourceHandler_GetText(*args, **kwargs)
def GetID(*args, **kwargs):
@@ -565,49 +565,49 @@ class XmlResourceHandler(core.Object):
return _xrc.XmlResourceHandler_GetID(*args, **kwargs)
def GetName(*args, **kwargs):
"""GetName() -> wxString"""
"""GetName() -> String"""
return _xrc.XmlResourceHandler_GetName(*args, **kwargs)
def GetBool(*args, **kwargs):
"""GetBool(wxString param, bool defaultv=False) -> bool"""
"""GetBool(String param, bool defaultv=False) -> bool"""
return _xrc.XmlResourceHandler_GetBool(*args, **kwargs)
def GetLong(*args, **kwargs):
"""GetLong(wxString param, long defaultv=0) -> long"""
"""GetLong(String param, long defaultv=0) -> long"""
return _xrc.XmlResourceHandler_GetLong(*args, **kwargs)
def GetColour(*args, **kwargs):
"""GetColour(wxString param) -> wxColour"""
"""GetColour(String param) -> Colour"""
return _xrc.XmlResourceHandler_GetColour(*args, **kwargs)
def GetSize(*args, **kwargs):
"""GetSize(wxString param=wxPySizeString) -> Size"""
"""GetSize(String param=wxPySizeString) -> Size"""
return _xrc.XmlResourceHandler_GetSize(*args, **kwargs)
def GetPosition(*args, **kwargs):
"""GetPosition(wxString param=wxPyPosString) -> Point"""
"""GetPosition(String param=wxPyPosString) -> Point"""
return _xrc.XmlResourceHandler_GetPosition(*args, **kwargs)
def GetDimension(*args, **kwargs):
"""GetDimension(wxString param, int defaultv=0) -> int"""
"""GetDimension(String param, int defaultv=0) -> int"""
return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs)
def GetBitmap(*args, **kwargs):
"""
GetBitmap(wxString param=wxPyBitmapString, wxArtClient defaultArtClient=wxART_OTHER,
Size size=DefaultSize) -> wxBitmap
GetBitmap(String param=wxPyBitmapString, wxArtClient defaultArtClient=wxART_OTHER,
Size size=DefaultSize) -> Bitmap
"""
return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs)
def GetIcon(*args, **kwargs):
"""
GetIcon(wxString param=wxPyIconString, wxArtClient defaultArtClient=wxART_OTHER,
GetIcon(String param=wxPyIconString, wxArtClient defaultArtClient=wxART_OTHER,
Size size=DefaultSize) -> wxIcon
"""
return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs)
def GetFont(*args, **kwargs):
"""GetFont(wxString param=wxPyFontString) -> wxFont"""
"""GetFont(String param=wxPyFontString) -> Font"""
return _xrc.XmlResourceHandler_GetFont(*args, **kwargs)
def SetupWindow(*args, **kwargs):