sketchucation logo sketchucation
    • Login
    šŸ¤‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Double-Click Toolbar Button

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 5 Posters 937 Views 5 Watching
    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.
    • J Offline
      Jim
      last edited by

      While creating my latest masterpiece (cough, custom toolbars, cough) I realized it would be possible to detect a double-click on a toolbar button by saving the time that the click occured.

      Just a possible way to get more functions out of a single button. Or a possible way to confuse people?

      Hi

      1 Reply Last reply Reply Quote 0
      • tbdT Offline
        tbd
        last edited by

        I think it will confuse more as normal SU toolbar icons don't have double click behavior.
        also how do you show that the user should dbl click for more features besides writing in docs (that users usually dont read)

        SketchUp Ruby Consultant | Podium 1.x developer
        http://plugins.ro

        1 Reply Last reply Reply Quote 0
        • W Offline
          watkins
          last edited by

          Dear Jim,

          A tool button flyout would be very nice. An obvious candidate would be the standard projections tool bar (isometric, top, bottom etc). I only use these options occasionally, but they take up space.

          Regards,
          Bob

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            @watkins said:

            Dear Jim,

            A tool button flyout would be very nice. An obvious candidate would be the standard projections tool bar (isometric, top, bottom etc). I only use these options occasionally, but they take up space.

            Regards,
            Bob

            Indeed it would be very nice, but it's not possible using the current Ruby API.

            Hi

            1 Reply Last reply Reply Quote 0
            • jujuJ Offline
              juju
              last edited by

              @unknownuser said:

              I think it will confuse more as normal SU toolbar icons don't have double click behavior.

              I agree, could be confusing - unless the functions are WAY COOL, then I'd live with it.

              @unknownuser said:

              also how do you show that the user should dbl click for more features besides writing in docs (that users usually dont read)

              Create a second icon image that is displayed if it's been double clicked - maybe similar as the first but with a "+" symbol added somewhere.

              Save the Earth, it's the only planet with chocolate.

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                Maybe I'll make a fun "easter egg" on some plugin, sometime.

                Hi

                1 Reply Last reply Reply Quote 0
                • A Offline
                  azuby
                  last edited by

                  For switching on and off things you can create a togglebutton with Sketchup-Ruby (also possible for menu items).

                  Doubleclickable buttons are not the common way (usability aspects). Please do not confuse the users šŸ˜„

                  azuby

                  *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

                  Bad English? PM me, correct me. :smile:**

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Buy SketchPlus
                  Buy SUbD
                  Buy WrapR
                  Buy eBook
                  Buy Modelur
                  Buy Vertex Tools
                  Buy SketchCuisine
                  Buy FormFonts

                  Advertisement