Skip to main content

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)

Hidden Title Bar

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)

Hidden Maximize and Minimize Buttons

Hide/Unhide All Buttons or Stuffs

all_stuffs.hide(window) # hides close button
# all_stuffs.unhide(window)

Hide Everything

Tip: to hide the text set the window title to ''

Enable/Disable Maximize Button

maximize_button.disable(window) # hides maximize button
# MaximizeButton.enable(window)

Disabled Maximize Button

Enable/Disable Minimize Button

minimize_button.disable(window) # hides minimize button
# MinimizeButton.enable(window)

Disabled Minimize Button

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 details)

Uploaded Source

Built Distribution

hPyT-1.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file hPyT-1.1.1.tar.gz.

File metadata

  • Download URL: hPyT-1.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for hPyT-1.1.1.tar.gz
Algorithm Hash digest
SHA256 de51983590c8e0806e5ebead635370500e82692394a419219fe5d4d244c526a7
MD5 ae244a6f40ec784096efb12787b32191
BLAKE2b-256 85209851fee1bea86dc46c2a51e08de58bf643bae289d8d1bc415b42cb7e6c38

See more details on using hashes here.

File details

Details for the file hPyT-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: hPyT-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for hPyT-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cecb2bc74a3a3a88a9975761416e4b8b8faf1b2da2d6ca2933ad2cf7809fef8b
MD5 937f88805413abec9cf07026848f9844
BLAKE2b-256 81d2ccc6d0810d4fecad810e0ecf28d6fd99b779c384f35346c3984df1c1ceb3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page