AgsToggleLed

AgsToggleLed — toggle led object

Synopsis

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

struct              AgsToggleLed;
struct              AgsToggleLedClass;
AgsToggleLed *      ags_toggle_led_new                  (GList *led,
                                                         guint set_active,
                                                         guint unset_active);

Description

The AgsToggleLed task toggles AgsLed and the GUI is updated.

Details

struct AgsToggleLed

struct AgsToggleLed {
  AgsTask task;

  GList *led;
  guint set_active;
  guint unset_active;
};

struct AgsToggleLedClass

struct AgsToggleLedClass {
  AgsTaskClass task;
};

ags_toggle_led_new ()

AgsToggleLed *      ags_toggle_led_new                  (GList *led,
                                                         guint set_active,
                                                         guint unset_active);

Creates an AgsToggleLed.

led :

the AgsLed to toggle

set_active :

the nth led to activate

unset_active :

the nth led to deactivate

Returns :

an new AgsToggleLed.

Since 0.4