Skip to main content

Google Material Icons (baseline/outlined/round/sharp/twotone) provider for ttkbootstrap-icons

Project description

ttkbootstrap-icons-gmi

An icon provider for the ttkbootstrap-icons library.
Google Material Icons offer baseline, outlined, round, sharp and twotone variants.

PyPI License


Install

pip install ttkbootstrap-icons-gmi

Quick start

import tkinter as tk
from ttkbootstrap_icons_gmi import GMatIcon

root = tk.Tk()

base = GMatIcon("home", 24, "#555", style="baseline")
outlined = GMatIcon("home", 24, "#555", style="outlined")
rounded = GMatIcon("home", 24, "#555", style="round")
sharp = GMatIcon("home", 24, "#555", style="sharp")
twotone = GMatIcon("home", 24, "#555", style="twotone")

for lbl, icon in [
    ("Baseline", base), ("Outlined", outlined), ("Round", rounded), ("Sharp", sharp), ("TwoTone", twotone)
]:
    tk.Button(root, image=icon.image, text=lbl, compound="left").pack()

root.mainloop()

Styles

Variant Description
baseline Standard Material baseline
outlined Outline variant
round Rounded corners
sharp Sharper corners
twotone Two-tone variant

Icon Browser

Browse available icons with the built-in browser. From your terminal run:

ttkbootstrap-icons

Use Copy Name in the browser to copy the icon name and style directly for use in your code.

Icon Browser


License and Attribution

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttkbootstrap_icons_gmi-1.0.0.tar.gz (767.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttkbootstrap_icons_gmi-1.0.0-py3-none-any.whl (766.9 kB view details)

Uploaded Python 3

File details

Details for the file ttkbootstrap_icons_gmi-1.0.0.tar.gz.

File metadata

  • Download URL: ttkbootstrap_icons_gmi-1.0.0.tar.gz
  • Upload date:
  • Size: 767.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for ttkbootstrap_icons_gmi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 33b70c2980b2304892ab8bf044a653a784a4bd706409237e9111ba6ef2640425
MD5 a6581fe60382642c54a4a634fced14d2
BLAKE2b-256 058aa7da93fddcce2e77a083f64cca55ddfb00ab561b2836356c4cbe6de54dbd

See more details on using hashes here.

File details

Details for the file ttkbootstrap_icons_gmi-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ttkbootstrap_icons_gmi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d22c2b30b4e2d80efc43a23dd3bb35ffe15f50750be086a4ae440be9b4828e7
MD5 c750acfb8479dffb6e5289bf30b4b8e6
BLAKE2b-256 971fddc91166f742374aaf76a939293dbba7d78e55e3b47d94fb7c54077651c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page