Table of Contents

Class ToplevelSize

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

Constructors

ToplevelSize(ToplevelSizeOwnedHandle)

public ToplevelSize(ToplevelSizeOwnedHandle handle)

Parameters

handle ToplevelSizeOwnedHandle

Properties

Handle

public ToplevelSizeOwnedHandle Handle { get; }

Property Value

ToplevelSizeOwnedHandle

Methods

Dispose()

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

public void Dispose()

Equals(ToplevelSize?)

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

public bool Equals(ToplevelSize? other)

Parameters

other ToplevelSize

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.

GetBounds(out int, out int)

public void GetBounds(out int boundsWidth, out int boundsHeight)

Parameters

boundsWidth int
boundsHeight int

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.

SetMinSize(int, int)

public void SetMinSize(int minWidth, int minHeight)

Parameters

minWidth int
minHeight int

SetShadowWidth(int, int, int, int)

public void SetShadowWidth(int left, int right, int top, int bottom)

Parameters

left int
right int
top int
bottom int

SetSize(int, int)

public void SetSize(int width, int height)

Parameters

width int
height int