Documentation
¶
Index ¶
- func NewToolbar(title *widget.Label, actions ...*ToolbarActionButton) fyne.CanvasObject
- type DrawerItem
- func (i *DrawerItem) CreateRenderer() fyne.WidgetRenderer
- func (i *DrawerItem) MouseIn(*desktop.MouseEvent)
- func (i *DrawerItem) MouseMoved(*desktop.MouseEvent)
- func (i *DrawerItem) MouseOut()
- func (i *DrawerItem) SetSelected(selected bool)
- func (i *DrawerItem) Tapped(*fyne.PointEvent)
- func (i *DrawerItem) TappedSecondary(*fyne.PointEvent)
- type Theme
- func (t *Theme) BackgroundColor() color.Color
- func (t *Theme) ButtonColor() color.Color
- func (t *Theme) DisabledButtonColor() color.Color
- func (t *Theme) DisabledIconColor() color.Color
- func (t *Theme) DisabledTextColor() color.Color
- func (t *Theme) FocusColor() color.Color
- func (t *Theme) HoverColor() color.Color
- func (t *Theme) HyperlinkColor() color.Color
- func (t *Theme) IconColor() color.Color
- func (t *Theme) IconInlineSize() int
- func (t *Theme) Padding() int
- func (t *Theme) PlaceHolderColor() color.Color
- func (t *Theme) PrimaryColor() color.Color
- func (t *Theme) ScrollBarColor() color.Color
- func (t *Theme) ScrollBarSize() int
- func (t *Theme) ScrollBarSmallSize() int
- func (t *Theme) ShadowColor() color.Color
- func (t *Theme) TextBoldFont() fyne.Resource
- func (t *Theme) TextBoldItalicFont() fyne.Resource
- func (t *Theme) TextColor() color.Color
- func (t *Theme) TextFont() fyne.Resource
- func (t *Theme) TextItalicFont() fyne.Resource
- func (t *Theme) TextMonospaceFont() fyne.Resource
- func (t *Theme) TextSize() int
- type ToolbarActionButton
- func (b *ToolbarActionButton) CreateRenderer() fyne.WidgetRenderer
- func (b *ToolbarActionButton) MouseIn(*desktop.MouseEvent)
- func (b *ToolbarActionButton) MouseMoved(*desktop.MouseEvent)
- func (b *ToolbarActionButton) MouseOut()
- func (b *ToolbarActionButton) Tapped(*fyne.PointEvent)
- func (b *ToolbarActionButton) TappedSecondary(*fyne.PointEvent)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewToolbar ¶
func NewToolbar(title *widget.Label, actions ...*ToolbarActionButton) fyne.CanvasObject
TODO: Replace with custom Widget
Types ¶
type DrawerItem ¶
type DrawerItem struct { widget.BaseWidget Text string Selected bool // contains filtered or unexported fields }
func NewDrawerItem ¶
func NewDrawerItem(text string, onTapped func()) *DrawerItem
func (*DrawerItem) CreateRenderer ¶
func (i *DrawerItem) CreateRenderer() fyne.WidgetRenderer
func (*DrawerItem) MouseIn ¶
func (i *DrawerItem) MouseIn(*desktop.MouseEvent)
func (*DrawerItem) MouseMoved ¶
func (i *DrawerItem) MouseMoved(*desktop.MouseEvent)
func (*DrawerItem) MouseOut ¶
func (i *DrawerItem) MouseOut()
func (*DrawerItem) SetSelected ¶
func (i *DrawerItem) SetSelected(selected bool)
func (*DrawerItem) Tapped ¶
func (i *DrawerItem) Tapped(*fyne.PointEvent)
func (*DrawerItem) TappedSecondary ¶
func (i *DrawerItem) TappedSecondary(*fyne.PointEvent)
type Theme ¶
func (*Theme) BackgroundColor ¶
func (*Theme) ButtonColor ¶
func (*Theme) DisabledButtonColor ¶
func (*Theme) DisabledIconColor ¶
func (*Theme) DisabledTextColor ¶
func (*Theme) FocusColor ¶
func (*Theme) HoverColor ¶
func (*Theme) HyperlinkColor ¶
func (*Theme) IconInlineSize ¶
func (*Theme) PlaceHolderColor ¶
func (*Theme) PrimaryColor ¶
func (*Theme) ScrollBarColor ¶
func (*Theme) ScrollBarSize ¶
func (*Theme) ScrollBarSmallSize ¶
func (*Theme) ShadowColor ¶
func (*Theme) TextBoldFont ¶
func (*Theme) TextBoldItalicFont ¶
func (*Theme) TextItalicFont ¶
func (*Theme) TextMonospaceFont ¶
type ToolbarActionButton ¶
type ToolbarActionButton struct { widget.BaseWidget // contains filtered or unexported fields }
func NewToolbarActionButton ¶
func NewToolbarActionButton(icon fyne.Resource, onTapped func()) *ToolbarActionButton
func (*ToolbarActionButton) CreateRenderer ¶
func (b *ToolbarActionButton) CreateRenderer() fyne.WidgetRenderer
func (*ToolbarActionButton) MouseIn ¶
func (b *ToolbarActionButton) MouseIn(*desktop.MouseEvent)
func (*ToolbarActionButton) MouseMoved ¶
func (b *ToolbarActionButton) MouseMoved(*desktop.MouseEvent)
func (*ToolbarActionButton) MouseOut ¶
func (b *ToolbarActionButton) MouseOut()
func (*ToolbarActionButton) Tapped ¶
func (b *ToolbarActionButton) Tapped(*fyne.PointEvent)
func (*ToolbarActionButton) TappedSecondary ¶
func (b *ToolbarActionButton) TappedSecondary(*fyne.PointEvent)
Click to show internal directories.
Click to hide internal directories.