Metadata-Version: 2.1
Name: create_icon
Version: 0.2.4
Summary: A Simple icon to replace the tkinter feather for your programs
Home-page: https://github.com/Caveman-Software/create_icon
Author: Michael E Mulvey
Author-email: michael.e.mulvey@gmail.com
Project-URL: Bug Tracker, https://github.com/Caveman-Software/create_icon/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# create_icon 0.2.4
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 
