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 "window1_glade.hh"
00023 #include <gdk/gdkkeysyms.h>
00024 #include <gtkmm/accelgroup.h>
00025 #include <gtkmm/radiobutton.h>
00026
00027 window1_glade::window1_glade(
00028 )
00029 { window1 = this;
00030 gmm_data = new GlademmData(get_accel_group());
00031 treeview1 = Gtk::manage(new class Gtk::TreeView());
00032 scrolledwindow4 = Gtk::manage(new class Gtk::ScrolledWindow());
00033
00034 Gtk::RadioButton::Group _RadioBGroup_token_rb;
00035 token_rb = Gtk::manage(new class Gtk::RadioButton(_RadioBGroup_token_rb, "Token"));
00036 aut_rb = Gtk::manage(new class Gtk::RadioButton(_RadioBGroup_token_rb, "Auth"));
00037 message_rb = Gtk::manage(new class Gtk::RadioButton(_RadioBGroup_token_rb, "Message"));
00038 drop_rb = Gtk::manage(new class Gtk::RadioButton(_RadioBGroup_token_rb, "Drop"));
00039 all_rb = Gtk::manage(new class Gtk::RadioButton(_RadioBGroup_token_rb, "All"));
00040 hbox10 = Gtk::manage(new class Gtk::HBox(true, 0));
00041 alignment5 = Gtk::manage(new class Gtk::Alignment());
00042 entry1 = Gtk::manage(new class Gtk::Entry());
00043 button10 = Gtk::manage(new class Gtk::Button(Gtk::StockID("gtk-clear")));
00044 button11 = Gtk::manage(new class Gtk::Button(Gtk::StockID("gtk-find")));
00045 button12 = Gtk::manage(new class Gtk::Button(Gtk::StockID("gtk-quit")));
00046 hbox11 = Gtk::manage(new class Gtk::HBox(false, 0));
00047 vbox7 = Gtk::manage(new class Gtk::VBox(false, 0));
00048 treeview1->set_flags(Gtk::CAN_FOCUS);
00049 scrolledwindow4->set_flags(Gtk::CAN_FOCUS);
00050 scrolledwindow4->set_shadow_type(Gtk::SHADOW_IN);
00051 scrolledwindow4->set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
00052 scrolledwindow4->add(*treeview1);
00053 token_rb->set_flags(Gtk::CAN_FOCUS);
00054 token_rb->set_mode(true);
00055 aut_rb->set_flags(Gtk::CAN_FOCUS);
00056 aut_rb->set_mode(true);
00057 message_rb->set_flags(Gtk::CAN_FOCUS);
00058 message_rb->set_mode(true);
00059 drop_rb->set_flags(Gtk::CAN_FOCUS);
00060 drop_rb->set_mode(true);
00061 all_rb->set_flags(Gtk::CAN_FOCUS);
00062 all_rb->set_mode(true);
00063 hbox10->unset_flags(Gtk::CAN_FOCUS);
00064 hbox10->pack_start(*token_rb, Gtk::PACK_SHRINK, 0);
00065 hbox10->pack_start(*aut_rb, Gtk::PACK_SHRINK, 0);
00066 hbox10->pack_start(*message_rb, Gtk::PACK_SHRINK, 0);
00067 hbox10->pack_start(*drop_rb, Gtk::PACK_SHRINK, 0);
00068 hbox10->pack_start(*all_rb, Gtk::PACK_SHRINK, 0);
00069 alignment5->unset_flags(Gtk::CAN_FOCUS);
00070 alignment5->add(*hbox10);
00071 entry1->set_flags(Gtk::CAN_FOCUS);
00072 button10->set_flags(Gtk::CAN_FOCUS);
00073 button11->set_flags(Gtk::CAN_FOCUS);
00074 button12->set_flags(Gtk::CAN_FOCUS);
00075 hbox11->unset_flags(Gtk::CAN_FOCUS);
00076 hbox11->pack_start(*button10);
00077 hbox11->pack_start(*button11);
00078 hbox11->pack_start(*button12);
00079 vbox7->unset_flags(Gtk::CAN_FOCUS);
00080 vbox7->pack_start(*scrolledwindow4);
00081 vbox7->pack_start(*alignment5, Gtk::PACK_SHRINK, 0);
00082 vbox7->pack_start(*entry1, Gtk::PACK_SHRINK, 0);
00083 vbox7->pack_start(*hbox11, Gtk::PACK_SHRINK, 0);
00084 window1->unset_flags(Gtk::CAN_FOCUS);
00085 window1->set_title("window3");
00086 window1->add(*vbox7);
00087 treeview1->show();
00088 scrolledwindow4->show();
00089 token_rb->show();
00090 aut_rb->show();
00091 message_rb->show();
00092 drop_rb->show();
00093 all_rb->show();
00094 hbox10->show();
00095 alignment5->show();
00096 entry1->show();
00097 button10->show();
00098 button11->show();
00099 button12->show();
00100 hbox11->show();
00101 vbox7->show();
00102 window1->show();
00103 button10->signal_clicked().connect(sigc::mem_fun(*this, &window1_glade::on_button10_clicked), false);
00104 button11->signal_clicked().connect(sigc::mem_fun(*this, &window1_glade::on_button11_clicked), false);
00105 button12->signal_clicked().connect(sigc::mem_fun(*this, &window1_glade::on_button12_clicked), false);
00106 }
00107
00108 window1_glade::~window1_glade()
00109 { delete gmm_data;
00110 }