#include <gtkmm.h>
#include <libglademm.h>
#include <iostream>
-#include "mnu_file_exit.h"
+#include "menu_bar.h"
int main (int argc, char **argv)
{
refXml = Gnome::Glade::Xml::create("client.glade", "Principal");
}
catch(const Gnome::Glade::XmlError& ex) {
+ std::cerr << "(main.cpp:18) : ";
std::cerr << ex.what() << std::endl;
return 1;
}
Gtk::Window* pWindow = 0;
- MnuFileExit *mnu_file_exit = 0;
Gtk::Button *bar_exit;
+ Gtk::Fixed *work_place;
+ MiMenuBar *menu_bar;
+
refXml->get_widget("Principal", pWindow);
- refXml->get_widget_derived("mnu_file_exit", mnu_file_exit);
+ refXml->get_widget_derived("menu_bar", menu_bar);
refXml->get_widget("bar_exit", bar_exit);
+ refXml->get_widget("work_place", work_place);
+ work_place->set_size_request(10000, 10000);
bar_exit->signal_clicked().connect( SigC::slot(Gtk::Main::quit) );
client.run(*pWindow);