How to display text (some app data) when hovering over the tray icon

I would like to display some data when the user hovers over the tray icon