Custom Titlebar Hack! - Python Tkinter GUI Tutorial 188

Published: 24 August 2021
on channel: John Elder
33,754
669

In this video I'll show you a quick hack to customize your Titlebar in Tkinter with Python.

Tkinter doesn't come with the ability to customize your titlebar built into it. We'll have to get creative and hack around a bit to create a custom title bar.


We'll create a titlebar that we can change the color. We'll also add the ability to drag and drop the app to move it around the screen by clicking and dragging and dropping the titlebar.


#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:10 - Remove The Windows Titlebar
2:01 - Create Close Button
3:13 - Create A Fake Titlebar
4:22 - Add Titlebar Label
6:04 - Drag Drop Binding On Titlebar
8:58 - Add Close X To Titlebar
10:43 - Add Border To X On Titlebar
11:25 - Bind X To Close App
12:10 - Conclusion


On this page of the site you can watch the video online Custom Titlebar Hack! - Python Tkinter GUI Tutorial 188 with a duration of hours minute second in good quality, which was uploaded by the user John Elder 24 August 2021, share the link with friends and acquaintances, this video has already been watched 33,754 times on youtube and it was liked by 669 viewers. Enjoy your viewing!