problems with gnome_lamp widget

here's my code:

void makeLamp(void)
Lamp = gnome_lamp_new();
gtk_box_pack_start(GTK_BOX(HBox), Lamp, TRUE, TRUE, 0); = 255; = 0; = 0;
gnome_lamp_set_color(GNOME_LAMP(Lamp), &c);

here's my problem: 
first off - i'm using GdkColor c; and including <libgnomeui/gnome-lamp.h>,
so those aren't my problems.

no matter what values i set the three colors to, the lamp is always dark
black. i've tried 255, 100, 100, etc. none work. if i don't set them at
all, it's set to the ince neutral grey color.

any ideas?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]