Editable
Interface
constructor
base_
iface
name
changed
delete_
text
do_
delete_
text
do_
insert_
text
get_
chars
get_
position
get_
selection_
bounds
insert_
text
set_
position
set_
selection_
bounds
GJS API Reference
Gtk-3.0
Gtk
EditableInterface
Class EditableInterface
Hierarchy
EditableInterface
Index
Constructors
constructor
Properties
base_
iface
name
Methods
changed
delete_
text
do_
delete_
text
do_
insert_
text
get_
chars
get_
position
get_
selection_
bounds
insert_
text
set_
position
set_
selection_
bounds
Constructors
constructor
new
Editable
Interface
(
)
:
Gtk
.
EditableInterface
Returns
Gtk
.
EditableInterface
Properties
base_
iface
base_
iface
:
TypeInterface
Static
name
name
:
string
Methods
changed
changed
(
editable
:
Gtk
.
Editable
)
:
void
Parameters
editable:
Gtk
.
Editable
Returns
void
delete_
text
delete_
text
(
editable
:
Gtk
.
Editable
, start_pos
:
number
, end_pos
:
number
)
:
void
Parameters
editable:
Gtk
.
Editable
start_pos:
number
end_pos:
number
Returns
void
do_
delete_
text
do_
delete_
text
(
editable
:
Gtk
.
Editable
, start_pos
:
number
, end_pos
:
number
)
:
void
Parameters
editable:
Gtk
.
Editable
start_pos:
number
end_pos:
number
Returns
void
do_
insert_
text
do_
insert_
text
(
editable
:
Gtk
.
Editable
, new_text
:
string
, new_text_length
:
number
, position
:
number
)
:
number
Parameters
editable:
Gtk
.
Editable
new_text:
string
new_text_length:
number
position:
number
Returns
number
get_
chars
get_
chars
(
editable
:
Gtk
.
Editable
, start_pos
:
number
, end_pos
:
number
)
:
string
Parameters
editable:
Gtk
.
Editable
start_pos:
number
end_pos:
number
Returns
string
get_
position
get_
position
(
editable
:
Gtk
.
Editable
)
:
number
Parameters
editable:
Gtk
.
Editable
Returns
number
get_
selection_
bounds
get_
selection_
bounds
(
editable
:
Gtk
.
Editable
)
:
[
boolean
,
number
,
number
]
Parameters
editable:
Gtk
.
Editable
Returns
[
boolean
,
number
,
number
]
insert_
text
insert_
text
(
editable
:
Gtk
.
Editable
, new_text
:
string
, new_text_length
:
number
, position
:
number
)
:
number
Parameters
editable:
Gtk
.
Editable
new_text:
string
new_text_length:
number
position:
number
Returns
number
set_
position
set_
position
(
editable
:
Gtk
.
Editable
, position
:
number
)
:
void
Parameters
editable:
Gtk
.
Editable
position:
number
Returns
void
set_
selection_
bounds
set_
selection_
bounds
(
editable
:
Gtk
.
Editable
, start_pos
:
number
, end_pos
:
number
)
:
void
Parameters
editable:
Gtk
.
Editable
start_pos:
number
end_pos:
number
Returns
void
Editable
Interface
constructor
base_
iface
name
changed
delete_
text
do_
delete_
text
do_
insert_
text
get_
chars
get_
position
get_
selection_
bounds
insert_
text
set_
position
set_
selection_
bounds
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5FZGl0YWJsZUludGVyZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3RrXzNfMC5HdGsuRWRpdGFibGVJbnRlcmZhY2UuaHRtbCNiYXNlX2lmYWNlIiwibmFtZSI6ImJhc2VfaWZhY2UiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6Ikd0a18zXzAuR3RrLkVkaXRhYmxlSW50ZXJmYWNlLmh0bWwjbmFtZSIsIm5hbWUiOiJuYW1lIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI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