]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/glcanvas/gtk/glcanvas.py
Module definitions files for build VisualAge C++ V3.0 dlls.
[wxWidgets.git] / utils / wxPython / modules / glcanvas / gtk / glcanvas.py
1 # This file was created automatically by SWIG.
2 import glcanvasc
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from clip_dnd import *
13
14 from events import *
15
16 from mdi import *
17
18 from frames import *
19
20 from stattool import *
21
22 from controls import *
23
24 from controls2 import *
25
26 from windows2 import *
27
28 from cmndlgs import *
29
30 from windows3 import *
31
32 from image import *
33
34 from printfw import *
35
36 from sizers import *
37 import wx
38 class wxGLContextPtr :
39 def __init__(self,this):
40 self.this = this
41 self.thisown = 0
42 def __del__(self,glcanvasc=glcanvasc):
43 if self.thisown == 1 :
44 glcanvasc.delete_wxGLContext(self)
45 def SetCurrent(self, *_args, **_kwargs):
46 val = apply(glcanvasc.wxGLContext_SetCurrent,(self,) + _args, _kwargs)
47 return val
48 def SetColour(self, *_args, **_kwargs):
49 val = apply(glcanvasc.wxGLContext_SetColour,(self,) + _args, _kwargs)
50 return val
51 def SwapBuffers(self, *_args, **_kwargs):
52 val = apply(glcanvasc.wxGLContext_SwapBuffers,(self,) + _args, _kwargs)
53 return val
54 def SetupPixelFormat(self, *_args, **_kwargs):
55 val = apply(glcanvasc.wxGLContext_SetupPixelFormat,(self,) + _args, _kwargs)
56 return val
57 def SetupPalette(self, *_args, **_kwargs):
58 val = apply(glcanvasc.wxGLContext_SetupPalette,(self,) + _args, _kwargs)
59 return val
60 def CreateDefaultPalette(self, *_args, **_kwargs):
61 val = apply(glcanvasc.wxGLContext_CreateDefaultPalette,(self,) + _args, _kwargs)
62 if val: val = wxPalettePtr(val) ; val.thisown = 1
63 return val
64 def GetPalette(self, *_args, **_kwargs):
65 val = apply(glcanvasc.wxGLContext_GetPalette,(self,) + _args, _kwargs)
66 if val: val = wxPalettePtr(val)
67 return val
68 def GetWindow(self, *_args, **_kwargs):
69 val = apply(glcanvasc.wxGLContext_GetWindow,(self,) + _args, _kwargs)
70 if val: val = wxWindowPtr(val)
71 return val
72 def __repr__(self):
73 return "<C wxGLContext instance at %s>" % (self.this,)
74 class wxGLContext(wxGLContextPtr):
75 def __init__(self,*_args,**_kwargs):
76 self.this = apply(glcanvasc.new_wxGLContext,_args,_kwargs)
77 self.thisown = 1
78
79
80
81
82 class wxGLCanvasPtr(wxScrolledWindowPtr):
83 def __init__(self,this):
84 self.this = this
85 self.thisown = 0
86 def SetCurrent(self, *_args, **_kwargs):
87 val = apply(glcanvasc.wxGLCanvas_SetCurrent,(self,) + _args, _kwargs)
88 return val
89 def SetColour(self, *_args, **_kwargs):
90 val = apply(glcanvasc.wxGLCanvas_SetColour,(self,) + _args, _kwargs)
91 return val
92 def SwapBuffers(self, *_args, **_kwargs):
93 val = apply(glcanvasc.wxGLCanvas_SwapBuffers,(self,) + _args, _kwargs)
94 return val
95 def GetContext(self, *_args, **_kwargs):
96 val = apply(glcanvasc.wxGLCanvas_GetContext,(self,) + _args, _kwargs)
97 if val: val = wxGLContextPtr(val)
98 return val
99 def __repr__(self):
100 return "<C wxGLCanvas instance at %s>" % (self.this,)
101 class wxGLCanvas(wxGLCanvasPtr):
102 def __init__(self,*_args,**_kwargs):
103 self.this = apply(glcanvasc.new_wxGLCanvas,_args,_kwargs)
104 self.thisown = 1
105 wx._StdWindowCallbacks(self)
106
107
108
109
110
111
112 #-------------- FUNCTION WRAPPERS ------------------
113
114
115
116 #-------------- VARIABLE WRAPPERS ------------------
117