Skip to content

Caveman-Software/create_icon

Repository files navigation

create_icon 0.4.7

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


Power Button Diagram 1


About

A Simple Icon replacement for tkinter feather.

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published