styles and rc files.
- From: Michael Sobolev <mss transas com>
- To: gtk-list redhat com
- Subject: styles and rc files.
- Date: Sun, 24 Jan 1999 00:22:04 +0300
I do not quite understand how to make them work together.
What I have is:
list = gtk_list_new ();
...
list_item = gtk_list_item_new_with_label ("Hello");
...
gtk_container_add (GTK_CONTAINER (list), list_item);
gtk_widget_set_name (list_item, "fuzzy");
My ~/.filerc has the following:
style "fuzzy"
{
bg[NORMAL] = { 0.50, 0.50, 0.50 }
}
widget "*GtkList.fuzzy" style "fuzzy"
I do not get gray background for my list item. Why?
I checked the value of gtk_widget_path (list_item), it ends with GtkList.fuzzy.
--
Mike
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]