Class BoxLayout
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class BoxLayout : LayoutManager, Orientable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
BoxLayout
- Implements
- Inherited Members
Constructors
BoxLayout(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 BoxLayout(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
BoxLayout(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BoxLayout(CreationData data)
Parameters
dataCreationData
BoxLayout(BoxLayoutHandle)
protected BoxLayout(BoxLayoutHandle handle)
Parameters
handleBoxLayoutHandle
Fields
BaselineChildPropertyDefinition
public static readonly Property<int, BoxLayout> BaselineChildPropertyDefinition
Field Value
BaselinePositionPropertyDefinition
public static readonly Property<BaselinePosition, BoxLayout> BaselinePositionPropertyDefinition
Field Value
HomogeneousPropertyDefinition
public static readonly Property<bool, BoxLayout> HomogeneousPropertyDefinition
Field Value
SpacingPropertyDefinition
public static readonly Property<int, BoxLayout> SpacingPropertyDefinition
Field Value
Properties
BaselineChild
public int BaselineChild { get; set; }
Property Value
BaselinePosition
public BaselinePosition BaselinePosition { get; set; }
Property Value
Homogeneous
public bool Homogeneous { get; set; }
Property Value
Spacing
public int Spacing { get; set; }
Property Value
Methods
GetBaselineChild()
[Version("4.12")]
public int GetBaselineChild()
Returns
GetBaselinePosition()
public BaselinePosition GetBaselinePosition()
Returns
GetGType()
public static Type GetGType()
Returns
GetHomogeneous()
public bool GetHomogeneous()
Returns
GetOrientation()
public Orientation GetOrientation()
Returns
GetSpacing()
public uint GetSpacing()
Returns
New(Orientation)
public static BoxLayout New(Orientation orientation)
Parameters
orientationOrientation
Returns
NewFromPointer(nint, bool)
Creates a new managed BoxLayout instance for a given pointer.
public static BoxLayout NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new BoxLayout and sets the properties specified by the construct arguments.
public static BoxLayout NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetBaselineChild(int)
[Version("4.12")]
public void SetBaselineChild(int child)
Parameters
childint
SetBaselinePosition(BaselinePosition)
public void SetBaselinePosition(BaselinePosition position)
Parameters
positionBaselinePosition
SetHomogeneous(bool)
public void SetHomogeneous(bool homogeneous)
Parameters
homogeneousbool
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientationOrientation
SetSpacing(uint)
public void SetSpacing(uint spacing)
Parameters
spacinguint