AgsLedArray

AgsLedArray — A led array widget

Functions

Properties

guint led-count Read / Write
guint led-height Read / Write
guint led-width Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkAlignment
                            ╰── AgsLedArray
                                ├── AgsHLedArray
                                ╰── AgsVLedArray

Includes

#include <ags/widget/ags_led_array.h>

Description

AgsLedArray is a widget representing an array of leds.

Functions

ags_led_array_set_led_count ()

void
ags_led_array_set_led_count (AgsLedArray *led_array,
                             guint led_count);


ags_led_array_unset_all ()

void
ags_led_array_unset_all (AgsLedArray *led_array);


ags_led_array_set_nth ()

void
ags_led_array_set_nth (AgsLedArray *led_array,
                       guint nth);


ags_led_array_new ()

AgsLedArray *
ags_led_array_new ();

Creates an AgsLedArray. Note, use rather its implementation AgsVLedArray or AgsHLedArray.

Returns

a new AgsLedArray

Since: 0.7.122.7

Types and Values

enum AgsLedArrayFlags

Members

AGS_LED_ARRAY_ACTIVE

   

Property Details

The “led-count” property

  “led-count”                guint

The count of leds available.

Flags: Read / Write

Default value: 0

Since: 0.7.122.7


The “led-height” property

  “led-height”               guint

The height of one led.

Flags: Read / Write

Default value: 0

Since: 0.7.122.7


The “led-width” property

  “led-width”                guint

The width of one led.

Flags: Read / Write

Default value: 0

Since: 0.7.122.7