Table of Contents

Class SizeGroup

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class SizeGroup : Object, Buildable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
SizeGroup
Implements
Inherited Members

Constructors

SizeGroup(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SizeGroup(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SizeGroup(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SizeGroup(CreationData data)

Parameters

data CreationData

SizeGroup(SizeGroupHandle)

protected SizeGroup(SizeGroupHandle handle)

Parameters

handle SizeGroupHandle

Fields

ModePropertyDefinition

public static readonly Property<SizeGroupMode, SizeGroup> ModePropertyDefinition

Field Value

Property<SizeGroupMode, SizeGroup>

Properties

Mode

public SizeGroupMode Mode { get; set; }

Property Value

SizeGroupMode

Methods

AddWidget(Widget)

public void AddWidget(Widget widget)

Parameters

widget Widget

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetMode()

public SizeGroupMode GetMode()

Returns

SizeGroupMode

GetWidgets()

public SList GetWidgets()

Returns

SList

New(SizeGroupMode)

public static SizeGroup New(SizeGroupMode mode)

Parameters

mode SizeGroupMode

Returns

SizeGroup

NewFromPointer(nint, bool)

Creates a new managed SizeGroup instance for a given pointer.

public static SizeGroup NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SizeGroup

NewWithProperties(ConstructArgument[])

Creates a new SizeGroup and sets the properties specified by the construct arguments.

public static SizeGroup NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SizeGroup

RemoveWidget(Widget)

public void RemoveWidget(Widget widget)

Parameters

widget Widget

SetMode(SizeGroupMode)

public void SetMode(SizeGroupMode mode)

Parameters

mode SizeGroupMode