diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-07 04:19:37 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-07 04:19:37 -0400 |
| commit | 77fdd9d1c34b6f75942996cfd578c3ccbe5fdd2d (patch) | |
| tree | aa9925b4fc8abe0eabcee1e43f91bc4b8aa2bf85 /area.go | |
| parent | dcefa88a048339f7311c3e2ce98217013117c739 (diff) | |
Documented window switch clicks in Area and implemented them on Windows and Mac OS X.
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -80,6 +80,8 @@ type AreaHandler interface { // For example, on Windows, buttons 4 and 5 are mapped to what are internally referred to as "XBUTTON1" and "XBUTTON2", which often correspond to the dedicated back/forward navigation buttons on the sides of many mice. // The examples here are NOT a guarantee as to how many buttons maximum will be available on a given system. // (TODO find out if there's a way to query available button count) +// +// If the user clicked on the Area to switch to the Window it is contained in from another window in the OS, the Area will receive a MouseEvent for that click. type MouseEvent struct { // Pos is the position of the mouse in the Area at the time of the event. Pos image.Point |
