gdk color on a clist foreground



Hi, 

I hope this is the correct list for a GDK/GTK question.  I am trying to
set the foreground (the text) of a clist to gray under certain
situations.  However, I'm having trouble getting something resembling
gray.  I initialize the GdkColor like this:

  GdkColor color;
  color.red = 0x00ff;
  color.green = 0x00ff;
  color.blue = 0x00ff;

Then, I set the foreground:

  gtk_clist_set_foreground ((GtkCList *) ((Gep_gui*)data)->clist, indx,
&color);

I'd appreciate any help regarding this.

Thanks,
Wayne

-- 
Wayne Davis -- wayne waynedavis org -- GPG/PGP Key Available






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