AgsLedArray
AgsLedArray — A led array widget
|
|
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkAlignment
╰── AgsLedArray
├── AgsHLedArray
╰── AgsVLedArray
Implemented Interfaces
AgsLedArray implements
AtkImplementorIface and GtkBuildable.
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_IS_LED_ARRAY()
#define AGS_IS_LED_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LED_ARRAY))
AGS_LED_ARRAY()
#define AGS_LED_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LED_ARRAY, AgsLedArray))
AGS_LED_ARRAY_CLASS()
#define AGS_LED_ARRAY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LED_ARRAY, AgsLedArrayClass))
AGS_LED_ARRAY_GET_CLASS()
#define AGS_LED_ARRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LED_ARRAY, AgsLedArrayClass))
ags_led_array_get_type ()
GType
ags_led_array_get_type (void
);
Types and Values
AGS_TYPE_LED_ARRAY
#define AGS_TYPE_LED_ARRAY (ags_led_array_get_type())
struct AgsLedArray
struct AgsLedArray;
struct AgsLedArrayClass
struct AgsLedArrayClass {
GtkAlignmentClass alignment;
};
Property Details
The “led-count”
property
“led-count” guint
The count of leds available.
Flags: Read / Write
Default value: 0
Since: 1.0.0
The “led-height”
property
“led-height” guint
The height of one led.
Flags: Read / Write
Default value: 0
Since: 1.0.0
The “led-width”
property
“led-width” guint
The width of one led.
Flags: Read / Write
Default value: 0
Since: 1.0.0