Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.2


Expand All
Contract All

Table of Contents

wxGLCanvas

MODULE

wxGLCanvas

MODULE SUMMARY

See external documentation: wxGLCanvas.

DESCRIPTION

See external documentation: wxGLCanvas.

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) -> wxGLCanvas()

Types:

Parent = wxWindow() (see module wxWindow)

Equivalent to new(Parent, []).

new(Parent, Shared) -> wxGLCanvas()

Types:

Parent = wxWindow() (see module wxWindow)
Shared = wx_object() (see module wx) | 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, Option::[Option]) -> wxGLCanvas()

Types:

Parent = wxWindow() (see module wxWindow)
Shared = wx_object() (see module wx) | wxGLCanvas()
Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {name, chardata() (see module unicode)} | {attribList, [integer()]} | {palette, wxPalette() (see module wxPalette)}

getContext(This) -> wx_object() (see module wx)

Types:

This = wxGLCanvas()

setCurrent(This) -> ok

Types:

This = wxGLCanvas()

swapBuffers(This) -> ok

Types:

This = wxGLCanvas()

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

Destroys this object, do not use object again