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