Class Display
public class Display
- Inheritance
-
Display
- Inherited Members
Methods
Beep(IntPtr)
Calls native method gdk_display_beep.
public static extern void Beep(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Close(IntPtr)
Calls native method gdk_display_close.
public static extern void Close(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
CreateGlContext(IntPtr, out ErrorOwnedHandle)
Calls native method gdk_display_create_gl_context. Version: 4.6
[Version("4.6")]
public static extern IntPtr CreateGlContext(IntPtr self, out ErrorOwnedHandle error)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
DeviceIsGrabbed(IntPtr, IntPtr)
Calls native method gdk_display_device_is_grabbed.
public static extern bool DeviceIsGrabbed(IntPtr display, IntPtr device)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
device
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Flush(IntPtr)
Calls native method gdk_display_flush.
public static extern void Flush(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
GetAppLaunchContext(IntPtr)
Calls native method gdk_display_get_app_launch_context.
public static extern IntPtr GetAppLaunchContext(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
GetClipboard(IntPtr)
Calls native method gdk_display_get_clipboard.
public static extern IntPtr GetClipboard(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetDefault()
Calls native function gdk_display_get_default.
public static extern IntPtr GetDefault()
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetDefaultSeat(IntPtr)
Calls native method gdk_display_get_default_seat.
public static extern IntPtr GetDefaultSeat(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetDmabufFormats(IntPtr)
Calls native method gdk_display_get_dmabuf_formats. Version: 4.14
[Version("4.14")]
public static extern DmabufFormatsUnownedHandle GetDmabufFormats(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- DmabufFormatsUnownedHandle
Transfer ownership: None Nullable: False
GetGType()
Calls native function gdk_display_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetMonitorAtSurface(IntPtr, IntPtr)
Calls native method gdk_display_get_monitor_at_surface.
public static extern IntPtr GetMonitorAtSurface(IntPtr display, IntPtr surface)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
surface
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetMonitors(IntPtr)
Calls native method gdk_display_get_monitors.
public static extern IntPtr GetMonitors(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetName(IntPtr)
Calls native method gdk_display_get_name.
public static extern NonNullableUtf8StringUnownedHandle GetName(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetPrimaryClipboard(IntPtr)
Calls native method gdk_display_get_primary_clipboard.
public static extern IntPtr GetPrimaryClipboard(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetSetting(IntPtr, NonNullableUtf8StringHandle, ValueHandle)
Calls native method gdk_display_get_setting.
public static extern bool GetSetting(IntPtr display, NonNullableUtf8StringHandle name, ValueHandle value)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
value
ValueHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetStartupNotificationId(IntPtr)
Calls native method gdk_display_get_startup_notification_id.
public static extern NullableUtf8StringUnownedHandle GetStartupNotificationId(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
IsClosed(IntPtr)
Calls native method gdk_display_is_closed.
public static extern bool IsClosed(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsComposited(IntPtr)
Calls native method gdk_display_is_composited.
public static extern bool IsComposited(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsRgba(IntPtr)
Calls native method gdk_display_is_rgba.
public static extern bool IsRgba(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
MapKeycode(IntPtr, uint, ref IntPtr, out uint[], out int)
Calls native method gdk_display_map_keycode.
public static extern bool MapKeycode(IntPtr display, uint keycode, ref IntPtr keys, out uint[] keyvals, out int nEntries)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
keycode
uintTransfer ownership: None Nullable: False
keys
IntPtrTransfer ownership: Full Nullable: False
keyvals
uint[]Transfer ownership: Full Nullable: False
nEntries
intTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
MapKeyval(IntPtr, uint, ref IntPtr, out int)
Calls native method gdk_display_map_keyval.
public static extern bool MapKeyval(IntPtr display, uint keyval, ref IntPtr keys, out int nKeys)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
keyval
uintTransfer ownership: None Nullable: False
keys
IntPtrTransfer ownership: Full Nullable: False
nKeys
intTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
NotifyStartupComplete(IntPtr, NonNullableUtf8StringHandle)
Calls native method gdk_display_notify_startup_complete.
public static extern void NotifyStartupComplete(IntPtr display, NonNullableUtf8StringHandle startupId)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
startupId
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Open(NullableUtf8StringHandle)
Calls native function gdk_display_open.
public static extern IntPtr Open(NullableUtf8StringHandle displayName)
Parameters
displayName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: True
PrepareGl(IntPtr, out ErrorOwnedHandle)
Calls native method gdk_display_prepare_gl. Version: 4.4
[Version("4.4")]
public static extern bool PrepareGl(IntPtr self, out ErrorOwnedHandle error)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutEvent(IntPtr, IntPtr)
Calls native method gdk_display_put_event.
public static extern void PutEvent(IntPtr display, IntPtr @event)
Parameters
SupportsInputShapes(IntPtr)
Calls native method gdk_display_supports_input_shapes.
public static extern bool SupportsInputShapes(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SupportsShadowWidth(IntPtr)
Calls native method gdk_display_supports_shadow_width. Version: 4.14
[Version("4.14")]
public static extern bool SupportsShadowWidth(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Sync(IntPtr)
Calls native method gdk_display_sync.
public static extern void Sync(IntPtr display)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
TranslateKey(IntPtr, uint, ModifierType, int, out uint, out int, out int, out ModifierType)
Calls native method gdk_display_translate_key.
public static extern bool TranslateKey(IntPtr display, uint keycode, ModifierType state, int group, out uint keyval, out int effectiveGroup, out int level, out ModifierType consumed)
Parameters
display
IntPtrTransfer ownership: None Nullable: False
keycode
uintTransfer ownership: None Nullable: False
state
ModifierTypeTransfer ownership: None Nullable: False
group
intTransfer ownership: None Nullable: False
keyval
uintTransfer ownership: Full Nullable: False
effectiveGroup
intTransfer ownership: Full Nullable: False
level
intTransfer ownership: Full Nullable: False
consumed
ModifierTypeTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False