wxGLCanvas.3erl

Langue: en

Autres versions - même langue

Version: 299314 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

wxGLCanvas - See external documentation: wxGLCanvas.

DESCRIPTION

See external documentation: wxGLCanvas <http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html>.

This class is derived (and can use functions) from:
wxWindow
wxEvtHandler

DATA TYPES

wxGLCanvas():

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new(Parent::wxWindow() (see module wxWindow)) -> wxGLCanvas()


Equivalent to new(Parent, []).

new(Parent::wxWindow() (see module wxWindow), X::term()) -> wxGLCanvas()


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvaswxglcanvas>.

 Alternatives: 
new(Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas()) -> new(Parent, Shared, [])
new(Parent::wxWindow:wxWindow(), [Option]) -> wxGLCanvas()

 Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()} 

new(Parent::wxWindow() (see module wxWindow), Shared::wxGLContext() (see module wxGLContext) | wxGLCanvas(), Options::[Option]) -> wxGLCanvas()

Types
Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette() (see module wxPalette)}

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvaswxglcanvas>.

getContext(This::wxGLCanvas()) -> wxGLContext() (see module wxGLContext)


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvasgetcontext>.

setCurrent(This::wxGLCanvas()) -> ok


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvassetcurrent>.

swapBuffers(This::wxGLCanvas()) -> ok


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvasswapbuffers>.

destroy(This::wxGLCanvas()) -> ok


Destroys this object, do not use object again