ContentProvider.getValue

Gets the contents of provider stored in value.

The value will have been initialized to the gobject.types.TYPE_FLAG_RESERVED_ID_BIT the value should be provided in. This given gobject.types.TYPE_FLAG_RESERVED_ID_BIT does not need to be listed in the formats returned by gdk.content_provider.ContentProvider.refFormats. However, if the given gobject.types.TYPE_FLAG_RESERVED_ID_BIT is not supported, this operation can fail and gio.types.IOErrorEnum.NotSupported will be reported.

class ContentProvider
bool
getValue

Parameters

value gobject.value.Value

Return Value

Type: bool

true if the value was set successfully. Otherwise error will be set to describe the failure.