Table of Contents

Class OptionGroup

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class OptionGroup : BoxedRecord, IEquatable<OptionGroup>
Inheritance
OptionGroup
Implements
Inherited Members

Constructors

OptionGroup(OptionGroupOwnedHandle)

public OptionGroup(OptionGroupOwnedHandle handle)

Parameters

handle OptionGroupOwnedHandle

Properties

Handle

public OptionGroupOwnedHandle Handle { get; }

Property Value

OptionGroupOwnedHandle

Methods

Equals(OptionGroup?)

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

public bool Equals(OptionGroup? other)

Parameters

other OptionGroup

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.

Free()

[Version("2.6")]
public void Free()

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.

Ref()

[Version("2.44")]
public OptionGroup Ref()

Returns

OptionGroup

SetTranslateFunc(TranslateFunc?)

[Version("2.6")]
public void SetTranslateFunc(TranslateFunc? func)

Parameters

func TranslateFunc

SetTranslationDomain(string)

[Version("2.6")]
public void SetTranslationDomain(string domain)

Parameters

domain string

Unref()

[Version("2.44")]
public void Unref()