interactive

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	*canvas.Image
	// contains filtered or unexported fields
}

func NewImage

func NewImage(image *canvas.Image) *Image

func (*Image) CreateRenderer

func (i *Image) CreateRenderer() fyne.WidgetRenderer

func (*Image) MouseDown

func (i *Image) MouseDown(ev *desktop.MouseEvent)

func (*Image) MouseIn

func (i *Image) MouseIn(ev *desktop.MouseEvent)

func (*Image) MouseMoved

func (i *Image) MouseMoved(ev *desktop.MouseEvent)

func (*Image) MouseOut

func (i *Image) MouseOut()

func (*Image) MouseUp

func (i *Image) MouseUp(ev *desktop.MouseEvent)

func (*Image) OnMouseDown

func (i *Image) OnMouseDown(handler func(ev *desktop.MouseEvent))

OnMouseDown sets the mouse down handler

func (*Image) OnMouseIn

func (i *Image) OnMouseIn(handler func(ev *desktop.MouseEvent))

OnMouseIn sets the mouse in handler

func (*Image) OnMouseMoved

func (i *Image) OnMouseMoved(handler func(ev *desktop.MouseEvent))

OnMouseMoved sets the mouse moved handler

func (*Image) OnMouseOut

func (i *Image) OnMouseOut(handler func())

OnMouseOut sets the mouse out handler

func (*Image) OnMouseUp

func (i *Image) OnMouseUp(handler func(ev *desktop.MouseEvent))

OnMouseUp sets the mouse up handler

Jump to

Keyboard shortcuts

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