]>
Commit | Line | Data |
---|---|---|
a29cd6c0 HH |
1 | # This file was created automatically by SWIG. |
2 | import lseditorc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from misc2 import * | |
7 | ||
8 | from windows import * | |
9 | ||
10 | from gdi import * | |
11 | ||
12 | from events import * | |
13 | ||
14 | from mdi import * | |
15 | ||
16 | from frames import * | |
17 | ||
18 | from stattool import * | |
19 | ||
20 | from controls import * | |
21 | ||
22 | from controls2 import * | |
23 | ||
24 | from windows2 import * | |
25 | ||
26 | from cmndlgs import * | |
27 | ||
28 | from windows3 import * | |
29 | ||
30 | from image import * | |
31 | ||
32 | from printfw import * | |
33 | import wx | |
34 | class wxsLSEditorPluginPtr : | |
35 | def __init__(self,this): | |
36 | self.this = this | |
37 | self.thisown = 0 | |
f786a3b2 | 38 | def __del__(self,lseditorc=lseditorc): |
a29cd6c0 | 39 | if self.thisown == 1 : |
f786a3b2 HH |
40 | lseditorc.delete_wxsLSEditorPlugin(self) |
41 | def Create(self, *_args, **_kwargs): | |
42 | val = apply(lseditorc.wxsLSEditorPlugin_Create,(self,) + _args, _kwargs) | |
a29cd6c0 | 43 | return val |
f786a3b2 HH |
44 | def OnOpen(self, *_args, **_kwargs): |
45 | val = apply(lseditorc.wxsLSEditorPlugin_OnOpen,(self,) + _args, _kwargs) | |
a29cd6c0 | 46 | return val |
f786a3b2 HH |
47 | def OnSave(self, *_args, **_kwargs): |
48 | val = apply(lseditorc.wxsLSEditorPlugin_OnSave,(self,) + _args, _kwargs) | |
a29cd6c0 | 49 | return val |
f786a3b2 HH |
50 | def OnCopy(self, *_args, **_kwargs): |
51 | val = apply(lseditorc.wxsLSEditorPlugin_OnCopy,(self,) + _args, _kwargs) | |
a29cd6c0 | 52 | return val |
f786a3b2 HH |
53 | def OnCut(self, *_args, **_kwargs): |
54 | val = apply(lseditorc.wxsLSEditorPlugin_OnCut,(self,) + _args, _kwargs) | |
a29cd6c0 | 55 | return val |
f786a3b2 HH |
56 | def OnPaste(self, *_args, **_kwargs): |
57 | val = apply(lseditorc.wxsLSEditorPlugin_OnPaste,(self,) + _args, _kwargs) | |
a29cd6c0 | 58 | return val |
f786a3b2 HH |
59 | def OnDelete(self, *_args, **_kwargs): |
60 | val = apply(lseditorc.wxsLSEditorPlugin_OnDelete,(self,) + _args, _kwargs) | |
a29cd6c0 | 61 | return val |
f786a3b2 HH |
62 | def OnUndo(self, *_args, **_kwargs): |
63 | val = apply(lseditorc.wxsLSEditorPlugin_OnUndo,(self,) + _args, _kwargs) | |
a29cd6c0 | 64 | return val |
f786a3b2 HH |
65 | def OnRedo(self, *_args, **_kwargs): |
66 | val = apply(lseditorc.wxsLSEditorPlugin_OnRedo,(self,) + _args, _kwargs) | |
a29cd6c0 | 67 | return val |
f786a3b2 HH |
68 | def SelectAll(self, *_args, **_kwargs): |
69 | val = apply(lseditorc.wxsLSEditorPlugin_SelectAll,(self,) + _args, _kwargs) | |
a29cd6c0 | 70 | return val |
f786a3b2 HH |
71 | def OnGotoLine(self, *_args, **_kwargs): |
72 | val = apply(lseditorc.wxsLSEditorPlugin_OnGotoLine,(self,) + _args, _kwargs) | |
a29cd6c0 | 73 | return val |
f786a3b2 HH |
74 | def OnProperties(self, *_args, **_kwargs): |
75 | val = apply(lseditorc.wxsLSEditorPlugin_OnProperties,(self,) + _args, _kwargs) | |
a29cd6c0 | 76 | return val |
f786a3b2 HH |
77 | def OnFind(self, *_args, **_kwargs): |
78 | val = apply(lseditorc.wxsLSEditorPlugin_OnFind,(self,) + _args, _kwargs) | |
a29cd6c0 | 79 | return val |
f786a3b2 HH |
80 | def OnFindNext(self, *_args, **_kwargs): |
81 | val = apply(lseditorc.wxsLSEditorPlugin_OnFindNext,(self,) + _args, _kwargs) | |
a29cd6c0 | 82 | return val |
f786a3b2 HH |
83 | def OnFindPrevious(self, *_args, **_kwargs): |
84 | val = apply(lseditorc.wxsLSEditorPlugin_OnFindPrevious,(self,) + _args, _kwargs) | |
a29cd6c0 | 85 | return val |
f786a3b2 HH |
86 | def OnReplace(self, *_args, **_kwargs): |
87 | val = apply(lseditorc.wxsLSEditorPlugin_OnReplace,(self,) + _args, _kwargs) | |
a29cd6c0 | 88 | return val |
f786a3b2 HH |
89 | def OnToggleBookmark(self, *_args, **_kwargs): |
90 | val = apply(lseditorc.wxsLSEditorPlugin_OnToggleBookmark,(self,) + _args, _kwargs) | |
a29cd6c0 | 91 | return val |
f786a3b2 HH |
92 | def OnNextBookmark(self, *_args, **_kwargs): |
93 | val = apply(lseditorc.wxsLSEditorPlugin_OnNextBookmark,(self,) + _args, _kwargs) | |
a29cd6c0 | 94 | return val |
f786a3b2 HH |
95 | def OnPreviousBookmark(self, *_args, **_kwargs): |
96 | val = apply(lseditorc.wxsLSEditorPlugin_OnPreviousBookmark,(self,) + _args, _kwargs) | |
a29cd6c0 | 97 | return val |
f786a3b2 HH |
98 | def OnShowBookmarks(self, *_args, **_kwargs): |
99 | val = apply(lseditorc.wxsLSEditorPlugin_OnShowBookmarks,(self,) + _args, _kwargs) | |
a29cd6c0 | 100 | return val |
f786a3b2 HH |
101 | def SetCheckpoint(self, *_args, **_kwargs): |
102 | val = apply(lseditorc.wxsLSEditorPlugin_SetCheckpoint,(self,) + _args, _kwargs) | |
a29cd6c0 | 103 | return val |
f786a3b2 HH |
104 | def CheckpointModified(self, *_args, **_kwargs): |
105 | val = apply(lseditorc.wxsLSEditorPlugin_CheckpointModified,(self,) + _args, _kwargs) | |
a29cd6c0 | 106 | return val |
f786a3b2 HH |
107 | def CanCopy(self, *_args, **_kwargs): |
108 | val = apply(lseditorc.wxsLSEditorPlugin_CanCopy,(self,) + _args, _kwargs) | |
a29cd6c0 | 109 | return val |
f786a3b2 HH |
110 | def CanCut(self, *_args, **_kwargs): |
111 | val = apply(lseditorc.wxsLSEditorPlugin_CanCut,(self,) + _args, _kwargs) | |
a29cd6c0 | 112 | return val |
f786a3b2 HH |
113 | def CanPaste(self, *_args, **_kwargs): |
114 | val = apply(lseditorc.wxsLSEditorPlugin_CanPaste,(self,) + _args, _kwargs) | |
a29cd6c0 | 115 | return val |
f786a3b2 HH |
116 | def CanUndo(self, *_args, **_kwargs): |
117 | val = apply(lseditorc.wxsLSEditorPlugin_CanUndo,(self,) + _args, _kwargs) | |
a29cd6c0 | 118 | return val |
f786a3b2 HH |
119 | def CanRedo(self, *_args, **_kwargs): |
120 | val = apply(lseditorc.wxsLSEditorPlugin_CanRedo,(self,) + _args, _kwargs) | |
a29cd6c0 | 121 | return val |
f786a3b2 HH |
122 | def GetName(self, *_args, **_kwargs): |
123 | val = apply(lseditorc.wxsLSEditorPlugin_GetName,(self,) + _args, _kwargs) | |
a29cd6c0 | 124 | return val |
f786a3b2 HH |
125 | def IsModified(self, *_args, **_kwargs): |
126 | val = apply(lseditorc.wxsLSEditorPlugin_IsModified,(self,) + _args, _kwargs) | |
a29cd6c0 | 127 | return val |
f786a3b2 HH |
128 | def GetWindow(self, *_args, **_kwargs): |
129 | val = apply(lseditorc.wxsLSEditorPlugin_GetWindow,(self,) + _args, _kwargs) | |
130 | if val: val = wxWindowPtr(val) | |
a29cd6c0 | 131 | return val |
f786a3b2 HH |
132 | def SetFileName(self, *_args, **_kwargs): |
133 | val = apply(lseditorc.wxsLSEditorPlugin_SetFileName,(self,) + _args, _kwargs) | |
a29cd6c0 | 134 | return val |
f786a3b2 HH |
135 | def HoldCursor(self, *_args, **_kwargs): |
136 | val = apply(lseditorc.wxsLSEditorPlugin_HoldCursor,(self,) + _args, _kwargs) | |
a29cd6c0 | 137 | return val |
f786a3b2 HH |
138 | def FindWordAtCursor(self, *_args, **_kwargs): |
139 | val = apply(lseditorc.wxsLSEditorPlugin_FindWordAtCursor,(self,) + _args, _kwargs) | |
a29cd6c0 | 140 | return val |
f786a3b2 HH |
141 | def GetCursorPos(self, *_args, **_kwargs): |
142 | val = apply(lseditorc.wxsLSEditorPlugin_GetCursorPos,(self,) + _args, _kwargs) | |
a29cd6c0 | 143 | return val |
f786a3b2 HH |
144 | def SetCursorPos(self, *_args, **_kwargs): |
145 | val = apply(lseditorc.wxsLSEditorPlugin_SetCursorPos,(self,) + _args, _kwargs) | |
a29cd6c0 | 146 | return val |
f786a3b2 HH |
147 | def GetPagePos(self, *_args, **_kwargs): |
148 | val = apply(lseditorc.wxsLSEditorPlugin_GetPagePos,(self,) + _args, _kwargs) | |
a29cd6c0 | 149 | return val |
f786a3b2 HH |
150 | def GetText(self, *_args, **_kwargs): |
151 | val = apply(lseditorc.wxsLSEditorPlugin_GetText,(self,) + _args, _kwargs) | |
a29cd6c0 | 152 | return val |
f786a3b2 HH |
153 | def InsertText(self, *_args, **_kwargs): |
154 | val = apply(lseditorc.wxsLSEditorPlugin_InsertText,(self,) + _args, _kwargs) | |
a29cd6c0 | 155 | return val |
f786a3b2 HH |
156 | def DeleteText(self, *_args, **_kwargs): |
157 | val = apply(lseditorc.wxsLSEditorPlugin_DeleteText,(self,) + _args, _kwargs) | |
a29cd6c0 | 158 | return val |
f786a3b2 HH |
159 | def PositionToXY(self, *_args, **_kwargs): |
160 | val = apply(lseditorc.wxsLSEditorPlugin_PositionToXY,(self,) + _args, _kwargs) | |
a29cd6c0 | 161 | return val |
f786a3b2 HH |
162 | def GetSelectionRange(self, *_args, **_kwargs): |
163 | val = apply(lseditorc.wxsLSEditorPlugin_GetSelectionRange,(self,) + _args, _kwargs) | |
a29cd6c0 | 164 | return val |
f786a3b2 HH |
165 | def GetCharacterSize(self, *_args, **_kwargs): |
166 | val = apply(lseditorc.wxsLSEditorPlugin_GetCharacterSize,(self,) + _args, _kwargs) | |
167 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
a29cd6c0 | 168 | return val |
f786a3b2 HH |
169 | def IsUnixText(self, *_args, **_kwargs): |
170 | val = apply(lseditorc.wxsLSEditorPlugin_IsUnixText,(self,) + _args, _kwargs) | |
a29cd6c0 HH |
171 | return val |
172 | def __repr__(self): | |
f786a3b2 | 173 | return "<C wxsLSEditorPlugin instance at %s>" % (self.this,) |
a29cd6c0 | 174 | class wxsLSEditorPlugin(wxsLSEditorPluginPtr): |
f786a3b2 HH |
175 | def __init__(self,*_args,**_kwargs): |
176 | self.this = apply(lseditorc.new_wxsLSEditorPlugin,_args,_kwargs) | |
a29cd6c0 HH |
177 | self.thisown = 1 |
178 | ||
179 | ||
180 | ||
181 | ||
182 | ||
183 | ||
184 | #-------------- FUNCTION WRAPPERS ------------------ | |
185 | ||
186 | ||
187 | ||
188 | #-------------- VARIABLE WRAPPERS ------------------ | |
189 |