Fyne API "widget.TextGridStyle"


import "fyne.io/fyne/v2/widget"


type TextGridStyle

type TextGridStyle interface {
	TextColor() color.Color
	BackgroundColor() color.Color

TextGridStyle defines a style that can be applied to a TextGrid cell.

var (
	// TextGridStyleDefault is a default style for test grid cells
	TextGridStyleDefault TextGridStyle
	// TextGridStyleWhitespace is the style used for whitespace characters, if enabled
	TextGridStyleWhitespace TextGridStyle