table of contents
other versions
- jessie 1:17.3-dfsg-4+deb8u2
- jessie-backports 1:19.2.1+dfsg-2+deb9u1~bpo8+1
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.5+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0~rc1+dfsg-1
wxGLCanvas(3erl) | Erlang Module Definition | wxGLCanvas(3erl) |
NAME¶
wxGLCanvas - See external documentation: wxGLCanvas.DESCRIPTION¶
See external documentation: wxGLCanvas. This class is derived (and can use functions) from: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) -> wxGLCanvas()
Types:
Parent = wxWindow:wxWindow()
Equivalent to new(Parent, []).
new(Parent, Shared) -> wxGLCanvas()
Types:
Parent = wxWindow:wxWindow()
Shared = wx:wx_object() | wxGLCanvas()
See external documentation.
Also:
new(Parent, [Option]) -> wxGLCanvas() when
Parent::wxWindow:wxWindow(),
Option :: {'id', integer()}
| {'pos', {X::integer(), Y::integer()}}
| {'size', {W::integer(), H::integer()}}
| {'style', integer()}
| {'name', unicode:chardata()}
| {'attribList', [integer()]}
| {'palette', wxPalette:wxPalette()}.
new(Parent, Shared, Options::[Option]) -> wxGLCanvas()
Types:
Parent = wxWindow:wxWindow()
Shared = wx:wx_object() | wxGLCanvas()
Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size,
{W::integer(), H::integer()}} | {style, integer()} | {name,
unicode:chardata()} | {attribList, [integer()]} | {palette,
wxPalette:wxPalette()}
See external documentation.
getContext(This) -> wx:wx_object()
Types:
This = wxGLCanvas()
See external documentation.
setCurrent(This) -> ok
Types:
This = wxGLCanvas()
See external documentation.
swapBuffers(This) -> ok
Types:
This = wxGLCanvas()
See external documentation.
destroy(This::wxGLCanvas()) -> ok
Destroys this object, do not use object again
AUTHORS¶
<>wx 1.8 |