Community
    • Login

    Tooltips of the toolbar buttons

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 4 Posters 833 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hairy ChameleonH
      Hairy Chameleon
      last edited by

      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.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Hairy Chameleon
        last edited by PeterJones

        @Hairy-Chameleon

        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

        Hairy ChameleonH 1 Reply Last reply Reply Quote 0
        • Hairy ChameleonH
          Hairy Chameleon @PeterJones
          last edited by

          @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.

          ArkadiuszMichalskiA deleeleeD 2 Replies Last reply Reply Quote 0
          • ArkadiuszMichalskiA
            ArkadiuszMichalski @Hairy Chameleon
            last edited by ArkadiuszMichalski

            @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-released

            Can 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,Tooltip

            Maybe this icon use default behaviour for tooltip button from Notepad++.

            1 Reply Last reply Reply Quote 0
            • deleeleeD
              deleelee @Hairy Chameleon
              last edited by

              @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.

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @deleelee
                last edited by

                @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.

                deleeleeD 1 Reply Last reply Reply Quote 0
                • deleeleeD
                  deleelee @PeterJones
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors