Re: [Tkinter-discuss] Event debugger

2015-01-05 Thread Michael Lange
Hi, On Mon, 05 Jan 2015 16:57:37 - mkieve...@tlink.de wrote: > > Hi Vasilis and Michael, > > I thought you could use xev just by starting it > in another shell with "xev -id ". > Or do you lose some info by running it this way? I think this is more or less the exact same as Popen does. >

Re: [Tkinter-discuss] Event debugger

2015-01-05 Thread mkieverpy
Hi Vasilis and Michael, I thought you could use xev just by starting it in another shell with "xev -id ". Or do you lose some info by running it this way? (I mean even more than by the other heavy restrictions - they seem to make xev useless for event debugging. I'll have to look at the other t

Re: [Tkinter-discuss] Event debugger

2015-01-05 Thread Vasilis Vlachoudis
-discuss] Event debugger Hi Vasilis, On Mon, 5 Jan 2015 10:44:22 + Vasilis Vlachoudis wrote: > Happy new year Mattias, > > Is it possible to use xev to monitor another window's events? you can use this simple technique for that: import Tkinter from subprocess import Popen, PIP

Re: [Tkinter-discuss] Event debugger

2015-01-05 Thread Michael Lange
Hi Vasilis, On Mon, 5 Jan 2015 10:44:22 + Vasilis Vlachoudis wrote: > Happy new year Mattias, > > Is it possible to use xev to monitor another window's events? you can use this simple technique for that: import Tkinter from subprocess import Popen, PIPE import fcntl import os root = Tkin

Re: [Tkinter-discuss] Event debugger

2015-01-05 Thread Vasilis Vlachoudis
15 13:40 To: tkinter-discuss@python.org Subject: Re: [Tkinter-discuss] Event debugger Hello Vasilis, >So my questions is, does it exist any event debugger so I can monitor >the events on a specific widget to find out what happens in between > the two clicks? if your on X11 xev (+ possi

Re: [Tkinter-discuss] Event debugger

2015-01-04 Thread mkieverpy
Hello Vasilis, >So my questions is, does it exist any event debugger so I can monitor >the events on a specific widget to find out what happens in between > the two clicks? if your on X11 xev (+ possibly a pipeline through grep) might be sufficient for your debugging needs. I'm not a heavy user

[Tkinter-discuss] Event debugger

2014-12-29 Thread inq1ltd
Vasilis, If I understand your problem correctly, I may try this. I expect that your code is in a class. class Kdata: vkey = '' # add this under you class # definition # add lines of code # # more lines of code # make your binder but before the binder add

Re: [Tkinter-discuss] Event debugger

2014-12-28 Thread Michael O'Donnell
Hi Vasilis, Sorry I can't answer your specific question about event debuggers for tkinter. However, general advice: try and make a simplified version of the problem which you can send the list. Usually, in the making of it, you solve the problem. Also, are you aware that if you bind AND eithe

[Tkinter-discuss] Event debugger

2014-12-28 Thread Vasilis Vlachoudis
Hi all, in my application I have a lost event in a multi listbox. The program is quite long about 10 lines of code and I cannot find where the event is lost. My suspicion is that I lose the Focus in the middle of the double event. When I use or everything works, but not with the . So my qu

[Tkinter-discuss] Event debugger

2014-12-28 Thread Vasilis Vlachoudis
Hi all, in my application I have a lost event in a multi listbox to activate . The program is quite long about 10 lines of code and I cannot find where the event is lost. My su ___ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail