]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/ogl.py
Demo cleanup
[wxWidgets.git] / wxPython / contrib / ogl / ogl.py
CommitLineData
e91a9dfc
RD
1# This file was created automatically by SWIG.
2import oglc
3
4from misc import *
5
6from misc2 import *
7
8from windows import *
9
10from gdi import *
11
4c9993c3
RD
12from clip_dnd import *
13
e91a9dfc
RD
14from events import *
15
c368d904
RD
16from streams import *
17
08da19d7
RD
18from utils import *
19
e91a9dfc
RD
20from mdi import *
21
22from frames import *
23
24from stattool import *
25
26from controls import *
27
28from controls2 import *
29
30from windows2 import *
31
32from cmndlgs import *
33
34from windows3 import *
35
36from image import *
37
38from printfw import *
39
2348eaee
RD
40from sizers import *
41
c368d904
RD
42from filesys import *
43
e91a9dfc
RD
44from oglbasic import *
45
46from oglshapes import *
47
48from oglshapes2 import *
49
50from oglcanvas import *
51import wx
52
53
54#-------------- FUNCTION WRAPPERS ------------------
55
56wxOGLInitialize = oglc.wxOGLInitialize
57
58wxOGLCleanUp = oglc.wxOGLCleanUp
59
60
61
62#-------------- VARIABLE WRAPPERS ------------------
63
64KEY_SHIFT = oglc.KEY_SHIFT
65KEY_CTRL = oglc.KEY_CTRL
66ARROW_NONE = oglc.ARROW_NONE
67ARROW_END = oglc.ARROW_END
68ARROW_BOTH = oglc.ARROW_BOTH
69ARROW_MIDDLE = oglc.ARROW_MIDDLE
70ARROW_START = oglc.ARROW_START
71ARROW_HOLLOW_CIRCLE = oglc.ARROW_HOLLOW_CIRCLE
72ARROW_FILLED_CIRCLE = oglc.ARROW_FILLED_CIRCLE
73ARROW_ARROW = oglc.ARROW_ARROW
74ARROW_SINGLE_OBLIQUE = oglc.ARROW_SINGLE_OBLIQUE
75ARROW_DOUBLE_OBLIQUE = oglc.ARROW_DOUBLE_OBLIQUE
76ARROW_METAFILE = oglc.ARROW_METAFILE
77ARROW_POSITION_END = oglc.ARROW_POSITION_END
78ARROW_POSITION_START = oglc.ARROW_POSITION_START
79CONTROL_POINT_VERTICAL = oglc.CONTROL_POINT_VERTICAL
80CONTROL_POINT_HORIZONTAL = oglc.CONTROL_POINT_HORIZONTAL
81CONTROL_POINT_DIAGONAL = oglc.CONTROL_POINT_DIAGONAL
82CONTROL_POINT_ENDPOINT_TO = oglc.CONTROL_POINT_ENDPOINT_TO
83CONTROL_POINT_ENDPOINT_FROM = oglc.CONTROL_POINT_ENDPOINT_FROM
84CONTROL_POINT_LINE = oglc.CONTROL_POINT_LINE
85FORMAT_NONE = oglc.FORMAT_NONE
86FORMAT_CENTRE_HORIZ = oglc.FORMAT_CENTRE_HORIZ
87FORMAT_CENTRE_VERT = oglc.FORMAT_CENTRE_VERT
88FORMAT_SIZE_TO_CONTENTS = oglc.FORMAT_SIZE_TO_CONTENTS
89LINE_ALIGNMENT_HORIZ = oglc.LINE_ALIGNMENT_HORIZ
90LINE_ALIGNMENT_VERT = oglc.LINE_ALIGNMENT_VERT
91LINE_ALIGNMENT_TO_NEXT_HANDLE = oglc.LINE_ALIGNMENT_TO_NEXT_HANDLE
92LINE_ALIGNMENT_NONE = oglc.LINE_ALIGNMENT_NONE
93SHADOW_NONE = oglc.SHADOW_NONE
94SHADOW_LEFT = oglc.SHADOW_LEFT
95SHADOW_RIGHT = oglc.SHADOW_RIGHT
96OP_CLICK_LEFT = oglc.OP_CLICK_LEFT
97OP_CLICK_RIGHT = oglc.OP_CLICK_RIGHT
98OP_DRAG_LEFT = oglc.OP_DRAG_LEFT
99OP_DRAG_RIGHT = oglc.OP_DRAG_RIGHT
100OP_ALL = oglc.OP_ALL
101ATTACHMENT_MODE_NONE = oglc.ATTACHMENT_MODE_NONE
102ATTACHMENT_MODE_EDGE = oglc.ATTACHMENT_MODE_EDGE
103ATTACHMENT_MODE_BRANCHING = oglc.ATTACHMENT_MODE_BRANCHING
104BRANCHING_ATTACHMENT_NORMAL = oglc.BRANCHING_ATTACHMENT_NORMAL
105BRANCHING_ATTACHMENT_BLOB = oglc.BRANCHING_ATTACHMENT_BLOB
106gyCONSTRAINT_CENTRED_VERTICALLY = oglc.gyCONSTRAINT_CENTRED_VERTICALLY
107gyCONSTRAINT_CENTRED_HORIZONTALLY = oglc.gyCONSTRAINT_CENTRED_HORIZONTALLY
108gyCONSTRAINT_CENTRED_BOTH = oglc.gyCONSTRAINT_CENTRED_BOTH
109gyCONSTRAINT_LEFT_OF = oglc.gyCONSTRAINT_LEFT_OF
110gyCONSTRAINT_RIGHT_OF = oglc.gyCONSTRAINT_RIGHT_OF
111gyCONSTRAINT_ABOVE = oglc.gyCONSTRAINT_ABOVE
112gyCONSTRAINT_BELOW = oglc.gyCONSTRAINT_BELOW
113gyCONSTRAINT_ALIGNED_TOP = oglc.gyCONSTRAINT_ALIGNED_TOP
114gyCONSTRAINT_ALIGNED_BOTTOM = oglc.gyCONSTRAINT_ALIGNED_BOTTOM
115gyCONSTRAINT_ALIGNED_LEFT = oglc.gyCONSTRAINT_ALIGNED_LEFT
116gyCONSTRAINT_ALIGNED_RIGHT = oglc.gyCONSTRAINT_ALIGNED_RIGHT
117gyCONSTRAINT_MIDALIGNED_TOP = oglc.gyCONSTRAINT_MIDALIGNED_TOP
118gyCONSTRAINT_MIDALIGNED_BOTTOM = oglc.gyCONSTRAINT_MIDALIGNED_BOTTOM
119gyCONSTRAINT_MIDALIGNED_LEFT = oglc.gyCONSTRAINT_MIDALIGNED_LEFT
120gyCONSTRAINT_MIDALIGNED_RIGHT = oglc.gyCONSTRAINT_MIDALIGNED_RIGHT
121DIVISION_SIDE_NONE = oglc.DIVISION_SIDE_NONE
122DIVISION_SIDE_LEFT = oglc.DIVISION_SIDE_LEFT
123DIVISION_SIDE_TOP = oglc.DIVISION_SIDE_TOP
124DIVISION_SIDE_RIGHT = oglc.DIVISION_SIDE_RIGHT
125DIVISION_SIDE_BOTTOM = oglc.DIVISION_SIDE_BOTTOM
126
127
128#-------------- USER INCLUDE -----------------------
129
130
9416aa89 131# aliases
e91a9dfc
RD
132wxShapeCanvas = wxPyShapeCanvas
133wxShapeEvtHandler = wxPyShapeEvtHandler
134wxShape = wxPyShape
135wxRectangleShape = wxPyRectangleShape
136wxBitmapShape = wxPyBitmapShape
137wxDrawnShape = wxPyDrawnShape
138wxCompositeShape = wxPyCompositeShape
139wxDividedShape = wxPyDividedShape
140wxDivisionShape = wxPyDivisionShape
141wxEllipseShape = wxPyEllipseShape
142wxCircleShape = wxPyCircleShape
143wxLineShape = wxPyLineShape
144wxPolygonShape = wxPyPolygonShape
145wxTextShape = wxPyTextShape
2348eaee 146wxControlPoint = wxPyControlPoint
e91a9dfc
RD
147
148# Stuff these names into the wx namespace so wxPyConstructObject can find them
149import wx
9416aa89
RD
150wx.wxArrowHeadPtr = wxArrowHeadPtr
151wx.wxControlPointPtr = wxPyControlPointPtr
152wx.wxDiagramPtr = wxDiagramPtr
153wx.wxOGLConstraintPtr = wxOGLConstraintPtr
154wx.wxPseudoMetaFilePtr = wxPseudoMetaFile
e91a9dfc 155wx.wxPyBitmapShapePtr = wxPyBitmapShapePtr
9416aa89 156wx.wxPyCircleShapePtr = wxPyCircleShapePtr
e91a9dfc 157wx.wxPyCompositeShapePtr = wxPyCompositeShapePtr
9416aa89 158wx.wxPyControlPointPtr = wxPyControlPointPtr
e91a9dfc
RD
159wx.wxPyDividedShapePtr = wxPyDividedShapePtr
160wx.wxPyDivisionShapePtr = wxPyDivisionShapePtr
9416aa89 161wx.wxPyDrawnShapePtr = wxPyDrawnShapePtr
e91a9dfc 162wx.wxPyEllipseShapePtr = wxPyEllipseShapePtr
e91a9dfc
RD
163wx.wxPyLineShapePtr = wxPyLineShapePtr
164wx.wxPyPolygonShapePtr = wxPyPolygonShapePtr
9416aa89
RD
165wx.wxPyRectangleShapePtr = wxPyRectangleShapePtr
166wx.wxPyShapeCanvasPtr = wxPyShapeCanvasPtr
167wx.wxPyShapeEvtHandlerPtr = wxPyShapeEvtHandlerPtr
168wx.wxPyShapePtr = wxPyShapePtr
e91a9dfc
RD
169wx.wxPyTextShapePtr = wxPyTextShapePtr
170wx.wxShapeRegionPtr = wxShapeRegionPtr