Hide Python Titlebar - A package to manipulate window titlebar in GUI applications.
Project description
hPyT - Hack Python Titlebar
A package to manipulate window titlebar in GUI applications. Supports Both Windows 11 and 10
https://github.com/Zingzy/hPyT/assets/90309290/cf361814-dacc-4704-8828-3d1ad83c6485
You can download the above app from the github releases to test out the package before installing/using it in your projects
Supported Libraries
- Tkinter & CustomTkinter
- PyQt
- PySide
- WxPython
- support for more libraries soon...
Importing
from hPyT import *
from customtkinter import * # you can use any other library from the above mentioned list
window = CTk()
Hide/Unhide Title Bar
title_bar.hide(window) # hides full titlebar
# title_bar.unhide(window)
Hide/Unhide both Maximize and Minimize Buttons (Completely Hides both buttons)
maximize_minimize_button.hide(window) # hides both maximize and minimize button
# maximize_minimize_button.unhide(window)
Hide/Unhide All Buttons or Stuffs
all_stuffs.hide(window) # hides close button
# all_stuffs.unhide(window)
Tip: to hide the text set the window title to ''
Enable/Disable Maximize Button
maximize_button.disable(window) # hides maximize button
# MaximizeButton.enable(window)
Enable/Disable Minimize Button
minimize_button.disable(window) # hides minimize button
# MinimizeButton.enable(window)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hPyT-1.1.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
hPyT-1.1.1-py3-none-any.whl
(3.2 kB
view hashes)