Skip to content

Commit

Permalink
Added application icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ilcardella committed Feb 1, 2019
1 parent 70ec73c commit 92e30a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UI/View.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def create_UI(self):
# Create main window
self.mainWindow = tk.Tk()
self.mainWindow.title(APP_NAME)
img = tk.Image("photo", file=currentdir + '/assets/icon.png')
self.mainWindow.tk.call('wm','iconphoto',self.mainWindow._w,img)
self.mainWindow.protocol("WM_DELETE_WINDOW", self.on_close_event)
self.mainWindow.geometry("1024x600")
# Define the app menu
Expand Down
Binary file added src/UI/assets/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 92e30a0

Please sign in to comment.