1

I'm playing around with the atom-shell and was wondering if anybody has used/written a module for making tubular browser windows?

Currently, it seems, atom-shell opens a completely new window when instantiating a BrowserWindow:

var win = new BrowserWindow({ width: 800, height: 600, show: false });
win.on('closed', function() {
  win = null;
});

win.loadUrl('https://github.com');
win.show();

Is there a way of tabularising the window, like in the atom application? Or will I have to write this functionality inside the current BrowserWindow in order to get it to work?

4

1 Answer 1

0

There is no way to create native tabs in Atom Shell. That being said, what @zcbenz suggests is entirely doable with the <WebView> tag, which allows you to safely host arbitrary web content inside Atom Shell.

2
  • Are you able to provide a link to where @zcbenz suggests this?
    – shennan
    Commented Dec 8, 2014 at 8:19
  • Thanks. Unfortunately there is no detail here about how to implement web views. And as far as I can tell, @zcbenz doesn't confirm/disconfirm the use of a <WebView> tag.
    – shennan
    Commented Dec 8, 2014 at 16:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.