The string for rc_parse_string() is the same format as the rc files. It
basically allows you to embed an rc file in your application. Here is an
example:
rcfile = """
style "default_style"
{
bg[NORMAL] = { 0.5647, 0.6902, 0.6588 }
bg[ACTIVE] = { 0.49, 0.60, 0.57 }
bg[PRELIGHT] = { 0.67, 0.83, 0.79 }
bg[INSENSITIVE] = { 0.5647, 0.6902, 0.6588 }
}
widget_class "*" style "default_style"
"""
rc_parse_string(rcfile)
The reason that the "style.bg_pixmap[...] = pixmap" causes a crash is a
bug and will be fixed in the next version.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 8 Mar 2000 [EMAIL PROTECTED] wrote:
> Please, i need a rc_parse_string(mystring) example. What's it "mystring"
> format?
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]