Class Carousel
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class Carousel : Widget, IDisposable, Swipeable, Accessible, Buildable, ConstraintTarget, Orientable, GTypeProvider, InstanceFactory
- Inheritance
-
Carousel
- Implements
- Inherited Members
Constructors
Carousel(CarouselHandle)
public Carousel(CarouselHandle handle)
Parameters
handle
CarouselHandle
Carousel(params ConstructArgument[])
public Carousel(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Fields
AllowLongSwipesPropertyDefinition
public static readonly Property<bool, Carousel> AllowLongSwipesPropertyDefinition
Field Value
AllowMouseDragPropertyDefinition
public static readonly Property<bool, Carousel> AllowMouseDragPropertyDefinition
Field Value
AllowScrollWheelPropertyDefinition
public static readonly Property<bool, Carousel> AllowScrollWheelPropertyDefinition
Field Value
InteractivePropertyDefinition
public static readonly Property<bool, Carousel> InteractivePropertyDefinition
Field Value
NPagesPropertyDefinition
public static readonly Property<uint, Carousel> NPagesPropertyDefinition
Field Value
PageChangedSignal
Signal Descriptor for OnPageChanged.
public static readonly Signal<Carousel, Carousel.PageChangedSignalArgs> PageChangedSignal
Field Value
PositionPropertyDefinition
public static readonly Property<double, Carousel> PositionPropertyDefinition
Field Value
RevealDurationPropertyDefinition
public static readonly Property<uint, Carousel> RevealDurationPropertyDefinition
Field Value
ScrollParamsPropertyDefinition
public static readonly Property<SpringParams, Carousel> ScrollParamsPropertyDefinition
Field Value
SpacingPropertyDefinition
public static readonly Property<uint, Carousel> SpacingPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
AllowLongSwipes
public bool AllowLongSwipes { get; set; }
Property Value
AllowMouseDrag
public bool AllowMouseDrag { get; set; }
Property Value
AllowScrollWheel
public bool AllowScrollWheel { get; set; }
Property Value
Interactive
public bool Interactive { get; set; }
Property Value
NPages
public uint NPages { get; }
Property Value
Position
public double Position { get; }
Property Value
RevealDuration
public uint RevealDuration { get; set; }
Property Value
ScrollParams
public SpringParams ScrollParams { get; set; }
Property Value
Spacing
public uint Spacing { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
Append(Widget)
public void Append(Widget child)
Parameters
child
Widget
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAllowLongSwipes()
public bool GetAllowLongSwipes()
Returns
GetAllowMouseDrag()
public bool GetAllowMouseDrag()
Returns
GetAllowScrollWheel()
public bool GetAllowScrollWheel()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetCancelProgress()
public double GetCancelProgress()
Returns
GetDistance()
public double GetDistance()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetInteractive()
public bool GetInteractive()
Returns
GetNPages()
public uint GetNPages()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetNthPage(uint)
public Widget GetNthPage(uint n)
Parameters
n
uint
Returns
GetOrientation()
public Orientation GetOrientation()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetPosition()
public double GetPosition()
Returns
GetProgress()
public double GetProgress()
Returns
GetRevealDuration()
public uint GetRevealDuration()
Returns
GetScrollParams()
public SpringParams GetScrollParams()
Returns
GetSpacing()
public uint GetSpacing()
Returns
Insert(Widget, int)
public void Insert(Widget child, int position)
Parameters
New()
public static Carousel New()
Returns
Prepend(Widget)
public void Prepend(Widget child)
Parameters
child
Widget
Remove(Widget)
public void Remove(Widget child)
Parameters
child
Widget
Reorder(Widget, int)
public void Reorder(Widget child, int position)
Parameters
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
ScrollTo(Widget, bool)
public void ScrollTo(Widget widget, bool animate)
Parameters
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
AccessiblenextSibling
Accessible
SetAllowLongSwipes(bool)
public void SetAllowLongSwipes(bool allowLongSwipes)
Parameters
allowLongSwipes
bool
SetAllowMouseDrag(bool)
public void SetAllowMouseDrag(bool allowMouseDrag)
Parameters
allowMouseDrag
bool
SetAllowScrollWheel(bool)
public void SetAllowScrollWheel(bool allowScrollWheel)
Parameters
allowScrollWheel
bool
SetInteractive(bool)
public void SetInteractive(bool interactive)
Parameters
interactive
bool
SetOrientation(Orientation)
public void SetOrientation(Orientation orientation)
Parameters
orientation
Orientation
SetRevealDuration(uint)
public void SetRevealDuration(uint revealDuration)
Parameters
revealDuration
uint
SetScrollParams(SpringParams)
public void SetScrollParams(SpringParams @params)
Parameters
params
SpringParams
SetSpacing(uint)
public void SetSpacing(uint spacing)
Parameters
spacing
uint
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnPageChanged
public event SignalHandler<Carousel, Carousel.PageChangedSignalArgs> OnPageChanged