wxTextCtrl
See external documentation: wxTextCtrl.
See external documentation:
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
Functions
new() -> wxTextCtrl()
See
new(Parent, Id) -> wxTextCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Equivalent to new(Parent, Id, []).
new(Parent, Id, Options::[Option]) -> wxTextCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {value, chardata() (see module unicode)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}
See
appendText(This, Text) -> ok
This = wxTextCtrl()
Text = chardata() (see module unicode)
See
canCopy(This) -> boolean()
This = wxTextCtrl()
See
canCut(This) -> boolean()
This = wxTextCtrl()
See
canPaste(This) -> boolean()
This = wxTextCtrl()
See
canRedo(This) -> boolean()
This = wxTextCtrl()
See
canUndo(This) -> boolean()
This = wxTextCtrl()
See
clear(This) -> ok
This = wxTextCtrl()
See
copy(This) -> ok
This = wxTextCtrl()
See
create(This, Parent, Id) -> boolean()
This = wxTextCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Equivalent to create(This, Parent, Id, []).
create(This, Parent, Id, Options::[Option]) -> boolean()
This = wxTextCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {value, chardata() (see module unicode)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}
See
cut(This) -> ok
This = wxTextCtrl()
See
discardEdits(This) -> ok
This = wxTextCtrl()
See
changeValue(This, Value) -> ok
This = wxTextCtrl()
Value = chardata() (see module unicode)
See
emulateKeyPress(This, Event) -> boolean()
This = wxTextCtrl()
Event = wxKeyEvent() (see module wxKeyEvent)
See
getDefaultStyle(This) -> wxTextAttr() (see module wxTextAttr)
This = wxTextCtrl()
See
getInsertionPoint(This) -> integer()
This = wxTextCtrl()
See
getLastPosition(This) -> integer()
This = wxTextCtrl()
See
getLineLength(This, LineNo) -> integer()
This = wxTextCtrl()
LineNo = integer()
See
getLineText(This, LineNo) -> charlist() (see module unicode)
This = wxTextCtrl()
LineNo = integer()
See
getNumberOfLines(This) -> integer()
This = wxTextCtrl()
See
getRange(This, From, To) -> charlist() (see module unicode)
This = wxTextCtrl()
From = integer()
To = integer()
See
getSelection(This) -> {From::integer(), To::integer()}
This = wxTextCtrl()
See
getStringSelection(This) -> charlist() (see module unicode)
This = wxTextCtrl()
See
getStyle(This, Position, Style) -> boolean()
This = wxTextCtrl()
Position = integer()
Style = wxTextAttr() (see module wxTextAttr)
See
getValue(This) -> charlist() (see module unicode)
This = wxTextCtrl()
See
isEditable(This) -> boolean()
This = wxTextCtrl()
See
isModified(This) -> boolean()
This = wxTextCtrl()
See
isMultiLine(This) -> boolean()
This = wxTextCtrl()
See
isSingleLine(This) -> boolean()
This = wxTextCtrl()
See
loadFile(This, File) -> boolean()
This = wxTextCtrl()
File = chardata() (see module unicode)
Equivalent to loadFile(This, File, []).
loadFile(This, File, Options::[Option]) -> boolean()
This = wxTextCtrl()
File = chardata() (see module unicode)
Option = {fileType, integer()}
See
markDirty(This) -> ok
This = wxTextCtrl()
See
paste(This) -> ok
This = wxTextCtrl()
See
positionToXY(This, Pos) -> Result
Result = {Res::boolean(), X::integer(), Y::integer()}
This = wxTextCtrl()
Pos = integer()
See
redo(This) -> ok
This = wxTextCtrl()
See
remove(This, From, To) -> ok
This = wxTextCtrl()
From = integer()
To = integer()
See
replace(This, From, To, Value) -> ok
This = wxTextCtrl()
From = integer()
To = integer()
Value = chardata() (see module unicode)
See
saveFile(This, Options::[Option]) -> boolean()
This = wxTextCtrl()
Option = {file, chardata() (see module unicode)} | {fileType, integer()}
See
setDefaultStyle(This, Style) -> boolean()
This = wxTextCtrl()
Style = wxTextAttr() (see module wxTextAttr)
See
setEditable(This, Editable) -> ok
This = wxTextCtrl()
Editable = boolean()
See
setInsertionPoint(This, Pos) -> ok
This = wxTextCtrl()
Pos = integer()
See
setInsertionPointEnd(This) -> ok
This = wxTextCtrl()
See
setMaxLength(This, Len) -> ok
This = wxTextCtrl()
Len = integer()
See
setSelection(This, From, To) -> ok
This = wxTextCtrl()
From = integer()
To = integer()
See
setStyle(This, Start, End, Style) -> boolean()
This = wxTextCtrl()
Start = integer()
End = integer()
Style = wxTextAttr() (see module wxTextAttr)
See
setValue(This, Value) -> ok
This = wxTextCtrl()
Value = chardata() (see module unicode)
See
showPosition(This, Pos) -> ok
This = wxTextCtrl()
Pos = integer()
See
undo(This) -> ok
This = wxTextCtrl()
See
writeText(This, Text) -> ok
This = wxTextCtrl()
Text = chardata() (see module unicode)
See
xYToPosition(This, X, Y) -> integer()
This = wxTextCtrl()
X = integer()
Y = integer()
See
destroy(This::wxTextCtrl()) -> ok
Destroys this object, do not use object again