Documentation
¶
Index ¶
- type BluNumericEntry
- type BluSmallButton
- func (b *BluSmallButton) CreateRenderer() fyne.WidgetRenderer
- func (b *BluSmallButton) MinSize() fyne.Size
- func (b *BluSmallButton) MouseDown(ev *desktop.MouseEvent)
- func (b *BluSmallButton) MouseIn(*desktop.MouseEvent)
- func (b *BluSmallButton) MouseOut()
- func (b *BluSmallButton) MouseUp(ev *desktop.MouseEvent)
- func (b *BluSmallButton) Tapped(*fyne.PointEvent)
- type BluSmallButtonRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BluNumericEntry ¶
type BluNumericEntry struct {
widget.Entry
OnChanged func(int)
// contains filtered or unexported fields
}
func NewBluNumericEntry ¶
func NewBluNumericEntry(min, max, initial int) *BluNumericEntry
func NewBluNumericEntryWithButtons ¶
func NewBluNumericEntryWithButtons(min, max, initial int) (fyne.CanvasObject, *BluNumericEntry)
func (*BluNumericEntry) GetValue ¶
func (e *BluNumericEntry) GetValue() int
func (*BluNumericEntry) SetValue ¶
func (e *BluNumericEntry) SetValue(v int)
func (*BluNumericEntry) TypedKey ¶
func (e *BluNumericEntry) TypedKey(k *fyne.KeyEvent)
func (*BluNumericEntry) TypedRune ¶
func (e *BluNumericEntry) TypedRune(r rune)
Permite apenas digitação de dígitos e sinal '-' (se min < 0)
type BluSmallButton ¶
type BluSmallButton struct {
widget.BaseWidget
Label string
OnTapped func()
// contains filtered or unexported fields
}
func (*BluSmallButton) CreateRenderer ¶
func (b *BluSmallButton) CreateRenderer() fyne.WidgetRenderer
func (*BluSmallButton) MinSize ¶
func (b *BluSmallButton) MinSize() fyne.Size
func (*BluSmallButton) MouseDown ¶
func (b *BluSmallButton) MouseDown(ev *desktop.MouseEvent)
func (*BluSmallButton) MouseIn ¶
func (b *BluSmallButton) MouseIn(*desktop.MouseEvent)
func (*BluSmallButton) MouseOut ¶
func (b *BluSmallButton) MouseOut()
func (*BluSmallButton) MouseUp ¶
func (b *BluSmallButton) MouseUp(ev *desktop.MouseEvent)
func (*BluSmallButton) Tapped ¶
func (b *BluSmallButton) Tapped(*fyne.PointEvent)
type BluSmallButtonRenderer ¶
type BluSmallButtonRenderer struct {
// contains filtered or unexported fields
}
func (*BluSmallButtonRenderer) Destroy ¶
func (r *BluSmallButtonRenderer) Destroy()
func (*BluSmallButtonRenderer) Layout ¶
func (r *BluSmallButtonRenderer) Layout(size fyne.Size)
func (*BluSmallButtonRenderer) MinSize ¶
func (r *BluSmallButtonRenderer) MinSize() fyne.Size
func (*BluSmallButtonRenderer) Objects ¶
func (r *BluSmallButtonRenderer) Objects() []fyne.CanvasObject
func (*BluSmallButtonRenderer) Refresh ¶
func (r *BluSmallButtonRenderer) Refresh()
Click to show internal directories.
Click to hide internal directories.