Class Display
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public class Display : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
Display
- Implements
- Inherited Members
Constructors
Display(bool, params ConstructArgument[])
protected Display(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
Display(IntPtr, bool)
protected Display(IntPtr ptr, bool ownedRef)
Parameters
Fields
ClosedSignal
Signal Descriptor for OnClosed.
public static readonly Signal<Display, Display.ClosedSignalArgs> ClosedSignal
Field Value
CompositedPropertyDefinition
public static readonly Property<bool, Display> CompositedPropertyDefinition
Field Value
DmabufFormatsPropertyDefinition
public static readonly Property<DmabufFormats, Display> DmabufFormatsPropertyDefinition
Field Value
InputShapesPropertyDefinition
public static readonly Property<bool, Display> InputShapesPropertyDefinition
Field Value
OpenedSignal
Signal Descriptor for OnOpened.
public static readonly Signal<Display> OpenedSignal
Field Value
RgbaPropertyDefinition
public static readonly Property<bool, Display> RgbaPropertyDefinition
Field Value
SeatAddedSignal
Signal Descriptor for OnSeatAdded.
public static readonly Signal<Display, Display.SeatAddedSignalArgs> SeatAddedSignal
Field Value
SeatRemovedSignal
Signal Descriptor for OnSeatRemoved.
public static readonly Signal<Display, Display.SeatRemovedSignalArgs> SeatRemovedSignal
Field Value
SettingChangedSignal
Signal Descriptor for OnSettingChanged.
public static readonly Signal<Display, Display.SettingChangedSignalArgs> SettingChangedSignal
Field Value
ShadowWidthPropertyDefinition
public static readonly Property<bool, Display> ShadowWidthPropertyDefinition
Field Value
Properties
Composited
public bool Composited { get; }
Property Value
DmabufFormats
public DmabufFormats DmabufFormats { get; }
Property Value
InputShapes
public bool InputShapes { get; }
Property Value
Rgba
public bool Rgba { get; }
Property Value
ShadowWidth
public bool ShadowWidth { get; }
Property Value
Methods
Beep()
public void Beep()
Close()
public void Close()
CreateGlContext()
[Version("4.6")]
public GLContext CreateGlContext()
Returns
DeviceIsGrabbed(Device)
public bool DeviceIsGrabbed(Device device)
Parameters
device
Device
Returns
Flush()
public void Flush()
GetAppLaunchContext()
public AppLaunchContext GetAppLaunchContext()
Returns
GetClipboard()
public Clipboard GetClipboard()
Returns
GetDefault()
public static Display? GetDefault()
Returns
GetDefaultSeat()
public Seat? GetDefaultSeat()
Returns
GetDmabufFormats()
[Version("4.14")]
public DmabufFormats GetDmabufFormats()
Returns
GetGType()
public static Type GetGType()
Returns
GetMonitorAtSurface(Surface)
public Monitor? GetMonitorAtSurface(Surface surface)
Parameters
surface
Surface
Returns
GetMonitors()
public ListModel GetMonitors()
Returns
GetName()
public string GetName()
Returns
GetPrimaryClipboard()
public Clipboard GetPrimaryClipboard()
Returns
GetSetting(string, Value)
public bool GetSetting(string name, Value value)
Parameters
Returns
GetStartupNotificationId()
public string? GetStartupNotificationId()
Returns
IsClosed()
public bool IsClosed()
Returns
IsComposited()
public bool IsComposited()
Returns
IsRgba()
public bool IsRgba()
Returns
NotifyStartupComplete(string)
public void NotifyStartupComplete(string startupId)
Parameters
startupId
string
Open(string?)
public static Display? Open(string? displayName)
Parameters
displayName
string
Returns
PrepareGl()
[Version("4.4")]
public bool PrepareGl()
Returns
PutEvent(Event)
public void PutEvent(Event @event)
Parameters
event
Event
SupportsInputShapes()
public bool SupportsInputShapes()
Returns
SupportsShadowWidth()
[Version("4.14")]
public bool SupportsShadowWidth()
Returns
Sync()
public void Sync()
Events
OnClosed
public event SignalHandler<Display, Display.ClosedSignalArgs> OnClosed
Event Type
OnOpened
public event SignalHandler<Display> OnOpened
Event Type
OnSeatAdded
public event SignalHandler<Display, Display.SeatAddedSignalArgs> OnSeatAdded
Event Type
OnSeatRemoved
public event SignalHandler<Display, Display.SeatRemovedSignalArgs> OnSeatRemoved
Event Type
OnSettingChanged
public event SignalHandler<Display, Display.SettingChangedSignalArgs> OnSettingChanged