Table of Contents

Class CenterLayout

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

Constructors

CenterLayout(bool, params ConstructArgument[])

protected CenterLayout(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

CenterLayout(IntPtr, bool)

protected CenterLayout(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

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