This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]