Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » Linux TrayIcon menu improvement
Linux TrayIcon menu improvement [message #14340] Fri, 22 February 2008 22:55 Go to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Hi. I saw the tray icon menu in Linux is showed in mouse position (like in Windows), and guess it must be on left-bottom side of tray icon. So i made these changes to sources:

TrayIconX11.cpp, line 166
MenuBar::Execute(this, THISBACK(DoMenu), Point(GetRect().left, GetRect().bottom));

Guess it is normal behavior, like others applications does(in Linux). Hope i don't wrong. Here it work well.


cdabbd745f1234c2751ee1f932d1dd75

[Updated on: Fri, 22 February 2008 22:56]

Report message to a moderator

Re: Linux TrayIcon menu improvement [message #14345 is a reply to message #14340] Sat, 23 February 2008 01:15 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 790
Registered: November 2005
Location: Czech Republic - Praha
Contributor

what if the tray is on top of screen?
(I have tray on bottom like in windows, but I'm not sure if Ubuntu by default in Gnome has the tray area in the upper panel.)
Re: Linux TrayIcon menu improvement [message #14347 is a reply to message #14345] Sat, 23 February 2008 09:36 Go to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Well, after a check-up it seems to be better let as it was.
If tray is in left, right or top it work well, but on bottom it doesn't. So is better let it unchanged, even it hasn't the same behavior as native applications.


cdabbd745f1234c2751ee1f932d1dd75
Previous Topic: Toolbox inside a TopWindow
Next Topic: Toggling between FullScreen and not
Goto Forum:
  


Current Time: Tue Feb 19 03:21:18 CET 2019

Total time taken to generate the page: 0.00552 seconds