Re: Changing the foreground color of a Combo/Text Entry widget
- From: muppet <scott asofyet org>
- To: "Ashwin Ramachandran" <rashwin28 gmail com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Changing the foreground color of a Combo/Text Entry widget
- Date: Tue, 19 Dec 2006 14:21:25 -0500
On Dec 19, 2006, at 8:17 AM, Ashwin Ramachandran wrote:
I tried using the 'modify_fg' API for a widget, but it does not
seem to change the foreground
color.
"fg" is the foreground color for "normal" widgets, such as labels,
and "bg" is the background color. "text" is the text color in
editable widget, and "base" is the editable's background color.
gtk_widget_modify_text()
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#id3689173
Gtk2::Widget::modify_text()
Somewhere in the API reference manual there is an explanation of
which colors are used where, but i can't remember where it was.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]