Table of Contents

Class ToplevelSize

Namespace
Gdk
Assembly
Gdk-4.0.dll
public sealed class ToplevelSize
Inheritance
ToplevelSize
Inherited Members

Constructors

ToplevelSize(ToplevelSizeOwnedHandle)

public ToplevelSize(ToplevelSizeOwnedHandle handle)

Parameters

handle ToplevelSizeOwnedHandle

Properties

Handle

public ToplevelSizeOwnedHandle Handle { get; }

Property Value

ToplevelSizeOwnedHandle

Methods

Equals(ToplevelSize?)

public bool Equals(ToplevelSize? other)

Parameters

other ToplevelSize

Returns

bool

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

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