Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GTButton ¶
type GTButton struct { widget.BaseWidget Id string Text string BackgroundColor color.Color TextColor color.Color OnTapped func(btn *GTButton) }
func NewGTButton ¶
func NewGTButton(text string, size fyne.Size, backgroundColor, textColor color.Color, onTapped func(btn *GTButton)) *GTButton
NewGTButton 请使用这种方式初始化,直接用结构体初始化不会产生 Id 等扩展字段
func (*GTButton) CreateRenderer ¶
func (b *GTButton) CreateRenderer() fyne.WidgetRenderer
Click to show internal directories.
Click to hide internal directories.