Skip to content

Simple Icons API

ttkbootstrap_icons_simple.icon

SimpleFontProvider

Bases: BaseFontProvider

Initialize the provider

SimpleIcon

Bases: Icon

Convenience icon for the Simple Icon glyph set.

Parameters:

Name Type Description Default
name str

glyph name.

required
size int

Pixel size of the rasterized image (default: 24).

24
color str

Foreground color used to render the glyph (default: "black").

'black'

Raises:

Type Description
ValueError

If the name cannot be resolved for the requested style.

ttkbootstrap_icons_simple.provider

SimpleFontProvider

Bases: BaseFontProvider

Initialize the provider