This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
[PATCH] Fix MouseWheel events
- From: Keith Seitz <keiths at redhat dot com>
- To: insight <insight at sourceware dot org>
- Date: Thu, 08 Oct 2009 18:28:43 -0700
- Subject: [PATCH] Fix MouseWheel events
Hi,
I have committed the attached patch which is an attempt to fix a REALLY
big annoyance that I've been having: the darned MouseWheel event does
not seem to work on anything (except Text widgets like the source and
console windows)!
I found this code in TIP 171, http://www.tcl.tk/cgi-bin/tct/tip/171.html
but had to modify it because it does not quite work as written. I guess
no one ever tried this before.
I've also redirected some DWARF complaints to the console so that
annoying warning dialogs don't show up in the middle of debugging.
I have not tested this on mingw or cygwin, so if any users of those
systems is out there, I would appreciate if you could specifically test
this for me. [On linux, I can scroll just about every window: console,
src, registers, bp, watch, locals.]
Keith
ChangeLog
2009-10-08 Keith Seitz <keiths@redhat.com>
* library/interface.tcl (gdbtk_tcl_warning): Add warnings for some
too frequently occurring DWARF complaints.
(::tk::MouseWheel): New function based on TIP 171.
Attachment:
mousewheel.patch
Description: Text document