AgsToggleLed

AgsToggleLed — toggle led object

Functions

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsToggleLed

Implemented Interfaces

AgsToggleLed implements AgsConnectable.

Includes

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

Description

The AgsToggleLed task toggles AgsLed and the GUI is updated.

Functions

ags_toggle_led_new ()

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

Creates an AgsToggleLed.

Parameters

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

Types and Values