AgsOscillator

AgsOscillator — oscillator

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkFrame
                            ╰── AgsOscillator

Implemented Interfaces

AgsOscillator implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

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

Description

The AgsOscillator is a composite widget to act as oscillator.

Functions

ags_file_read_oscillator ()

void
ags_file_read_oscillator (AgsFile *file,
                          xmlNode *node,
                          AgsOscillator **oscillator);

ags_file_write_oscillator ()

xmlNode *
ags_file_write_oscillator (AgsFile *file,
                           xmlNode *parent,
                           AgsOscillator *oscillator);

ags_oscillator_control_changed ()

void
ags_oscillator_control_changed (AgsOscillator *oscillator);

The control changed event notifies about changed controls.

Parameters

oscillator

the AgsOscillator

 

Since: 1.0.0


ags_oscillator_new ()

AgsOscillator *
ags_oscillator_new ();

Creates an AgsOscillator

Returns

a new AgsOscillator

Since: 1.0.0


AGS_IS_OSCILLATOR()

#define AGS_IS_OSCILLATOR(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OSCILLATOR))

AGS_OSCILLATOR()

#define AGS_OSCILLATOR(obj)                (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_OSCILLATOR, AgsOscillator))

AGS_OSCILLATOR_CLASS()

#define AGS_OSCILLATOR_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_OSCILLATOR, AgsOscillatorClass))

AGS_OSCILLATOR_GET_CLASS()

#define AGS_OSCILLATOR_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OSCILLATOR, AgsOscillatorClass))

ags_oscillator_get_type ()

GType
ags_oscillator_get_type (void);

Types and Values

AGS_OSCILLATOR_DEFAULT_FRAME_COUNT

#define AGS_OSCILLATOR_DEFAULT_FRAME_COUNT (44100.0 / 27.5)

AGS_TYPE_OSCILLATOR

#define AGS_TYPE_OSCILLATOR                (ags_oscillator_get_type())

struct AgsOscillator

struct AgsOscillator;

struct AgsOscillatorClass

struct AgsOscillatorClass {
  GtkFrameClass frame;

  void (*control_changed)(AgsOscillator *oscillator);
};

Signal Details

The “control-changed” signal

void
user_function (AgsOscillator *agsoscillator,
               gpointer       user_data)

Flags: Run Last