Table of Contents

Class Native

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class Native
Inheritance
Native
Inherited Members

Methods

GetForSurface(IntPtr)

Calls native function gtk_native_get_for_surface.

public static extern IntPtr GetForSurface(IntPtr surface)

Parameters

surface IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_native_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetRenderer(IntPtr)

Calls native method gtk_native_get_renderer.

public static extern IntPtr GetRenderer(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetSurface(IntPtr)

Calls native method gtk_native_get_surface.

public static extern IntPtr GetSurface(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetSurfaceTransform(IntPtr, out double, out double)

Calls native method gtk_native_get_surface_transform.

public static extern void GetSurfaceTransform(IntPtr self, out double x, out double y)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

x double

Transfer ownership: Full Nullable: False

y double

Transfer ownership: Full Nullable: False

Realize(IntPtr)

Calls native method gtk_native_realize.

public static extern void Realize(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Unrealize(IntPtr)

Calls native method gtk_native_unrealize.

public static extern void Unrealize(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False