refactoring, expand interface

This commit is contained in:
2020-05-13 00:56:26 +02:00
parent f9cdde7008
commit 7691c80fb4
12 changed files with 100 additions and 38 deletions

16
container_window.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include "container_window.h"
container_window::container_window(conexion *con, Glib::RefPtr< Gtk::Application > app):loggin(con)
{
this->app=app;
this->app->run(loggin);
if(this->loggin.login){
this->cont=new controlador(&install, con);
this->app.reset();
this->app=Gtk::Application::create( "org.gtkmm.examples.base");
this->add(this->book);
this->book.add(install);
this->show_all_children();
this->app->run(*this);
}
}