Check out a free preview of the full Build Cross-Platform Desktop Apps with Electron course:
The "Title Bar" Lesson is part of the full, Build Cross-Platform Desktop Apps with Electron course featured in this preview video. Here's what you'd learn in this lesson:
Steve shows how to set the title of the window to the name of the filename. Also, he provides visual cues by placing the file icon next to the filename and visually notifying the file as edited on the MacOS' app window's menu bar button.