Skip to main content
A tooltip is a bit of information that is displayed when the mouse pauses over an item on a panel. The information can be the name of an icon, a short instruction, or some other useful information. The three main JMRI panel editors support tooltips for icons that relate to JMRI components such as sensors, turnouts, etc.
user name (system name) tooltip does not store any data. It uses the
current names when showing the tooltip. This eliminates problems when user names are changed
or moved to a different system name.
Custom tooltips can be created. This data is stored. The custom content can have the
user name (system name) information added to the front of the custom
Existing tooltip content is not automatically removed. Depending on the age of the panel and its icons, it may have old content. The ClearTooltips.py script can be run to clear the old tooltip content. From the main PanelPro menu, select Scripting ⇒ Run Script.... The script is included with the JMRI install and it is located in the jython directory.
Each editor has an option to enable or disabled tooltips for its panels. Each tooltip also has an option to show or not show its tooltip content. This provides the ability to control the tooltip process. For example, a panel can have tooltips enabled but individual icons can be set to not show a tooltip. The reverse is also possible where tooltips are disabled for the panel, but individual icons can be enabled.
The default tooltip shows the user name and system name of the related JMRI item.
The icon context menu (right click) has an entry for Tooltips with 3 menu items.
Sensor Name (IS101): Used to trigger a Route.
Copyright © 1997 - 2022 JMRI Community. JMRI®, DecoderPro®, PanelPro™, DispatcherPro™, OperationsPro™, SignalPro™, SoundPro™, TrainPro™, Logix™, LogixNG™ and associated logos are our trademarks. Additional information on copyright, trademarks and licenses is linked here.