Re: How to set colors to Widgets
- From: Tristan Van Berkom <tvb gnome org>
- To: prashanth km22 <prashanthkm22 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: How to set colors to Widgets
- Date: Mon, 03 Jul 2006 16:52:57 -0400
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]