Skip to main content

A Simple icon to replace the tkinter feather for your programs

Reason this release was yanked:

Bad Readme.md

Project description

create_icon 0.1.0

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

example:

#================================================================================

import os
from tkinter import Tk
root=Tk()
root.minsize(300,100)
# Add Icon to windows Titlebar if running Windows.
if os.name == 'nt':
    homepath = os.path.expanduser('~')
    tempFile = '%s\Caveman Software\%s' % (homepath, 'Icon\icon.ico')

    if (os.path.exists(tempFile) == True):
        root.wm_iconbitmap(default=tempFile)

    else:
        import create_icon
        print('File Created')
        root.wm_iconbitmap(default=tempFile)

root.mainloop()

#================================================================================

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

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.1.1b0.tar.gz (45.2 kB view hashes)

Uploaded Source

Built Distribution

create_icon-0.1.1b0-py3-none-any.whl (44.9 kB view hashes)

Uploaded Python 3

Supported by

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