Table of Contents

Class GridLayoutChild

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

GridLayoutChild(CreationData)

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

Parameters

data CreationData

GridLayoutChild(GridLayoutChildHandle)

protected GridLayoutChild(GridLayoutChildHandle handle)

Parameters

handle GridLayoutChildHandle

Fields

ColumnPropertyDefinition

public static readonly Property<int, GridLayoutChild> ColumnPropertyDefinition

Field Value

Property<int, GridLayoutChild>

ColumnSpanPropertyDefinition

public static readonly Property<int, GridLayoutChild> ColumnSpanPropertyDefinition

Field Value

Property<int, GridLayoutChild>

RowPropertyDefinition

public static readonly Property<int, GridLayoutChild> RowPropertyDefinition

Field Value

Property<int, GridLayoutChild>

RowSpanPropertyDefinition

public static readonly Property<int, GridLayoutChild> RowSpanPropertyDefinition

Field Value

Property<int, GridLayoutChild>

Properties

Column

public int Column { get; set; }

Property Value

int

ColumnSpan

public int ColumnSpan { get; set; }

Property Value

int

Row

public int Row { get; set; }

Property Value

int

RowSpan

public int RowSpan { get; set; }

Property Value

int

Methods

GetColumn()

public int GetColumn()

Returns

int

GetColumnSpan()

public int GetColumnSpan()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetRow()

public int GetRow()

Returns

int

GetRowSpan()

public int GetRowSpan()

Returns

int

NewFromPointer(nint, bool)

Creates a new managed GridLayoutChild instance for a given pointer.

public static GridLayoutChild NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

GridLayoutChild

NewWithProperties(ConstructArgument[])

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

public static GridLayoutChild NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

GridLayoutChild

SetColumn(int)

public void SetColumn(int column)

Parameters

column int

SetColumnSpan(int)

public void SetColumnSpan(int span)

Parameters

span int

SetRow(int)

public void SetRow(int row)

Parameters

row int

SetRowSpan(int)

public void SetRowSpan(int span)

Parameters

span int