AgsScrollOnPlay

AgsScrollOnPlay — scrolls the editor

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsScrollOnPlay

Implemented Interfaces

AgsScrollOnPlay implements AgsConnectable.

Includes

#include <ags/audio/task/ags_scroll_on_play.h>

Description

The AgsScrollOnPlay task scrolls the specified AgsEditor.

Functions

ags_scroll_on_play_new ()

AgsScrollOnPlay *
ags_scroll_on_play_new (GtkWidget *editor,
                        gdouble step);

Creates an AgsScrollOnPlay.

Parameters

editor

the AgsEditor to scroll

 

step

the amount to increment in pixel per control width

 

Returns

an new AgsScrollOnPlay.

Since: 1.0.0


AGS_IS_SCROLL_ON_PLAY()

#define AGS_IS_SCROLL_ON_PLAY(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SCROLL_ON_PLAY))

AGS_SCROLL_ON_PLAY()

#define AGS_SCROLL_ON_PLAY(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlay))

AGS_SCROLL_ON_PLAY_CLASS()

#define AGS_SCROLL_ON_PLAY_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlayClass))

AGS_SCROLL_ON_PLAY_GET_CLASS()

#define AGS_SCROLL_ON_PLAY_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlayClass))

ags_scroll_on_play_get_type ()

GType
ags_scroll_on_play_get_type ();

Types and Values

AGS_TYPE_SCROLL_ON_PLAY

#define AGS_TYPE_SCROLL_ON_PLAY                (ags_scroll_on_play_get_type())

struct AgsScrollOnPlay

struct AgsScrollOnPlay;

struct AgsScrollOnPlayClass

struct AgsScrollOnPlayClass {
  AgsTaskClass task;
};