Class Clipboard
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public class Clipboard : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
Clipboard
- Implements
- Inherited Members
Constructors
Clipboard(bool, params ConstructArgument[])
protected Clipboard(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
Clipboard(IntPtr, bool)
protected Clipboard(IntPtr ptr, bool ownedRef)
Parameters
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<Clipboard> ChangedSignal
Field Value
ContentPropertyDefinition
public static readonly Property<ContentProvider?, Clipboard> ContentPropertyDefinition
Field Value
DisplayPropertyDefinition
public static readonly Property<Display?, Clipboard> DisplayPropertyDefinition
Field Value
FormatsPropertyDefinition
public static readonly Property<ContentFormats, Clipboard> FormatsPropertyDefinition
Field Value
LocalPropertyDefinition
public static readonly Property<bool, Clipboard> LocalPropertyDefinition
Field Value
Properties
Content
public ContentProvider? Content { get; }
Property Value
Display
public Display? Display { get; }
Property Value
Formats
public ContentFormats Formats { get; }
Property Value
Local
public bool Local { get; }
Property Value
Methods
GetContent()
public ContentProvider? GetContent()
Returns
GetDisplay()
public Display GetDisplay()
Returns
GetFormats()
public ContentFormats GetFormats()
Returns
GetGType()
public static Type GetGType()
Returns
IsLocal()
public bool IsLocal()
Returns
ReadFinish(AsyncResult, out string)
public InputStream? ReadFinish(AsyncResult result, out string outMimeType)
Parameters
result
AsyncResultoutMimeType
string
Returns
ReadTextAsync()
public Task<string?> ReadTextAsync()
Returns
ReadTextFinish(AsyncResult)
public string? ReadTextFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
ReadTextureFinish(AsyncResult)
public Texture? ReadTextureFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
ReadValueFinish(AsyncResult)
public Value ReadValueFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
Set(Value)
public void Set(Value value)
Parameters
value
Value
SetContent(ContentProvider?)
public bool SetContent(ContentProvider? provider)
Parameters
provider
ContentProvider
Returns
SetText(string)
public void SetText(string text)
Parameters
text
string
SetTexture(Texture)
public void SetTexture(Texture texture)
Parameters
texture
Texture
SetValist(Type, IntPtr)
public void SetValist(Type type, IntPtr args)
Parameters
StoreFinish(AsyncResult)
public bool StoreFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
Events
OnChanged
public event SignalHandler<Clipboard> OnChanged