wxErlang

Reference Manual

Version 1.8.3

Table of Contents

wxTextCtrl

Module

wxTextCtrl

Module Summary

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()

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()}

appendText(This, Text) -> ok

Types

This = wxTextCtrl()

canCopy(This) -> boolean()

Types

This = wxTextCtrl()

canCut(This) -> boolean()

Types

This = wxTextCtrl()

canPaste(This) -> boolean()

Types

This = wxTextCtrl()

canRedo(This) -> boolean()

Types

This = wxTextCtrl()

canUndo(This) -> boolean()

Types

This = wxTextCtrl()

clear(This) -> ok

Types

This = wxTextCtrl()

copy(This) -> ok

Types

This = wxTextCtrl()

create(This, Parent, Id) -> boolean()

Types

This = wxTextCtrl()
Id = integer()

create(This, Parent, Id, Options::[Option]) -> boolean()

Types

This = wxTextCtrl()
Id = integer()
Option = {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx_object()}

cut(This) -> ok

Types

This = wxTextCtrl()

discardEdits(This) -> ok

Types

This = wxTextCtrl()

changeValue(This, Value) -> ok

Types

This = wxTextCtrl()

emulateKeyPress(This, Event) -> boolean()

Types

This = wxTextCtrl()

getDefaultStyle(This) -> wxTextAttr:wxTextAttr()

Types

This = wxTextCtrl()

getInsertionPoint(This) -> integer()

Types

This = wxTextCtrl()

getLastPosition(This) -> integer()

Types

This = wxTextCtrl()

getLineLength(This, LineNo) -> integer()

Types

This = wxTextCtrl()
LineNo = integer()

getLineText(This, LineNo) -> unicode:charlist()

Types

This = wxTextCtrl()
LineNo = integer()

getNumberOfLines(This) -> integer()

Types

This = wxTextCtrl()

getRange(This, From, To) -> unicode:charlist()

Types

This = wxTextCtrl()
From = integer()
To = integer()

getSelection(This) -> {From::integer(), To::integer()}

Types

This = wxTextCtrl()

getStringSelection(This) -> unicode:charlist()

Types

This = wxTextCtrl()

getStyle(This, Position, Style) -> boolean()

Types

This = wxTextCtrl()
Position = integer()

getValue(This) -> unicode:charlist()

Types

This = wxTextCtrl()

isEditable(This) -> boolean()

Types

This = wxTextCtrl()

isModified(This) -> boolean()

Types

This = wxTextCtrl()

isMultiLine(This) -> boolean()

Types

This = wxTextCtrl()

isSingleLine(This) -> boolean()

Types

This = wxTextCtrl()

loadFile(This, File) -> boolean()

Types

This = wxTextCtrl()

Equivalent to loadFile(This, File, []).

loadFile(This, File, Options::[Option]) -> boolean()

Types

This = wxTextCtrl()
Option = {fileType, integer()}

markDirty(This) -> ok

Types

This = wxTextCtrl()

paste(This) -> ok

Types

This = wxTextCtrl()

positionToXY(This, Pos) -> Result

Types

Result = {Res::boolean(), X::integer(), Y::integer()}
This = wxTextCtrl()
Pos = integer()

redo(This) -> ok

Types

This = wxTextCtrl()

remove(This, From, To) -> ok

Types

This = wxTextCtrl()
From = integer()
To = integer()

replace(This, From, To, Value) -> ok

Types

This = wxTextCtrl()
From = integer()
To = integer()

saveFile(This) -> boolean()

Types

This = wxTextCtrl()

Equivalent to saveFile(This, []).

saveFile(This, Options::[Option]) -> boolean()

Types

This = wxTextCtrl()
Option = {file, unicode:chardata()} | {fileType, integer()}

setDefaultStyle(This, Style) -> boolean()

Types

This = wxTextCtrl()

setEditable(This, Editable) -> ok

Types

This = wxTextCtrl()
Editable = boolean()

setInsertionPoint(This, Pos) -> ok

Types

This = wxTextCtrl()
Pos = integer()

setInsertionPointEnd(This) -> ok

Types

This = wxTextCtrl()

setMaxLength(This, Len) -> ok

Types

This = wxTextCtrl()
Len = integer()

setSelection(This, From, To) -> ok

Types

This = wxTextCtrl()
From = integer()
To = integer()

setStyle(This, Start, End, Style) -> boolean()

Types

This = wxTextCtrl()
Start = integer()
End = integer()

setValue(This, Value) -> ok

Types

This = wxTextCtrl()

showPosition(This, Pos) -> ok

Types

This = wxTextCtrl()
Pos = integer()

undo(This) -> ok

Types

This = wxTextCtrl()

writeText(This, Text) -> ok

Types

This = wxTextCtrl()

xYToPosition(This, X, Y) -> integer()

Types

This = wxTextCtrl()
X = integer()
Y = integer()

destroy(This::wxTextCtrl()) -> ok

Destroys this object, do not use object again