1wxTextCtrl(3)              Erlang Module Definition              wxTextCtrl(3)
2
3
4

NAME

6       wxTextCtrl - See external documentation: wxTextCtrl.
7

DESCRIPTION

9       See external documentation: wxTextCtrl.
10
11       This class is derived (and can use functions) from:
12       wxControl
13       wxWindow
14       wxEvtHandler
15

DATA TYPES

17         wxTextCtrl():
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

EXPORTS

25       new() -> wxTextCtrl()
26
27              See external documentation.
28
29       new(Parent, Id) -> wxTextCtrl()
30
31              Types:
32
33                 Parent = wxWindow:wxWindow()
34                 Id = integer()
35
36              Equivalent to new(Parent, Id, []).
37
38       new(Parent, Id, Options::[Option]) -> wxTextCtrl()
39
40              Types:
41
42                 Parent = wxWindow:wxWindow()
43                 Id = integer()
44                 Option  =  {value, unicode:chardata()} | {pos, {X::integer(),
45                 Y::integer()}}  |  {size,  {W::integer(),  H::integer()}}   |
46                 {style, integer()} | {validator, wx:wx_object()}
47
48              See external documentation.
49
50       appendText(This, Text) -> ok
51
52              Types:
53
54                 This = wxTextCtrl()
55                 Text = unicode:chardata()
56
57              See external documentation.
58
59       canCopy(This) -> boolean()
60
61              Types:
62
63                 This = wxTextCtrl()
64
65              See external documentation.
66
67       canCut(This) -> boolean()
68
69              Types:
70
71                 This = wxTextCtrl()
72
73              See external documentation.
74
75       canPaste(This) -> boolean()
76
77              Types:
78
79                 This = wxTextCtrl()
80
81              See external documentation.
82
83       canRedo(This) -> boolean()
84
85              Types:
86
87                 This = wxTextCtrl()
88
89              See external documentation.
90
91       canUndo(This) -> boolean()
92
93              Types:
94
95                 This = wxTextCtrl()
96
97              See external documentation.
98
99       clear(This) -> ok
100
101              Types:
102
103                 This = wxTextCtrl()
104
105              See external documentation.
106
107       copy(This) -> ok
108
109              Types:
110
111                 This = wxTextCtrl()
112
113              See external documentation.
114
115       create(This, Parent, Id) -> boolean()
116
117              Types:
118
119                 This = wxTextCtrl()
120                 Parent = wxWindow:wxWindow()
121                 Id = integer()
122
123              Equivalent to create(This, Parent, Id, []).
124
125       create(This, Parent, Id, Options::[Option]) -> boolean()
126
127              Types:
128
129                 This = wxTextCtrl()
130                 Parent = wxWindow:wxWindow()
131                 Id = integer()
132                 Option  =  {value, unicode:chardata()} | {pos, {X::integer(),
133                 Y::integer()}}  |  {size,  {W::integer(),  H::integer()}}   |
134                 {style, integer()} | {validator, wx:wx_object()}
135
136              See external documentation.
137
138       cut(This) -> ok
139
140              Types:
141
142                 This = wxTextCtrl()
143
144              See external documentation.
145
146       discardEdits(This) -> ok
147
148              Types:
149
150                 This = wxTextCtrl()
151
152              See external documentation.
153
154       changeValue(This, Value) -> ok
155
156              Types:
157
158                 This = wxTextCtrl()
159                 Value = unicode:chardata()
160
161              See external documentation.
162
163       emulateKeyPress(This, Event) -> boolean()
164
165              Types:
166
167                 This = wxTextCtrl()
168                 Event = wxKeyEvent:wxKeyEvent()
169
170              See external documentation.
171
172       getDefaultStyle(This) -> wxTextAttr:wxTextAttr()
173
174              Types:
175
176                 This = wxTextCtrl()
177
178              See external documentation.
179
180       getInsertionPoint(This) -> integer()
181
182              Types:
183
184                 This = wxTextCtrl()
185
186              See external documentation.
187
188       getLastPosition(This) -> integer()
189
190              Types:
191
192                 This = wxTextCtrl()
193
194              See external documentation.
195
196       getLineLength(This, LineNo) -> integer()
197
198              Types:
199
200                 This = wxTextCtrl()
201                 LineNo = integer()
202
203              See external documentation.
204
205       getLineText(This, LineNo) -> unicode:charlist()
206
207              Types:
208
209                 This = wxTextCtrl()
210                 LineNo = integer()
211
212              See external documentation.
213
214       getNumberOfLines(This) -> integer()
215
216              Types:
217
218                 This = wxTextCtrl()
219
220              See external documentation.
221
222       getRange(This, From, To) -> unicode:charlist()
223
224              Types:
225
226                 This = wxTextCtrl()
227                 From = integer()
228                 To = integer()
229
230              See external documentation.
231
232       getSelection(This) -> {From::integer(), To::integer()}
233
234              Types:
235
236                 This = wxTextCtrl()
237
238              See external documentation.
239
240       getStringSelection(This) -> unicode:charlist()
241
242              Types:
243
244                 This = wxTextCtrl()
245
246              See external documentation.
247
248       getStyle(This, Position, Style) -> boolean()
249
250              Types:
251
252                 This = wxTextCtrl()
253                 Position = integer()
254                 Style = wxTextAttr:wxTextAttr()
255
256              See external documentation.
257
258       getValue(This) -> unicode:charlist()
259
260              Types:
261
262                 This = wxTextCtrl()
263
264              See external documentation.
265
266       isEditable(This) -> boolean()
267
268              Types:
269
270                 This = wxTextCtrl()
271
272              See external documentation.
273
274       isModified(This) -> boolean()
275
276              Types:
277
278                 This = wxTextCtrl()
279
280              See external documentation.
281
282       isMultiLine(This) -> boolean()
283
284              Types:
285
286                 This = wxTextCtrl()
287
288              See external documentation.
289
290       isSingleLine(This) -> boolean()
291
292              Types:
293
294                 This = wxTextCtrl()
295
296              See external documentation.
297
298       loadFile(This, File) -> boolean()
299
300              Types:
301
302                 This = wxTextCtrl()
303                 File = unicode:chardata()
304
305              Equivalent to loadFile(This, File, []).
306
307       loadFile(This, File, Options::[Option]) -> boolean()
308
309              Types:
310
311                 This = wxTextCtrl()
312                 File = unicode:chardata()
313                 Option = {fileType, integer()}
314
315              See external documentation.
316
317       markDirty(This) -> ok
318
319              Types:
320
321                 This = wxTextCtrl()
322
323              See external documentation.
324
325       paste(This) -> ok
326
327              Types:
328
329                 This = wxTextCtrl()
330
331              See external documentation.
332
333       positionToXY(This, Pos) -> Result
334
335              Types:
336
337                 Result = {Res::boolean(), X::integer(), Y::integer()}
338                 This = wxTextCtrl()
339                 Pos = integer()
340
341              See external documentation.
342
343       redo(This) -> ok
344
345              Types:
346
347                 This = wxTextCtrl()
348
349              See external documentation.
350
351       remove(This, From, To) -> ok
352
353              Types:
354
355                 This = wxTextCtrl()
356                 From = integer()
357                 To = integer()
358
359              See external documentation.
360
361       replace(This, From, To, Value) -> ok
362
363              Types:
364
365                 This = wxTextCtrl()
366                 From = integer()
367                 To = integer()
368                 Value = unicode:chardata()
369
370              See external documentation.
371
372       saveFile(This) -> boolean()
373
374              Types:
375
376                 This = wxTextCtrl()
377
378              Equivalent to saveFile(This, []).
379
380       saveFile(This, Options::[Option]) -> boolean()
381
382              Types:
383
384                 This = wxTextCtrl()
385                 Option = {file, unicode:chardata()} | {fileType, integer()}
386
387              See external documentation.
388
389       setDefaultStyle(This, Style) -> boolean()
390
391              Types:
392
393                 This = wxTextCtrl()
394                 Style = wxTextAttr:wxTextAttr()
395
396              See external documentation.
397
398       setEditable(This, Editable) -> ok
399
400              Types:
401
402                 This = wxTextCtrl()
403                 Editable = boolean()
404
405              See external documentation.
406
407       setInsertionPoint(This, Pos) -> ok
408
409              Types:
410
411                 This = wxTextCtrl()
412                 Pos = integer()
413
414              See external documentation.
415
416       setInsertionPointEnd(This) -> ok
417
418              Types:
419
420                 This = wxTextCtrl()
421
422              See external documentation.
423
424       setMaxLength(This, Len) -> ok
425
426              Types:
427
428                 This = wxTextCtrl()
429                 Len = integer()
430
431              See external documentation.
432
433       setSelection(This, From, To) -> ok
434
435              Types:
436
437                 This = wxTextCtrl()
438                 From = integer()
439                 To = integer()
440
441              See external documentation.
442
443       setStyle(This, Start, End, Style) -> boolean()
444
445              Types:
446
447                 This = wxTextCtrl()
448                 Start = integer()
449                 End = integer()
450                 Style = wxTextAttr:wxTextAttr()
451
452              See external documentation.
453
454       setValue(This, Value) -> ok
455
456              Types:
457
458                 This = wxTextCtrl()
459                 Value = unicode:chardata()
460
461              See external documentation.
462
463       showPosition(This, Pos) -> ok
464
465              Types:
466
467                 This = wxTextCtrl()
468                 Pos = integer()
469
470              See external documentation.
471
472       undo(This) -> ok
473
474              Types:
475
476                 This = wxTextCtrl()
477
478              See external documentation.
479
480       writeText(This, Text) -> ok
481
482              Types:
483
484                 This = wxTextCtrl()
485                 Text = unicode:chardata()
486
487              See external documentation.
488
489       xYToPosition(This, X, Y) -> integer()
490
491              Types:
492
493                 This = wxTextCtrl()
494                 X = integer()
495                 Y = integer()
496
497              See external documentation.
498
499       destroy(This::wxTextCtrl()) -> ok
500
501              Destroys this object, do not use object again
502

AUTHORS

504       <>
505
506
507
508                                   wx 1.9.3                      wxTextCtrl(3)
Impressum