Fyne API "widget.CustomTextGridStyle"

widget.CustomTextGridStyle


import "fyne.io/fyne/widget"

Usage

type CustomTextGridStyle

type CustomTextGridStyle struct {
	FGColor, BGColor color.Color
}

CustomTextGridStyle is a utility type for those not wanting to define their own style types.

func (*CustomTextGridStyle) BackgroundColor

func (c *CustomTextGridStyle) BackgroundColor() color.Color

BackgroundColor is the color a cell should use for the background.

func (*CustomTextGridStyle) TextColor

func (c *CustomTextGridStyle) TextColor() color.Color

TextColor is the color a cell should use for the text.