Table of Contents

Class CenterLayout

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

Methods

GetBaselinePosition(IntPtr)

Calls native method gtk_center_layout_get_baseline_position.

public static extern BaselinePosition GetBaselinePosition(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

BaselinePosition

Transfer ownership: None Nullable: False

GetCenterWidget(IntPtr)

Calls native method gtk_center_layout_get_center_widget.

public static extern IntPtr GetCenterWidget(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetEndWidget(IntPtr)

Calls native method gtk_center_layout_get_end_widget.

public static extern IntPtr GetEndWidget(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_center_layout_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetOrientation(IntPtr)

Calls native method gtk_center_layout_get_orientation.

public static extern Orientation GetOrientation(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

Orientation

Transfer ownership: None Nullable: False

GetShrinkCenterLast(IntPtr)

Calls native method gtk_center_layout_get_shrink_center_last. Version: 4.12

[Version("4.12")]
public static extern bool GetShrinkCenterLast(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetStartWidget(IntPtr)

Calls native method gtk_center_layout_get_start_widget.

public static extern IntPtr GetStartWidget(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

New()

Calls native constructor gtk_center_layout_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetBaselinePosition(IntPtr, BaselinePosition)

Calls native method gtk_center_layout_set_baseline_position.

public static extern void SetBaselinePosition(IntPtr self, BaselinePosition baselinePosition)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

baselinePosition BaselinePosition

Transfer ownership: None Nullable: False

SetCenterWidget(IntPtr, IntPtr)

Calls native method gtk_center_layout_set_center_widget.

public static extern void SetCenterWidget(IntPtr self, IntPtr widget)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: True

SetEndWidget(IntPtr, IntPtr)

Calls native method gtk_center_layout_set_end_widget.

public static extern void SetEndWidget(IntPtr self, IntPtr widget)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: True

SetOrientation(IntPtr, Orientation)

Calls native method gtk_center_layout_set_orientation.

public static extern void SetOrientation(IntPtr self, Orientation orientation)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

orientation Orientation

Transfer ownership: None Nullable: False

SetShrinkCenterLast(IntPtr, bool)

Calls native method gtk_center_layout_set_shrink_center_last. Version: 4.12

[Version("4.12")]
public static extern void SetShrinkCenterLast(IntPtr self, bool shrinkCenterLast)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

shrinkCenterLast bool

Transfer ownership: None Nullable: False

SetStartWidget(IntPtr, IntPtr)

Calls native method gtk_center_layout_set_start_widget.

public static extern void SetStartWidget(IntPtr self, IntPtr widget)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: True