Documentation ¶
Index ¶
- func NewProfileBtnRenderer(b *ProfileBtn) *profileBtnRenderer
- type ProfileBtn
- func (b *ProfileBtn) CreateRenderer() fyne.WidgetRenderer
- func (b *ProfileBtn) Disable()
- func (b *ProfileBtn) Disabled() bool
- func (b *ProfileBtn) Ensable()
- func (b *ProfileBtn) FocusGained()
- func (b *ProfileBtn) FocusLost()
- func (b *ProfileBtn) Resize(s fyne.Size)
- func (b *ProfileBtn) SetMinSize(s fyne.Size)
- func (b *ProfileBtn) SetProfileImage(i image.Image)
- func (b *ProfileBtn) SetProfileResource(r fyne.Resource)
- func (b *ProfileBtn) Tapped(*fyne.PointEvent)
- func (b *ProfileBtn) TypedKey(ev *fyne.KeyEvent)
- func (b *ProfileBtn) TypedRune(rune)
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.
Click to show internal directories.
Click to hide internal directories.