[Kommander-devel] Connecting Kommander with Kross
Eric Laffoon
eric at kdewebdev.org
Thu Oct 19 12:24:32 EDT 2006
On Thursday 19 October 2006 3:45 am, Michal Rudolf wrote:
> Eric Laffoon, czwartek, 19 października 2006 12:38:
> >Particular limitations at the moment with internal integration is that we
> >can't yet pass parameters to and from scripts. We can use global
> > variables, but then passing to another language poses a problem. We can
> > also use environment variables within the instance of the shell we are
> > in.
>
> CVS version allows you to pass parameters to internal scripts, so as soon
> as we are able to embed Kross script, we should be able to use it.
I see the preliminary work for passing parameters with signals and slots to
scripts too. Unfortunately I can't seem to make any SVN tool produce the nice
version diffs I used to get with Cervisia... Anyway I remember our
discussion. It would be nice if you could post here exactly how to test this.
I see a new "item" in the function browser that looks like you can refer to
item(int index) for passed parameters and a mention of using "self" as we
discussed in widgets so it looks like...
self.item(int index)
returns arg i. I'm guessing you can use execute(arg1 arg2) but it's much
easier not blindly testing things like that. ;-)
--
Eric Laffoon
Project Lead - kdewebdev module
More information about the Kommander-devel
mailing list