Text
View
Class
constructor
parent_
class
name
backspace
copy_
clipboard
cut_
clipboard
delete_
from_
cursor
insert_
at_
cursor
move_
cursor
move_
focus
page_
horizontally
paste_
clipboard
populate_
popup
set_
anchor
set_
scroll_
adjustments
toggle_
overwrite
GJS API Reference
Gtk-2.0
Gtk
TextViewClass
Class TextViewClass
Hierarchy
TextViewClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
backspace
copy_
clipboard
cut_
clipboard
delete_
from_
cursor
insert_
at_
cursor
move_
cursor
move_
focus
page_
horizontally
paste_
clipboard
populate_
popup
set_
anchor
set_
scroll_
adjustments
toggle_
overwrite
Constructors
constructor
new
Text
View
Class
(
)
:
Gtk
.
TextViewClass
Returns
Gtk
.
TextViewClass
Properties
parent_
class
parent_
class
:
Gtk
.
ContainerClass
Static
name
name
:
string
Methods
backspace
backspace
(
text_view
:
Gtk
.
TextView
)
:
void
Parameters
text_view:
Gtk
.
TextView
Returns
void
copy_
clipboard
copy_
clipboard
(
text_view
:
Gtk
.
TextView
)
:
void
Parameters
text_view:
Gtk
.
TextView
Returns
void
cut_
clipboard
cut_
clipboard
(
text_view
:
Gtk
.
TextView
)
:
void
Parameters
text_view:
Gtk
.
TextView
Returns
void
delete_
from_
cursor
delete_
from_
cursor
(
text_view
:
Gtk
.
TextView
, type
:
Gtk
.
DeleteType
, count
:
number
)
:
void
Parameters
text_view:
Gtk
.
TextView
type:
Gtk
.
DeleteType
count:
number
Returns
void
insert_
at_
cursor
insert_
at_
cursor
(
text_view
:
Gtk
.
TextView
, str
:
string
)
:
void
Parameters
text_view:
Gtk
.
TextView
str:
string
Returns
void
move_
cursor
move_
cursor
(
text_view
:
Gtk
.
TextView
, step
:
Gtk
.
MovementStep
, count
:
number
, extend_selection
:
boolean
)
:
void
Parameters
text_view:
Gtk
.
TextView
step:
Gtk
.
MovementStep
count:
number
extend_selection:
boolean
Returns
void
move_
focus
move_
focus
(
text_view
:
Gtk
.
TextView
, direction
:
Gtk
.
DirectionType
)
:
void
Parameters
text_view:
Gtk
.
TextView
direction:
Gtk
.
DirectionType
Returns
void
page_
horizontally
page_
horizontally
(
text_view
:
Gtk
.
TextView
, count
:
number
, extend_selection
:
boolean
)
:
void
Parameters
text_view:
Gtk
.
TextView
count:
number
extend_selection:
boolean
Returns
void
paste_
clipboard
paste_
clipboard
(
text_view
:
Gtk
.
TextView
)
:
void
Parameters
text_view:
Gtk
.
TextView
Returns
void
populate_
popup
populate_
popup
(
text_view
:
Gtk
.
TextView
, menu
:
Gtk
.
Menu
)
:
void
Parameters
text_view:
Gtk
.
TextView
menu:
Gtk
.
Menu
Returns
void
set_
anchor
set_
anchor
(
text_view
:
Gtk
.
TextView
)
:
void
Parameters
text_view:
Gtk
.
TextView
Returns
void
set_
scroll_
adjustments
set_
scroll_
adjustments
(
text_view
:
Gtk
.
TextView
, hadjustment
:
Gtk
.
Adjustment
, vadjustment
:
Gtk
.
Adjustment
)
:
void
Parameters
text_view:
Gtk
.
TextView
hadjustment:
Gtk
.
Adjustment
vadjustment:
Gtk
.
Adjustment
Returns
void
toggle_
overwrite
toggle_
overwrite
(
text_view
:
Gtk
.
TextView
)
:
void
Parameters
text_view:
Gtk
.
TextView
Returns
void
Text
View
Class
constructor
parent_
class
name
backspace
copy_
clipboard
cut_
clipboard
delete_
from_
cursor
insert_
at_
cursor
move_
cursor
move_
focus
page_
horizontally
paste_
clipboard
populate_
popup
set_
anchor
set_
scroll_
adjustments
toggle_
overwrite
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfMl8wLkd0ay5UZXh0Vmlld0NsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InR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