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
constructArgumentsConstructArgument[]
LayoutChild(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected LayoutChild(CreationData data)
Parameters
dataCreationData
LayoutChild(LayoutChildHandle)
protected LayoutChild(LayoutChildHandle handle)
Parameters
handleLayoutChildHandle
Fields
ChildWidgetPropertyDefinition
public static readonly Property<Widget?, LayoutChild> ChildWidgetPropertyDefinition
Field Value
LayoutManagerPropertyDefinition
public static readonly Property<LayoutManager?, LayoutChild> LayoutManagerPropertyDefinition
Field Value
Properties
ChildWidget
public Widget? ChildWidget { get; }
Property Value
LayoutManager
public LayoutManager? LayoutManager { get; }
Property Value
Methods
GetChildWidget()
public Widget GetChildWidget()
Returns
GetGType()
public static Type GetGType()
Returns
GetLayoutManager()
public LayoutManager GetLayoutManager()
Returns
NewFromPointer(nint, bool)
Creates a new managed LayoutChild instance for a given pointer.
public static LayoutChild NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new LayoutChild and sets the properties specified by the construct arguments.
public static LayoutChild NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.