to attach all opened tabs to a single main window of our app like in case of chrome browser

Actually, I am looking for to open the multiple tabs in my electron app which I successfully did. But how should I attach all those opened windows to the main application window?
like we have an option in native windows app to pin or unpin the windows.