javascript - Titanium Desktop - Get Menubar icon Position -


i trying create app main window shown when menubar icon clicked. have create menubar icon can't figure out how position window underneath it. there way x position?

this javascript menubar icon:

var win = titanium.ui.getcurrentwindow();  var tray = titanium.ui.addtray(     "app://images/menubar.png",     function(){ win.show(); } ); 

this shows window when menubar icon clicked, shows in center of screen.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -