problems with gnome_lamp widget
- From: Justin Maurer <mike911 clark net>
- To: gnome-list gnome org
- Subject: problems with gnome_lamp widget
- Date: Tue, 9 Jun 1998 20:53:46 -0400 (EDT)
here's my code:
void makeLamp(void)
{
Lamp = gnome_lamp_new();
gtk_box_pack_start(GTK_BOX(HBox), Lamp, TRUE, TRUE, 0);
c.red = 255;
c.blue = 0;
c.green = 0;
gnome_lamp_set_color(GNOME_LAMP(Lamp), &c);
gtk_widget_show(Lamp);
}
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?
--
justin
http://slashdot.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]