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
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
ToplevelSizeAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetBounds(out int, out int)
public void GetBounds(out int boundsWidth, out int boundsHeight)
Parameters
GetGType()
public static Type GetGType()
Returns
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
SetShadowWidth(int, int, int, int)
public void SetShadowWidth(int left, int right, int top, int bottom)
Parameters
SetSize(int, int)
public void SetSize(int width, int height)