#include "container_window.h" container_window::container_window(conexion *con, Glib::RefPtr< Gtk::Application > app): sesion(new session_manager(con)),loggin(sesion.get()) { this->app=app; this->app->run(loggin); if(this->loggin.login){ this->cont_inst=new controller_install(&install, sesion.get()); this->cont_rem=new controller_remove(&remove, sesion.get()); this->cont_info=new controller_info(&info, sesion.get()); this->app.reset(); this->app=Gtk::Application::create( "org.gtkmm.examples.base"); this->add(this->book); this->book.append_page(install,"build"); this->book.append_page(remove,"remove"); this->book.append_page(this->info,"info"); this->show_all_children(); this->app->run(*this); } }