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
handleWidgetHandle
Methods
GetForSurface(Surface)
public static Native? GetForSurface(Surface surface)
Parameters
surfaceSurface
Returns
GetGType()
public static Type GetGType()
Returns
GetRenderer()
public Renderer? GetRenderer()
Returns
GetSurface()
public Surface? GetSurface()
Returns
GetSurfaceTransform(out double, out double)
public void GetSurfaceTransform(out double x, out double y)
Parameters
NewFromPointer(nint, bool)
Creates a new managed NativeHelper instance for a given pointer.
public static NativeHelper NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
Realize()
public void Realize()
Unrealize()
public void Unrealize()