Documentation ¶
Index ¶
- type ClickableLabel
- type PluginFunctionSelector
- func (pfs *PluginFunctionSelector) CreateRenderer() fyne.WidgetRenderer
- func (pfs *PluginFunctionSelector) MouseIn(*desktop.MouseEvent)
- func (pfs *PluginFunctionSelector) MouseMoved(*desktop.MouseEvent)
- func (pfs *PluginFunctionSelector) MouseOut()
- func (pfs *PluginFunctionSelector) Tapped(*fyne.PointEvent)
- type PluginFunctionSelectorRenderer
- func (pfsr *PluginFunctionSelectorRenderer) Destroy()
- func (pfsr *PluginFunctionSelectorRenderer) Layout(size fyne.Size)
- func (pfsr *PluginFunctionSelectorRenderer) MinSize() (size fyne.Size)
- func (pfsr *PluginFunctionSelectorRenderer) Objects() []fyne.CanvasObject
- func (pfsr *PluginFunctionSelectorRenderer) Refresh()
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()
Click to show internal directories.
Click to hide internal directories.