AgsLed

AgsLed — A led widget

Synopsis

#include <ags/widget/ags_led.h>

struct              AgsLed;
struct              AgsLedClass;
enum                AgsLedFlags;
AgsLed *            ags_led_new                         ();
void                ags_led_set_active                  (AgsLed *led);
void                ags_led_unset_active                (AgsLed *led);

Description

AgsLed is a widget visualizing a gboolean value.

Details

struct AgsLed

struct AgsLed {
  GtkBin bin;

  guint flags;
};

struct AgsLedClass

struct AgsLedClass {
  GtkBinClass bin;
};

enum AgsLedFlags

typedef enum {
  AGS_LED_ACTIVE        = 1,
} AgsLedFlags;

ags_led_new ()

AgsLed *            ags_led_new                         ();

Creates an AgsLed.

Returns :

a new AgsLed

Since 0.4


ags_led_set_active ()

void                ags_led_set_active                  (AgsLed *led);

ags_led_unset_active ()

void                ags_led_unset_active                (AgsLed *led);