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
NODE-GTK 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
, mimeType
:
string
, stream
:
Gio
.
OutputStream
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
provider:
ContentProvider
mimeType:
string
stream:
Gio
.
OutputStream
ioPriority:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZGtfNF8wLkdkay5Db250ZW50UHJvdmlkZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2RrXzRfMC5HZGsuQ29udGVudFByb3ZpZGVyQ2xhc3MuaHRtbCNwYXJlbnRDbGFzcyIsIm5hbWUiOiJwYXJlbnRDbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR2RrXzRfMC5HZGsuQ29udGVudFByb3ZpZGVyQ2xhc3MuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLW1ldGhvZCB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVm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