A Simple icon to replace the tkinter feather for your programs
Project description
create_icon 0.3.3
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
#CHANGELOG
- Attempted to add a changelog and History file Failed
- Removed *.rst files
Project details
Release history Release notifications | RSS feed
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.3.3.tar.gz
(46.0 kB
view hashes)
Built Distribution
Close
Hashes for create_icon-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a020e16226be0f43e1232565820ade112241fbc62d851987f75929bbf84172 |
|
MD5 | 82d2686ccae3f2816cf341b6019f008d |
|
BLAKE2b-256 | 05889550f8ebb1993d86e615b0a858a5532c9f2017110a6a41a9c26d8f32748d |