AgsDrum

AgsDrum — drum sequencer

Functions

Types and Values

#define AGS_TYPE_DRUM
struct AgsDrum
struct AgsDrumClass

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkHandleBox
                            ╰── AgsMachine
                                ╰── AgsDrum

Implemented Interfaces

AgsDrum implements AtkImplementorIface, GtkBuildable, AgsConnectable and AgsPlugin.

Includes

#include <ags/X/machine/ags_drum.h>

Description

The AgsDrum is a composite widget to act as drum sequencer.

Functions

ags_drum_new ()

AgsDrum *
ags_drum_new (GObject *soundcard);

Creates an AgsDrum

Parameters

soundcard

the assigned soundcard.

 

Returns

a new AgsDrum

Since: 1.0.0


AGS_DRUM()

#define AGS_DRUM(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM, AgsDrum))

AGS_DRUM_CLASS()

#define AGS_DRUM_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DRUM, AgsDrumClass))

AGS_DRUM_GET_CLASS()

#define AGS_DRUM_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DRUM, AgsDrumClass))

AGS_IS_DRUM()

#define AGS_IS_DRUM(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM))

ags_drum_get_type ()

GType
ags_drum_get_type (void);

Types and Values

AGS_TYPE_DRUM

#define AGS_TYPE_DRUM                (ags_drum_get_type())

struct AgsDrum

struct AgsDrum;

struct AgsDrumClass

struct AgsDrumClass {
  AgsMachineClass machine;
};