#include "menu_os.h" menu_os::menu_os(/* args */) { } menu_os::~menu_os() { } void menu_os::init() { this->m_box(Gtk::ORIENTATION_VERTICAL); for (auto& [key, value]: map_list_os) { Gtk::Button *button = new Gtk::button(); Gtk::Revealer *revealer = new Gtk::Revealer(); std::map map_buttons_level_2; map_buttons_level_1[key] = struct_menu_os_button{button, revealer} } } void menu_os::crete_menu_level_2(string key, std::map &map_buttons_level_2) { map_buttons_level_2[key] = }