static boost::python::handle FX::FXPython::execute ( const FXString code,
boost::python::handle<>  context = globals() 
) [static]

Executes the specified piece of code within the specified context (ie; globals()) which can contain multiple lines (separate with \n), returning whatever the code returns. Ensure that an interpreter context has been set beforehand using FX::FXPythonInterp::setContext()

Referenced by FX::py().


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:32:29 2009 for TnFOX by doxygen v1.4.7