]>
Commit | Line | Data |
---|---|---|
e91a9dfc RD |
1 | # This file was created automatically by SWIG. |
2 | import oglcanvasc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from misc2 import * | |
7 | ||
8 | from windows import * | |
9 | ||
10 | from gdi import * | |
11 | ||
68bc8549 RD |
12 | from fonts import * |
13 | ||
e02c03a4 RD |
14 | from clip_dnd import * |
15 | ||
e91a9dfc RD |
16 | from events import * |
17 | ||
c368d904 RD |
18 | from streams import * |
19 | ||
08da19d7 RD |
20 | from utils import * |
21 | ||
e91a9dfc RD |
22 | from mdi import * |
23 | ||
24 | from frames import * | |
25 | ||
26 | from stattool import * | |
27 | ||
28 | from controls import * | |
29 | ||
30 | from controls2 import * | |
31 | ||
32 | from windows2 import * | |
33 | ||
34 | from cmndlgs import * | |
35 | ||
36 | from windows3 import * | |
37 | ||
38 | from image import * | |
39 | ||
40 | from printfw import * | |
2348eaee RD |
41 | |
42 | from sizers import * | |
c368d904 RD |
43 | |
44 | from filesys import * | |
45 | ||
edf2f43e | 46 | from oglbasic import * |
e91a9dfc | 47 | import wx |
9416aa89 | 48 | class wxDiagramPtr(wxObjectPtr): |
e91a9dfc RD |
49 | def __init__(self,this): |
50 | self.this = this | |
51 | self.thisown = 0 | |
e91a9dfc RD |
52 | def AddShape(self, *_args, **_kwargs): |
53 | val = apply(oglcanvasc.wxDiagram_AddShape,(self,) + _args, _kwargs) | |
54 | return val | |
55 | def Clear(self, *_args, **_kwargs): | |
56 | val = apply(oglcanvasc.wxDiagram_Clear,(self,) + _args, _kwargs) | |
57 | return val | |
58 | def DeleteAllShapes(self, *_args, **_kwargs): | |
59 | val = apply(oglcanvasc.wxDiagram_DeleteAllShapes,(self,) + _args, _kwargs) | |
60 | return val | |
61 | def DrawOutline(self, *_args, **_kwargs): | |
62 | val = apply(oglcanvasc.wxDiagram_DrawOutline,(self,) + _args, _kwargs) | |
63 | return val | |
64 | def FindShape(self, *_args, **_kwargs): | |
65 | val = apply(oglcanvasc.wxDiagram_FindShape,(self,) + _args, _kwargs) | |
e91a9dfc RD |
66 | return val |
67 | def GetCanvas(self, *_args, **_kwargs): | |
68 | val = apply(oglcanvasc.wxDiagram_GetCanvas,(self,) + _args, _kwargs) | |
e91a9dfc RD |
69 | return val |
70 | def GetCount(self, *_args, **_kwargs): | |
71 | val = apply(oglcanvasc.wxDiagram_GetCount,(self,) + _args, _kwargs) | |
72 | return val | |
73 | def GetGridSpacing(self, *_args, **_kwargs): | |
74 | val = apply(oglcanvasc.wxDiagram_GetGridSpacing,(self,) + _args, _kwargs) | |
75 | return val | |
76 | def GetMouseTolerance(self, *_args, **_kwargs): | |
77 | val = apply(oglcanvasc.wxDiagram_GetMouseTolerance,(self,) + _args, _kwargs) | |
78 | return val | |
79 | def GetShapeList(self, *_args, **_kwargs): | |
80 | val = apply(oglcanvasc.wxDiagram_GetShapeList,(self,) + _args, _kwargs) | |
81 | return val | |
82 | def GetQuickEditMode(self, *_args, **_kwargs): | |
83 | val = apply(oglcanvasc.wxDiagram_GetQuickEditMode,(self,) + _args, _kwargs) | |
84 | return val | |
85 | def GetSnapToGrid(self, *_args, **_kwargs): | |
86 | val = apply(oglcanvasc.wxDiagram_GetSnapToGrid,(self,) + _args, _kwargs) | |
87 | return val | |
88 | def InsertShape(self, *_args, **_kwargs): | |
89 | val = apply(oglcanvasc.wxDiagram_InsertShape,(self,) + _args, _kwargs) | |
90 | return val | |
91 | def LoadFile(self, *_args, **_kwargs): | |
92 | val = apply(oglcanvasc.wxDiagram_LoadFile,(self,) + _args, _kwargs) | |
93 | return val | |
94 | def ReadContainerGeometry(self, *_args, **_kwargs): | |
95 | val = apply(oglcanvasc.wxDiagram_ReadContainerGeometry,(self,) + _args, _kwargs) | |
96 | return val | |
97 | def ReadLines(self, *_args, **_kwargs): | |
98 | val = apply(oglcanvasc.wxDiagram_ReadLines,(self,) + _args, _kwargs) | |
99 | return val | |
100 | def ReadNodes(self, *_args, **_kwargs): | |
101 | val = apply(oglcanvasc.wxDiagram_ReadNodes,(self,) + _args, _kwargs) | |
102 | return val | |
103 | def RecentreAll(self, *_args, **_kwargs): | |
104 | val = apply(oglcanvasc.wxDiagram_RecentreAll,(self,) + _args, _kwargs) | |
105 | return val | |
106 | def Redraw(self, *_args, **_kwargs): | |
107 | val = apply(oglcanvasc.wxDiagram_Redraw,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def RemoveAllShapes(self, *_args, **_kwargs): | |
110 | val = apply(oglcanvasc.wxDiagram_RemoveAllShapes,(self,) + _args, _kwargs) | |
111 | return val | |
112 | def RemoveShape(self, *_args, **_kwargs): | |
113 | val = apply(oglcanvasc.wxDiagram_RemoveShape,(self,) + _args, _kwargs) | |
114 | return val | |
115 | def SaveFile(self, *_args, **_kwargs): | |
116 | val = apply(oglcanvasc.wxDiagram_SaveFile,(self,) + _args, _kwargs) | |
117 | return val | |
118 | def SetCanvas(self, *_args, **_kwargs): | |
119 | val = apply(oglcanvasc.wxDiagram_SetCanvas,(self,) + _args, _kwargs) | |
120 | return val | |
121 | def SetGridSpacing(self, *_args, **_kwargs): | |
122 | val = apply(oglcanvasc.wxDiagram_SetGridSpacing,(self,) + _args, _kwargs) | |
123 | return val | |
124 | def SetMouseTolerance(self, *_args, **_kwargs): | |
125 | val = apply(oglcanvasc.wxDiagram_SetMouseTolerance,(self,) + _args, _kwargs) | |
126 | return val | |
127 | def SetQuickEditMode(self, *_args, **_kwargs): | |
128 | val = apply(oglcanvasc.wxDiagram_SetQuickEditMode,(self,) + _args, _kwargs) | |
129 | return val | |
130 | def SetSnapToGrid(self, *_args, **_kwargs): | |
131 | val = apply(oglcanvasc.wxDiagram_SetSnapToGrid,(self,) + _args, _kwargs) | |
132 | return val | |
133 | def ShowAll(self, *_args, **_kwargs): | |
134 | val = apply(oglcanvasc.wxDiagram_ShowAll,(self,) + _args, _kwargs) | |
135 | return val | |
136 | def Snap(self, *_args, **_kwargs): | |
137 | val = apply(oglcanvasc.wxDiagram_Snap,(self,) + _args, _kwargs) | |
138 | return val | |
139 | def __repr__(self): | |
140 | return "<C wxDiagram instance at %s>" % (self.this,) | |
141 | class wxDiagram(wxDiagramPtr): | |
142 | def __init__(self,*_args,**_kwargs): | |
143 | self.this = apply(oglcanvasc.new_wxDiagram,_args,_kwargs) | |
144 | self.thisown = 1 | |
145 | ||
146 | ||
147 | ||
148 | ||
149 | class wxPyShapeCanvasPtr(wxScrolledWindowPtr): | |
150 | def __init__(self,this): | |
151 | self.this = this | |
152 | self.thisown = 0 | |
0122b7e3 RD |
153 | def _setCallbackInfo(self, *_args, **_kwargs): |
154 | val = apply(oglcanvasc.wxPyShapeCanvas__setCallbackInfo,(self,) + _args, _kwargs) | |
e91a9dfc RD |
155 | return val |
156 | def AddShape(self, *_args, **_kwargs): | |
157 | val = apply(oglcanvasc.wxPyShapeCanvas_AddShape,(self,) + _args, _kwargs) | |
158 | return val | |
159 | def FindShape(self, *_args, **_kwargs): | |
160 | val = apply(oglcanvasc.wxPyShapeCanvas_FindShape,(self,) + _args, _kwargs) | |
e91a9dfc RD |
161 | return val |
162 | def FindFirstSensitiveShape(self, *_args, **_kwargs): | |
163 | val = apply(oglcanvasc.wxPyShapeCanvas_FindFirstSensitiveShape,(self,) + _args, _kwargs) | |
e91a9dfc RD |
164 | return val |
165 | def GetDiagram(self, *_args, **_kwargs): | |
166 | val = apply(oglcanvasc.wxPyShapeCanvas_GetDiagram,(self,) + _args, _kwargs) | |
e91a9dfc RD |
167 | return val |
168 | def GetQuickEditMode(self, *_args, **_kwargs): | |
169 | val = apply(oglcanvasc.wxPyShapeCanvas_GetQuickEditMode,(self,) + _args, _kwargs) | |
170 | return val | |
171 | def InsertShape(self, *_args, **_kwargs): | |
172 | val = apply(oglcanvasc.wxPyShapeCanvas_InsertShape,(self,) + _args, _kwargs) | |
173 | return val | |
174 | def base_OnBeginDragLeft(self, *_args, **_kwargs): | |
175 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnBeginDragLeft,(self,) + _args, _kwargs) | |
176 | return val | |
177 | def base_OnBeginDragRight(self, *_args, **_kwargs): | |
178 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnBeginDragRight,(self,) + _args, _kwargs) | |
179 | return val | |
180 | def base_OnEndDragLeft(self, *_args, **_kwargs): | |
181 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnEndDragLeft,(self,) + _args, _kwargs) | |
182 | return val | |
183 | def base_OnEndDragRight(self, *_args, **_kwargs): | |
184 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnEndDragRight,(self,) + _args, _kwargs) | |
185 | return val | |
186 | def base_OnDragLeft(self, *_args, **_kwargs): | |
187 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnDragLeft,(self,) + _args, _kwargs) | |
188 | return val | |
189 | def base_OnDragRight(self, *_args, **_kwargs): | |
190 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnDragRight,(self,) + _args, _kwargs) | |
191 | return val | |
192 | def base_OnLeftClick(self, *_args, **_kwargs): | |
193 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnLeftClick,(self,) + _args, _kwargs) | |
194 | return val | |
195 | def base_OnRightClick(self, *_args, **_kwargs): | |
196 | val = apply(oglcanvasc.wxPyShapeCanvas_base_OnRightClick,(self,) + _args, _kwargs) | |
197 | return val | |
198 | def Redraw(self, *_args, **_kwargs): | |
199 | val = apply(oglcanvasc.wxPyShapeCanvas_Redraw,(self,) + _args, _kwargs) | |
200 | return val | |
201 | def RemoveShape(self, *_args, **_kwargs): | |
202 | val = apply(oglcanvasc.wxPyShapeCanvas_RemoveShape,(self,) + _args, _kwargs) | |
203 | return val | |
204 | def SetDiagram(self, *_args, **_kwargs): | |
205 | val = apply(oglcanvasc.wxPyShapeCanvas_SetDiagram,(self,) + _args, _kwargs) | |
206 | return val | |
207 | def Snap(self, *_args, **_kwargs): | |
208 | val = apply(oglcanvasc.wxPyShapeCanvas_Snap,(self,) + _args, _kwargs) | |
209 | return val | |
210 | def __repr__(self): | |
211 | return "<C wxPyShapeCanvas instance at %s>" % (self.this,) | |
212 | class wxPyShapeCanvas(wxPyShapeCanvasPtr): | |
213 | def __init__(self,*_args,**_kwargs): | |
214 | self.this = apply(oglcanvasc.new_wxPyShapeCanvas,_args,_kwargs) | |
215 | self.thisown = 1 | |
0122b7e3 RD |
216 | self._setCallbackInfo(self, wxPyShapeCanvas) |
217 | self._setOORInfo(self) | |
e91a9dfc RD |
218 | |
219 | ||
220 | ||
221 | ||
222 | ||
223 | ||
224 | #-------------- FUNCTION WRAPPERS ------------------ | |
225 | ||
226 | ||
227 | ||
228 | #-------------- VARIABLE WRAPPERS ------------------ | |
229 |