Re: Changing window color



On 30 Jan 2003 10:30:08 +0000
Gustavo J. A. M. wrote:

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

I can't switch because the computer the program is running on is very
old/slow.  The link does not help me very much because of "undefined
reference to `gtk_widget_modify_bg'". I'll keep on searching :)

Thanks
-- 
Liviu BURCUSEL
Network Administrator
Registered Linux User #221627



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