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
constructArgumentsConstructArgument[]
SizeGroup(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SizeGroup(CreationData data)
Parameters
dataCreationData
SizeGroup(SizeGroupHandle)
protected SizeGroup(SizeGroupHandle handle)
Parameters
handleSizeGroupHandle
Fields
ModePropertyDefinition
public static readonly Property<SizeGroupMode, SizeGroup> ModePropertyDefinition
Field Value
Properties
Mode
public SizeGroupMode Mode { get; set; }
Property Value
Methods
AddWidget(Widget)
public void AddWidget(Widget widget)
Parameters
widgetWidget
GetBuildableId()
public string? GetBuildableId()
Returns
GetGType()
public static Type GetGType()
Returns
GetMode()
public SizeGroupMode GetMode()
Returns
GetWidgets()
public SList GetWidgets()
Returns
New(SizeGroupMode)
public static SizeGroup New(SizeGroupMode mode)
Parameters
modeSizeGroupMode
Returns
NewFromPointer(nint, bool)
Creates a new managed SizeGroup instance for a given pointer.
public static SizeGroup NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SizeGroup and sets the properties specified by the construct arguments.
public static SizeGroup NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
RemoveWidget(Widget)
public void RemoveWidget(Widget widget)
Parameters
widgetWidget
SetMode(SizeGroupMode)
public void SetMode(SizeGroupMode mode)
Parameters
modeSizeGroupMode