Table of Contents

Class ViewStack

Namespace
Adw.Internal
Assembly
Adw-1.dll
public class ViewStack
Inheritance
ViewStack
Inherited Members

Methods

Add(IntPtr, IntPtr)

Calls native method adw_view_stack_add.

public static extern IntPtr Add(IntPtr self, IntPtr child)

Parameters

self 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 adw_view_stack_add_named.

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

Parameters

self 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 adw_view_stack_add_titled.

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

Parameters

self 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

AddTitledWithIcon(IntPtr, IntPtr, NullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native method adw_view_stack_add_titled_with_icon. Version: 1.2

[Version("1.2")]
public static extern IntPtr AddTitledWithIcon(IntPtr self, IntPtr child, NullableUtf8StringHandle name, NonNullableUtf8StringHandle title, NonNullableUtf8StringHandle iconName)

Parameters

self 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

iconName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetChildByName(IntPtr, NonNullableUtf8StringHandle)

Calls native method adw_view_stack_get_child_by_name.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function adw_view_stack_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHhomogeneous(IntPtr)

Calls native method adw_view_stack_get_hhomogeneous.

public static extern bool GetHhomogeneous(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetPage(IntPtr, IntPtr)

Calls native method adw_view_stack_get_page.

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

Parameters

self 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 adw_view_stack_get_pages.

public static extern IntPtr GetPages(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

GetVhomogeneous(IntPtr)

Calls native method adw_view_stack_get_vhomogeneous.

public static extern bool GetVhomogeneous(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetVisibleChild(IntPtr)

Calls native method adw_view_stack_get_visible_child.

public static extern IntPtr GetVisibleChild(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetVisibleChildName(IntPtr)

Calls native method adw_view_stack_get_visible_child_name.

public static extern NullableUtf8StringUnownedHandle GetVisibleChildName(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

New()

Calls native constructor adw_view_stack_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

Remove(IntPtr, IntPtr)

Calls native method adw_view_stack_remove.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

SetHhomogeneous(IntPtr, bool)

Calls native method adw_view_stack_set_hhomogeneous.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

hhomogeneous bool

Transfer ownership: None Nullable: False

SetVhomogeneous(IntPtr, bool)

Calls native method adw_view_stack_set_vhomogeneous.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

vhomogeneous bool

Transfer ownership: None Nullable: False

SetVisibleChild(IntPtr, IntPtr)

Calls native method adw_view_stack_set_visible_child.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

SetVisibleChildName(IntPtr, NonNullableUtf8StringHandle)

Calls native method adw_view_stack_set_visible_child_name.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False