]>
Commit | Line | Data |
---|---|---|
e91a9dfc RD |
1 | # This file was created automatically by SWIG. |
2 | import oglc | |
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 | ||
34 | from oglbasic import * | |
35 | ||
36 | from oglshapes import * | |
37 | ||
38 | from oglshapes2 import * | |
39 | ||
40 | from oglcanvas import * | |
41 | import wx | |
42 | ||
43 | ||
44 | #-------------- FUNCTION WRAPPERS ------------------ | |
45 | ||
46 | wxOGLInitialize = oglc.wxOGLInitialize | |
47 | ||
48 | wxOGLCleanUp = oglc.wxOGLCleanUp | |
49 | ||
50 | ||
51 | ||
52 | #-------------- VARIABLE WRAPPERS ------------------ | |
53 | ||
54 | KEY_SHIFT = oglc.KEY_SHIFT | |
55 | KEY_CTRL = oglc.KEY_CTRL | |
56 | ARROW_NONE = oglc.ARROW_NONE | |
57 | ARROW_END = oglc.ARROW_END | |
58 | ARROW_BOTH = oglc.ARROW_BOTH | |
59 | ARROW_MIDDLE = oglc.ARROW_MIDDLE | |
60 | ARROW_START = oglc.ARROW_START | |
61 | ARROW_HOLLOW_CIRCLE = oglc.ARROW_HOLLOW_CIRCLE | |
62 | ARROW_FILLED_CIRCLE = oglc.ARROW_FILLED_CIRCLE | |
63 | ARROW_ARROW = oglc.ARROW_ARROW | |
64 | ARROW_SINGLE_OBLIQUE = oglc.ARROW_SINGLE_OBLIQUE | |
65 | ARROW_DOUBLE_OBLIQUE = oglc.ARROW_DOUBLE_OBLIQUE | |
66 | ARROW_METAFILE = oglc.ARROW_METAFILE | |
67 | ARROW_POSITION_END = oglc.ARROW_POSITION_END | |
68 | ARROW_POSITION_START = oglc.ARROW_POSITION_START | |
69 | CONTROL_POINT_VERTICAL = oglc.CONTROL_POINT_VERTICAL | |
70 | CONTROL_POINT_HORIZONTAL = oglc.CONTROL_POINT_HORIZONTAL | |
71 | CONTROL_POINT_DIAGONAL = oglc.CONTROL_POINT_DIAGONAL | |
72 | CONTROL_POINT_ENDPOINT_TO = oglc.CONTROL_POINT_ENDPOINT_TO | |
73 | CONTROL_POINT_ENDPOINT_FROM = oglc.CONTROL_POINT_ENDPOINT_FROM | |
74 | CONTROL_POINT_LINE = oglc.CONTROL_POINT_LINE | |
75 | FORMAT_NONE = oglc.FORMAT_NONE | |
76 | FORMAT_CENTRE_HORIZ = oglc.FORMAT_CENTRE_HORIZ | |
77 | FORMAT_CENTRE_VERT = oglc.FORMAT_CENTRE_VERT | |
78 | FORMAT_SIZE_TO_CONTENTS = oglc.FORMAT_SIZE_TO_CONTENTS | |
79 | LINE_ALIGNMENT_HORIZ = oglc.LINE_ALIGNMENT_HORIZ | |
80 | LINE_ALIGNMENT_VERT = oglc.LINE_ALIGNMENT_VERT | |
81 | LINE_ALIGNMENT_TO_NEXT_HANDLE = oglc.LINE_ALIGNMENT_TO_NEXT_HANDLE | |
82 | LINE_ALIGNMENT_NONE = oglc.LINE_ALIGNMENT_NONE | |
83 | SHADOW_NONE = oglc.SHADOW_NONE | |
84 | SHADOW_LEFT = oglc.SHADOW_LEFT | |
85 | SHADOW_RIGHT = oglc.SHADOW_RIGHT | |
86 | OP_CLICK_LEFT = oglc.OP_CLICK_LEFT | |
87 | OP_CLICK_RIGHT = oglc.OP_CLICK_RIGHT | |
88 | OP_DRAG_LEFT = oglc.OP_DRAG_LEFT | |
89 | OP_DRAG_RIGHT = oglc.OP_DRAG_RIGHT | |
90 | OP_ALL = oglc.OP_ALL | |
91 | ATTACHMENT_MODE_NONE = oglc.ATTACHMENT_MODE_NONE | |
92 | ATTACHMENT_MODE_EDGE = oglc.ATTACHMENT_MODE_EDGE | |
93 | ATTACHMENT_MODE_BRANCHING = oglc.ATTACHMENT_MODE_BRANCHING | |
94 | BRANCHING_ATTACHMENT_NORMAL = oglc.BRANCHING_ATTACHMENT_NORMAL | |
95 | BRANCHING_ATTACHMENT_BLOB = oglc.BRANCHING_ATTACHMENT_BLOB | |
96 | gyCONSTRAINT_CENTRED_VERTICALLY = oglc.gyCONSTRAINT_CENTRED_VERTICALLY | |
97 | gyCONSTRAINT_CENTRED_HORIZONTALLY = oglc.gyCONSTRAINT_CENTRED_HORIZONTALLY | |
98 | gyCONSTRAINT_CENTRED_BOTH = oglc.gyCONSTRAINT_CENTRED_BOTH | |
99 | gyCONSTRAINT_LEFT_OF = oglc.gyCONSTRAINT_LEFT_OF | |
100 | gyCONSTRAINT_RIGHT_OF = oglc.gyCONSTRAINT_RIGHT_OF | |
101 | gyCONSTRAINT_ABOVE = oglc.gyCONSTRAINT_ABOVE | |
102 | gyCONSTRAINT_BELOW = oglc.gyCONSTRAINT_BELOW | |
103 | gyCONSTRAINT_ALIGNED_TOP = oglc.gyCONSTRAINT_ALIGNED_TOP | |
104 | gyCONSTRAINT_ALIGNED_BOTTOM = oglc.gyCONSTRAINT_ALIGNED_BOTTOM | |
105 | gyCONSTRAINT_ALIGNED_LEFT = oglc.gyCONSTRAINT_ALIGNED_LEFT | |
106 | gyCONSTRAINT_ALIGNED_RIGHT = oglc.gyCONSTRAINT_ALIGNED_RIGHT | |
107 | gyCONSTRAINT_MIDALIGNED_TOP = oglc.gyCONSTRAINT_MIDALIGNED_TOP | |
108 | gyCONSTRAINT_MIDALIGNED_BOTTOM = oglc.gyCONSTRAINT_MIDALIGNED_BOTTOM | |
109 | gyCONSTRAINT_MIDALIGNED_LEFT = oglc.gyCONSTRAINT_MIDALIGNED_LEFT | |
110 | gyCONSTRAINT_MIDALIGNED_RIGHT = oglc.gyCONSTRAINT_MIDALIGNED_RIGHT | |
111 | DIVISION_SIDE_NONE = oglc.DIVISION_SIDE_NONE | |
112 | DIVISION_SIDE_LEFT = oglc.DIVISION_SIDE_LEFT | |
113 | DIVISION_SIDE_TOP = oglc.DIVISION_SIDE_TOP | |
114 | DIVISION_SIDE_RIGHT = oglc.DIVISION_SIDE_RIGHT | |
115 | DIVISION_SIDE_BOTTOM = oglc.DIVISION_SIDE_BOTTOM | |
116 | ||
117 | ||
118 | #-------------- USER INCLUDE ----------------------- | |
119 | ||
120 | ||
121 | wxShapeCanvas = wxPyShapeCanvas | |
122 | wxShapeEvtHandler = wxPyShapeEvtHandler | |
123 | wxShape = wxPyShape | |
124 | wxRectangleShape = wxPyRectangleShape | |
125 | wxBitmapShape = wxPyBitmapShape | |
126 | wxDrawnShape = wxPyDrawnShape | |
127 | wxCompositeShape = wxPyCompositeShape | |
128 | wxDividedShape = wxPyDividedShape | |
129 | wxDivisionShape = wxPyDivisionShape | |
130 | wxEllipseShape = wxPyEllipseShape | |
131 | wxCircleShape = wxPyCircleShape | |
132 | wxLineShape = wxPyLineShape | |
133 | wxPolygonShape = wxPyPolygonShape | |
134 | wxTextShape = wxPyTextShape | |
135 | ||
136 | ||
137 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
138 | import wx | |
139 | wx.wxPyShapeCanvasPtr = wxPyShapeCanvasPtr | |
140 | wx.wxPyShapeEvtHandlerPtr = wxPyShapeEvtHandlerPtr | |
141 | wx.wxPyShapePtr = wxPyShapePtr | |
142 | wx.wxPyRectangleShapePtr = wxPyRectangleShapePtr | |
143 | wx.wxPyBitmapShapePtr = wxPyBitmapShapePtr | |
144 | wx.wxPyDrawnShapePtr = wxPyDrawnShapePtr | |
145 | wx.wxPyCompositeShapePtr = wxPyCompositeShapePtr | |
146 | wx.wxPyDividedShapePtr = wxPyDividedShapePtr | |
147 | wx.wxPyDivisionShapePtr = wxPyDivisionShapePtr | |
148 | wx.wxPyEllipseShapePtr = wxPyEllipseShapePtr | |
149 | wx.wxPyCircleShapePtr = wxPyCircleShapePtr | |
150 | wx.wxPyLineShapePtr = wxPyLineShapePtr | |
151 | wx.wxPyPolygonShapePtr = wxPyPolygonShapePtr | |
152 | wx.wxPyTextShapePtr = wxPyTextShapePtr | |
153 | wx.wxShapeRegionPtr = wxShapeRegionPtr | |
154 | wx.wxOGLConstraintPtr = wxOGLConstraintPtr |