GXK Interface Reference

/opt/src/beast/beast-gtk/gxk/gxkled.h

SYNOPSIS

DESCRIPTION

GxkLed

/opt/src/beast/beast-gtk/gxk/gxkled.h:42
struct GxkLed
{
  GtkWidget  parent_instance;
  guint      color;
  guint      border_width;
  guint      radius;
  GdkPixbuf *pixbuf;
};

GxkLedClass

/opt/src/beast/beast-gtk/gxk/gxkled.h:50
struct GxkLedClass
{
  GtkWidgetClass parent_class;
};

gxk_led_get_type

/opt/src/beast/beast-gtk/gxk/gxkled.h:56

gxk_led_new

/opt/src/beast/beast-gtk/gxk/gxkled.h:57
gpointer  gxk_led_new 
(guint color);
Create a new led widget. It's active color can be specified as 24bit RGB color value.
color: rgb color

gxk_led_set_border_width

/opt/src/beast/beast-gtk/gxk/gxkled.h:61
void  gxk_led_set_border_width 
(GxkLed *self,
 guint   border_width);

gxk_led_set_color

/opt/src/beast/beast-gtk/gxk/gxkled.h:59
void  gxk_led_set_color 
(GxkLed *self,
 guint   rgb_colors);
Set the current led color as 24bit RGB values.
self: valid GxkLed
color: color as RGB byte triple