Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide icon? #22

Open
MustafaHilmiYAVUZHAN opened this issue Jul 21, 2024 · 8 comments
Open

hide icon? #22

MustafaHilmiYAVUZHAN opened this issue Jul 21, 2024 · 8 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@MustafaHilmiYAVUZHAN
Copy link

How do we hide the icon? When you hide everything, it disappears. It stays when you hide maximize and minimize. Do you have a separate code for that?

@MustafaHilmiYAVUZHAN
Copy link
Author

I mean only title and close button unhide

@Zingzy
Copy link
Owner

Zingzy commented Jul 21, 2024

Hello @MustafaHilmiYAVUZHAN
You see hPyT is a python wrapper of the official windows DWM API and it hence it is restricted by it. I keep scanning the API for new features but sadly couldn't find any ways to just hide the icon or the close button :/

@Zingzy Zingzy added enhancement New feature or request question Further information is requested labels Jul 21, 2024
@littlewhitecloud
Copy link
Contributor

image
You mean window like this? @MustafaHilmiYAVUZHAN

@MustafaHilmiYAVUZHAN
Copy link
Author

Yes bro

@Zingzy
Copy link
Owner

Zingzy commented Aug 27, 2024

image You mean window like this? @MustafaHilmiYAVUZHAN

This is a toolWindow title bar and it lacks many features of the modern windows title bar and is originally meant to be used in docked apps or dialog boxes.

@littlewhitecloud
Copy link
Contributor

littlewhitecloud commented Aug 28, 2024

image
@MustafaHilmiYAVUZHAN
The only way to hide the icon is to customize your titlebar, specific tkinter window.

@MustafaHilmiYAVUZHAN
Copy link
Author

How do we do it? Are we going to delete the entire window and code it from scratch?

@littlewhitecloud
Copy link
Contributor

littlewhitecloud commented Aug 29, 2024

How do we do it? Are we going to delete the entire window and code it from scratch?

No, you just need to hide the current titlebar and rewrite a new titlebar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants
@littlewhitecloud @MustafaHilmiYAVUZHAN @Zingzy and others