Editable
Class
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-2.0
Gtk
EditableClass
Class EditableClass
Hierarchy
EditableClass
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
Class
(
)
:
EditableClass
Returns
EditableClass
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
, text
:
string
, length
:
number
, position
:
number
)
:
void
Parameters
editable:
Gtk
.
Editable
text:
string
length:
number
position:
number
Returns
void
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
, start_pos
:
number
, end_pos
:
number
)
:
boolean
Parameters
editable:
Gtk
.
Editable
start_pos:
number
end_pos:
number
Returns
boolean
insert_
text
insert_
text
(
editable
:
Gtk
.
Editable
, text
:
string
, length
:
number
, position
:
number
)
:
void
Parameters
editable:
Gtk
.
Editable
text:
string
length:
number
position:
number
Returns
void
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
Class
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfMl8wLkd0ay5FZGl0YWJsZUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfMl8wLkd0ay5FZGl0YWJsZUNsYXNzLmh0bWwjYmFzZV9pZmFjZSIsIm5hbWUiOiJiYXNlX2lmYWNlIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHdGtfMl8wLkd0ay5FZGl0YWJsZUNsYXNzLmh0bWwjbmFtZSIsIm5hbWUiOiJuYW1lIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZX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