How to add a close button in a Atom Panel Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!How to override YUI Panel CLOSE button event?In what order are Panels the most efficient in terms of render time and performance?Need to disappear Close button of Panel on dockingHow to auto-indent code in the Atom editor?Can't get Atom Linter to workExtJS place menu button on modal panelDevelop and Debug Atom PackageReveal sidebar in Atom (editor)?Linter not working correctly: AtomAdd/remove buttons to a panel with an arraylist c#

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

What would you call this weird metallic apparatus that allows you to lift people?

A letter with no particular backstory

Draw 4 of the same figure in the same tikzpicture

Why can't I install Tomboy in Ubuntu Mate 19.04?

How to run automated tests after each commit?

Lagrange four-squares theorem --- deterministic complexity

How would a mousetrap for use in space work?

How could we fake a moon landing now?

A term for a woman complaining about things/begging in a cute/childish way

What does it mean that physics no longer uses mechanical models to describe phenomena?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Google .dev domain strangely redirects to https

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

One-one communication

Project Euler #1 in C++

What order were files/directories output in dir?

Strange behavior of Object.defineProperty() in JavaScript

How does a spellshard spellbook work?

What does this say in Elvish?

What does 丫 mean? 丫是什么意思?

How do I tell what width chain my used chainring needs?

Is CEO the "profession" with the most psychopaths?

Why are my pictures showing a dark band on one edge?



How to add a close button in a Atom Panel



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!How to override YUI Panel CLOSE button event?In what order are Panels the most efficient in terms of render time and performance?Need to disappear Close button of Panel on dockingHow to auto-indent code in the Atom editor?Can't get Atom Linter to workExtJS place menu button on modal panelDevelop and Debug Atom PackageReveal sidebar in Atom (editor)?Linter not working correctly: AtomAdd/remove buttons to a panel with an arraylist c#



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I'm developing a package for Atom, I have to show long text in a Panel:



this.modalPanel = atom.workspace.addBottomPanel(
item: boxMessage,
visible: true
);


The panel opens just fine but it's impossible for the user to close this panel, I don't know how to add buttons to the created Panel.










share|improve this question






























    1















    I'm developing a package for Atom, I have to show long text in a Panel:



    this.modalPanel = atom.workspace.addBottomPanel(
    item: boxMessage,
    visible: true
    );


    The panel opens just fine but it's impossible for the user to close this panel, I don't know how to add buttons to the created Panel.










    share|improve this question


























      1












      1








      1








      I'm developing a package for Atom, I have to show long text in a Panel:



      this.modalPanel = atom.workspace.addBottomPanel(
      item: boxMessage,
      visible: true
      );


      The panel opens just fine but it's impossible for the user to close this panel, I don't know how to add buttons to the created Panel.










      share|improve this question
















      I'm developing a package for Atom, I have to show long text in a Panel:



      this.modalPanel = atom.workspace.addBottomPanel(
      item: boxMessage,
      visible: true
      );


      The panel opens just fine but it's impossible for the user to close this panel, I don't know how to add buttons to the created Panel.







      panel atom-editor






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 8 at 22:22









      Tomka Koliada

      1,2702828




      1,2702828










      asked Mar 8 at 21:23









      PixmyPixmy

      62




      62






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071192%2fhow-to-add-a-close-button-in-a-atom-panel%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071192%2fhow-to-add-a-close-button-in-a-atom-panel%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown