AgsToggleLed

AgsToggleLed — toggle led object

Functions

Types and Values

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: 1.0.0


AGS_IS_TOGGLE_LED()

#define AGS_IS_TOGGLE_LED(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TOGGLE_LED))

AGS_TOGGLE_LED()

#define AGS_TOGGLE_LED(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TOGGLE_LED, AgsToggleLed))

AGS_TOGGLE_LED_CLASS()

#define AGS_TOGGLE_LED_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TOGGLE_LED, AgsToggleLedClass))

AGS_TOGGLE_LED_GET_CLASS()

#define AGS_TOGGLE_LED_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TOGGLE_LED, AgsToggleLedClass))

ags_toggle_led_get_type ()

GType
ags_toggle_led_get_type ();

Types and Values

AGS_TYPE_TOGGLE_LED

#define AGS_TYPE_TOGGLE_LED                (ags_toggle_led_get_type())

struct AgsToggleLed

struct AgsToggleLed;

struct AgsToggleLedClass

struct AgsToggleLedClass {
  AgsTaskClass task;
};