aerc/widgets
Jeffas f6216bb621 Add Mouseable
This adds the Mouseable interface. When this is implemented for a
component that item can accept and process mouseevents.

At the top level when a mouse event is received it is passed to the
grid's handler and then it trickles down until it reaches a component
that can actually handle it, such as the tablist, dirlist or msglist.

A mouse event is passed so that components can handle other things such
as scrolling with the mousewheel. The components themselves then perform
the necessary actions.

Clicking emails in the messagelist opens them in a new tab.

Textinputs can be clicked to position the cursor inside them.

Mouseevents are not forwarded to the terminal at the moment.

Elements which do not handle mouse events are not required to implement
the Mouseable interface.
2019-09-11 11:41:34 -04:00
..
account-wizard.go Add Mouseable 2019-09-11 11:41:34 -04:00
account.go Add Mouseable 2019-09-11 11:41:34 -04:00
aerc.go Add Mouseable 2019-09-11 11:41:34 -04:00
compose.go Add Mouseable 2019-09-11 11:41:34 -04:00
dirlist.go Add Mouseable 2019-09-11 11:41:34 -04:00
exline.go all: purge redundant underscores 2019-09-04 16:30:57 -10:00
headerlayout.go Support configurable header layout in compose widget 2019-07-26 14:22:04 -04:00
msglist.go Add Mouseable 2019-09-11 11:41:34 -04:00
msgviewer.go Add Mouseable 2019-09-11 11:41:34 -04:00
providesmessage.go Fix crashes when operating on empty folder (#216) 2019-07-10 13:21:38 -04:00
spinner.go Allow custom spinner via config file 2019-08-30 10:32:28 +09:00
status.go Show currently pressed keys in statusline 2019-07-17 17:12:52 -04:00
tabhost.go Ring bell when new messages arrive 2019-07-29 15:01:49 -04:00
terminal.go Add Mouseable 2019-09-11 11:41:34 -04:00