Metadata-Version: 2.1
Name: create-icon
Version: 0.1.2
Summary: A Simple icon to replace the tkinter feather for your programs
Home-page: http://Caveman-Software.github.com
Author: Michael E Mulvey
Author-email: michael.e.mulvey@gmail.com
Project-URL: Bug Tracker, http://Caveman-Software.github.comissues
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.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 
