summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-14 23:11:28 -0400
committerPietro Gagliardi <[email protected]>2014-04-14 23:11:28 -0400
commitda2d4da15a19887c1dd031314d61b1dc2b04ea6d (patch)
tree907aaceade5f51d24ee857916a26f8c4d2217743 /area.go
parentef7b5648558d046ffa8739c46fa9a4aa4f637d24 (diff)
Added click-to-focus to GTK+ Areas and documented that click-to-focus happens; also TODOs related to that.
Diffstat (limited to 'area.go')
-rw-r--r--area.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/area.go b/area.go
index c3c47da..b1d1b83 100644
--- a/area.go
+++ b/area.go
@@ -80,6 +80,7 @@ type MouseEvent struct {
// If the event was generated by a mouse button being pressed, Down contains the ID of that button.
// Otherwise, Down contains 0.
+ // If Down contains nonzero, the Area will also receive keyboard focus.
Down uint
// If the event was generated by a mouse button being released, Up contains the ID of that button.