1wxGridBagSizer(3) Erlang Module Definition wxGridBagSizer(3)
2
3
4
6 wxGridBagSizer - See external documentation: wxGridBagSizer.
7
9 See external documentation: wxGridBagSizer.
10
11 This class is derived (and can use functions) from:
12 wxFlexGridSizer
13 wxGridSizer
14 wxSizer
15
17 wxGridBagSizer():
18
19
20 An object reference, The representation is internal and can be
21 changed without notice. It can't be used for comparsion stored on
22 disc or distributed for use on other nodes.
23
25 new() -> wxGridBagSizer()
26
27 Equivalent to new([]).
28
29 new(Options::[Option]) -> wxGridBagSizer()
30
31 Types:
32
33 Option = {vgap, integer()} | {hgap, integer()}
34
35 See external documentation.
36
37 add(This, Item) -> wxSizerItem:wxSizerItem()
38
39 Types:
40
41 This = wxGridBagSizer()
42 Item = wxSizerItem:wxSizerItem() | wxGBSizerItem:wxGB‐
43 SizerItem()
44
45 See external documentation.
46
47 add(This, Width, Height) -> wxSizerItem:wxSizerItem()
48
49 Types:
50
51 This = wxGridBagSizer()
52 Width = integer()
53 Height = integer()
54
55 See external documentation.
56 Also:
57 add(This, Window, Pos) -> wxSizerItem:wxSizerItem() when
58 This::wxGridBagSizer(), Window::wxWindow:wxWindow() |
59 wxSizer:wxSizer(), Pos::{R::integer(), C::integer()};
60 (This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
61 This::wxGridBagSizer(), Window::wxWindow:wxWindow() |
62 wxSizer:wxSizer(),
63 Option :: {'proportion', integer()}
64 | {'flag', integer()}
65 | {'border', integer()}
66 | {'userData', wx:wx_object()}.
67
68
69 add(This, Width, Height, Pos) -> wxSizerItem:wxSizerItem()
70
71 Types:
72
73 This = wxGridBagSizer()
74 Width = integer()
75 Height = integer()
76 Pos = {R::integer(), C::integer()}
77
78 See external documentation.
79 Also:
80 add(This, Width, Height, [Option]) -> wxSizerItem:wxSizerItem()
81 when
82 This::wxGridBagSizer(), Width::integer(), Height::integer(),
83 Option :: {'proportion', integer()}
84 | {'flag', integer()}
85 | {'border', integer()}
86 | {'userData', wx:wx_object()};
87 (This, Window, Pos, [Option]) -> wxSizerItem:wxSizerItem() when
88 This::wxGridBagSizer(), Window::wxWindow:wxWindow() |
89 wxSizer:wxSizer(), Pos::{R::integer(), C::integer()},
90 Option :: {'span', {RS::integer(), CS::integer()}}
91 | {'flag', integer()}
92 | {'border', integer()}
93 | {'userData', wx:wx_object()}.
94
95
96 add(This, Width, Height, Pos, Options::[Option]) ->
97 wxSizerItem:wxSizerItem()
98
99 Types:
100
101 This = wxGridBagSizer()
102 Width = integer()
103 Height = integer()
104 Pos = {R::integer(), C::integer()}
105 Option = {span, {RS::integer(), CS::integer()}} | {flag,
106 integer()} | {border, integer()} | {userData, wx:wx_object()}
107
108 See external documentation.
109
110 calcMin(This) -> {W::integer(), H::integer()}
111
112 Types:
113
114 This = wxGridBagSizer()
115
116 See external documentation.
117
118 checkForIntersection(This, Item) -> boolean()
119
120 Types:
121
122 This = wxGridBagSizer()
123 Item = wxGBSizerItem:wxGBSizerItem()
124
125 Equivalent to checkForIntersection(This, Item, []).
126
127 checkForIntersection(This, Pos, Span) -> boolean()
128
129 Types:
130
131 This = wxGridBagSizer()
132 Pos = {R::integer(), C::integer()}
133 Span = {RS::integer(), CS::integer()}
134
135 See external documentation.
136 Also:
137 checkForIntersection(This, Item, [Option]) -> boolean() when
138 This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(),
139 Option :: {'excludeItem', wxGBSizerItem:wxGBSizerItem()}.
140
141
142 checkForIntersection(This, Pos, Span, Options::[Option]) -> boolean()
143
144 Types:
145
146 This = wxGridBagSizer()
147 Pos = {R::integer(), C::integer()}
148 Span = {RS::integer(), CS::integer()}
149 Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()}
150
151 See external documentation.
152
153 findItem(This, Window) -> wxGBSizerItem:wxGBSizerItem()
154
155 Types:
156
157 This = wxGridBagSizer()
158 Window = wxWindow:wxWindow() | wxSizer:wxSizer()
159
160 See external documentation.
161
162 findItemAtPoint(This, Pt) -> wxGBSizerItem:wxGBSizerItem()
163
164 Types:
165
166 This = wxGridBagSizer()
167 Pt = {X::integer(), Y::integer()}
168
169 See external documentation.
170
171 findItemAtPosition(This, Pos) -> wxGBSizerItem:wxGBSizerItem()
172
173 Types:
174
175 This = wxGridBagSizer()
176 Pos = {R::integer(), C::integer()}
177
178 See external documentation.
179
180 findItemWithData(This, UserData) -> wxGBSizerItem:wxGBSizerItem()
181
182 Types:
183
184 This = wxGridBagSizer()
185 UserData = wx:wx_object()
186
187 See external documentation.
188
189 getCellSize(This, Row, Col) -> {W::integer(), H::integer()}
190
191 Types:
192
193 This = wxGridBagSizer()
194 Row = integer()
195 Col = integer()
196
197 See external documentation.
198
199 getEmptyCellSize(This) -> {W::integer(), H::integer()}
200
201 Types:
202
203 This = wxGridBagSizer()
204
205 See external documentation.
206
207 getItemPosition(This, Index) -> {R::integer(), C::integer()}
208
209 Types:
210
211 This = wxGridBagSizer()
212 Index = integer()
213
214 See external documentation.
215 Also:
216 getItemPosition(This, Window) -> {R::integer(), C::integer()}
217 when
218 This::wxGridBagSizer(), Window::wxWindow:wxWindow() |
219 wxSizer:wxSizer().
220
221
222 getItemSpan(This, Index) -> {RS::integer(), CS::integer()}
223
224 Types:
225
226 This = wxGridBagSizer()
227 Index = integer()
228
229 See external documentation.
230 Also:
231 getItemSpan(This, Window) -> {RS::integer(), CS::integer()} when
232 This::wxGridBagSizer(), Window::wxWindow:wxWindow() |
233 wxSizer:wxSizer().
234
235
236 setEmptyCellSize(This, Sz) -> ok
237
238 Types:
239
240 This = wxGridBagSizer()
241 Sz = {W::integer(), H::integer()}
242
243 See external documentation.
244
245 setItemPosition(This, Index, Pos) -> boolean()
246
247 Types:
248
249 This = wxGridBagSizer()
250 Index = integer()
251 Pos = {R::integer(), C::integer()}
252
253 See external documentation.
254 Also:
255 setItemPosition(This, Window, Pos) -> boolean() when
256 This::wxGridBagSizer(), Window::wxWindow:wxWindow() |
257 wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}.
258
259
260 setItemSpan(This, Index, Span) -> boolean()
261
262 Types:
263
264 This = wxGridBagSizer()
265 Index = integer()
266 Span = {RS::integer(), CS::integer()}
267
268 See external documentation.
269 Also:
270 setItemSpan(This, Window, Span) -> boolean() when
271 This::wxGridBagSizer(), Window::wxWindow:wxWindow() |
272 wxSizer:wxSizer(), Span::{RS::integer(), CS::integer()}.
273
274
275 destroy(This::wxGridBagSizer()) -> ok
276
277 Destroys this object, do not use object again
278
280 <>
281
282
283
284 wx 1.8.9 wxGridBagSizer(3)