Talk:Development/Tutorials/Kross/Scripts-as-Plugins: Difference between revisions

From KDE TechBase
(New page: Can Kross handle scripts that run throughout an application? Instead of execute then stop? And one last question. If so how can I go about doing that?)
 
No edit summary
 
Line 1: Line 1:
Can Kross handle scripts that run throughout an application? Instead of execute then stop? And one last question. If so how can I go about doing that?
Can Kross handle scripts that run throughout an application? Instead of execute then stop? And one last question. If so how can I go about doing that?
* once Action::trigger() was called, the script doesn't 'stop' but waits for something you like to do with it like e.g. calling a function, evaluating code or whatever. The script stops once Action::finalize() is called.

Latest revision as of 18:34, 8 March 2009

Can Kross handle scripts that run throughout an application? Instead of execute then stop? And one last question. If so how can I go about doing that?

  • once Action::trigger() was called, the script doesn't 'stop' but waits for something you like to do with it like e.g. calling a function, evaluating code or whatever. The script stops once Action::finalize() is called.