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 new(Parent, Shared::[Option]) -> wxGLCanvas()
34
35 Types:
36
37 Parent = wxWindow:wxWindow()
38 Shared = wx:wx_object() | wxGLCanvas()
39 Parent = wxWindow:wxWindow()
40 Option = {id, integer()} | {pos, {X::integer(), Y::inte‐
41 ger()}} | {size, {W::integer(), H::integer()}} | {style,
42 integer()} | {name, unicode:chardata()} | {attribList, [inte‐
43 ger()]} | {palette, wxPalette:wxPalette()}
44
45 See external documentation.
46 Also:
47 new(Parent, [Option]) -> wxGLCanvas() when
48 Parent::wxWindow:wxWindow(),
49 Option :: {'id', integer()}
50 | {'pos', {X::integer(), Y::integer()}}
51 | {'size', {W::integer(), H::integer()}}
52 | {'style', integer()}
53 | {'name', unicode:chardata()}
54 | {'attribList', [integer()]}
55 | {'palette', wxPalette:wxPalette()}.
56
57
58 new(Parent, Shared, Options::[Option]) -> wxGLCanvas()
59
60 Types:
61
62 Parent = wxWindow:wxWindow()
63 Shared = wx:wx_object() | wxGLCanvas()
64 Option = {id, integer()} | {pos, {X::integer(), Y::inte‐
65 ger()}} | {size, {W::integer(), H::integer()}} | {style,
66 integer()} | {name, unicode:chardata()} | {attribList, [inte‐
67 ger()]} | {palette, wxPalette:wxPalette()}
68
69 See external documentation.
70
71 getContext(This) -> wx:wx_object()
72
73 Types:
74
75 This = wxGLCanvas()
76
77 See external documentation.
78
79 setCurrent(This) -> ok
80
81 Types:
82
83 This = wxGLCanvas()
84
85 See external documentation.
86
87 swapBuffers(This) -> ok
88
89 Types:
90
91 This = wxGLCanvas()
92
93 See external documentation.
94
95 destroy(This::wxGLCanvas()) -> ok
96
97 Destroys this object, do not use object again
98
100 <>
101
102
103
104 wx 1.9.3 wxGLCanvas(3)