Re: need help in looping many times...



On Mon, 23 Jan 2012 18:17:41 -0800
Gary Kline <kline thought org> wrote:

right now, the user has to click and wait for gvim to spawn before
he can type.  how can i code this so that the editor pops up over
and over *while waiting for the user to type.*  if the user typed
nothing, the program would pause.  


Wouldn't it be easier to simply add an editor window to your program?
Use for example, the GtkTextView widget. You won't have to spawn
external editors, and always have the text available.
You can even implement cut/copy/paste, re-use recent text, etc.

Also, you launch the reproduction as a thread, and permit editing while
permitting edition.

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]