Page 1 of 1

New ScriptingModule

Posted: Sun Jan 08, 2006 22:42
by guyver6
A while ago, around summer, I promised Crazy Eddie that I'll make another scripting module for something different than Lua.

So there I have it, working, but before I'll publish it, I need to solve one problem I'm hitting... well, or it looks like I don't know how to subscribe handlers to events on .layout level, or it's broken. I do sth like that:

Code: Select all

<Event Name="Moved" Function="moveIt" />

What I get is exception from XML parser. Schema is ok, so I thought that maybe it's broken or what?

Oh, btw, the script module is for Python. :)

Greetings,
Guyver

Re: New ScriptingModule

Posted: Mon Jan 09, 2006 01:06
by lindquist
The CEGUI library just does a

Code: Select all

wnd->subscribeEvent(eventName, ScriptFunctor(functionName));


If you have this functionality up and running, it should work.

HTH