how are you importing pygtk?

try like this:

import pygtk
pygtk.require('2.0')
import gtk

gtk.rc_parse("test") # rc file's path should be relative to the source file that calls this



...spike

On Nov 27, 2005, at 1.17 pm, tjas ni wrote:

Hello

I am trying to include my rc file, but I get this error:
unhandled NameError: "name 'rc_parse' is not defined"

this is my rc call:
rc_parse(test)
where test is my rc file...

What am I doing wrong here?

Thanks for any input
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to