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

Re: Changing window color



On Thu, 2003-01-30 at 08:57, Liviu BURCUSEL wrote:
> Hello !
> 
> I've written a small application using GTK-1.2 and only one problem
> still remains open. From time to time I need to change the main window
> background from the default gray to red and back to gray but I don't
> know how. Please point me the right documentation or give me a hint in
> how to do that.

  1. Switch to Gtk+ 2.2 ;)
  2. Use this:
	http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-modify-bg

> 
> Thanks
-- 
Gustavo Joćo Alves Marques Carneiro
<gjc@inescporto.pt> <gustavo@users.sourceforge.net>





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