A Simple icon to replace the tkinter feather for your programs
Reason this release was yanked:
Incorrect link to files
Project description
create_icon 0.4.0
Caveman Software® 2022
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
MIT License
Copyright (c) 2022 Michael Mulvey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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.4.0.tar.gz
(48.2 kB
view hashes)
Built Distribution
Close
Hashes for create_icon-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cd33b30f04e84413bfaae1a3326680fb635059dbeba1b0df33b0a066f002409 |
|
MD5 | 59a4ced11744df56a380cefb3cb7cb82 |
|
BLAKE2b-256 | 9a2912212a8dfe0d650738b60eeac12da999c658d39e68f4919ad5241382c600 |