-
Notifications
You must be signed in to change notification settings - Fork 4
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
Why opening new window #7
Comments
Ah forgot to fill more things, os windows 11 and reproduce just simply on windows as normal |
See: https://stackoverflow.com/questions/17607415/python-tkinter-windows-7-taskbar-progress |
Please show some code. From your comments, it is quite unclear if this is a problem with this library or your code itself. |
The code in your project, I didn't even write my code 💀 the test one, Ubuntu opens a new window also I ain't using tkitner... I tried if it would work for cli |
Ah, I can provide a bit of code for a similar problem I've encountered. import tkinter as tk
import PyTaskbar
root = tk.Tk()
root.title('Example')
# Neither initialization method works without this sentence.
root.update()
# Only the second of the following two sentences works.
# prog = PyTaskbar.Progress(root.winfo_id()) # Figure 1
prog = PyTaskbar.Progress(int(root.wm_frame(), 16)) # Figure 2
prog.init()
prog.setState('loading')
prog.init()
root.mainloop() |
What I was reporting. |
Describe the bug
It opens a new window however it should give it in the same cmd/application (it might get a bit complex in intergrrated terminals) and option to open new or try to intergrate or merge in a existing gui/tkinter window object
And, there can be a event or "str" method in the taskbar progress class that returns true if its self.state == "done" and false vice versa. The example.py keeps saying close me, there should be event so that it will stop saying and exit as its closed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: