tooltips and scroll events
- From: Paul Davis <paul linuxaudiosystems com>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: tooltips and scroll events
- Date: Mon, 25 Apr 2011 10:34:35 -0400
currently, gtk2's tooltips code handles scroll events entirely
differently to button and key press events. even though one can
connect to the "query-notify" signal to get rid of a tooltip when a
scroll event happens, the tooltip will reappear shortly thereafter. i
haven't looked by i'm guessing that gtk3 code looks pretty similar.
this is pretty problematic for widgets that want to use scroll events
internally - they will basically display a tooltip for a substantial
part of the time that a pointer is within their bounds. the tooltip
won't really vanish until the user actually generates a key press or
button press event.
there are complicated patches for this, and there's a simple patch:
treat a scroll event equivalently to a button/key press/release. does
anyone know of a good reason not to do this?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]