qdot / systray-rs

Allows rust applications to show a platform specific system tray icon and menu.
BSD 3-Clause "New" or "Revised" License
170 stars 66 forks source link

Move menu item index/callback management to library level #7

Closed qdot closed 7 years ago

qdot commented 7 years ago

Menu item indexes and callbacks are currently managed per platform. This is because I just threw everything into the windows implementation to get something working when the project first started. Since item indexes and callbacks will be required on all platforms and don't have anything to do with specific platforms, this code could be moved into the main library.