Skip to content

i have worked with your notepad thank #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Notepad.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Notepad:

#variables
__root = Tk()
__root.wm_iconbitmap("report-3-16.ico")

#default window width and height
__thisWidth = 300
Expand All @@ -23,11 +24,11 @@ class Notepad:
def __init__(self,**kwargs):
#initialization

#set icon
#set icon
try:
self.__root.wm_iconbitmap("Notepad.ico") #GOT TO FIX THIS ERROR (ICON)
except:
pass
self.__root.wm_iconbitmap("Notepad.ico") #GOT TO FIX THIS ERROR (ICON)
except:
pass

#set window size (the default is 300x300)

Expand Down
Binary file added report-3-16.ico
Binary file not shown.