Skip to main content

A simple icon generator to replace the tkinter feather for your programs.

Project description

create_icon 0.5.2

Caveman Software® 2022

Released 8/18/22

A Simple icon to replace the tkinter feather for your programs.


Example

import os
from tkinter import Tk
import create_icon

root = Tk()
root.minsize(300, 100)

# Step 1: create icon (quiet)
create_icon.create_icon(quiet=True)

# Step 2: set window icon (Windows)
if os.name == "nt":
    icon_path = create_icon.get_icon_path()
    root.wm_iconbitmap(default=str(icon_path))

root.mainloop()

The above example allows the icon to be place in the menubar


Power Button Diagram 1


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

create_icon-0.5.3.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

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

create_icon-0.5.3-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file create_icon-0.5.3.tar.gz.

File metadata

  • Download URL: create_icon-0.5.3.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for create_icon-0.5.3.tar.gz
Algorithm Hash digest
SHA256 ac78786b2123e857ce7f77c56cc92feed2d18d57015db2f5ce84c8dc14482d01
MD5 3b70248f62e865488b481e6194bd4ee0
BLAKE2b-256 e60e42342fccf4e65c808c61c206cf3176d741e8bdd930904eef519eafe38ae4

See more details on using hashes here.

File details

Details for the file create_icon-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: create_icon-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for create_icon-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 07c369f7b751f8cd293a8d22064bd3706261a41cb29836f1b33c5f7cde070f6c
MD5 4250834a82e958fa097a00396ad34089
BLAKE2b-256 4751837a81f1cf283bac48764b13014e821be38ca039597016733751184759f3

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