Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #if defined __GNUC__ && __GNUC__ < 3
00012 #error This program will crash if compiled with g++ 2.x
00013
00014 #endif //
00015 #include "config.h"
00016 #include <gtkmmconfig.h>
00017 #if GTKMM_MAJOR_VERSION==2 && GTKMM_MINOR_VERSION>2
00018 #define GMM_GTKMM_22_24(a,b) b
00019 #else //gtkmm 2.2
00020 #define GMM_GTKMM_22_24(a,b) a
00021 #endif //
00022 #include "window3_glade.hh"
00023 #include <gdk/gdkkeysyms.h>
00024 #include <gtkmm/accelgroup.h>
00025
00026 window3_glade::window3_glade(
00027 )
00028 { window3 = this;
00029 gmm_data = new GlademmData(get_accel_group());
00030 align = Gtk::manage(new class Gtk::Alignment());
00031 label = Gtk::manage(new class Gtk::Label(""));
00032 frame15 = Gtk::manage(new class Gtk::Frame());
00033 nblabel = Gtk::manage(new class Gtk::Label("make"));
00034 notebook1 = Gtk::manage(new class Gtk::Notebook());
00035 align->unset_flags(Gtk::CAN_FOCUS);
00036 label->unset_flags(Gtk::CAN_FOCUS);
00037 label->set_use_markup(true);
00038 frame15->unset_flags(Gtk::CAN_FOCUS);
00039 frame15->set_shadow_type(Gtk::SHADOW_NONE);
00040 frame15->set_label_align(0,0);
00041 frame15->add(*align);
00042 frame15->set_label_widget(*label);
00043 nblabel->unset_flags(Gtk::CAN_FOCUS);
00044 notebook1->set_flags(Gtk::CAN_FOCUS);
00045 notebook1->append_page(*frame15, *nblabel);
00046 window3->unset_flags(Gtk::CAN_FOCUS);
00047 window3->set_title("Nodes");
00048 window3->add(*notebook1);
00049 align->show();
00050 label->show();
00051 frame15->show();
00052 nblabel->show();
00053 notebook1->show();
00054 window3->show();
00055 }
00056
00057 window3_glade::~window3_glade()
00058 { delete gmm_data;
00059 }