Class TypeClass
- Namespace
- GObject
- Assembly
- GObject-2.0.dll
public sealed class TypeClass
- Inheritance
-
TypeClass
- Inherited Members
Constructors
TypeClass()
public TypeClass()
TypeClass(TypeClassOwnedHandle)
public TypeClass(TypeClassOwnedHandle handle)
Parameters
handle
TypeClassOwnedHandle
Properties
Handle
public TypeClassOwnedHandle Handle { get; }
Property Value
Methods
AddPrivate(nuint)
[Version("2.4")]
public void AddPrivate(nuint privateSize)
Parameters
privateSize
nuint
AdjustPrivateOffset(IntPtr, ref int)
public static void AdjustPrivateOffset(IntPtr gClass, ref int privateSizeOrOffset)
Parameters
Equals(TypeClass?)
public bool Equals(TypeClass? other)
Parameters
other
TypeClass
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
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInstancePrivateOffset()
[Version("2.38")]
public int GetInstancePrivateOffset()
Returns
GetPrivate(Type)
public IntPtr GetPrivate(Type privateType)
Parameters
privateType
Type
Returns
Peek(Type)
public static TypeClass Peek(Type type)
Parameters
type
Type
Returns
PeekParent()
public TypeClass PeekParent()
Returns
PeekStatic(Type)
[Version("2.4")]
public static TypeClass PeekStatic(Type type)
Parameters
type
Type
Returns
Ref(Type)
public static TypeClass Ref(Type type)
Parameters
type
Type
Returns
Unref()
public void Unref()
UnrefUncached()
public void UnrefUncached()