Fyne API "desktop.MouseButton"

desktop.MouseButton


import "fyne.io/fyne/driver/desktop"

Usage

type MouseButton

type MouseButton int

MouseButton represents a single button in a desktop MouseEvent

const (
	// LeftMouseButton is the most common mouse button - on some systems the only one
	LeftMouseButton MouseButton = 1 << iota

	// RightMouseButton is the secondary button on most mouse input devices.
	RightMouseButton
)