Gjsify LogoGjsify Logo

Interface TimedAnimation_ConstructProps

Hierarchy

Index

Properties

alternate?: boolean

Whether the animation changes direction on every iteration.

duration?: number

Duration of the animation, in milliseconds.

Describes how much time the animation will take.

If the animation repeats more than once, describes the duration of one iteration.

easing?: Easing

Easing function used in the animation.

Describes the curve the value is interpolated on.

See [enumEasing] for the description of specific easing functions.

repeat_count?: number

Number of times the animation will play.

If set to 0, the animation will repeat endlessly.

reverse?: boolean

Whether the animation plays backwards.

The target to animate.

value_from?: number

The value to animate from.

The animation will start at this value and end at [propertyTimedAnimation:value-to].

If [propertyTimedAnimation:reverse] is TRUE, the animation will end at this value instead.

value_to?: number

The value to animate to.

The animation will start at [propertyTimedAnimation:value-from] and end at this value.

If [propertyTimedAnimation:reverse] is TRUE, the animation will start at this value instead.

widget?: Gtk.Widget

The animation widget.

It provides the frame clock for the animation. It's not strictly necessary for this widget to be same as the one being animated.

The widget must be mapped in order for the animation to work. If it's not mapped, or if it gets unmapped during an ongoing animation, the animation will be automatically skipped.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method