Table of Contents

Class Grid

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class Grid
Inheritance
Grid
Inherited Members

Methods

Attach(IntPtr, IntPtr, int, int, int, int)

Calls native method gtk_grid_attach.

public static extern void Attach(IntPtr grid, IntPtr child, int column, int row, int width, int height)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

row int

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

AttachNextTo(IntPtr, IntPtr, IntPtr, PositionType, int, int)

Calls native method gtk_grid_attach_next_to.

public static extern void AttachNextTo(IntPtr grid, IntPtr child, IntPtr sibling, PositionType side, int width, int height)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: True

side PositionType

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

height int

Transfer ownership: None Nullable: False

GetBaselineRow(IntPtr)

Calls native method gtk_grid_get_baseline_row.

public static extern int GetBaselineRow(IntPtr grid)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetChildAt(IntPtr, int, int)

Calls native method gtk_grid_get_child_at.

public static extern IntPtr GetChildAt(IntPtr grid, int column, int row)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

row int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetColumnHomogeneous(IntPtr)

Calls native method gtk_grid_get_column_homogeneous.

public static extern bool GetColumnHomogeneous(IntPtr grid)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetColumnSpacing(IntPtr)

Calls native method gtk_grid_get_column_spacing.

public static extern uint GetColumnSpacing(IntPtr grid)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_grid_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetRowBaselinePosition(IntPtr, int)

Calls native method gtk_grid_get_row_baseline_position.

public static extern BaselinePosition GetRowBaselinePosition(IntPtr grid, int row)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

row int

Transfer ownership: None Nullable: False

Returns

BaselinePosition

Transfer ownership: None Nullable: False

GetRowHomogeneous(IntPtr)

Calls native method gtk_grid_get_row_homogeneous.

public static extern bool GetRowHomogeneous(IntPtr grid)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetRowSpacing(IntPtr)

Calls native method gtk_grid_get_row_spacing.

public static extern uint GetRowSpacing(IntPtr grid)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

InsertColumn(IntPtr, int)

Calls native method gtk_grid_insert_column.

public static extern void InsertColumn(IntPtr grid, int position)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

InsertNextTo(IntPtr, IntPtr, PositionType)

Calls native method gtk_grid_insert_next_to.

public static extern void InsertNextTo(IntPtr grid, IntPtr sibling, PositionType side)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: False

side PositionType

Transfer ownership: None Nullable: False

InsertRow(IntPtr, int)

Calls native method gtk_grid_insert_row.

public static extern void InsertRow(IntPtr grid, int position)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_grid_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

QueryChild(IntPtr, IntPtr, out int, out int, out int, out int)

Calls native method gtk_grid_query_child.

public static extern void QueryChild(IntPtr grid, IntPtr child, out int column, out int row, out int width, out int height)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

column int

Transfer ownership: Full Nullable: False

row int

Transfer ownership: Full Nullable: False

width int

Transfer ownership: Full Nullable: False

height int

Transfer ownership: Full Nullable: False

Remove(IntPtr, IntPtr)

Calls native method gtk_grid_remove.

public static extern void Remove(IntPtr grid, IntPtr child)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

RemoveColumn(IntPtr, int)

Calls native method gtk_grid_remove_column.

public static extern void RemoveColumn(IntPtr grid, int position)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

RemoveRow(IntPtr, int)

Calls native method gtk_grid_remove_row.

public static extern void RemoveRow(IntPtr grid, int position)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

position int

Transfer ownership: None Nullable: False

SetBaselineRow(IntPtr, int)

Calls native method gtk_grid_set_baseline_row.

public static extern void SetBaselineRow(IntPtr grid, int row)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

row int

Transfer ownership: None Nullable: False

SetColumnHomogeneous(IntPtr, bool)

Calls native method gtk_grid_set_column_homogeneous.

public static extern void SetColumnHomogeneous(IntPtr grid, bool homogeneous)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

homogeneous bool

Transfer ownership: None Nullable: False

SetColumnSpacing(IntPtr, uint)

Calls native method gtk_grid_set_column_spacing.

public static extern void SetColumnSpacing(IntPtr grid, uint spacing)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

spacing uint

Transfer ownership: None Nullable: False

SetRowBaselinePosition(IntPtr, int, BaselinePosition)

Calls native method gtk_grid_set_row_baseline_position.

public static extern void SetRowBaselinePosition(IntPtr grid, int row, BaselinePosition pos)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

row int

Transfer ownership: None Nullable: False

pos BaselinePosition

Transfer ownership: None Nullable: False

SetRowHomogeneous(IntPtr, bool)

Calls native method gtk_grid_set_row_homogeneous.

public static extern void SetRowHomogeneous(IntPtr grid, bool homogeneous)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

homogeneous bool

Transfer ownership: None Nullable: False

SetRowSpacing(IntPtr, uint)

Calls native method gtk_grid_set_row_spacing.

public static extern void SetRowSpacing(IntPtr grid, uint spacing)

Parameters

grid IntPtr

Transfer ownership: None Nullable: False

spacing uint

Transfer ownership: None Nullable: False