You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
41 lines
1.2 KiB
15 years ago
|
%{CC_TEMPLATE}
|
||
|
|
||
|
// DO NOT EDIT THIS FILE ! It was created using glade--
|
||
|
// for gtk 2.8.3 and gtkmm 2.8.0
|
||
|
//
|
||
|
// Please modify the corresponding derived classes in ./src/main_window.cc
|
||
|
|
||
|
|
||
|
#if defined __GNUC__ && __GNUC__ < 3
|
||
|
#error This program will crash if compiled with g++ 2.x
|
||
|
// see the dynamic_cast bug in the gtkmm FAQ
|
||
|
#endif //
|
||
|
#include "config.h"
|
||
|
#include <gtkmmconfig.h>
|
||
|
#if GTKMM_MAJOR_VERSION==2 && GTKMM_MINOR_VERSION>2
|
||
|
#include <sigc++/compatibility.h>
|
||
|
#define GMM_GTKMM_22_24(a,b) b
|
||
|
#else //gtkmm 2.2
|
||
|
#define GMM_GTKMM_22_24(a,b) a
|
||
|
#endif //
|
||
|
#include "main_window_glade.hh"
|
||
|
#include <gdk/gdkkeysyms.h>
|
||
|
#include <gtkmm/accelgroup.h>
|
||
|
|
||
|
main_window_glade::main_window_glade(
|
||
|
) : Gtk::Window(Gtk::WINDOW_TOPLEVEL)
|
||
|
{ main_window = this;
|
||
|
gmm_data = new GlademmData(get_accel_group());
|
||
|
main_window->set_title("%{APPNAME} Project");
|
||
|
main_window->set_modal(false);
|
||
|
main_window->property_window_position().set_value(Gtk::WIN_POS_CENTER);
|
||
|
main_window->set_resizable(true);
|
||
|
main_window->property_destroy_with_parent().set_value(false);
|
||
|
main_window->show();
|
||
|
main_window->signal_delete_event().connect(SigC::slot(*this, &main_window_glade::quit), false);
|
||
|
}
|
||
|
|
||
|
main_window_glade::~main_window_glade()
|
||
|
{ delete gmm_data;
|
||
|
}
|