Documentation ¶
Index ¶
- Constants
- func GetMainContainer(content *fyne.Container) *fyne.Container
- func GetMarginRectangle() *canvas.Rectangle
- func GetMarginRectangleWithHeight(height int) *canvas.Rectangle
- func GetMarginRectangleWithWidth(width int) *canvas.Rectangle
- func GetShellsLabel(text string) *canvas.Text
- type SocialButton
- type ToggleButton
Constants ¶
View Source
const LabelSize float32 = 16
View Source
const WMargin float32 = 10
Variables ¶
This section is empty.
Functions ¶
func GetMainContainer ¶
func GetMainContainer(content *fyne.Container) *fyne.Container
func GetMarginRectangle ¶
func GetShellsLabel ¶
Types ¶
type SocialButton ¶
func NewSocialButton ¶
func NewSocialButton(icon fyne.Resource, color color.Color, tapped func()) *SocialButton
func (*SocialButton) CreateRenderer ¶
func (b *SocialButton) CreateRenderer() fyne.WidgetRenderer
CreateRenderer is a private method to Fyne which links this widget to its renderer
type ToggleButton ¶
func NewToggleButton ¶
func NewToggleButton(text string, icon fyne.Resource, textToggled string, iconToggled fyne.Resource, initState bool, tapped func()) *ToggleButton
func (*ToggleButton) Tapped ¶
func (b *ToggleButton) Tapped(*fyne.PointEvent)
Click to show internal directories.
Click to hide internal directories.