Re: How to wait for a key press

2017-12-20 Thread T C
Hello, I got a little worked up but the fact is you shared a lot with me, which I appreciate. I am willing to study Leo in depth - if you can drop a few more clues I might figure things out. I find the code you wrote is a little beyond me. I don't have much experience with the object oriented

Re: How to wait for a key press

2017-12-20 Thread tscv11
Hello, Okay, so you're saying it's too complicted to wait for a key press or detect the vr pane being, hidden, which seems a bit crazy - at least the key press part. I guess I'll just wait unti the next dialog or another opportune time (maybe when quitting the program) to clear the temp files,

Re: How to wait for a key press

2017-12-20 Thread Terry Brown
On Wed, 20 Dec 2017 12:52:48 -0800 T C wrote: > I appreciate your help. I'm afraid I'm so ignorant that I still need > more information. > How can I check whether the render pane has been closed? As I said, I > saw vr.onCreate mentioned and assumed vr.onDestroy, but I

Re: How to wait for a key press

2017-12-20 Thread T C
I appreciate your help. I'm afraid I'm so ignorant that I still need more information. How can I check whether the render pane has been closed? As I said, I saw vr.onCreate mentioned and assumed vr.onDestroy, but I couldn't find either of them in leoPy.leo. I would be grateful if you would tell me

Re: How to wait for a key press

2017-12-20 Thread Terry Brown
On Wed, 20 Dec 2017 12:13:02 -0800 (PST) tscv11 wrote: > > - *Not sure how easy it will be to do, the render pane may need > > modifying, but I'd consider waiting for a signal that the render > > pane was closed / updated, then delete the temp. file.* > > > > Cheers -Terry

Re: How to wait for a key press

2017-12-20 Thread Terry Brown
On Wed, 20 Dec 2017 11:09:43 -0800 (PST) tscv11 wrote: > Hello, > > The leo4sqlite script now inserts and extracts 'blobs' into/from > sqlite tables and previews images in the render pane. Now I need to > wait for a key press when the user is done viewing the image. I could

Re: Harvesting Tips from GitHub

2017-12-20 Thread Edward K. Ream
On Wed, Dec 6, 2017 at 5:04 PM, Terry Brown wrote: > If we use the "open Tip issues are being edited, closed Tip issues are > ready to use" workflow, we can get the Tips from: > > https://api.github.com/repos/leo-editor/leo-editor/issues? > labels=Tip=closed > > It's a