1999-08-23 14:00:34 -04:00
|
|
|
# This file was created automatically by SWIG.
|
|
|
|
import glcanvasc
|
|
|
|
|
|
|
|
from misc import *
|
|
|
|
|
|
|
|
from misc2 import *
|
|
|
|
|
|
|
|
from windows import *
|
|
|
|
|
|
|
|
from gdi import *
|
|
|
|
|
1999-12-29 17:10:32 -05:00
|
|
|
from clip_dnd import *
|
|
|
|
|
1999-08-23 14:00:34 -04:00
|
|
|
from events import *
|
|
|
|
|
2000-12-10 21:53:24 -05:00
|
|
|
from streams import *
|
|
|
|
|
1999-08-23 14:00:34 -04:00
|
|
|
from mdi import *
|
|
|
|
|
|
|
|
from frames import *
|
|
|
|
|
|
|
|
from stattool import *
|
|
|
|
|
|
|
|
from controls import *
|
|
|
|
|
|
|
|
from controls2 import *
|
|
|
|
|
|
|
|
from windows2 import *
|
|
|
|
|
|
|
|
from cmndlgs import *
|
|
|
|
|
|
|
|
from windows3 import *
|
|
|
|
|
|
|
|
from image import *
|
|
|
|
|
|
|
|
from printfw import *
|
1999-12-29 17:10:32 -05:00
|
|
|
|
|
|
|
from sizers import *
|
2000-12-10 21:53:24 -05:00
|
|
|
|
|
|
|
from filesys import *
|
|
|
|
|
|
|
|
from utils import *
|
1999-08-23 14:00:34 -04:00
|
|
|
import wx
|
2001-05-18 01:20:01 -04:00
|
|
|
class wxGLContextPtr(wxObjectPtr):
|
1999-08-23 14:00:34 -04:00
|
|
|
def __init__(self,this):
|
|
|
|
self.this = this
|
|
|
|
self.thisown = 0
|
1999-08-24 08:51:54 -04:00
|
|
|
def __del__(self,glcanvasc=glcanvasc):
|
1999-08-23 14:00:34 -04:00
|
|
|
if self.thisown == 1 :
|
1999-08-24 08:51:54 -04:00
|
|
|
glcanvasc.delete_wxGLContext(self)
|
|
|
|
def SetCurrent(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_SetCurrent,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def SetColour(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_SetColour,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def SwapBuffers(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_SwapBuffers,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def SetupPixelFormat(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_SetupPixelFormat,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def SetupPalette(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_SetupPalette,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def CreateDefaultPalette(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_CreateDefaultPalette,(self,) + _args, _kwargs)
|
|
|
|
if val: val = wxPalettePtr(val) ; val.thisown = 1
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def GetPalette(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_GetPalette,(self,) + _args, _kwargs)
|
|
|
|
if val: val = wxPalettePtr(val)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def GetWindow(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLContext_GetWindow,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
|
|
|
def __repr__(self):
|
1999-08-24 08:51:54 -04:00
|
|
|
return "<C wxGLContext instance at %s>" % (self.this,)
|
1999-08-23 14:00:34 -04:00
|
|
|
class wxGLContext(wxGLContextPtr):
|
1999-08-24 08:51:54 -04:00
|
|
|
def __init__(self,*_args,**_kwargs):
|
|
|
|
self.this = apply(glcanvasc.new_wxGLContext,_args,_kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class wxGLCanvasPtr(wxScrolledWindowPtr):
|
|
|
|
def __init__(self,this):
|
|
|
|
self.this = this
|
|
|
|
self.thisown = 0
|
1999-08-24 08:51:54 -04:00
|
|
|
def SetCurrent(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLCanvas_SetCurrent,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def SetColour(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLCanvas_SetColour,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def SwapBuffers(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLCanvas_SwapBuffers,(self,) + _args, _kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
1999-08-24 08:51:54 -04:00
|
|
|
def GetContext(self, *_args, **_kwargs):
|
|
|
|
val = apply(glcanvasc.wxGLCanvas_GetContext,(self,) + _args, _kwargs)
|
|
|
|
if val: val = wxGLContextPtr(val)
|
1999-08-23 14:00:34 -04:00
|
|
|
return val
|
|
|
|
def __repr__(self):
|
1999-08-24 08:51:54 -04:00
|
|
|
return "<C wxGLCanvas instance at %s>" % (self.this,)
|
1999-08-23 14:00:34 -04:00
|
|
|
class wxGLCanvas(wxGLCanvasPtr):
|
1999-08-24 08:51:54 -04:00
|
|
|
def __init__(self,*_args,**_kwargs):
|
|
|
|
self.this = apply(glcanvasc.new_wxGLCanvas,_args,_kwargs)
|
1999-08-23 14:00:34 -04:00
|
|
|
self.thisown = 1
|
2001-10-12 20:41:21 -04:00
|
|
|
self._setOORInfo(self)
|
1999-08-23 14:00:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2001-10-12 20:41:21 -04:00
|
|
|
def wxGLCanvasWithContext(*_args,**_kwargs):
|
|
|
|
val = wxGLCanvasPtr(apply(glcanvasc.new_wxGLCanvasWithContext,_args,_kwargs))
|
|
|
|
val.thisown = 1
|
|
|
|
val._setOORInfo(self)
|
|
|
|
return val
|
|
|
|
|
1999-08-23 14:00:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#-------------- FUNCTION WRAPPERS ------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#-------------- VARIABLE WRAPPERS ------------------
|
|
|
|
|