RE: [gtk-list] styles and rc files.
- From: Eden Li <tile primenet com>
- To: gtk-list redhat com
- Subject: RE: [gtk-list] styles and rc files.
- Date: Sat, 23 Jan 1999 14:28:41 -0700 (MST)
When and where do you call gtk_rc_parse () on the file .filerc? I don't think
gtk automatically parses ~/.filerc.
tile
According to Michael Sobolev:
| 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
|
| --
| To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]