-
Notifications
You must be signed in to change notification settings - Fork 15
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
Messageboxes and dialogs #38
Comments
Can we try and add the Mac printer dialog? It would also be nice to have a built-in way to make dialogs |
Yup, it isn't in the TODO, but actually I've implemented it.
Definitely, amazing good idea! I'll have to do some research, because it's probably not that straightforward, but it would be nice to have a print dialog (not only on Mac :) |
Yeah its not built into tk and haven't been able to find anything yet but that would be an amazing add |
@Moosems Here are your requested links:
I haven't read through them, just found the files, but it looks like there is indeed going to be some printing stuff in Tk8.7 |
That's awesome! You know that TRCK on stackoverflow is me right? |
Yes :) |
Haha I just thought it was kinda funny how you had pulled up my question |
How can I call messageboxes? |
In theory you could do this: from tukaan.dialogs import FileDialog
dir = FileDialog.get_directory()
file_to_open = FileDialog.get_open_filenames()
file_to_save = FileDialog.get_save_filenames()
with FileDialog.get_open_file() as file:
print(file.read())
with FileDialog.get_save_file() as file:
file.write("asdf") but something is broken, so you can't ATM. Edit: Yea, these aren't messageboxes, but only filedialogs are implemented currently. |
Oh ok. How can I help get them working? |
At the moment I don't you could help, because I don't know what causes the error either. But if you can figure it out, then... |
Ok. Where is the code for it located? |
Thanks |
Windows toast notifications: https://github.com/mohabouje/WinToast |
TODO:
Implementation:
KDialog
if availableZenity
if availablenotify-send
if availableThe text was updated successfully, but these errors were encountered: