Re: [Amsn-devel] Doubt building plugin

2006-05-21 Thread Youness Alaoui
not vwait.. tkwait.. vwait won't execute the event loop asaik KKRT On Sat, 20 May 2006 20:01:12 -0400, Álvaro J. Iradier"" <[EMAIL PROTECTED]> wrote: I guess it's blocking because it keeps on running the "while" loop for a long time. That's not the way to go. In fact, TCL is not multi threa

Re: [Amsn-devel] Doubt building plugin

2006-05-20 Thread Álvaro J. Iradier
I guess it's blocking because it keeps on running the "while" loop for a long time. That's not the way to go. In fact, TCL is not multi threaded, but event driven. So, the TCL/Tk interpreter has its own loop (the event loop) to wait for things to happen. If you're waiting for something to change i

Re: [Amsn-devel] Doubt building plugin

2006-05-20 Thread Salatiel Filho
i have added a new item on help menu , that calls one of my plugin's methods.But when i click it , amsn freezes until the plugin executes , that take a little time , because i have at least 1  "after 1" My plugin method method is something like: while  something [it will execute at most 3 t

Re: [Amsn-devel] Doubt building plugin

2006-05-20 Thread Youness Alaoui
after 1 "command" should not block amsn and it should work for delaying the execution of the command.. see if the blocking is not because of something else (like a tkwait or something) KKRT On Sat, 20 May 2006 17:11:13 -0400, Salatiel Filho <[EMAIL PROTECTED]> wrote: Hi , how can i

[Amsn-devel] Doubt building plugin

2006-05-20 Thread Salatiel Filho
Hi ,  how can i delay the execution of one line of my plugin ?I tried to use after 1 COMMAND , but apparently this blocks amsn entirely. Is there another command that doesn't block amsn ? -- []'sSalatiel"O maior prazer do inteligente é bancar o  idiota    diante de um  idiota que banca o inteli