[pygtk] Setting gecko attributes at runtime

Toufeeq Hussain toufeeqh at gmail.com
Tue Apr 3 21:27:09 WST 2007


Hi,

I'm using the pygtkmoxembed python module in a pygtk program. Now my
question is that I need to change one of the 'config' values of the
gecko widget at run-time. The configuration option in question is
"network.proxy.type".

I poked around in the gtkmozembed [1] reference but I couldn't see
anything which refered to modifying configuration options at runtime.

However there seems to be an in-built method called __set_attr__ for
the module. Will using this help or is it a 'python-module based
built-in method ? If it's the former how do I use it ?

Any help on this will be much apprecieated.

Thanks,
Toufeeq
[1] http://www.pygtk.org/pygtkmozembed/class-gtkmozembed.html
-- 
blog @ http://www.toufeeq.net


More information about the pygtk mailing list