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