Table of Contents

Class Stack

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

Methods

AddChild(IntPtr, IntPtr)

Calls native method gtk_stack_add_child.

public static extern IntPtr AddChild(IntPtr stack, IntPtr child)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

AddNamed(IntPtr, IntPtr, NullableUtf8StringHandle)

Calls native method gtk_stack_add_named.

public static extern IntPtr AddNamed(IntPtr stack, IntPtr child, NullableUtf8StringHandle name)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

name NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: False

AddTitled(IntPtr, IntPtr, NullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native method gtk_stack_add_titled.

public static extern IntPtr AddTitled(IntPtr stack, IntPtr child, NullableUtf8StringHandle name, NonNullableUtf8StringHandle title)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

name NullableUtf8StringHandle

Transfer ownership: None Nullable: True

title NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetChildByName(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_stack_get_child_by_name.

public static extern IntPtr GetChildByName(IntPtr stack, NonNullableUtf8StringHandle name)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_stack_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHhomogeneous(IntPtr)

Calls native method gtk_stack_get_hhomogeneous.

public static extern bool GetHhomogeneous(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetInterpolateSize(IntPtr)

Calls native method gtk_stack_get_interpolate_size.

public static extern bool GetInterpolateSize(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetPage(IntPtr, IntPtr)

Calls native method gtk_stack_get_page.

public static extern IntPtr GetPage(IntPtr stack, IntPtr child)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetPages(IntPtr)

Calls native method gtk_stack_get_pages.

public static extern IntPtr GetPages(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

GetTransitionDuration(IntPtr)

Calls native method gtk_stack_get_transition_duration.

public static extern uint GetTransitionDuration(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetTransitionRunning(IntPtr)

Calls native method gtk_stack_get_transition_running.

public static extern bool GetTransitionRunning(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetTransitionType(IntPtr)

Calls native method gtk_stack_get_transition_type.

public static extern StackTransitionType GetTransitionType(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

StackTransitionType

Transfer ownership: None Nullable: False

GetVhomogeneous(IntPtr)

Calls native method gtk_stack_get_vhomogeneous.

public static extern bool GetVhomogeneous(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetVisibleChild(IntPtr)

Calls native method gtk_stack_get_visible_child.

public static extern IntPtr GetVisibleChild(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetVisibleChildName(IntPtr)

Calls native method gtk_stack_get_visible_child_name.

public static extern NullableUtf8StringUnownedHandle GetVisibleChildName(IntPtr stack)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

New()

Calls native constructor gtk_stack_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

Remove(IntPtr, IntPtr)

Calls native method gtk_stack_remove.

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

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

SetHhomogeneous(IntPtr, bool)

Calls native method gtk_stack_set_hhomogeneous.

public static extern void SetHhomogeneous(IntPtr stack, bool hhomogeneous)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

hhomogeneous bool

Transfer ownership: None Nullable: False

SetInterpolateSize(IntPtr, bool)

Calls native method gtk_stack_set_interpolate_size.

public static extern void SetInterpolateSize(IntPtr stack, bool interpolateSize)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

interpolateSize bool

Transfer ownership: None Nullable: False

SetTransitionDuration(IntPtr, uint)

Calls native method gtk_stack_set_transition_duration.

public static extern void SetTransitionDuration(IntPtr stack, uint duration)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

duration uint

Transfer ownership: None Nullable: False

SetTransitionType(IntPtr, StackTransitionType)

Calls native method gtk_stack_set_transition_type.

public static extern void SetTransitionType(IntPtr stack, StackTransitionType transition)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

transition StackTransitionType

Transfer ownership: None Nullable: False

SetVhomogeneous(IntPtr, bool)

Calls native method gtk_stack_set_vhomogeneous.

public static extern void SetVhomogeneous(IntPtr stack, bool vhomogeneous)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

vhomogeneous bool

Transfer ownership: None Nullable: False

SetVisibleChild(IntPtr, IntPtr)

Calls native method gtk_stack_set_visible_child.

public static extern void SetVisibleChild(IntPtr stack, IntPtr child)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

SetVisibleChildFull(IntPtr, NonNullableUtf8StringHandle, StackTransitionType)

Calls native method gtk_stack_set_visible_child_full.

public static extern void SetVisibleChildFull(IntPtr stack, NonNullableUtf8StringHandle name, StackTransitionType transition)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

transition StackTransitionType

Transfer ownership: None Nullable: False

SetVisibleChildName(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_stack_set_visible_child_name.

public static extern void SetVisibleChildName(IntPtr stack, NonNullableUtf8StringHandle name)

Parameters

stack IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False