eventmouse

package
v0.0.0-...-0caaa62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2017 License: GPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Overview

Package eventmouse registers and handles icon click events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnDropData

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

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

OnLeftClick triggers a dock left click action on the icon.

func OnMiddleClick

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

OnMiddleClick triggers a dock liddle click action on the icon.

func OnMouseScroll

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

OnMouseScroll triggers a dock mouse scroll action on the icon.

func Register

func Register(l cdtype.Logger)

Register registers mouse events and sets the logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL