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
public Widget? GetCenterWidget()
Returns
- Widget
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
public Widget? GetStartWidget()
Returns
- Widget
New()
public static CenterLayout New()
Returns
- CenterLayout
SetBaselinePosition(BaselinePosition)
public void SetBaselinePosition(BaselinePosition baselinePosition)
Parameters
baselinePosition
BaselinePosition
public void SetCenterWidget(Widget? widget)
Parameters
widget
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
public void SetStartWidget(Widget? widget)
Parameters
widget
Widget