AgsLed
AgsLed — A led widget
|
|
Stability Level
Stable, unless otherwise indicated
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── AgsLed
Includes
#include <ags/widget/ags_led.h>
Description
AgsLed is a widget visualizing a gboolean value.
Functions
ags_led_is_active ()
gboolean
ags_led_is_active (AgsLed *led
);
Set led
to active state.
Returns
TRUE
if led active, otherwise FALSE
Since: 3.2.0
ags_led_set_active ()
void
ags_led_set_active (AgsLed *led
);
Set led
to active state.
Since: 3.0.0
ags_led_unset_active ()
void
ags_led_unset_active (AgsLed *led
);
Unset led
active state.
Since: 3.0.0
ags_led_new ()
AgsLed *
ags_led_new ();
Create a new instance of AgsLed.
Since: 3.0.0
Types and Values
AGS_LED_DEFAULT_WIDTH
#define AGS_LED_DEFAULT_WIDTH (12)
AGS_LED_DEFAULT_HEIGHT
#define AGS_LED_DEFAULT_HEIGHT (8)