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
boolconstructArguments
ConstructArgument[]
ContentProvider(IntPtr, bool)
protected ContentProvider(IntPtr ptr, bool ownedRef)
Parameters
Fields
ContentChangedSignal
Signal Descriptor for OnContentChanged.
public static readonly Signal<ContentProvider> ContentChangedSignal
Field Value
FormatsPropertyDefinition
public static readonly Property<ContentFormats, ContentProvider> FormatsPropertyDefinition
Field Value
StorableFormatsPropertyDefinition
public static readonly Property<ContentFormats, ContentProvider> StorableFormatsPropertyDefinition
Field Value
Properties
Formats
public ContentFormats Formats { get; }
Property Value
StorableFormats
public ContentFormats StorableFormats { get; }
Property Value
Methods
ContentChanged()
public void ContentChanged()
GetGType()
public static Type GetGType()
Returns
NewForBytes(string, Bytes)
public static ContentProvider NewForBytes(string mimeType, Bytes bytes)
Parameters
Returns
NewForValue(Value)
public static ContentProvider NewForValue(Value value)
Parameters
value
Value
Returns
RefFormats()
public ContentFormats RefFormats()
Returns
RefStorableFormats()
public ContentFormats RefStorableFormats()
Returns
WriteMimeTypeFinish(AsyncResult)
public bool WriteMimeTypeFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
Events
OnContentChanged
public event SignalHandler<ContentProvider> OnContentChanged