tags:

views:

62

answers:

1

Can we have alternate Row color to GtkMenu items?
and how to increase menu item spacing size? using Gtk+ and C.

A: 

The answer is the same as this one and this one.

ptomato
You have not given any example for 'this one' and 'this one'. Can u provide one example for setting Style properties programmatic and through rc file?
PP
To be fair, you didn't ask for an example, in fact your question was quite vague. I just wanted to point out that axel_c already answered you about RC files, and we both warned you that users don't like it when you override their theme with your own RC file.
ptomato
But to answer your question, it's impossible to set style properties programmatically, you can only do it through RC files. There are examples here: http://library.gnome.org/devel/gtk/stable/gtk-Resource-Files.html
ptomato
oh! thanks for help.
PP