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

wxErlang
Reference Manual
Version 0.98.4


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::wxWindow() (see module wxWindow)) -> wxGLCanvas()

Equivalent to new(Parent, []).

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

See external documentation.
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)}

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

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

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

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

Destroys this object, do not use object again