Table of Contents

Class Carousel

Namespace
Adw
Assembly
Adw-1.dll
public sealed class Carousel : Widget, IObject, INotifyPropertyChanged, IDisposable, Swipeable, Accessible, Buildable, ConstraintTarget, Orientable, IHandle, GTypeProvider
Inheritance
Carousel
Implements
Inherited Members

Constructors

public Carousel()
protected Carousel(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]
protected Carousel(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

public static readonly Property<bool, Carousel> AllowLongSwipesPropertyDefinition

Field Value

Property<bool, Carousel>
public static readonly Property<bool, Carousel> AllowMouseDragPropertyDefinition

Field Value

Property<bool, Carousel>
public static readonly Property<bool, Carousel> AllowScrollWheelPropertyDefinition

Field Value

Property<bool, Carousel>
public static readonly Property<bool, Carousel> InteractivePropertyDefinition

Field Value

Property<bool, Carousel>
public static readonly Property<uint, Carousel> NPagesPropertyDefinition

Field Value

Property<uint, Carousel>

Signal Descriptor for OnPageChanged.

public static readonly Signal<Carousel, Carousel.PageChangedSignalArgs> PageChangedSignal

Field Value

Signal<Carousel, Carousel.PageChangedSignalArgs>
public static readonly Property<double, Carousel> PositionPropertyDefinition

Field Value

Property<double, Carousel>
public static readonly Property<uint, Carousel> RevealDurationPropertyDefinition

Field Value

Property<uint, Carousel>
public static readonly Property<SpringParams, Carousel> ScrollParamsPropertyDefinition

Field Value

Property<SpringParams, Carousel>
public static readonly Property<uint, Carousel> SpacingPropertyDefinition

Field Value

Property<uint, Carousel>

Properties

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole
public bool AllowLongSwipes { get; set; }

Property Value

bool
public bool AllowMouseDrag { get; set; }

Property Value

bool
public bool AllowScrollWheel { get; set; }

Property Value

bool
public bool Interactive { get; set; }

Property Value

bool
public uint NPages { get; }

Property Value

uint
public double Position { get; }

Property Value

double
public uint RevealDuration { get; set; }

Property Value

uint
public SpringParams ScrollParams { get; set; }

Property Value

SpringParams
public uint Spacing { get; set; }

Property Value

uint

Methods

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority
public void Append(Widget child)

Parameters

child Widget
[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible
public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole
public bool GetAllowLongSwipes()

Returns

bool
public bool GetAllowMouseDrag()

Returns

bool
public bool GetAllowScrollWheel()

Returns

bool
[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext
[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
public string? GetBuildableId()

Returns

string
public double GetCancelProgress()

Returns

double
public double GetDistance()

Returns

double
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible
public static Type GetGType()

Returns

Type
public bool GetInteractive()

Returns

bool
public uint GetNPages()

Returns

uint
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible
public Widget GetNthPage(uint n)

Parameters

n uint

Returns

Widget
public Orientation GetOrientation()

Returns

Orientation
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool
public double GetPosition()

Returns

double
public double GetProgress()

Returns

double
public uint GetRevealDuration()

Returns

uint
public SpringParams GetScrollParams()

Returns

SpringParams
public uint GetSpacing()

Returns

uint
public void Insert(Widget child, int position)

Parameters

child Widget
position int
public static Carousel New()

Returns

Carousel
public void Prepend(Widget child)

Parameters

child Widget
public void Remove(Widget child)

Parameters

child Widget
public void Reorder(Widget child, int position)

Parameters

child Widget
position int
public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty
public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation
public void ResetState(AccessibleState state)

Parameters

state AccessibleState
public void ScrollTo(Widget widget, bool animate)

Parameters

widget Widget
animate bool
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible
public void SetAllowLongSwipes(bool allowLongSwipes)

Parameters

allowLongSwipes bool
public void SetAllowMouseDrag(bool allowMouseDrag)

Parameters

allowMouseDrag bool
public void SetAllowScrollWheel(bool allowScrollWheel)

Parameters

allowScrollWheel bool
public void SetInteractive(bool interactive)

Parameters

interactive bool
public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation
public void SetRevealDuration(uint revealDuration)

Parameters

revealDuration uint
public void SetScrollParams(SpringParams @params)

Parameters

params SpringParams
public void SetSpacing(uint spacing)

Parameters

spacing uint
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible

Events

public event SignalHandler<Carousel, Carousel.PageChangedSignalArgs> OnPageChanged

Event Type

SignalHandler<Carousel, Carousel.PageChangedSignalArgs>