AgsLed

AgsLed — A led widget

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── AgsLed

Implemented Interfaces

AgsLed implements AtkImplementorIface and GtkBuildable.

Includes

#include <ags/widget/ags_led.h>

Description

AgsLed is a widget visualizing a gboolean value.

Functions

ags_led_set_active ()

void
ags_led_set_active (AgsLed *led);

ags_led_unset_active ()

void
ags_led_unset_active (AgsLed *led);

ags_led_new ()

AgsLed *
ags_led_new ();

Creates an AgsLed.

Returns

a new AgsLed

Since: 1.0.0


AGS_IS_LED()

#define AGS_IS_LED(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LED))

AGS_LED()

#define AGS_LED(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LED, AgsLed))

AGS_LED_CLASS()

#define AGS_LED_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LED, AgsLedClass))

AGS_LED_GET_CLASS()

#define AGS_LED_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LED, AgsLedClass))

ags_led_get_type ()

GType
ags_led_get_type (void);

Types and Values

AGS_LED_DEFAULT_WIDTH

#define AGS_LED_DEFAULT_WIDTH (12)

AGS_LED_DEFAULT_HEIGHT

#define AGS_LED_DEFAULT_HEIGHT (8)

enum AgsLedFlags

Members

AGS_LED_ACTIVE

   

AGS_TYPE_LED

#define AGS_TYPE_LED                (ags_led_get_type())

struct AgsLed

struct AgsLed;

struct AgsLedClass

struct AgsLedClass {
  GtkBinClass bin;
};