summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gnome2mmapp/main_window_glade.hh
blob: 97a9302f5c62b7095bce9c2cca4ddd488284c346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%{HH_TEMPLATE}

// DO NOT EDIT THIS FILE ! It was created using
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
// for gtk 2.2.4 and gtkmm 1.2.10
//
// Please modify the corresponding derived classes in ./src/main_window.hh and./src/main_window.cc

#ifndef _MAIN_WINDOW_GLADE_HH
#  define _MAIN_WINDOW_GLADE_HH


#if !defined(GLADEMM_DATA)
#define GLADEMM_DATA 
#include <gtk--/accelgroup.h>

class GlademmData
{  
        
        Gtk::AccelGroup *accgrp;
public:
        
        GlademmData(Gtk::AccelGroup *ag) : accgrp(ag)
        {  
        }
        
        Gtk::AccelGroup * getAccelGroup()
        {  return accgrp;
        }
};
#endif //GLADEMM_DATA

#include <gtk--/window.h>

class main_window_glade : public Gtk::Window
{  
        
        GlademmData *gmm_data;
public:
        class Gtk::Window *main_window;
protected:
        
        main_window_glade();
        
        ~main_window_glade();

        virtual gint quit(GdkEventAny *ev) = 0;
};
#endif