larra/src/main_window.cpp

22 lines
450 B
C++
Raw Normal View History

2024-08-26 04:29:16 +00:00
module;
#include <gtkmm.h>
export module larra.main_window;
2024-08-26 11:22:03 +00:00
namespace larra {
export struct MainWindow : Gtk::ApplicationWindow {
Gtk::Box main;
Gtk::Box leftPanel{Gtk::Orientation::VERTICAL};
Gtk::Box accounts{Gtk::Orientation::VERTICAL};
2024-08-26 04:29:16 +00:00
MainWindow() {
2024-08-26 11:22:03 +00:00
this->set_title("Larra");
auto settings = Gtk::Settings::get_default();
this->main.append(this->leftPanel);
this->set_child(this->main);
}
2024-08-26 04:29:16 +00:00
};
2024-08-26 11:22:03 +00:00
} // namespace larra