Top | ![]() |
![]() |
![]() |
![]() |
guint | ags_led_array_get_led_count () |
void | ags_led_array_set_led_count () |
void | ags_led_array_unset_all () |
void | ags_led_array_set_nth () |
AgsLedArray * | ags_led_array_new () |
#define | AGS_IS_LED_ARRAY() |
#define | AGS_IS_LED_ARRAY_CLASS() |
#define | AGS_LED_ARRAY() |
#define | AGS_LED_ARRAY_CLASS() |
#define | AGS_LED_ARRAY_GET_CLASS() |
GType | ags_led_array_get_type () |
guint | led-count | Read / Write |
guint | segment-height | Read / Write |
guint | segment-width | Read / Write |
AgsLedArray implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.
guint
ags_led_array_get_led_count (AgsLedArray *led_array
);
Get led count of led_array
.
Since: 3.2.0
void ags_led_array_set_led_count (AgsLedArray *led_array
,guint led_count
);
Set led count of led_array
.
Since: 3.0.0
void
ags_led_array_unset_all (AgsLedArray *led_array
);
Unset all led active.
Since: 3.0.0
void ags_led_array_set_nth (AgsLedArray *led_array
,guint nth
);
Set nth
led active.
Since: 3.0.0
AgsLedArray * ags_led_array_new (GtkOrientation orientation
,guint segment_width
,guint segment_height
,guint led_count
);
Create a new instance of AgsLedArray.
Since: 3.0.0
#define AGS_IS_LED_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LED_ARRAY))
#define AGS_IS_LED_ARRAY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_LED_ARRAY))
#define AGS_LED_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LED_ARRAY, AgsLedArray))
#define AGS_LED_ARRAY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LED_ARRAY, AgsLedArrayClass))
#define AGS_LED_ARRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LED_ARRAY, AgsLedArrayClass))
“led-count”
property“led-count” guint
The count of leds available.
Owner: AgsLedArray
Flags: Read / Write
Default value: 0
Since: 3.0.0
“segment-height”
property“segment-height” guint
The segment height of one led.
Owner: AgsLedArray
Flags: Read / Write
Default value: 10
Since: 4.0.0
“segment-width”
property“segment-width” guint
The segment width of one led.
Owner: AgsLedArray
Flags: Read / Write
Default value: 10
Since: 4.0.0