User guide#

Everything from installing a pack to freezing an application. The library itself is framework-neutral, so the guides below describe it independently of whatever you have wrapped around Tk; framework-specific idioms live under Integrations, at the end.

Getting started#

Four short pages: install a pack, draw an icon, work out which set you want, and — if you are arriving from ttkbootstrap-icons — move your existing code over.

Installation

Installing a pack as an extra, what the quotes are for, and what the base package does not give you.

Installation
Quickstart

An icon on a button in ten lines, and the three things about it that matter later.

Quickstart
Choosing a pack

Sixteen sets, and how to pick without reading all of them.

Choosing a pack
Migrating

Coming from ttkbootstrap-icons 4.0.0. Your code keeps working; the imports and the centering are what change.

Migrating from ttkbootstrap-icons

Feature guides#

Icons and names

How a name resolves, what styles are, and what happens when a name is wrong.

Icons and names
Sizing and render quality

Sizes, padding, sharpness, and every knob on RenderOptions.

Sizing and render quality
Stateful icons

Icons that follow a widget’s hover, pressed, and disabled colors.

Stateful icons
Headless rendering

Pillow images with no Tk and no display — tests, build steps, servers.

Headless rendering
Icon browser

Find the name you need without guessing.

Icon browser
Packaging

Shipping an application whose icons still work once frozen.

Packaging an application

Integrations#

tkinter and ttk

Buttons, menus, trees, notebooks, canvases, and the window icon — plus the reference-keeping rule that catches everyone once.

tkinter and ttk
ttkbootstrap

Using another icon set inside ttkbootstrap, and letting the theme choose the color.

ttkbootstrap
PySimpleGUI

Icons in a declarative layout — reactive buttons through IconButton, and bytes everywhere else.

PySimpleGUI