Content
Provider
Class
constructor
parent_
class
name
attach_
clipboard
content_
changed
detach_
clipboard
get_
value
ref_
formats
ref_
storable_
formats
write_
mime_
type_
async
write_
mime_
type_
finish
GJS API Reference
Gdk-4.0
Gdk
ContentProviderClass
Class ContentProviderClass
Class structure for
GdkContentProvider
.
record
Hierarchy
ContentProviderClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
attach_
clipboard
content_
changed
detach_
clipboard
get_
value
ref_
formats
ref_
storable_
formats
write_
mime_
type_
async
write_
mime_
type_
finish
Constructors
constructor
new
Content
Provider
Class
(
)
:
ContentProviderClass
Returns
ContentProviderClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
attach_
clipboard
attach_
clipboard
(
provider
:
ContentProvider
, clipboard
:
Gdk
.
Clipboard
)
:
void
Parameters
provider:
ContentProvider
clipboard:
Gdk
.
Clipboard
Returns
void
content_
changed
content_
changed
(
provider
:
ContentProvider
)
:
void
Parameters
provider:
ContentProvider
Returns
void
detach_
clipboard
detach_
clipboard
(
provider
:
ContentProvider
, clipboard
:
Gdk
.
Clipboard
)
:
void
Parameters
provider:
ContentProvider
clipboard:
Gdk
.
Clipboard
Returns
void
get_
value
get_
value
(
provider
:
ContentProvider
)
:
[
boolean
,
any
]
Parameters
provider:
ContentProvider
Returns
[
boolean
,
any
]
ref_
formats
ref_
formats
(
provider
:
ContentProvider
)
:
ContentFormats
Parameters
provider:
ContentProvider
Returns
ContentFormats
ref_
storable_
formats
ref_
storable_
formats
(
provider
:
ContentProvider
)
:
ContentFormats
Parameters
provider:
ContentProvider
Returns
ContentFormats
write_
mime_
type_
async
write_
mime_
type_
async
(
provider
:
ContentProvider
, mime_type
:
string
, stream
:
Gio
.
OutputStream
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
provider:
ContentProvider
mime_type:
string
stream:
Gio
.
OutputStream
io_priority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
write_
mime_
type_
finish
write_
mime_
type_
finish
(
provider
:
ContentProvider
, result
:
AsyncResult
)
:
boolean
Parameters
provider:
ContentProvider
result:
AsyncResult
Returns
boolean
Content
Provider
Class
constructor
parent_
class
name
attach_
clipboard
content_
changed
detach_
clipboard
get_
value
ref_
formats
ref_
storable_
formats
write_
mime_
type_
async
write_
mime_
type_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZGtfNF8wLkdkay5Db250ZW50UHJvdmlkZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2RrXzRfMC5HZGsuQ29udGVudFByb3ZpZGVyQ2xhc3MuaHRtbCNwYXJlbnRfY2xhc3MiLCJuYW1lIjoicGFyZW50X2NsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHZGtfNF8wLkdkay5Db250ZW50UHJvdmlkZXJDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJH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