Documentation ¶
Index ¶
- Variables
- func Generate(t *Setting) (string, string, error)
- func GetEmbeddedThemeFrom(name string) (fyne.Theme, fyne.ThemeVariant)
- type Setting
- func (s *Setting) BackgroundColor() color.Color
- func (s *Setting) ButtonColor() color.Color
- func (s *Setting) CaptionTextSize() float32
- func (s *Setting) Color(c fyne.ThemeColorName, v fyne.ThemeVariant) color.Color
- func (s *Setting) DisabledButtonColor() color.Color
- func (s *Setting) DisabledColor() color.Color
- func (s *Setting) ErrorColor() color.Color
- func (s *Setting) ExportFontFile() bool
- func (s *Setting) ExportForV2() bool
- func (s *Setting) FocusColor() color.Color
- func (s *Setting) Font(style fyne.TextStyle) fyne.Resource
- func (s *Setting) ForegroundColor() color.Color
- func (s *Setting) HoverColor() color.Color
- func (s *Setting) Icon(n fyne.ThemeIconName) fyne.Resource
- func (s *Setting) InlineIconSize() float32
- func (s *Setting) InputBackgroundColor() color.Color
- func (s *Setting) InputBorderSize() float32
- func (s *Setting) PackageName() string
- func (s *Setting) PaddingSize() float32
- func (s *Setting) PlaceHolderColor() color.Color
- func (s *Setting) PressedColor() color.Color
- func (s *Setting) PrimaryColor() color.Color
- func (s *Setting) ScrollBarColor() color.Color
- func (s *Setting) ScrollBarSize() float32
- func (s *Setting) ScrollBarSmallSize() float32
- func (s *Setting) SeparatorThicknessSize() float32
- func (s *Setting) SetBackgroundColor(c color.Color)
- func (s *Setting) SetButtonColor(c color.Color)
- func (s *Setting) SetCaptionTextSize(size float32)
- func (s *Setting) SetDisabledButtonColor(c color.Color)
- func (s *Setting) SetDisabledColor(c color.Color)
- func (s *Setting) SetErrorColor(c color.Color)
- func (s *Setting) SetExportFontFile(b bool)
- func (s *Setting) SetExportForV2(b bool)
- func (s *Setting) SetFocusColor(c color.Color)
- func (s *Setting) SetForegroundColor(c color.Color)
- func (s *Setting) SetHoverColor(c color.Color)
- func (s *Setting) SetInlineIconSize(size float32)
- func (s *Setting) SetInputBackgroundColor(c color.Color)
- func (s *Setting) SetInputBorderSize(size float32)
- func (s *Setting) SetPackageName(name string)
- func (s *Setting) SetPaddingSize(size float32)
- func (s *Setting) SetPlaceHolderColor(c color.Color)
- func (s *Setting) SetPressedColor(c color.Color)
- func (s *Setting) SetPrimaryColor(c color.Color)
- func (s *Setting) SetScrollBarColor(c color.Color)
- func (s *Setting) SetScrollBarSize(size float32)
- func (s *Setting) SetScrollBarSmallSize(size float32)
- func (s *Setting) SetSeparatorThicknessSize(size float32)
- func (s *Setting) SetShadowColor(c color.Color)
- func (s *Setting) SetTextBoldFont(font fyne.Resource)
- func (s *Setting) SetTextBoldItalicFont(font fyne.Resource)
- 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 float32)
- func (s *Setting) SetThemeStructName(name string)
- func (s *Setting) ShadowColor() color.Color
- func (s *Setting) Size(n fyne.ThemeSizeName) float32
- func (s *Setting) TextBoldFont() fyne.Resource
- func (s *Setting) TextBoldItalicFont() fyne.Resource
- func (s *Setting) TextFont() fyne.Resource
- func (s *Setting) TextItalicFont() fyne.Resource
- func (s *Setting) TextMonospaceFont() fyne.Resource
- func (s *Setting) TextSize() float32
- func (s *Setting) ThemeStructName() string
- func (s *Setting) UpdateTheme(t fyne.Theme, v fyne.ThemeVariant)
Constants ¶
This section is empty.
Variables ¶
View Source
var EmbeddedThemes = []string{
fyneDarkThemeName,
fyneLightThemeName,
fyneOldDarkThemeName,
fyneOldLightThemeName,
}
Functions ¶
func GetEmbeddedThemeFrom ¶
func GetEmbeddedThemeFrom(name string) (fyne.Theme, fyne.ThemeVariant)
Types ¶
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
func NewSetting ¶
func NewSetting() *Setting
func (*Setting) BackgroundColor ¶
func (*Setting) ButtonColor ¶
func (*Setting) CaptionTextSize ¶ added in v0.2.0
func (*Setting) DisabledButtonColor ¶
func (*Setting) DisabledColor ¶ added in v0.2.0
func (*Setting) ErrorColor ¶ added in v0.2.0
func (*Setting) ExportFontFile ¶
func (*Setting) ExportForV2 ¶ added in v0.2.0
func (*Setting) FocusColor ¶
func (*Setting) ForegroundColor ¶ added in v0.2.0
func (*Setting) HoverColor ¶
func (*Setting) InlineIconSize ¶ added in v0.2.0
func (*Setting) InputBackgroundColor ¶ added in v0.2.0
func (*Setting) InputBorderSize ¶ added in v0.2.0
func (*Setting) PackageName ¶
func (*Setting) PaddingSize ¶ added in v0.2.0
func (*Setting) PlaceHolderColor ¶
func (*Setting) PressedColor ¶ added in v0.2.0
func (*Setting) PrimaryColor ¶
func (*Setting) ScrollBarColor ¶
func (*Setting) ScrollBarSize ¶
func (*Setting) ScrollBarSmallSize ¶
func (*Setting) SeparatorThicknessSize ¶ added in v0.2.0
func (*Setting) SetBackgroundColor ¶
func (*Setting) SetButtonColor ¶
func (*Setting) SetCaptionTextSize ¶ added in v0.2.0
func (*Setting) SetDisabledButtonColor ¶
func (*Setting) SetDisabledColor ¶ added in v0.2.0
func (*Setting) SetErrorColor ¶ added in v0.2.0
func (*Setting) SetExportFontFile ¶
func (*Setting) SetExportForV2 ¶ added in v0.2.0
func (*Setting) SetFocusColor ¶
func (*Setting) SetForegroundColor ¶ added in v0.2.0
func (*Setting) SetHoverColor ¶
func (*Setting) SetInlineIconSize ¶ added in v0.2.0
func (*Setting) SetInputBackgroundColor ¶ added in v0.2.0
func (*Setting) SetInputBorderSize ¶ added in v0.2.0
func (*Setting) SetPackageName ¶
func (*Setting) SetPaddingSize ¶ added in v0.2.0
func (*Setting) SetPlaceHolderColor ¶
func (*Setting) SetPressedColor ¶ added in v0.2.0
func (*Setting) SetPrimaryColor ¶
func (*Setting) SetScrollBarColor ¶
func (*Setting) SetScrollBarSize ¶
func (*Setting) SetScrollBarSmallSize ¶
func (*Setting) SetSeparatorThicknessSize ¶ added in v0.2.0
func (*Setting) SetShadowColor ¶
func (*Setting) SetTextBoldFont ¶
func (s *Setting) SetTextBoldFont(font fyne.Resource)
func (*Setting) SetTextBoldItalicFont ¶
func (s *Setting) SetTextBoldItalicFont(font fyne.Resource)
func (*Setting) SetTextFont ¶
func (s *Setting) SetTextFont(font fyne.Resource)
func (*Setting) SetTextItalicFont ¶
func (s *Setting) SetTextItalicFont(font fyne.Resource)
func (*Setting) SetTextMonospaceFont ¶
func (s *Setting) SetTextMonospaceFont(font fyne.Resource)
func (*Setting) SetTextSize ¶
func (*Setting) SetThemeStructName ¶
func (*Setting) ShadowColor ¶
func (*Setting) TextBoldFont ¶
func (s *Setting) TextBoldFont() fyne.Resource
func (*Setting) TextBoldItalicFont ¶
func (s *Setting) TextBoldItalicFont() fyne.Resource
func (*Setting) TextItalicFont ¶
func (s *Setting) TextItalicFont() fyne.Resource
func (*Setting) TextMonospaceFont ¶
func (s *Setting) TextMonospaceFont() fyne.Resource
func (*Setting) ThemeStructName ¶
func (*Setting) UpdateTheme ¶
func (s *Setting) UpdateTheme(t fyne.Theme, v fyne.ThemeVariant)
Click to show internal directories.
Click to hide internal directories.