Plank.Drawing.AnimatedRenderer – plank – Vala Binding Reference

Plank.Drawing.AnimatedRenderer – plank Reference Manual

# AnimatedRenderer

## Object Hierarchy:

## Description:

public abstract class AnimatedRenderer : Object

Handles animated rendering. Uses a timer and continues requesting redraws for a widget until no more animation is needed.

All known sub-classes:

- DockRenderer

Namespace: Plank.Drawing
Package: plank

## Content:

### Properties:

- public Widget widget { construct; get; }
- public int64 frame_time { get; }

### Creation methods:

- public AnimatedRenderer (Widget widget)
  Creates a new animation renderer.

### Methods:

- protected abstract bool animation_needed (int64 frame_time)
  Determines if animation should continue.
- protected abstract void initialize_frame (int64 frame_time)
  Preparations which are not requiring a drawing context yet.
- public abstract void draw (Context cr, int64 frame_time)
  Draws onto a context.
- protected void force_frame_time_update ()
  Force an immediate update of the frame_time property.
- public void animated_draw ()
  Request re-drawing.

### Inherited Members:

All known members inherited from class GLib.Object

- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer

- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata

- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count