1wxGLCanvas(3) Erlang Module Definition wxGLCanvas(3)
2
3
4
6 wxGLCanvas - See external documentation: wxGLCanvas.
7
9 See external documentation: wxGLCanvas.
10
11 This class is derived (and can use functions) from:
12 wxWindow
13 wxEvtHandler
14
16 wxGLCanvas():
17
18
19 An object reference, The representation is internal and can be
20 changed without notice. It can't be used for comparsion stored on
21 disc or distributed for use on other nodes.
22
24 new(Parent) -> wxGLCanvas()
25
26 Types:
27
28 Parent = wxWindow:wxWindow()
29
30 Equivalent to new(Parent, []).
31
32 new(Parent, Shared) -> wxGLCanvas()
33
34 Types:
35
36 Parent = wxWindow:wxWindow()
37 Shared = wx:wx_object() | wxGLCanvas()
38
39 See external documentation.
40 Also:
41 new(Parent, [Option]) -> wxGLCanvas() when
42 Parent::wxWindow:wxWindow(),
43 Option :: {'id', integer()}
44 | {'pos', {X::integer(), Y::integer()}}
45 | {'size', {W::integer(), H::integer()}}
46 | {'style', integer()}
47 | {'name', unicode:chardata()}
48 | {'attribList', [integer()]}
49 | {'palette', wxPalette:wxPalette()}.
50
51
52 new(Parent, Shared, Options::[Option]) -> wxGLCanvas()
53
54 Types:
55
56 Parent = wxWindow:wxWindow()
57 Shared = wx:wx_object() | wxGLCanvas()
58 Option = {id, integer()} | {pos, {X::integer(), Y::inte‐
59 ger()}} | {size, {W::integer(), H::integer()}} | {style,
60 integer()} | {name, unicode:chardata()} | {attribList, [inte‐
61 ger()]} | {palette, wxPalette:wxPalette()}
62
63 See external documentation.
64
65 getContext(This) -> wx:wx_object()
66
67 Types:
68
69 This = wxGLCanvas()
70
71 See external documentation.
72
73 setCurrent(This) -> ok
74
75 Types:
76
77 This = wxGLCanvas()
78
79 See external documentation.
80
81 swapBuffers(This) -> ok
82
83 Types:
84
85 This = wxGLCanvas()
86
87 See external documentation.
88
89 destroy(This::wxGLCanvas()) -> ok
90
91 Destroys this object, do not use object again
92
94 <>
95
96
97
98 wx 1.9 wxGLCanvas(3)