/* helloworld.i main function to call the pygtk GUI to helloworld. syntax: yorick -i helloworld.i Authors: F.Rigaut, Dec 2007 */ require,"pyk.i"; helloworldtop = get_cwd(); // build command to spawn: python_exec = helloworldtop+"/helloworld.py"; pyk_cmd=[python_exec,helloworldtop]; // spawn it and attach to _pyk_callback (see pyk.i): // that starts python and pass it the path to the glade file _pyk_proc = spawn(pyk_cmd, _pyk_callback);