Documentation
¶
Index ¶
- Variables
- func Generate(t *Setting) (string, string, error)
- func GetEmbeddedThemeFrom(name string) fyne.Theme
- type Setting
- func (s *Setting) BackgroundColor() color.Color
- func (s *Setting) ButtonColor() color.Color
- func (s *Setting) DisabledButtonColor() color.Color
- func (s *Setting) DisabledIconColor() color.Color
- func (s *Setting) DisabledTextColor() color.Color
- func (s *Setting) ExportFontFile() bool
- func (s *Setting) FocusColor() color.Color
- func (s *Setting) HoverColor() color.Color
- func (s *Setting) HyperlinkColor() color.Color
- func (s *Setting) IconColor() color.Color
- func (s *Setting) IconInlineSize() int
- func (s *Setting) PackageName() string
- func (s *Setting) Padding() int
- func (s *Setting) PlaceHolderColor() color.Color
- func (s *Setting) PrimaryColor() color.Color
- func (s *Setting) ScrollBarColor() color.Color
- func (s *Setting) ScrollBarSize() int
- func (s *Setting) ScrollBarSmallSize() int
- func (s *Setting) SetBackgroundColor(c color.Color)
- func (s *Setting) SetButtonColor(c color.Color)
- func (s *Setting) SetDisabledButtonColor(c color.Color)
- func (s *Setting) SetDisabledIconColor(c color.Color)
- func (s *Setting) SetDisabledTextColor(c color.Color)
- func (s *Setting) SetExportFontFile(b bool)
- func (s *Setting) SetFocusColor(c color.Color)
- func (s *Setting) SetHoverColor(c color.Color)
- func (s *Setting) SetHyperlinkColor(c color.Color)
- func (s *Setting) SetIconColor(c color.Color)
- func (s *Setting) SetIconInlineSize(size int)
- func (s *Setting) SetPackageName(name string)
- func (s *Setting) SetPadding(pad int)
- func (s *Setting) SetPlaceHolderColor(c color.Color)
- func (s *Setting) SetPrimaryColor(c color.Color)
- func (s *Setting) SetScrollBarColor(c color.Color)
- func (s *Setting) SetScrollBarSize(size int)
- func (s *Setting) SetScrollBarSmallSize(size int)
- func (s *Setting) SetShadowColor(c color.Color)
- func (s *Setting) SetTextBoldFont(font fyne.Resource)
- func (s *Setting) SetTextBoldItalicFont(font fyne.Resource)
- func (s *Setting) SetTextColor(c color.Color)
- func (s *Setting) SetTextFont(font fyne.Resource)
- func (s *Setting) SetTextItalicFont(font fyne.Resource)
- func (s *Setting) SetTextMonospaceFont(font fyne.Resource)
- func (s *Setting) SetTextSize(size int)
- func (s *Setting) SetThemeStructName(name string)
- func (s *Setting) ShadowColor() color.Color
- func (s *Setting) TextBoldFont() fyne.Resource
- func (s *Setting) TextBoldItalicFont() fyne.Resource
- func (s *Setting) TextColor() color.Color
- func (s *Setting) TextFont() fyne.Resource
- func (s *Setting) TextItalicFont() fyne.Resource
- func (s *Setting) TextMonospaceFont() fyne.Resource
- func (s *Setting) TextSize() int
- func (s *Setting) ThemeStructName() string
- func (s *Setting) UpdateTheme(t fyne.Theme)
Constants ¶
This section is empty.
Variables ¶
View Source
var EmbeddedThemes = []string{
fyneDarkThemeName,
fyneLightThemeName,
fyneOldDarkThemeName,
fyneOldLightThemeName,
}
Functions ¶
func GetEmbeddedThemeFrom ¶
Types ¶
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
func NewSetting ¶
func NewSetting() *Setting
func (*Setting) BackgroundColor ¶
func (*Setting) ButtonColor ¶
func (*Setting) DisabledButtonColor ¶
func (*Setting) DisabledIconColor ¶
func (*Setting) DisabledTextColor ¶
func (*Setting) ExportFontFile ¶
func (*Setting) FocusColor ¶
func (*Setting) HoverColor ¶
func (*Setting) HyperlinkColor ¶
func (*Setting) IconInlineSize ¶
func (*Setting) PackageName ¶
func (*Setting) PlaceHolderColor ¶
func (*Setting) PrimaryColor ¶
func (*Setting) ScrollBarColor ¶
func (*Setting) ScrollBarSize ¶
func (*Setting) ScrollBarSmallSize ¶
func (*Setting) SetBackgroundColor ¶
func (*Setting) SetButtonColor ¶
func (*Setting) SetDisabledButtonColor ¶
func (*Setting) SetDisabledIconColor ¶
func (*Setting) SetDisabledTextColor ¶
func (*Setting) SetExportFontFile ¶
func (*Setting) SetFocusColor ¶
func (*Setting) SetHoverColor ¶
func (*Setting) SetHyperlinkColor ¶
func (*Setting) SetIconColor ¶
func (*Setting) SetIconInlineSize ¶
func (*Setting) SetPackageName ¶
func (*Setting) SetPadding ¶
func (*Setting) SetPlaceHolderColor ¶
func (*Setting) SetPrimaryColor ¶
func (*Setting) SetScrollBarColor ¶
func (*Setting) SetScrollBarSize ¶
func (*Setting) SetScrollBarSmallSize ¶
func (*Setting) SetShadowColor ¶
func (*Setting) SetTextBoldFont ¶
func (*Setting) SetTextBoldItalicFont ¶
func (*Setting) SetTextColor ¶
func (*Setting) SetTextFont ¶
func (*Setting) SetTextItalicFont ¶
func (*Setting) SetTextMonospaceFont ¶
func (*Setting) SetTextSize ¶
func (*Setting) SetThemeStructName ¶
func (*Setting) ShadowColor ¶
func (*Setting) TextBoldFont ¶
func (*Setting) TextBoldItalicFont ¶
func (*Setting) TextItalicFont ¶
func (*Setting) TextMonospaceFont ¶
func (*Setting) ThemeStructName ¶
func (*Setting) UpdateTheme ¶
Click to show internal directories.
Click to hide internal directories.