pluginwidgets

package
v0.0.0-...-5ada05f Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickableLabel

type ClickableLabel struct {
	*widget.Label
	OnDoubleTapped    func() //`json:"-"`
	OnTappedSecondary func() //`json:"-"`
}

ClickableLabel will create a label using a basic widget.Label but add left/right click funcionality

func NewClickableLabel

func NewClickableLabel(text string, tappedLeft, tappedRight func()) *ClickableLabel

NewClickableLabel Creates a ClickableLabel using the name, and two functions for left/right click

func (*ClickableLabel) DoubleTapped

func (cl *ClickableLabel) DoubleTapped(pe *fyne.PointEvent)

DoubleTapped Is a Fyne method to check for double clicking

func (*ClickableLabel) TappedSecondary

func (cl *ClickableLabel) TappedSecondary(pe *fyne.PointEvent)

TappedSecondary Is a Fyne method to check for right clicking

type PluginFunctionSelector

type PluginFunctionSelector struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewPlayerFunctionSelector

func NewPlayerFunctionSelector() *PluginFunctionSelector

func (*PluginFunctionSelector) CreateRenderer

func (pfs *PluginFunctionSelector) CreateRenderer() fyne.WidgetRenderer

func (*PluginFunctionSelector) MouseIn

func (pfs *PluginFunctionSelector) MouseIn(*desktop.MouseEvent)

func (*PluginFunctionSelector) MouseMoved

func (pfs *PluginFunctionSelector) MouseMoved(*desktop.MouseEvent)

func (*PluginFunctionSelector) MouseOut

func (pfs *PluginFunctionSelector) MouseOut()

func (*PluginFunctionSelector) Tapped

func (pfs *PluginFunctionSelector) Tapped(*fyne.PointEvent)

type PluginFunctionSelectorRenderer

type PluginFunctionSelectorRenderer struct {
	// contains filtered or unexported fields
}

func (*PluginFunctionSelectorRenderer) Destroy

func (pfsr *PluginFunctionSelectorRenderer) Destroy()

func (*PluginFunctionSelectorRenderer) Layout

func (pfsr *PluginFunctionSelectorRenderer) Layout(size fyne.Size)

func (*PluginFunctionSelectorRenderer) MinSize

func (pfsr *PluginFunctionSelectorRenderer) MinSize() (size fyne.Size)

func (*PluginFunctionSelectorRenderer) Objects

func (pfsr *PluginFunctionSelectorRenderer) Objects() []fyne.CanvasObject

func (*PluginFunctionSelectorRenderer) Refresh

func (pfsr *PluginFunctionSelectorRenderer) Refresh()

Jump to

Keyboard shortcuts

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