1 # This file was created automatically by SWIG.
18 from stattool
import *
20 from controls
import *
22 from controls2
import *
24 from windows2
import *
28 from windows3
import *
34 class wxsLSEditorPluginPtr
:
35 def __init__(self
,this
):
38 def __del__(self
,lseditorc
=lseditorc
):
39 if self
.thisown
== 1 :
40 lseditorc
.delete_wxsLSEditorPlugin(self
)
41 def Create(self
, *_args
, **_kwargs
):
42 val
= apply(lseditorc
.wxsLSEditorPlugin_Create
,(self
,) + _args
, _kwargs
)
44 def OnOpen(self
, *_args
, **_kwargs
):
45 val
= apply(lseditorc
.wxsLSEditorPlugin_OnOpen
,(self
,) + _args
, _kwargs
)
47 def OnSave(self
, *_args
, **_kwargs
):
48 val
= apply(lseditorc
.wxsLSEditorPlugin_OnSave
,(self
,) + _args
, _kwargs
)
50 def OnCopy(self
, *_args
, **_kwargs
):
51 val
= apply(lseditorc
.wxsLSEditorPlugin_OnCopy
,(self
,) + _args
, _kwargs
)
53 def OnCut(self
, *_args
, **_kwargs
):
54 val
= apply(lseditorc
.wxsLSEditorPlugin_OnCut
,(self
,) + _args
, _kwargs
)
56 def OnPaste(self
, *_args
, **_kwargs
):
57 val
= apply(lseditorc
.wxsLSEditorPlugin_OnPaste
,(self
,) + _args
, _kwargs
)
59 def OnDelete(self
, *_args
, **_kwargs
):
60 val
= apply(lseditorc
.wxsLSEditorPlugin_OnDelete
,(self
,) + _args
, _kwargs
)
62 def OnUndo(self
, *_args
, **_kwargs
):
63 val
= apply(lseditorc
.wxsLSEditorPlugin_OnUndo
,(self
,) + _args
, _kwargs
)
65 def OnRedo(self
, *_args
, **_kwargs
):
66 val
= apply(lseditorc
.wxsLSEditorPlugin_OnRedo
,(self
,) + _args
, _kwargs
)
68 def SelectAll(self
, *_args
, **_kwargs
):
69 val
= apply(lseditorc
.wxsLSEditorPlugin_SelectAll
,(self
,) + _args
, _kwargs
)
71 def OnGotoLine(self
, *_args
, **_kwargs
):
72 val
= apply(lseditorc
.wxsLSEditorPlugin_OnGotoLine
,(self
,) + _args
, _kwargs
)
74 def OnProperties(self
, *_args
, **_kwargs
):
75 val
= apply(lseditorc
.wxsLSEditorPlugin_OnProperties
,(self
,) + _args
, _kwargs
)
77 def OnFind(self
, *_args
, **_kwargs
):
78 val
= apply(lseditorc
.wxsLSEditorPlugin_OnFind
,(self
,) + _args
, _kwargs
)
80 def OnFindNext(self
, *_args
, **_kwargs
):
81 val
= apply(lseditorc
.wxsLSEditorPlugin_OnFindNext
,(self
,) + _args
, _kwargs
)
83 def OnFindPrevious(self
, *_args
, **_kwargs
):
84 val
= apply(lseditorc
.wxsLSEditorPlugin_OnFindPrevious
,(self
,) + _args
, _kwargs
)
86 def OnReplace(self
, *_args
, **_kwargs
):
87 val
= apply(lseditorc
.wxsLSEditorPlugin_OnReplace
,(self
,) + _args
, _kwargs
)
89 def OnToggleBookmark(self
, *_args
, **_kwargs
):
90 val
= apply(lseditorc
.wxsLSEditorPlugin_OnToggleBookmark
,(self
,) + _args
, _kwargs
)
92 def OnNextBookmark(self
, *_args
, **_kwargs
):
93 val
= apply(lseditorc
.wxsLSEditorPlugin_OnNextBookmark
,(self
,) + _args
, _kwargs
)
95 def OnPreviousBookmark(self
, *_args
, **_kwargs
):
96 val
= apply(lseditorc
.wxsLSEditorPlugin_OnPreviousBookmark
,(self
,) + _args
, _kwargs
)
98 def OnShowBookmarks(self
, *_args
, **_kwargs
):
99 val
= apply(lseditorc
.wxsLSEditorPlugin_OnShowBookmarks
,(self
,) + _args
, _kwargs
)
101 def SetCheckpoint(self
, *_args
, **_kwargs
):
102 val
= apply(lseditorc
.wxsLSEditorPlugin_SetCheckpoint
,(self
,) + _args
, _kwargs
)
104 def CheckpointModified(self
, *_args
, **_kwargs
):
105 val
= apply(lseditorc
.wxsLSEditorPlugin_CheckpointModified
,(self
,) + _args
, _kwargs
)
107 def CanCopy(self
, *_args
, **_kwargs
):
108 val
= apply(lseditorc
.wxsLSEditorPlugin_CanCopy
,(self
,) + _args
, _kwargs
)
110 def CanCut(self
, *_args
, **_kwargs
):
111 val
= apply(lseditorc
.wxsLSEditorPlugin_CanCut
,(self
,) + _args
, _kwargs
)
113 def CanPaste(self
, *_args
, **_kwargs
):
114 val
= apply(lseditorc
.wxsLSEditorPlugin_CanPaste
,(self
,) + _args
, _kwargs
)
116 def CanUndo(self
, *_args
, **_kwargs
):
117 val
= apply(lseditorc
.wxsLSEditorPlugin_CanUndo
,(self
,) + _args
, _kwargs
)
119 def CanRedo(self
, *_args
, **_kwargs
):
120 val
= apply(lseditorc
.wxsLSEditorPlugin_CanRedo
,(self
,) + _args
, _kwargs
)
122 def GetName(self
, *_args
, **_kwargs
):
123 val
= apply(lseditorc
.wxsLSEditorPlugin_GetName
,(self
,) + _args
, _kwargs
)
125 def IsModified(self
, *_args
, **_kwargs
):
126 val
= apply(lseditorc
.wxsLSEditorPlugin_IsModified
,(self
,) + _args
, _kwargs
)
128 def GetWindow(self
, *_args
, **_kwargs
):
129 val
= apply(lseditorc
.wxsLSEditorPlugin_GetWindow
,(self
,) + _args
, _kwargs
)
130 if val
: val
= wxWindowPtr(val
)
132 def SetFileName(self
, *_args
, **_kwargs
):
133 val
= apply(lseditorc
.wxsLSEditorPlugin_SetFileName
,(self
,) + _args
, _kwargs
)
135 def HoldCursor(self
, *_args
, **_kwargs
):
136 val
= apply(lseditorc
.wxsLSEditorPlugin_HoldCursor
,(self
,) + _args
, _kwargs
)
138 def FindWordAtCursor(self
, *_args
, **_kwargs
):
139 val
= apply(lseditorc
.wxsLSEditorPlugin_FindWordAtCursor
,(self
,) + _args
, _kwargs
)
141 def GetCursorPos(self
, *_args
, **_kwargs
):
142 val
= apply(lseditorc
.wxsLSEditorPlugin_GetCursorPos
,(self
,) + _args
, _kwargs
)
144 def SetCursorPos(self
, *_args
, **_kwargs
):
145 val
= apply(lseditorc
.wxsLSEditorPlugin_SetCursorPos
,(self
,) + _args
, _kwargs
)
147 def GetPagePos(self
, *_args
, **_kwargs
):
148 val
= apply(lseditorc
.wxsLSEditorPlugin_GetPagePos
,(self
,) + _args
, _kwargs
)
150 def GetText(self
, *_args
, **_kwargs
):
151 val
= apply(lseditorc
.wxsLSEditorPlugin_GetText
,(self
,) + _args
, _kwargs
)
153 def InsertText(self
, *_args
, **_kwargs
):
154 val
= apply(lseditorc
.wxsLSEditorPlugin_InsertText
,(self
,) + _args
, _kwargs
)
156 def DeleteText(self
, *_args
, **_kwargs
):
157 val
= apply(lseditorc
.wxsLSEditorPlugin_DeleteText
,(self
,) + _args
, _kwargs
)
159 def PositionToXY(self
, *_args
, **_kwargs
):
160 val
= apply(lseditorc
.wxsLSEditorPlugin_PositionToXY
,(self
,) + _args
, _kwargs
)
162 def GetSelectionRange(self
, *_args
, **_kwargs
):
163 val
= apply(lseditorc
.wxsLSEditorPlugin_GetSelectionRange
,(self
,) + _args
, _kwargs
)
165 def GetCharacterSize(self
, *_args
, **_kwargs
):
166 val
= apply(lseditorc
.wxsLSEditorPlugin_GetCharacterSize
,(self
,) + _args
, _kwargs
)
167 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
169 def IsUnixText(self
, *_args
, **_kwargs
):
170 val
= apply(lseditorc
.wxsLSEditorPlugin_IsUnixText
,(self
,) + _args
, _kwargs
)
173 return "<C wxsLSEditorPlugin instance at %s>" % (self
.this
,)
174 class wxsLSEditorPlugin(wxsLSEditorPluginPtr
):
175 def __init__(self
,*_args
,**_kwargs
):
176 self
.this
= apply(lseditorc
.new_wxsLSEditorPlugin
,_args
,_kwargs
)
184 #-------------- FUNCTION WRAPPERS ------------------
188 #-------------- VARIABLE WRAPPERS ------------------