Hello,
Is it possible to attach a function to the mouse click on a tray icon, in Titanium Desktop? I can't find an appropriate event to intercept.
Thank you in advance.
1 Answer
Accepted Answer
You can do so by passing a callback to addTray, like so:
var myWindow = Titanium.UI.getCurrentWindow(); var tray = Titanium.UI.addTray(iconURL="icon.png", function(){ myWindow.show(); });
Your Answer
Think you can help? Login to answer this question!