Platform Specific Events

Hi there!

I’ve been using iced for over 2 years now and it works great! :slight_smile:
Last weekend, I’ve tried to add some buttons into the taskbar preview just like here:
image

The only thing that worked for me to get the click events was to use the Windows API function “GetMessage”. Since this is not the correct way to do so, since the “Main window” of an iced gui application has its own event loop, I’d like to receive the event, if such a button was clicked.

@hecrj The iced winit event loop would need to pass through such a “button clicked event” (read: event from GetMessage) to the iced event (update, subscribe, etc. methods) logic so that a programmer would be able to catch such a “specific plattform event”.
It would be awesome, if this feature would be added. :slight_smile:
What do you think? What do the others think? :thinking:

Kind regards

Daniel

There as been a similar question about platform specific events. And Héctor is planning to explore the glazier shell, which may provide what you are looking for.

1 Like

Thx! I must have overlooked that post! Didn’t know about glazier until now!