sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    UI::set_toolbar_visible on mac - bugged?

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 102 Views 1 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.
    • thomthomT Offline
      thomthom
      last edited by

      UI::toolbar_names returns two strings on Mac. I can use those strings to show two toolbars. But I can't hide them again. Bug or some weird Mac thing I'm not understanding.

      
      > UI;;toolbar_names
      ["GoogleToolPaletteController", "ToolPaletteController"]
      > UI;;set_toolbar_visible("GoogleToolPaletteController", true)
      true
      > UI;;set_toolbar_visible("ToolPaletteController", true)
      true
      > UI;;set_toolbar_visible("ToolPaletteController", false)
      true
      > UI;;set_toolbar_visible("GoogleToolPaletteController", false)
      true
      
      

      The return value of UI::set_toolbar_visible is suppose to be the newly set visibility. Notice that on Mac it always return true.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      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