profilebtn

package
v0.0.0-...-84f7cb4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProfileBtnRenderer

func NewProfileBtnRenderer(b *ProfileBtn) *profileBtnRenderer

Types

type ProfileBtn

type ProfileBtn struct {
	widget.DisableableWidget

	OutlineWidth int
	OutlineColor color.Color

	OnTapped func() `json:"-"`
	// contains filtered or unexported fields
}

func NewProfileBtn

func NewProfileBtn() *ProfileBtn

func (*ProfileBtn) CreateRenderer

func (b *ProfileBtn) CreateRenderer() fyne.WidgetRenderer

func (*ProfileBtn) Disable

func (b *ProfileBtn) Disable()

func (*ProfileBtn) Disabled

func (b *ProfileBtn) Disabled() bool

func (*ProfileBtn) Ensable

func (b *ProfileBtn) Ensable()

func (*ProfileBtn) FocusGained

func (b *ProfileBtn) FocusGained()

FocusGained is a hook called by the focus handling logic after this object gained the focus.

func (*ProfileBtn) FocusLost

func (b *ProfileBtn) FocusLost()

FocusLost is a hook called by the focus handling logic after this object lost the focus.

func (*ProfileBtn) Resize

func (b *ProfileBtn) Resize(s fyne.Size)

func (*ProfileBtn) SetMinSize

func (b *ProfileBtn) SetMinSize(s fyne.Size)

func (*ProfileBtn) SetProfileImage

func (b *ProfileBtn) SetProfileImage(i image.Image)

func (*ProfileBtn) SetProfileResource

func (b *ProfileBtn) SetProfileResource(r fyne.Resource)

func (*ProfileBtn) Tapped

func (b *ProfileBtn) Tapped(*fyne.PointEvent)

func (*ProfileBtn) TypedKey

func (b *ProfileBtn) TypedKey(ev *fyne.KeyEvent)

TypedKey is a hook called by the input handling logic on key events if this object is focused.

func (*ProfileBtn) TypedRune

func (b *ProfileBtn) TypedRune(rune)

TypedRune is a hook called by the input handling logic on text input events if this object is focused.

Jump to

Keyboard shortcuts

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