I've only just started learning how to use gtkmm, and I'm trying to create an application which can have more than one window open at the same time (think, main window and a control panel).

I decided to create the layout in Glade, if that's of any relevance to this question.

My method of displaying two bottles is more or less this:

```
Gtk::Window* main_window = nullptr;
Gtk::Window* servsettings = nullptr;

int main(int argc, char* argv[]) {
    auto app = ...
    auto builder = ... // these are exluded for brevity

    builder->add_from_file("../src/design.glade");

    builder->get_widget("main", main_window);
    builder->get_widget("servsettings", servsettings);

    app->run(*servsettings);
    app->run(*main_window);
}

```

Instead of opening two windows, this instead opens `servsettings`, then segfaults when I close that.

Now forgetting about the segfault (I'm utterly confused about that,) I think I can see why it only opens `servsettings` - I assume this is because I'm running the app, and then that call only exits when the window dies?

The problem is, I can't think of any other way to do it. I experimented with multithreading but decided that it would be better to ask here first.

Before anyone suggests it, [this](https://stackoverflow.com/questions/48215743/creating-multiple-windows-in-gtkmm) answer does not help me. This is because they had a scope-based issue. I don't.