[Glade-users] setting resources
- From: damon ximian com (Damon Chaplin)
- Subject: [Glade-users] setting resources
- Date: Tue, 22 May 2001 15:02:20 -0400
Lourdes Maldonado wrote:
I am trying to display my GtkEntry fields such that they have yellow
letters on a solid black background. With the following resource file
specifications I am able to get the yellow letters but I only get a
black border around the GtkEntry.
-------------------------------------------------------------
style "entry"
{
fg[NORMAL] = {1.0, 1.0, 0}
bg[NORMAL] = {0, 0, 0}
}
wiget_class "*GtkEntry*" style "entry"
-------------------------------------------------------------
I think you may have to use the 'base' color for the background
for widgets like GtkEntry/GtkText, e.g.
style "entry"
{
fg[NORMAL] = {1.0, 1.0, 0}
base[NORMAL] = {0, 0, 0}
}
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]