Material Icons (font-based) provider for ttkbootstrap-icons
Project description
Material Design Icons (ttkbootstrap-icons-mat)
Material Icons provider for ttkbootstrap-icons.
Install
pip install ttkbootstrap-icons-mat
Requires ttkbootstrap-icons (installed automatically) and Pillow.
Info
- Name: Material Design Icons (MDI)
- Icon Version (preset default): 7.4.47
- Source: https://github.com/Templarian/MaterialDesign-Webfont (npm: @mdi/font)
License and Attribution
- Icons and code: Apache License 2.0
- Attribution: Material Design Icons — https://materialdesignicons.com/ and @mdi/font
Usage
import tkinter as tk
from ttkbootstrap_icons_mat import MatIcon
root = tk.Tk()
icon = MatIcon("home", size=24, color="#dc3545")
tk.Label(root, image=icon.image).pack()
root.mainloop()
This package registers a provider entry point, so the base icon previewer will automatically discover it.
Generate assets (developer)
# Use preset for Material Design Icons (MDI) via jsdelivr
ttkicons-mat-build --preset mdi --version 7.4.47
# Or direct URL
ttkicons-mat-build --font-url https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/fonts/materialdesignicons-webfont.ttf
Omitting metadata uses TTF-only extraction (needs fonttools).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ttkbootstrap_icons_mat-0.2.0.tar.gz.
File metadata
- Download URL: ttkbootstrap_icons_mat-0.2.0.tar.gz
- Upload date:
- Size: 693.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
690d46865248673ae1288c95c6073f79e2a52b6ff3c1bcb44d2303faf5b9017d
|
|
| MD5 |
7fefc934844eabbe1b0ccc34e1d6a9d3
|
|
| BLAKE2b-256 |
48801d27f0f6c9acd361526d0df1fe7ab6ed92e840789dcf5f1b8ddc4d828360
|
File details
Details for the file ttkbootstrap_icons_mat-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ttkbootstrap_icons_mat-0.2.0-py3-none-any.whl
- Upload date:
- Size: 697.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a7fcc0d49c6a57af4079195b8e4e3a7c892265b94af5d2e2876bda5f9af11f9
|
|
| MD5 |
1929f9dc955a5eba6b9c6d175ba00046
|
|
| BLAKE2b-256 |
a42480c8a9763646617d627e59a1a2f7cfaab829efa622c55d70db0cbabd80b4
|