Table of Contents

Class DragSurfaceHelper

Namespace
Gdk
Assembly
Gdk-4.0.dll
public sealed class DragSurfaceHelper : Surface, DragSurface, NativeObject, IDisposable, InstanceFactory, GTypeProvider
Inheritance
DragSurfaceHelper
Implements
Inherited Members

Constructors

DragSurfaceHelper(SurfaceHandle)

protected DragSurfaceHelper(SurfaceHandle handle)

Parameters

handle SurfaceHandle

Fields

ComputeSizeSignal

Signal Descriptor for OnComputeSize.

public static readonly Signal<DragSurface, DragSurface.ComputeSizeSignalArgs> ComputeSizeSignal

Field Value

Signal<DragSurface, DragSurface.ComputeSizeSignalArgs>

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed DragSurfaceHelper instance for a given pointer.

public static DragSurfaceHelper NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DragSurfaceHelper

Present(int, int)

public bool Present(int width, int height)

Parameters

width int
height int

Returns

bool

Events

OnComputeSize

public event SignalHandler<DragSurface, DragSurface.ComputeSizeSignalArgs> OnComputeSize

Event Type

SignalHandler<DragSurface, DragSurface.ComputeSizeSignalArgs>