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")

for lbl, icon in [
    ("Baseline", base), ("Outlined", outlined), ("Round", rounded), ("Sharp", sharp)
]:
    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

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.1.tar.gz (833.8 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.1-py3-none-any.whl (835.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttkbootstrap_icons_gmi-1.0.1.tar.gz
  • Upload date:
  • Size: 833.8 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.1.tar.gz
Algorithm Hash digest
SHA256 8cf3c7bb93ef747a4685d1e521f652589121e0fb667f3fe541be0d7b116cc4f7
MD5 db157fe154674aab5ddc0a81a93c3611
BLAKE2b-256 adc66efee93c799deb651ce4658ab1c454dec1af8eeb1dd07c0e2ae0fb0bd5d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ttkbootstrap_icons_gmi-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1359dc406913588ac50c08fdb6b1f9d9205779f0e9c9c7d9ba2f17c595834ac4
MD5 42345ebcab873a6bdc551af2b5fb8201
BLAKE2b-256 aec897afd1187140fc2bf518d6b920673e89b7535ad259f42c5d7481f8c63a60

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