You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to open a window when a menu on the icon is clicked.
I've been playing around with tk, but I have a hard time getting tk and pystray to work at the same time since both assume that they control the event loop.
Do you have any recommendations how I could make this work?
The text was updated successfully, but these errors were encountered:
smurn
changed the title
Integration with other GUI frameworks
Integration with GUI frameworks
Jul 25, 2017
Hi,
If you don't care very much about cross platform compatibility, you can
start the system tray icon is dedicated thread. I have never tested this,
but for Linux and Windows it should work.
This does not work for macOS unfortunately, as it for some reason requires
the thread that contains the application entry point to also run the main
run loop.
On 25 Jul 2017 9:18 pm, "Stefan C. Müller" <notifications@github.com> wrote:
I'd like to open a window when a menu on the icon is clicked.
I've been playing around with tk, but I have a hard time getting tk and
pystray to work at the same time since both assume that they control the
event loop.
Do you have any recommendations how I could make this work?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#16>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjOY_puHtILcJR4J4m-ZF0cdEvbLusEks5sRj9ugaJpZM4OjAXL>
.
I'd like to open a window when a menu on the icon is clicked.
I've been playing around with tk, but I have a hard time getting tk and pystray to work at the same time since both assume that they control the event loop.
Do you have any recommendations how I could make this work?
The text was updated successfully, but these errors were encountered: