Table of Contents

Class DragSurfaceSize

Namespace
Gdk
Assembly
Gdk-4.0.dll
public sealed class DragSurfaceSize : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<DragSurfaceSize>, IDisposable
Inheritance
DragSurfaceSize
Implements
Inherited Members

Constructors

DragSurfaceSize(DragSurfaceSizeOwnedHandle)

public DragSurfaceSize(DragSurfaceSizeOwnedHandle handle)

Parameters

handle DragSurfaceSizeOwnedHandle

Properties

Handle

public DragSurfaceSizeOwnedHandle Handle { get; }

Property Value

DragSurfaceSizeOwnedHandle

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Equals(DragSurfaceSize?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DragSurfaceSize? other)

Parameters

other DragSurfaceSize

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

SetSize(int, int)

[Version("4.12")]
public void SetSize(int width, int height)

Parameters

width int
height int