Re: Changing the background color of a window

2003-02-26 Thread J. Santana
Havoc Pennington wrote > Because you do 0-256 so you are pretty much always > asking for "black" You're right. All my problems were mostly caused by that. Now setting the background is trivial. :) -- __ Sign-up for your own FREE Pe

Changing the background color of a window

2003-02-25 Thread j. santana
Hi I'm trying to change the background color of a window randomly, but I always get a black filled window, even though I get random values from g_rand. (I'm trying this as an exercise in learning GTK.) What would be the best way to achieve this effect ? static int configure_event_cb(GtkWidget *