Table of Contents

Class CenterLayout

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class CenterLayout : LayoutManager, IDisposable, GTypeProvider, InstanceFactory
Inheritance
CenterLayout
Implements
Inherited Members

Constructors

CenterLayout(params ConstructArgument[])

public CenterLayout(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

CenterLayout(CenterLayoutHandle)

public CenterLayout(CenterLayoutHandle handle)

Parameters

handle CenterLayoutHandle

Fields

ShrinkCenterLastPropertyDefinition

public static readonly Property<bool, CenterLayout> ShrinkCenterLastPropertyDefinition

Field Value

Property<bool, CenterLayout>

Properties

ShrinkCenterLast

public bool ShrinkCenterLast { get; set; }

Property Value

bool

Methods

GetBaselinePosition()

public BaselinePosition GetBaselinePosition()

Returns

BaselinePosition

GetCenterWidget()

public Widget? GetCenterWidget()

Returns

Widget

GetEndWidget()

public Widget? GetEndWidget()

Returns

Widget

GetGType()

public static Type GetGType()

Returns

Type

GetOrientation()

public Orientation GetOrientation()

Returns

Orientation

GetShrinkCenterLast()

[Version("4.12")]
public bool GetShrinkCenterLast()

Returns

bool

GetStartWidget()

public Widget? GetStartWidget()

Returns

Widget

New()

public static CenterLayout New()

Returns

CenterLayout

SetBaselinePosition(BaselinePosition)

public void SetBaselinePosition(BaselinePosition baselinePosition)

Parameters

baselinePosition BaselinePosition

SetCenterWidget(Widget?)

public void SetCenterWidget(Widget? widget)

Parameters

widget Widget

SetEndWidget(Widget?)

public void SetEndWidget(Widget? widget)

Parameters

widget Widget

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation

SetShrinkCenterLast(bool)

[Version("4.12")]
public void SetShrinkCenterLast(bool shrinkCenterLast)

Parameters

shrinkCenterLast bool

SetStartWidget(Widget?)

public void SetStartWidget(Widget? widget)

Parameters

widget Widget