Class Leaflet
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class Leaflet : Widget, IObject, INotifyPropertyChanged, IDisposable, Swipeable, Accessible, Buildable, ConstraintTarget, Orientable, IHandle, GTypeProvider
- Inheritance
-
Leaflet
- Implements
-
- Inherited Members
-
Constructors
Leaflet()
Leaflet(params ConstructArgument[])
protected Leaflet(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Leaflet(IntPtr, bool)
protected Leaflet(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
CanNavigateBackPropertyDefinition
public static readonly Property<bool, Leaflet> CanNavigateBackPropertyDefinition
Field Value
- Property<bool, Leaflet>
CanNavigateForwardPropertyDefinition
public static readonly Property<bool, Leaflet> CanNavigateForwardPropertyDefinition
Field Value
- Property<bool, Leaflet>
CanUnfoldPropertyDefinition
public static readonly Property<bool, Leaflet> CanUnfoldPropertyDefinition
Field Value
- Property<bool, Leaflet>
ChildTransitionParamsPropertyDefinition
public static readonly Property<SpringParams, Leaflet> ChildTransitionParamsPropertyDefinition
Field Value
- Property<SpringParams, Leaflet>
ChildTransitionRunningPropertyDefinition
public static readonly Property<bool, Leaflet> ChildTransitionRunningPropertyDefinition
Field Value
- Property<bool, Leaflet>
FoldThresholdPolicyPropertyDefinition
public static readonly Property<FoldThresholdPolicy, Leaflet> FoldThresholdPolicyPropertyDefinition
Field Value
- Property<FoldThresholdPolicy, Leaflet>
FoldedPropertyDefinition
public static readonly Property<bool, Leaflet> FoldedPropertyDefinition
Field Value
- Property<bool, Leaflet>
HomogeneousPropertyDefinition
public static readonly Property<bool, Leaflet> HomogeneousPropertyDefinition
Field Value
- Property<bool, Leaflet>
ModeTransitionDurationPropertyDefinition
public static readonly Property<uint, Leaflet> ModeTransitionDurationPropertyDefinition
Field Value
- Property<uint, Leaflet>
PagesPropertyDefinition
public static readonly Property<SelectionModel, Leaflet> PagesPropertyDefinition
Field Value
- Property<SelectionModel, Leaflet>
TransitionTypePropertyDefinition
public static readonly Property<LeafletTransitionType, Leaflet> TransitionTypePropertyDefinition
Field Value
- Property<LeafletTransitionType, Leaflet>
VisibleChildNamePropertyDefinition
public static readonly Property<string?, Leaflet> VisibleChildNamePropertyDefinition
Field Value
- Property<string, Leaflet>
VisibleChildPropertyDefinition
public static readonly Property<Widget?, Leaflet> VisibleChildPropertyDefinition
Field Value
- Property<Widget, Leaflet>
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
CanNavigateBack
public bool CanNavigateBack { get; set; }
Property Value
- bool
CanNavigateForward
public bool CanNavigateForward { get; set; }
Property Value
- bool
CanUnfold
public bool CanUnfold { get; set; }
Property Value
- bool
ChildTransitionParams
public SpringParams ChildTransitionParams { get; set; }
Property Value
- SpringParams
ChildTransitionRunning
public bool ChildTransitionRunning { get; }
Property Value
- bool
FoldThresholdPolicy
public FoldThresholdPolicy FoldThresholdPolicy { get; set; }
Property Value
- FoldThresholdPolicy
Folded
public bool Folded { get; }
Property Value
- bool
Homogeneous
public bool Homogeneous { get; set; }
Property Value
- bool
ModeTransitionDuration
public uint ModeTransitionDuration { get; set; }
Property Value
- uint
Pages
public SelectionModel Pages { get; }
Property Value
- SelectionModel
TransitionType
public LeafletTransitionType TransitionType { get; set; }
Property Value
- LeafletTransitionType
VisibleChild
public Widget? VisibleChild { get; set; }
Property Value
- Widget
VisibleChildName
public string? VisibleChildName { get; set; }
Property Value
- string
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
string
priority
AccessibleAnnouncementPriority
public LeafletPage Append(Widget child)
Parameters
child
Widget
Returns
- LeafletPage
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
- Accessible
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
- AccessibleRole
GetAdjacentChild(NavigationDirection)
public Widget? GetAdjacentChild(NavigationDirection direction)
Parameters
direction
NavigationDirection
Returns
- Widget
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
- ATContext
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
x
int
y
int
width
int
height
int
Returns
- bool
GetBuildableId()
public string? GetBuildableId()
Returns
- string
GetCanNavigateBack()
public bool GetCanNavigateBack()
Returns
- bool
GetCanNavigateForward()
public bool GetCanNavigateForward()
Returns
- bool
GetCanUnfold()
public bool GetCanUnfold()
Returns
- bool
GetCancelProgress()
public double GetCancelProgress()
Returns
- double
GetChildByName(string)
public Widget? GetChildByName(string name)
Parameters
name
string
Returns
- Widget
GetChildTransitionParams()
public SpringParams GetChildTransitionParams()
Returns
- SpringParams
GetChildTransitionRunning()
public bool GetChildTransitionRunning()
Returns
- bool
GetDistance()
public double GetDistance()
Returns
- double
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
GetFoldThresholdPolicy()
public FoldThresholdPolicy GetFoldThresholdPolicy()
Returns
- FoldThresholdPolicy
GetFolded()
Returns
- bool
GetGType()
public static Type GetGType()
Returns
- Type
GetHomogeneous()
public bool GetHomogeneous()
Returns
- bool
GetModeTransitionDuration()
public uint GetModeTransitionDuration()
Returns
- uint
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
- Accessible
GetOrientation()
public Orientation GetOrientation()
Returns
- Orientation
GetPage(Widget)
public LeafletPage GetPage(Widget child)
Parameters
child
Widget
Returns
- LeafletPage
GetPages()
public SelectionModel GetPages()
Returns
- SelectionModel
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
- bool
GetProgress()
public double GetProgress()
Returns
- double
GetTransitionType()
public LeafletTransitionType GetTransitionType()
Returns
- LeafletTransitionType
GetVisibleChild()
public Widget? GetVisibleChild()
Returns
- Widget
GetVisibleChildName()
public string? GetVisibleChildName()
Returns
- string
public LeafletPage InsertChildAfter(Widget child, Widget? sibling)
Parameters
child
Widget
sibling
Widget
Returns
- LeafletPage
Navigate(NavigationDirection)
public bool Navigate(NavigationDirection direction)
Parameters
direction
NavigationDirection
Returns
- bool
New()
public static Leaflet New()
Returns
- Leaflet
public LeafletPage Prepend(Widget child)
Parameters
child
Widget
Returns
- LeafletPage
public void Remove(Widget child)
Parameters
child
Widget
public void ReorderChildAfter(Widget child, Widget? sibling)
Parameters
child
Widget
sibling
Widget
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
Accessible
nextSibling
Accessible
SetCanNavigateBack(bool)
public void SetCanNavigateBack(bool canNavigateBack)
Parameters
canNavigateBack
bool
SetCanNavigateForward(bool)
public void SetCanNavigateForward(bool canNavigateForward)
Parameters
canNavigateForward
bool
SetCanUnfold(bool)
public void SetCanUnfold(bool canUnfold)
Parameters
canUnfold
bool
SetChildTransitionParams(SpringParams)
public void SetChildTransitionParams(SpringParams @params)
Parameters
params
SpringParams
SetFoldThresholdPolicy(FoldThresholdPolicy)
public void SetFoldThresholdPolicy(FoldThresholdPolicy policy)
Parameters
policy
FoldThresholdPolicy
SetHomogeneous(bool)
public void SetHomogeneous(bool homogeneous)
Parameters
homogeneous
bool
SetModeTransitionDuration(uint)
public void SetModeTransitionDuration(uint duration)
Parameters
duration
uint
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientation
Orientation
SetTransitionType(LeafletTransitionType)
public void SetTransitionType(LeafletTransitionType transition)
Parameters
transition
LeafletTransitionType
public void SetVisibleChild(Widget visibleChild)
Parameters
visibleChild
Widget
SetVisibleChildName(string)
public void SetVisibleChildName(string name)
Parameters
name
string
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible