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