Text
View
Class
constructor
parent
Class
name
backspace
copy
Clipboard
cut
Clipboard
delete
From
Cursor
draw
Layer
extend
Selection
insert
At
Cursor
insert
Emoji
move
Cursor
paste
Clipboard
populate
Popup
set
Anchor
toggle
Overwrite
NODE-GTK API Reference
Gtk-3.0
Gtk
TextViewClass
Class TextViewClass
Hierarchy
TextViewClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
backspace
copy
Clipboard
cut
Clipboard
delete
From
Cursor
draw
Layer
extend
Selection
insert
At
Cursor
insert
Emoji
move
Cursor
paste
Clipboard
populate
Popup
set
Anchor
toggle
Overwrite
Constructors
constructor
new
Text
View
Class
(
)
:
Gtk
.
TextViewClass
Returns
Gtk
.
TextViewClass
Properties
parent
Class
parent
Class
:
Gtk
.
ContainerClass
The object class structure needs to be the first
field
Static
name
name
:
string
Methods
backspace
backspace
(
textView
:
Gtk
.
TextView
)
:
void
Parameters
textView:
Gtk
.
TextView
Returns
void
copy
Clipboard
copy
Clipboard
(
textView
:
Gtk
.
TextView
)
:
void
Parameters
textView:
Gtk
.
TextView
Returns
void
cut
Clipboard
cut
Clipboard
(
textView
:
Gtk
.
TextView
)
:
void
Parameters
textView:
Gtk
.
TextView
Returns
void
delete
From
Cursor
delete
From
Cursor
(
textView
:
Gtk
.
TextView
, type
:
Gtk
.
DeleteType
, count
:
number
)
:
void
Parameters
textView:
Gtk
.
TextView
type:
Gtk
.
DeleteType
count:
number
Returns
void
draw
Layer
draw
Layer
(
textView
:
Gtk
.
TextView
, layer
:
Gtk
.
TextViewLayer
, cr
:
cairo
.
Context
)
:
void
Parameters
textView:
Gtk
.
TextView
layer:
Gtk
.
TextViewLayer
cr:
cairo
.
Context
Returns
void
extend
Selection
extend
Selection
(
textView
:
Gtk
.
TextView
, granularity
:
Gtk
.
TextExtendSelection
, location
:
Gtk
.
TextIter
, start
:
Gtk
.
TextIter
, end
:
Gtk
.
TextIter
)
:
boolean
Parameters
textView:
Gtk
.
TextView
granularity:
Gtk
.
TextExtendSelection
location:
Gtk
.
TextIter
start:
Gtk
.
TextIter
end:
Gtk
.
TextIter
Returns
boolean
insert
At
Cursor
insert
At
Cursor
(
textView
:
Gtk
.
TextView
, str
:
string
)
:
void
Parameters
textView:
Gtk
.
TextView
str:
string
Returns
void
insert
Emoji
insert
Emoji
(
textView
:
Gtk
.
TextView
)
:
void
Parameters
textView:
Gtk
.
TextView
Returns
void
move
Cursor
move
Cursor
(
textView
:
Gtk
.
TextView
, step
:
Gtk
.
MovementStep
, count
:
number
, extendSelection
:
boolean
)
:
void
Parameters
textView:
Gtk
.
TextView
step:
Gtk
.
MovementStep
count:
number
extendSelection:
boolean
Returns
void
paste
Clipboard
paste
Clipboard
(
textView
:
Gtk
.
TextView
)
:
void
Parameters
textView:
Gtk
.
TextView
Returns
void
populate
Popup
populate
Popup
(
textView
:
Gtk
.
TextView
, popup
:
Gtk
.
Widget
)
:
void
Parameters
textView:
Gtk
.
TextView
popup:
Gtk
.
Widget
Returns
void
set
Anchor
set
Anchor
(
textView
:
Gtk
.
TextView
)
:
void
Parameters
textView:
Gtk
.
TextView
Returns
void
toggle
Overwrite
toggle
Overwrite
(
textView
:
Gtk
.
TextView
)
:
void
Parameters
textView:
Gtk
.
TextView
Returns
void
Text
View
Class
constructor
parent
Class
name
backspace
copy
Clipboard
cut
Clipboard
delete
From
Cursor
draw
Layer
extend
Selection
insert
At
Cursor
insert
Emoji
move
Cursor
paste
Clipboard
populate
Popup
set
Anchor
toggle
Overwrite
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5UZXh0Vmlld0NsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3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