| View previous topic :: View next topic |
| Author |
Message |
ragnar
Joined: 01 Apr 2006 Posts: 14
|
Posted: Thu May 18, 2006 3:27 pm Post subject: gtktreeview rules_hint |
|
|
does somebody know if rules_hint works in the gtktreeview? because its not working for me and i dont know its just because is not programmend or because im doing something wrong.
thx |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Thu May 18, 2006 4:02 pm Post subject: |
|
|
How do you know it doesn't work? Is your setting returned by get_rules_hint()?
If yes, please remember the following:
| Quote: | | Some themes will draw tree rows in alternating colors even when rules are turned off, and users who prefer that appearance all the time can choose those themes. |
So it also can be that *no* different background colors are drawn at all, if the theme doesn't do it.
The setting works for me here. |
|
| Back to top |
|
 |
ragnar
Joined: 01 Apr 2006 Posts: 14
|
Posted: Sat May 20, 2006 1:36 am Post subject: |
|
|
yes, the setting also works fine for me, that is why i ask it, because although its activated its doesnt look like working... my theme is the default theme of windows xp, but its true that i dont know if windows support this behavior.
another solution that i tried to do was to put the border of the cells, but it wasnt good because the borders of the cells are not, they are just the color of background of the treeview, and i dont want to change the hole treeview background.
any other hint? |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Sat May 20, 2006 5:40 pm Post subject: |
|
|
You could disable the Gtk-Wimp theme that is installed by Gnope as default theme. Look for the file .gtkrc-2.0 in the \etc\ folder (somewhere around there, don't know exactly) and rename or delete it. The default (but ugly) Gtk2 theme will be used and you should be able to see the background colors. You could also try to use a different theme, or write the developers of gtk-wimp and ask if they could add support for this.
http://gtk-wimp.sourceforge.net/ |
|
| Back to top |
|
 |
|