2024-08-29 16:42:58 +00:00
|
|
|
#include <larra/main_window.hpp>
|
2024-08-26 04:29:16 +00:00
|
|
|
|
2024-08-26 11:22:03 +00:00
|
|
|
namespace larra {
|
|
|
|
|
2024-08-29 16:42:58 +00:00
|
|
|
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);
|
2024-08-26 04:29:16 +00:00
|
|
|
};
|
2024-08-26 11:22:03 +00:00
|
|
|
|
|
|
|
} // namespace larra
|