17 lines
476 B
C++
17 lines
476 B
C++
#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);
|
|
}
|
|
}
|