module; #include export module larra.main_window; import larra.application; namespace larra { export struct MainWindow : Gtk::ApplicationWindow { Gtk::Box main; Application& app; MainWindow(Application& app) : app(app) { this->set_title("Larra"); Gtk::Box leftPanel{Gtk::Orientation::VERTICAL}; leftPanel.set_halign(Gtk::Align::START); leftPanel.set_expand(true); Gtk::Box accounts{Gtk::Orientation::VERTICAL}; leftPanel.append(accounts); this->main.append(leftPanel); this->set_child(this->main); } }; } // namespace larra