#include #include #include //#include int main(int argc, char **argv) { Glib::RefPtr app = Gtk::Application::create(argc, argv, "org.gtkmm.example"); Gtk::Window *win = 0; Glib::RefPtr builder; try { builder = Gtk::Builder::create_from_file("123.ui"); } catch (Gtk::BuilderError &ex) { std::cerr << "BuilderErrrrr: " + ex.what() << std::endl; } builder->get_widget("WinWorkplace", win); app->run(*win); delete win; return 0; }