larra/src/main_window.cpp

16 lines
426 B
C++

#include <larra/main_window.hpp>
namespace larra {
MainWindow::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