Table of Contents

Class LayoutChild

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class LayoutChild : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
LayoutChild
Implements
Derived
Inherited Members

Constructors

LayoutChild(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 LayoutChild(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

LayoutChild(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected LayoutChild(CreationData data)

Parameters

data CreationData

LayoutChild(LayoutChildHandle)

protected LayoutChild(LayoutChildHandle handle)

Parameters

handle LayoutChildHandle

Fields

ChildWidgetPropertyDefinition

public static readonly Property<Widget?, LayoutChild> ChildWidgetPropertyDefinition

Field Value

Property<Widget, LayoutChild>

LayoutManagerPropertyDefinition

public static readonly Property<LayoutManager?, LayoutChild> LayoutManagerPropertyDefinition

Field Value

Property<LayoutManager, LayoutChild>

Properties

ChildWidget

public Widget? ChildWidget { get; }

Property Value

Widget

LayoutManager

public LayoutManager? LayoutManager { get; }

Property Value

LayoutManager

Methods

GetChildWidget()

public Widget GetChildWidget()

Returns

Widget

GetGType()

public static Type GetGType()

Returns

Type

GetLayoutManager()

public LayoutManager GetLayoutManager()

Returns

LayoutManager

NewFromPointer(nint, bool)

Creates a new managed LayoutChild instance for a given pointer.

public static LayoutChild NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

LayoutChild

NewWithProperties(ConstructArgument[])

Creates a new LayoutChild and sets the properties specified by the construct arguments.

public static LayoutChild NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

LayoutChild