Table of Contents

Class ContentProvider

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class ContentProvider : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
ContentProvider
Implements
Inherited Members

Constructors

ContentProvider(bool, params ConstructArgument[])

protected ContentProvider(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

ContentProvider(IntPtr, bool)

protected ContentProvider(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ContentChangedSignal

Signal Descriptor for OnContentChanged.

public static readonly Signal<ContentProvider> ContentChangedSignal

Field Value

Signal<ContentProvider>

FormatsPropertyDefinition

public static readonly Property<ContentFormats, ContentProvider> FormatsPropertyDefinition

Field Value

Property<ContentFormats, ContentProvider>

StorableFormatsPropertyDefinition

public static readonly Property<ContentFormats, ContentProvider> StorableFormatsPropertyDefinition

Field Value

Property<ContentFormats, ContentProvider>

Properties

Formats

public ContentFormats Formats { get; }

Property Value

ContentFormats

StorableFormats

public ContentFormats StorableFormats { get; }

Property Value

ContentFormats

Methods

ContentChanged()

public void ContentChanged()

GetGType()

public static Type GetGType()

Returns

Type

NewForBytes(string, Bytes)

public static ContentProvider NewForBytes(string mimeType, Bytes bytes)

Parameters

mimeType string
bytes Bytes

Returns

ContentProvider

NewForValue(Value)

public static ContentProvider NewForValue(Value value)

Parameters

value Value

Returns

ContentProvider

RefFormats()

public ContentFormats RefFormats()

Returns

ContentFormats

RefStorableFormats()

public ContentFormats RefStorableFormats()

Returns

ContentFormats

WriteMimeTypeFinish(AsyncResult)

public bool WriteMimeTypeFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

Events

OnContentChanged

public event SignalHandler<ContentProvider> OnContentChanged

Event Type

SignalHandler<ContentProvider>