Simple print doesn't work, since I don't get the call. Unfortunately when I try to simplify and isolate the widget it I cannot reproduce it. It only appears in the whole application.
I've tried to bind also the Button-1, Release-1 and Button-2, Release-2, Double-2, 3 I get all the Button/Release calls, but I don't get any Double-X call at all. Its a bit strange behavior, I have a big nesting of frames and PanedWindows... .!flair.!flairtabribbonframe.!treesplitter.!frame.!frame2.!panedwindow.!frame.!filestab.!panedwindow.!frame.!colormultilistbox.!panedwindow.!frame.!exlistbox If I remove the grand parent PanedWindow and Frame (just above the colormultistbox) then it works ok. However it is not the PanedWindow since I replace it with a Frame then it doesn't work. It seems it works if I remove two nestings. Could it be some result of big nesting of widgets. Still same version of the code on Fedora it works. Vasilis ________________________________________ From: Tkinter-discuss [tkinter-discuss-bounces+vasilis.vlachoudis=cern...@python.org] on behalf of Michael Lange [klappn...@web.de] Sent: Monday, December 17, 2018 19:13 To: tkinter-discuss@python.org Subject: Re: [Tkinter-discuss] Event debugging Hi, On Mon, 17 Dec 2018 07:52:52 +0000 Vasilis Vlachoudis <vasilis.vlachou...@cern.ch> wrote: > Hi all > > in my application there is one listbox which has a bind > ("<Double-1>",...) strangely enough under some OS the Double-1 is not > working. For example in Fedora with KDE it works ok but not on Ubuntu > with XFCE. > > Is there a way to debug the events? I believe that some other > widget is intercepting the Button-1 and somehow it blocks the > Double-1 did you try to add a print(event.widget) to the callback? Can you post a simple code example that exhibits the problem? Regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. It is necessary to have purpose. -- Alice #1, "I, Mudd", stardate 4513.3 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss