Table of Contents

Class Leaflet

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

Methods

Append(IntPtr, IntPtr)

Calls native method adw_leaflet_append.

public static extern IntPtr Append(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

GetAdjacentChild(IntPtr, NavigationDirection)

Calls native method adw_leaflet_get_adjacent_child.

public static extern IntPtr GetAdjacentChild(IntPtr self, NavigationDirection direction)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

direction NavigationDirection

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetCanNavigateBack(IntPtr)

Calls native method adw_leaflet_get_can_navigate_back.

public static extern bool GetCanNavigateBack(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetCanNavigateForward(IntPtr)

Calls native method adw_leaflet_get_can_navigate_forward.

public static extern bool GetCanNavigateForward(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetCanUnfold(IntPtr)

Calls native method adw_leaflet_get_can_unfold.

public static extern bool GetCanUnfold(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetChildByName(IntPtr, NonNullableUtf8StringHandle)

Calls native method adw_leaflet_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

GetChildTransitionParams(IntPtr)

Calls native method adw_leaflet_get_child_transition_params.

public static extern SpringParamsOwnedHandle GetChildTransitionParams(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

SpringParamsOwnedHandle

Transfer ownership: Full Nullable: False

GetChildTransitionRunning(IntPtr)

Calls native method adw_leaflet_get_child_transition_running.

public static extern bool GetChildTransitionRunning(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetFoldThresholdPolicy(IntPtr)

Calls native method adw_leaflet_get_fold_threshold_policy.

public static extern FoldThresholdPolicy GetFoldThresholdPolicy(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

FoldThresholdPolicy

Transfer ownership: None Nullable: False

GetFolded(IntPtr)

Calls native method adw_leaflet_get_folded.

public static extern bool GetFolded(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function adw_leaflet_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHomogeneous(IntPtr)

Calls native method adw_leaflet_get_homogeneous.

public static extern bool GetHomogeneous(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetModeTransitionDuration(IntPtr)

Calls native method adw_leaflet_get_mode_transition_duration.

public static extern uint GetModeTransitionDuration(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetPage(IntPtr, IntPtr)

Calls native method adw_leaflet_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_leaflet_get_pages.

public static extern IntPtr GetPages(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

GetTransitionType(IntPtr)

Calls native method adw_leaflet_get_transition_type.

public static extern LeafletTransitionType GetTransitionType(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

LeafletTransitionType

Transfer ownership: None Nullable: False

GetVisibleChild(IntPtr)

Calls native method adw_leaflet_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_leaflet_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

InsertChildAfter(IntPtr, IntPtr, IntPtr)

Calls native method adw_leaflet_insert_child_after.

public static extern IntPtr InsertChildAfter(IntPtr self, IntPtr child, IntPtr sibling)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: False

Navigate(IntPtr, NavigationDirection)

Calls native method adw_leaflet_navigate.

public static extern bool Navigate(IntPtr self, NavigationDirection direction)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

direction NavigationDirection

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor adw_leaflet_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

Prepend(IntPtr, IntPtr)

Calls native method adw_leaflet_prepend.

public static extern IntPtr Prepend(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

Remove(IntPtr, IntPtr)

Calls native method adw_leaflet_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

ReorderChildAfter(IntPtr, IntPtr, IntPtr)

Calls native method adw_leaflet_reorder_child_after.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

sibling IntPtr

Transfer ownership: None Nullable: True

SetCanNavigateBack(IntPtr, bool)

Calls native method adw_leaflet_set_can_navigate_back.

public static extern void SetCanNavigateBack(IntPtr self, bool canNavigateBack)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

canNavigateBack bool

Transfer ownership: None Nullable: False

SetCanNavigateForward(IntPtr, bool)

Calls native method adw_leaflet_set_can_navigate_forward.

public static extern void SetCanNavigateForward(IntPtr self, bool canNavigateForward)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

canNavigateForward bool

Transfer ownership: None Nullable: False

SetCanUnfold(IntPtr, bool)

Calls native method adw_leaflet_set_can_unfold.

public static extern void SetCanUnfold(IntPtr self, bool canUnfold)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

canUnfold bool

Transfer ownership: None Nullable: False

SetChildTransitionParams(IntPtr, SpringParamsHandle)

Calls native method adw_leaflet_set_child_transition_params.

public static extern void SetChildTransitionParams(IntPtr self, SpringParamsHandle @params)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

params SpringParamsHandle

SetFoldThresholdPolicy(IntPtr, FoldThresholdPolicy)

Calls native method adw_leaflet_set_fold_threshold_policy.

public static extern void SetFoldThresholdPolicy(IntPtr self, FoldThresholdPolicy policy)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

policy FoldThresholdPolicy

Transfer ownership: None Nullable: False

SetHomogeneous(IntPtr, bool)

Calls native method adw_leaflet_set_homogeneous.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

homogeneous bool

Transfer ownership: None Nullable: False

SetModeTransitionDuration(IntPtr, uint)

Calls native method adw_leaflet_set_mode_transition_duration.

public static extern void SetModeTransitionDuration(IntPtr self, uint duration)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

duration uint

Transfer ownership: None Nullable: False

SetTransitionType(IntPtr, LeafletTransitionType)

Calls native method adw_leaflet_set_transition_type.

public static extern void SetTransitionType(IntPtr self, LeafletTransitionType transition)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

transition LeafletTransitionType

Transfer ownership: None Nullable: False

SetVisibleChild(IntPtr, IntPtr)

Calls native method adw_leaflet_set_visible_child.

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

Parameters

self IntPtr

Transfer ownership: None Nullable: False

visibleChild IntPtr

Transfer ownership: None Nullable: False

SetVisibleChildName(IntPtr, NonNullableUtf8StringHandle)

Calls native method adw_leaflet_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