1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-24 00:52:29 +01:00
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
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
spinner.go Allow custom spinner via config file 2019-08-30 10:32:28 +09:00
status.go
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