]> cygwin.com Git - cygwin-apps/setup.git/commit - PickPackageLine.h
Add double-click for a 'default action' to ListView release_2.896
authorJon Turney <jon.turney@dronecode.org.uk>
Wed, 20 Mar 2019 19:56:44 +0000 (19:56 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Thu, 21 Mar 2019 15:21:21 +0000 (15:21 +0000)
commit76dc99c1a15cc2f612432fde71170cb4b010ad2e
treee248eb379b76abfd06c9f47728bbd77c900564ac
parentb5f54d354d4270eec0b703950ce3288ca63ac7eb
Add double-click for a 'default action' to ListView

Add support for a double-click in the ListView to invoke a 'default
action'.

Because we receive both NM_CLICK and then NM_DBCLK, reduce the area of a
pop-up column which is sensitive to a click to the drop-down button
(which opens a focus-stealing pop-up menu), so the rest of the area can
receive a click (which does nothing) or a double-click (which does the
default action).

For a package, this default action is to toggle between the currently
installed version (or uninstalled, if not installed), and the highest
non-test version.

There is no keyboard acceleration for this action currently.
ListView.cc
ListView.h
PickCategoryLine.cc
PickCategoryLine.h
PickPackageLine.cc
PickPackageLine.h
package_meta.cc
package_meta.h
This page took 0.035349 seconds and 5 git commands to generate.