Table of Contents

Class NativeHelper

Namespace
Gtk
Assembly
Gtk-4.0.dll
public sealed class NativeHelper : Widget, Accessible, Buildable, ConstraintTarget, Native, NativeObject, IDisposable, InstanceFactory, GTypeProvider
Inheritance
NativeHelper
Implements
Inherited Members

Constructors

NativeHelper(WidgetHandle)

protected NativeHelper(WidgetHandle handle)

Parameters

handle WidgetHandle

Methods

GetForSurface(Surface)

public static Native? GetForSurface(Surface surface)

Parameters

surface Surface

Returns

Native

GetGType()

public static Type GetGType()

Returns

Type

GetRenderer()

public Renderer? GetRenderer()

Returns

Renderer

GetSurface()

public Surface? GetSurface()

Returns

Surface

GetSurfaceTransform(out double, out double)

public void GetSurfaceTransform(out double x, out double y)

Parameters

x double
y double

NewFromPointer(nint, bool)

Creates a new managed NativeHelper instance for a given pointer.

public static NativeHelper NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

NativeHelper

Realize()

public void Realize()

Unrealize()

public void Unrealize()