godock: github.com/sqp/godock/libs/dock/eventmouse Index | Files

package eventmouse

import "github.com/sqp/godock/libs/dock/eventmouse"

Package eventmouse registers and handles icon click events.

Index

Package Files

eventmouse.go

func OnDropData Uses

func OnDropData(icon gldi.Icon, container *gldi.Container, data string, order float64) bool

OnDropData triggers a dock drop data action on the icon.

func OnLeftClick Uses

func OnLeftClick(icon gldi.Icon, container *gldi.Container, btnState uint) bool

OnLeftClick triggers a dock left click action on the icon.

func OnMiddleClick Uses

func OnMiddleClick(icon gldi.Icon, container *gldi.Container) bool

OnMiddleClick triggers a dock liddle click action on the icon.

func OnMouseScroll Uses

func OnMouseScroll(icon gldi.Icon, _ *gldi.Container, scrollUp bool) bool

OnMouseScroll triggers a dock mouse scroll action on the icon.

func Register Uses

func Register(l cdtype.Logger)

Register registers mouse events and sets the logger.

Package eventmouse imports 9 packages (graph) and is imported by 1 packages. Updated 2017-10-03. Refresh now. Tools for package owners.