table of contents
- buster 1:21.2.6+dfsg-1
- testing 1:23.2.6+dfsg-1
- unstable 1:23.2.6+dfsg-1
- experimental 1:24.0.5+dfsg-1
wxTextCtrl(3erl) | Erlang Module Definition | wxTextCtrl(3erl) |
NAME¶
wxTextCtrl - See external documentation: wxTextCtrl.DESCRIPTION¶
See external documentation: wxTextCtrl.This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
DATA TYPES¶
- wxTextCtrl():
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() -> wxTextCtrl()See external documentation.
new(Parent, Id) -> wxTextCtrl()
Types:
Id = integer()
Equivalent to new(Parent, Id, []).
new(Parent, Id, Options::[Option]) ->
wxTextCtrl()
Types:
Id = integer()
Option = {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()}
See external documentation.
appendText(This, Text) -> ok
Types:
Text = unicode:chardata()
See external documentation.
canCopy(This) -> boolean()
Types:
See external documentation.
canCut(This) -> boolean()
Types:
See external documentation.
canPaste(This) -> boolean()
Types:
See external documentation.
canRedo(This) -> boolean()
Types:
See external documentation.
canUndo(This) -> boolean()
Types:
See external documentation.
clear(This) -> ok
Types:
See external documentation.
copy(This) -> ok
Types:
See external documentation.
create(This, Parent, Id) -> boolean()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Equivalent to create(This, Parent, Id, []).
create(This, Parent, Id, Options::[Option]) -> boolean()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Option = {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()}
See external documentation.
cut(This) -> ok
Types:
See external documentation.
discardEdits(This) -> ok
Types:
See external documentation.
changeValue(This, Value) -> ok
Types:
Value = unicode:chardata()
See external documentation.
emulateKeyPress(This, Event) -> boolean()
Types:
Event = wxKeyEvent:wxKeyEvent()
See external documentation.
getDefaultStyle(This) -> wxTextAttr:wxTextAttr()
Types:
See external documentation.
getInsertionPoint(This) -> integer()
Types:
See external documentation.
getLastPosition(This) -> integer()
Types:
See external documentation.
getLineLength(This, LineNo) -> integer()
Types:
LineNo = integer()
See external documentation.
getLineText(This, LineNo) -> unicode:charlist()
Types:
LineNo = integer()
See external documentation.
getNumberOfLines(This) -> integer()
Types:
See external documentation.
getRange(This, From, To) -> unicode:charlist()
Types:
From = integer()
To = integer()
See external documentation.
getSelection(This) -> {From::integer(), To::integer()}
Types:
See external documentation.
getStringSelection(This) -> unicode:charlist()
Types:
See external documentation.
getStyle(This, Position, Style) -> boolean()
Types:
Position = integer()
Style = wxTextAttr:wxTextAttr()
See external documentation.
getValue(This) -> unicode:charlist()
Types:
See external documentation.
isEditable(This) -> boolean()
Types:
See external documentation.
isModified(This) -> boolean()
Types:
See external documentation.
isMultiLine(This) -> boolean()
Types:
See external documentation.
isSingleLine(This) -> boolean()
Types:
See external documentation.
loadFile(This, File) -> boolean()
Types:
File = unicode:chardata()
Equivalent to loadFile(This, File, []).
loadFile(This, File, Options::[Option]) -> boolean()
Types:
File = unicode:chardata()
Option = {fileType, integer()}
See external documentation.
markDirty(This) -> ok
Types:
See external documentation.
paste(This) -> ok
Types:
See external documentation.
positionToXY(This, Pos) -> Result
Types:
This = wxTextCtrl()
Pos = integer()
See external documentation.
redo(This) -> ok
Types:
See external documentation.
remove(This, From, To) -> ok
Types:
From = integer()
To = integer()
See external documentation.
replace(This, From, To, Value) -> ok
Types:
From = integer()
To = integer()
Value = unicode:chardata()
See external documentation.
saveFile(This) -> boolean()
Types:
Equivalent to saveFile(This, []).
saveFile(This, Options::[Option]) -> boolean()
Types:
Option = {file, unicode:chardata()} | {fileType, integer()}
See external documentation.
setDefaultStyle(This, Style) -> boolean()
Types:
Style = wxTextAttr:wxTextAttr()
See external documentation.
setEditable(This, Editable) -> ok
Types:
Editable = boolean()
See external documentation.
setInsertionPoint(This, Pos) -> ok
Types:
Pos = integer()
See external documentation.
setInsertionPointEnd(This) -> ok
Types:
See external documentation.
setMaxLength(This, Len) -> ok
Types:
Len = integer()
See external documentation.
setSelection(This, From, To) -> ok
Types:
From = integer()
To = integer()
See external documentation.
setStyle(This, Start, End, Style) -> boolean()
Types:
Start = integer()
End = integer()
Style = wxTextAttr:wxTextAttr()
See external documentation.
setValue(This, Value) -> ok
Types:
Value = unicode:chardata()
See external documentation.
showPosition(This, Pos) -> ok
Types:
Pos = integer()
See external documentation.
undo(This) -> ok
Types:
See external documentation.
writeText(This, Text) -> ok
Types:
Text = unicode:chardata()
See external documentation.
xYToPosition(This, X, Y) -> integer()
Types:
X = integer()
Y = integer()
See external documentation.
destroy(This::wxTextCtrl()) -> ok
Destroys this object, do not use object again
AUTHORS¶
<>wx 1.8.6 |