Tooltips of the toolbar buttons
-
Could anyone tell me where are tooltips of the custom buttons on the toolbar set up? I walked through the source code of N++ but coldn’t find.
I’d like to change the default tooltips of the macros and Python Sripts installes on toolbar.
-
If the plugin itself adds a button to the toolbar, then it is up to the individual plugin to decide whether or not to allow you to customize the tooltips: PythonScript does not.
OTOH, if you use the Customize Toolbar plugin to add scripts or macros to the toolbar, then
the Customize Toolbar plugin config files do provide a mechanism for giving them whatever tooltip you desire.–
addenda: see my reply further down for correction -
@PeterJones Thanks for the reply. How does Configure Toolbar plugin provide the change of the tooltip? I can not find any possibility. In the CustomizeToolbar.btn doen’t contain a field for the tooltip string…
I’m interested the code where the tooltips are set up. I’m interested make some improvement for the plugin to do the tooltip editing.
-
@Hairy-Chameleon
I see that it would be useful not only for me:
https://community.notepad-plus-plus.org/topic/15412/customize-toolbar-4-1-64-bit-releasedCan you add option to overwrite tooltip for icon? Now it’s the same as command but sometimes I don’t remember where this command comes from and must open CustomizeToolbar.btn file. In this file the last value can do that thing. So rules can looks like this:
Menu,Menu2_or_Command,Menu3_or_Command,Menu4_or_Command,Icon,TooltipMaybe this icon use default behaviour for tooltip button from Notepad++.
-
@Hairy-Chameleon said in Tooltips of the toolbar buttons:
How does Configure Toolbar plugin provide the change of the tooltip
I’d like to know, too.
-
@deleelee & @Hairy-Chameleon ,
Sorry, I was mistaken a few weeks ago when I said that Customize Toolbar provided a mechanism for changing the tooltip. It just so happened that the default tooltip for all the buttons I have added with that plugin were the tooltip I wanted. Sorry for the misinformation.
-
@PeterJones said in Tooltips of the toolbar buttons:
@deleelee & @Hairy-Chameleon ,
Sorry, I was mistaken a few weeks ago when I said that Customize Toolbar provided a mechanism for changing the tooltip. It just so happened that the default tooltip for all the buttons I have added with that plugin were the tooltip I wanted. Sorry for the misinformation.
No worries, Peter, we all make mistakes every now and then :-D It would be great if there was an option to change the tooltips, though.