Table of Contents

Class Box

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

Methods

Append(IntPtr, IntPtr)

Calls native method gtk_box_append.

public static extern void Append(IntPtr box, IntPtr child)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

GetBaselineChild(IntPtr)

Calls native method gtk_box_get_baseline_child. Version: 4.12

[Version("4.12")]
public static extern int GetBaselineChild(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetBaselinePosition(IntPtr)

Calls native method gtk_box_get_baseline_position.

public static extern BaselinePosition GetBaselinePosition(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

BaselinePosition

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_box_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHomogeneous(IntPtr)

Calls native method gtk_box_get_homogeneous.

public static extern bool GetHomogeneous(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetSpacing(IntPtr)

Calls native method gtk_box_get_spacing.

public static extern int GetSpacing(IntPtr box)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

InsertChildAfter(IntPtr, IntPtr, IntPtr)

Calls native method gtk_box_insert_child_after.

public static extern void InsertChildAfter(IntPtr box, IntPtr child, IntPtr sibling)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: True

New(Orientation, int)

Calls native constructor gtk_box_new.

public static extern IntPtr New(Orientation orientation, int spacing)

Parameters

orientation Orientation

Transfer ownership: None Nullable: False

spacing int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

Prepend(IntPtr, IntPtr)

Calls native method gtk_box_prepend.

public static extern void Prepend(IntPtr box, IntPtr child)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

Remove(IntPtr, IntPtr)

Calls native method gtk_box_remove.

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

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

ReorderChildAfter(IntPtr, IntPtr, IntPtr)

Calls native method gtk_box_reorder_child_after.

public static extern void ReorderChildAfter(IntPtr box, IntPtr child, IntPtr sibling)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: True

SetBaselineChild(IntPtr, int)

Calls native method gtk_box_set_baseline_child. Version: 4.12

[Version("4.12")]
public static extern void SetBaselineChild(IntPtr box, int child)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

child int

Transfer ownership: None Nullable: False

SetBaselinePosition(IntPtr, BaselinePosition)

Calls native method gtk_box_set_baseline_position.

public static extern void SetBaselinePosition(IntPtr box, BaselinePosition position)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

position BaselinePosition

Transfer ownership: None Nullable: False

SetHomogeneous(IntPtr, bool)

Calls native method gtk_box_set_homogeneous.

public static extern void SetHomogeneous(IntPtr box, bool homogeneous)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

homogeneous bool

Transfer ownership: None Nullable: False

SetSpacing(IntPtr, int)

Calls native method gtk_box_set_spacing.

public static extern void SetSpacing(IntPtr box, int spacing)

Parameters

box IntPtr

Transfer ownership: None Nullable: False

spacing int

Transfer ownership: None Nullable: False