Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tooltips in command menu
10-22-2016, 10:57 PM
Post: #1
Question Tooltips in command menu

I'm trying to get rid of the tooltips on the command menu. Did try by adding


and by removing

[wxWindow:setToolTip(Win, wxToolTip:new(TipMsg)) || Win <- [Panel,T1,T2|BM]],

but not much luck. Could somebody point me in the correct direction?

10-23-2016, 01:01 AM
Post: #2
RE: Tooltips in command menu
Tool tips are used as information for the mouse options as well as a way to show the hotkey assigned to each one.
What's the reason to try remove them?

My Wings3D Collection at G+
10-23-2016, 01:15 AM
Post: #3
RE: Tooltips in command menu
I do not know for sure what his reason is, but maybe he is a more advanced user who does not want to see them???

I think other programs offer the option of not displaying them as well. If they cannot be removed maybe add an option to control how long it takes before they are displayed???

10-23-2016, 01:34 AM
Post: #4
RE: Tooltips in command menu
Thanks for the reply.
The problem with the tooltip is that it obscures the other menu entries (view screenshot in attachment). So if I select a few edes, RMB click and want to locate "circularise" in the menu it's possible the tooltip is already over the menu entry, making it harder to locate.

The tooltip text is also already present at the bottom of the wings3d window.

I'm using Fedora24 so maybe the problem is not present in windows.

Attached File(s) Thumbnail(s)
10-23-2016, 02:04 AM (This post was last modified: 10-23-2016 02:09 AM by oort.)
Post: #5
RE: Tooltips in command menu
In Windows the tooltip does not cover the menu like it does for you. As a work around, you can move the mouse away from the text in the popup menu and the tooltip goes away. At least that works in Windows...

We will have to see if there is a better solution from Micheus or dgud.

p.s. The tooltips showing by the cursor is a new feature (that many wanted) added since the switch to wxwidgets.

10-23-2016, 03:21 AM
Post: #6
RE: Tooltips in command menu
This line (and another similar line) is was sets them, so out-comment them should solve that.

[wxWindow:setToolTip(Win, wxToolTip:new(TipMsg)) || Win <- [Panel,T1,T2|BM]],
10-23-2016, 03:59 AM
Post: #7
RE: Tooltips in command menu
Removing the two wxWindow:setToolTip lines was the first thing I tried but wings would not build anymore. Had another look at the build error.

compile: warnings being treated as errors
wings_menu.erl:454: variable 'TipMsg' is unused
Makefile:168: recipe for target '../ebin/wings_menu.beam' failed

Renaming TipMsg to _TipMsg resolved the issue.

Forum Jump:

User(s) browsing this thread: 1 Guest(s)