Class Functions
public class Functions
- Inheritance
-
Functions
- Inherited Members
Methods
CairoDrawFromGl(ContextHandle, IntPtr, int, int, int, int, int, int, int)
Calls native function gdk_cairo_draw_from_gl.
public static extern void CairoDrawFromGl(ContextHandle cr, IntPtr surface, int source, int sourceType, int bufferScale, int x, int y, int width, int height)
Parameters
cr
ContextHandleTransfer ownership: None Nullable: False
surface
IntPtrTransfer ownership: None Nullable: False
source
intTransfer ownership: None Nullable: False
sourceType
intTransfer ownership: None Nullable: False
bufferScale
intTransfer ownership: None Nullable: False
x
intTransfer ownership: None Nullable: False
y
intTransfer ownership: None Nullable: False
width
intTransfer ownership: None Nullable: False
height
intTransfer ownership: None Nullable: False
CairoRectangle(ContextHandle, RectangleHandle)
Calls native function gdk_cairo_rectangle.
public static extern void CairoRectangle(ContextHandle cr, RectangleHandle rectangle)
Parameters
cr
ContextHandleTransfer ownership: None Nullable: False
rectangle
RectangleHandleTransfer ownership: None Nullable: False
CairoRegion(ContextHandle, RegionHandle)
Calls native function gdk_cairo_region.
public static extern void CairoRegion(ContextHandle cr, RegionHandle region)
Parameters
cr
ContextHandleTransfer ownership: None Nullable: False
region
RegionHandleTransfer ownership: None Nullable: False
CairoRegionCreateFromSurface(SurfaceHandle)
Calls native function gdk_cairo_region_create_from_surface.
public static extern RegionOwnedHandle CairoRegionCreateFromSurface(SurfaceHandle surface)
Parameters
surface
SurfaceHandleTransfer ownership: None Nullable: False
Returns
- RegionOwnedHandle
Transfer ownership: Full Nullable: False
CairoSetSourcePixbuf(ContextHandle, IntPtr, double, double)
Calls native function gdk_cairo_set_source_pixbuf.
public static extern void CairoSetSourcePixbuf(ContextHandle cr, IntPtr pixbuf, double pixbufX, double pixbufY)
Parameters
cr
ContextHandleTransfer ownership: None Nullable: False
pixbuf
IntPtrTransfer ownership: None Nullable: False
pixbufX
doubleTransfer ownership: None Nullable: False
pixbufY
doubleTransfer ownership: None Nullable: False
CairoSetSourceRgba(ContextHandle, RGBAHandle)
Calls native function gdk_cairo_set_source_rgba.
public static extern void CairoSetSourceRgba(ContextHandle cr, RGBAHandle rgba)
Parameters
cr
ContextHandleTransfer ownership: None Nullable: False
rgba
RGBAHandleTransfer ownership: None Nullable: False
ContentDeserializeAsync(IntPtr, NonNullableUtf8StringHandle, Type, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function gdk_content_deserialize_async.
public static extern void ContentDeserializeAsync(IntPtr stream, NonNullableUtf8StringHandle mimeType, Type type, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
type
TypeTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
ContentFormatsParse(NonNullableUtf8StringHandle)
Calls native function gdk_content_formats_parse. Version: 4.4
[Version("4.4")]
public static extern ContentFormatsOwnedHandle ContentFormatsParse(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- ContentFormatsOwnedHandle
Transfer ownership: Full Nullable: True
ContentRegisterDeserializer(NonNullableUtf8StringHandle, Type, ContentDeserializeFunc, IntPtr, DestroyNotify)
Calls native function gdk_content_register_deserializer.
public static extern void ContentRegisterDeserializer(NonNullableUtf8StringHandle mimeType, Type type, ContentDeserializeFunc deserialize, IntPtr data, DestroyNotify notify)
Parameters
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
type
TypeTransfer ownership: None Nullable: False
deserialize
ContentDeserializeFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: False
ContentRegisterSerializer(Type, NonNullableUtf8StringHandle, ContentSerializeFunc, IntPtr, DestroyNotify)
Calls native function gdk_content_register_serializer.
public static extern void ContentRegisterSerializer(Type type, NonNullableUtf8StringHandle mimeType, ContentSerializeFunc serialize, IntPtr data, DestroyNotify notify)
Parameters
type
TypeTransfer ownership: None Nullable: False
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
serialize
ContentSerializeFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: False
ContentSerializeAsync(IntPtr, NonNullableUtf8StringHandle, ValueHandle, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function gdk_content_serialize_async.
public static extern void ContentSerializeAsync(IntPtr stream, NonNullableUtf8StringHandle mimeType, ValueHandle value, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
value
ValueHandleTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
ContentSerializeFinish(IntPtr, out ErrorOwnedHandle)
Calls native function gdk_content_serialize_finish.
public static extern bool ContentSerializeFinish(IntPtr result, out ErrorOwnedHandle error)
Parameters
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
DmabufErrorQuark()
Calls native function gdk_dmabuf_error_quark.
public static extern uint DmabufErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
DragActionIsUnique(DragAction)
Calls native function gdk_drag_action_is_unique.
public static extern bool DragActionIsUnique(DragAction action)
Parameters
action
DragActionTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DragSurfaceSizeGetType()
Calls native function gdk_drag_surface_size_get_type.
public static extern nuint DragSurfaceSizeGetType()
Returns
- nuint
Transfer ownership: None Nullable: False
EventsGetAngle(IntPtr, IntPtr, out double)
Calls native function gdk_events_get_angle.
public static extern bool EventsGetAngle(IntPtr event1, IntPtr event2, out double angle)
Parameters
event1
IntPtrTransfer ownership: None Nullable: False
event2
IntPtrTransfer ownership: None Nullable: False
angle
doubleTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
EventsGetCenter(IntPtr, IntPtr, out double, out double)
Calls native function gdk_events_get_center.
public static extern bool EventsGetCenter(IntPtr event1, IntPtr event2, out double x, out double y)
Parameters
event1
IntPtrTransfer ownership: None Nullable: False
event2
IntPtrTransfer ownership: None Nullable: False
x
doubleTransfer ownership: Full Nullable: False
y
doubleTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
EventsGetDistance(IntPtr, IntPtr, out double)
Calls native function gdk_events_get_distance.
public static extern bool EventsGetDistance(IntPtr event1, IntPtr event2, out double distance)
Parameters
event1
IntPtrTransfer ownership: None Nullable: False
event2
IntPtrTransfer ownership: None Nullable: False
distance
doubleTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GlErrorQuark()
Calls native function gdk_gl_error_quark.
public static extern uint GlErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
InternMimeType(NonNullableUtf8StringHandle)
Calls native function gdk_intern_mime_type.
public static extern NullableUtf8StringUnownedHandle InternMimeType(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
KeyvalConvertCase(uint, out uint, out uint)
Calls native function gdk_keyval_convert_case.
public static extern void KeyvalConvertCase(uint symbol, out uint lower, out uint upper)
Parameters
symbol
uintTransfer ownership: None Nullable: False
lower
uintTransfer ownership: Full Nullable: False
upper
uintTransfer ownership: Full Nullable: False
KeyvalFromName(NonNullableUtf8StringHandle)
Calls native function gdk_keyval_from_name.
public static extern uint KeyvalFromName(NonNullableUtf8StringHandle keyvalName)
Parameters
keyvalName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
KeyvalIsLower(uint)
Calls native function gdk_keyval_is_lower.
public static extern bool KeyvalIsLower(uint keyval)
Parameters
keyval
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
KeyvalIsUpper(uint)
Calls native function gdk_keyval_is_upper.
public static extern bool KeyvalIsUpper(uint keyval)
Parameters
keyval
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
KeyvalName(uint)
Calls native function gdk_keyval_name.
public static extern NullableUtf8StringUnownedHandle KeyvalName(uint keyval)
Parameters
keyval
uintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
KeyvalToLower(uint)
Calls native function gdk_keyval_to_lower.
public static extern uint KeyvalToLower(uint keyval)
Parameters
keyval
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
KeyvalToUnicode(uint)
Calls native function gdk_keyval_to_unicode.
public static extern uint KeyvalToUnicode(uint keyval)
Parameters
keyval
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
KeyvalToUpper(uint)
Calls native function gdk_keyval_to_upper.
public static extern uint KeyvalToUpper(uint keyval)
Parameters
keyval
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
PaintableNewEmpty(int, int)
Calls native function gdk_paintable_new_empty.
public static extern IntPtr PaintableNewEmpty(int intrinsicWidth, int intrinsicHeight)
Parameters
intrinsicWidth
intTransfer ownership: None Nullable: False
intrinsicHeight
intTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
PangoLayoutGetClipRegion(IntPtr, int, int, ref int, int)
Calls native function gdk_pango_layout_get_clip_region.
public static extern RegionOwnedHandle PangoLayoutGetClipRegion(IntPtr layout, int xOrigin, int yOrigin, ref int indexRanges, int nRanges)
Parameters
layout
IntPtrTransfer ownership: None Nullable: False
xOrigin
intTransfer ownership: None Nullable: False
yOrigin
intTransfer ownership: None Nullable: False
indexRanges
intTransfer ownership: None Nullable: False
nRanges
intTransfer ownership: None Nullable: False
Returns
- RegionOwnedHandle
Transfer ownership: Full Nullable: False
PangoLayoutLineGetClipRegion(LayoutLineHandle, int, int, ref int, int)
Calls native function gdk_pango_layout_line_get_clip_region.
public static extern RegionOwnedHandle PangoLayoutLineGetClipRegion(LayoutLineHandle line, int xOrigin, int yOrigin, ref int indexRanges, int nRanges)
Parameters
line
LayoutLineHandleTransfer ownership: None Nullable: False
xOrigin
intTransfer ownership: None Nullable: False
yOrigin
intTransfer ownership: None Nullable: False
indexRanges
intTransfer ownership: None Nullable: False
nRanges
intTransfer ownership: None Nullable: False
Returns
- RegionOwnedHandle
Transfer ownership: Full Nullable: False
PixbufGetFromSurface(SurfaceHandle, int, int, int, int)
Calls native function gdk_pixbuf_get_from_surface.
public static extern IntPtr PixbufGetFromSurface(SurfaceHandle surface, int srcX, int srcY, int width, int height)
Parameters
surface
SurfaceHandleTransfer ownership: None Nullable: False
srcX
intTransfer ownership: None Nullable: False
srcY
intTransfer ownership: None Nullable: False
width
intTransfer ownership: None Nullable: False
height
intTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
PixbufGetFromTexture(IntPtr)
Calls native function gdk_pixbuf_get_from_texture.
public static extern IntPtr PixbufGetFromTexture(IntPtr texture)
Parameters
texture
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
SetAllowedBackends(NonNullableUtf8StringHandle)
Calls native function gdk_set_allowed_backends.
public static extern void SetAllowedBackends(NonNullableUtf8StringHandle backends)
Parameters
backends
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
TextureErrorQuark()
Calls native function gdk_texture_error_quark.
public static extern uint TextureErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ToplevelSizeGetType()
Calls native function gdk_toplevel_size_get_type.
public static extern nuint ToplevelSizeGetType()
Returns
- nuint
Transfer ownership: None Nullable: False
UnicodeToKeyval(uint)
Calls native function gdk_unicode_to_keyval.
public static extern uint UnicodeToKeyval(uint wc)
Parameters
wc
uintTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
VulkanErrorQuark()
Calls native function gdk_vulkan_error_quark.
public static extern uint VulkanErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False