On Sun, Sep 28, 2003 at 08:26:57PM +0200, Niclas Olofsson wrote:
> However, I'm not 100% sure what a "frame" in ion is. 

Frame is a container/multiplexer for other objects that displays tabs
for the objects it contains.

> But that isn't how it 
> works right now, it only gives me the call back when I switch between 
> tabs. Is this a bug or am I missing something?

This is how it's supposed to work; there's no activation hook, only
hooks indicating when the object displayed in one of the multiplexers
(screen/frame) is changed.

> Also: Hooks are great for prototyping new functionality in lua. I'd like 
> more of them please. 

Just ask what you need or maybe send me the patches (but I might not
approve if I can think of a better alternative).

> Also because doing "lenghty" operations in callback 
> code is a BadThing(tm) I'd like to be able to exectute lua-code in a 
> worker-thread, but ion needs to provide the thread for me.

This is a major problem with Lua. There is some primitive inefficient 
thread support in the code... but it is not enabled in the default
build! Requiring users to build a special version of Lua for Ion
is not something I want. (Otherwise I would've used threads for the
file name completor stuff instead of pipes and an external program.)

-- 
Tuomo

Reply via email to