Re: How to set colors to Widgets



prashanth km22 wrote:
Hi all..

   I am beginer to GTK, i created window and butons, but i dont know
how to set colors to buttons. i saw gtk examples, i did not understand
. Tell me how to do that..

There are many ways to change the apearance of any widget,
for a simple colour background of a widget, a typical way
is to use gtk_widget_modify_bg()... its in the "GtkWidget"
documentation:
   http://developer.gnome.org/doc/API/2.0/gtk/ch01.html

Cheers,
                  -Tristan



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