Document
Interface
constructor
parent
name
create_
view
get_
modified
get_
mtime
get_
read_
only
get_
title
is_
untitled
save_
as_
async
save_
as_
finish
save_
async
save_
finish
GJS API Reference
Builder-1.0
Builder
DocumentInterface
Class DocumentInterface
Hierarchy
DocumentInterface
Index
Constructors
constructor
Properties
parent
name
Methods
create_
view
get_
modified
get_
mtime
get_
read_
only
get_
title
is_
untitled
save_
as_
async
save_
as_
finish
save_
async
save_
finish
Constructors
constructor
new
Document
Interface
(
)
:
DocumentInterface
Returns
DocumentInterface
Properties
parent
parent
:
TypeInterface
Static
name
name
:
string
Methods
create_
view
create_
view
(
document
:
Builder
.
Document
)
:
Gtk
.
Widget
Parameters
document:
Builder
.
Document
Returns
Gtk
.
Widget
get_
modified
get_
modified
(
document
:
Builder
.
Document
)
:
boolean
Parameters
document:
Builder
.
Document
Returns
boolean
get_
mtime
get_
mtime
(
document
:
Builder
.
Document
, mtime
:
TimeVal
)
:
boolean
Parameters
document:
Builder
.
Document
mtime:
TimeVal
Returns
boolean
get_
read_
only
get_
read_
only
(
document
:
Builder
.
Document
)
:
boolean
Parameters
document:
Builder
.
Document
Returns
boolean
get_
title
get_
title
(
document
:
Builder
.
Document
)
:
string
Parameters
document:
Builder
.
Document
Returns
string
is_
untitled
is_
untitled
(
document
:
Builder
.
Document
)
:
boolean
Parameters
document:
Builder
.
Document
Returns
boolean
save_
as_
async
save_
as_
async
(
document
:
Builder
.
Document
, toplevel
:
Gtk
.
Widget
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
document:
Builder
.
Document
toplevel:
Gtk
.
Widget
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
save_
as_
finish
save_
as_
finish
(
document
:
Builder
.
Document
, result
:
AsyncResult
)
:
boolean
Parameters
document:
Builder
.
Document
result:
AsyncResult
Returns
boolean
save_
async
save_
async
(
document
:
Builder
.
Document
, toplevel
:
Gtk
.
Widget
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
document:
Builder
.
Document
toplevel:
Gtk
.
Widget
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
save_
finish
save_
finish
(
document
:
Builder
.
Document
, result
:
AsyncResult
)
:
boolean
Parameters
document:
Builder
.
Document
result:
AsyncResult
Returns
boolean
Document
Interface
constructor
parent
name
create_
view
get_
modified
get_
mtime
get_
read_
only
get_
title
is_
untitled
save_
as_
async
save_
as_
finish
save_
async
save_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJCdWlsZGVyXzFfMC5CdWlsZGVyLkRvY3VtZW50SW50ZXJmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJCdWlsZGVyXzFfMC5CdWlsZGVyLkRvY3VtZW50SW50ZXJmYWNlLmh0bWwjcGFyZW50IiwibmFtZSI6InBhcmVudCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiQnVpbGRlcl8xXzAuQnVpbGRlci5Eb2N1bWVudEludGVyZmFjZS5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV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