Hi,
I want to set the background of some or all wigdets during creation
time using the gtk_rc_parse_string() function.
The piece of code I'm using looks as follows:
gtk_rc_parse_string("style \"background\"\n"
"{\n"
"bg[NORMAL] = \"646464\"\n"
"}"
"widget_class \"*\" style \"background\""
);
When running my app, I get the following err msg:
-:3: error: invalid string constant "646464", expected valid string constant
What I'm doing wrong? In the gtk+ reference manual I found that colors
can be specified as "rrggbb" where r/g/b are hex digits, and I mean, my
notation is correct.
The usage of "100.0,100.0,100.0" (usage of floats) produces similar err mgs.
Any help appreciated.
Regards
Joachim Backes
--
Joachim Backes <[EMAIL PROTECTED]> | Univ. of Kaiserslautern
Computer Center, Supercomputing Division | Phone: +49-631-205-2438
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax: +49-631-205-3056
---------------------------------------------+------------------------
WWW: http://sgi400.rhrk.uni-kl.de/home/staff/backes.html
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null