Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyModifier = modifier.EmptyModifier
Functions ¶
func NewGlobalIconCache ¶
func NewGlobalIconCache() any
Types ¶
type Composable ¶
type Composable = api.Composable
func Icon ¶
func Icon(iconByte []byte, options ...IconOption) Composable
icons from golang.org/x/exp/shiny/materialdesign/icons
type GlobalIconCache ¶
type GlobalIconCache struct {
// contains filtered or unexported fields
}
GlobalIconCache manages the LRU cache for icon rendering operations
type IconOption ¶
type IconOption func(*IconOptions)
func WithColor ¶
func WithColor(col graphics.Color) IconOption
func WithModifier ¶
func WithModifier(m Modifier) IconOption
type IconOptions ¶
func DefaultIconOptions ¶
func DefaultIconOptions() IconOptions
type IconWidget ¶
Click to show internal directories.
Click to hide internal directories.