summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gtk2mmapp/main_window_glade.h
blob: 726409b4114f0124d635032b6b5efdcee2fa158b (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
%{HH_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.h and./src/main_window.cpp

#ifndef _MAIN_WINDOW_GLADE_H
#  define _MAIN_WINDOW_GLADE_H


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

class GlademmData
{  
        
        Glib::RefPtr<Gtk::AccelGroup> accgrp;
public:
        
        GlademmData(Glib::RefPtr<Gtk::AccelGroup> ag) : accgrp(ag)
        {  
        }
        
        Glib::RefPtr<Gtk::AccelGroup>  getAccelGroup()
        {  return accgrp;
        }
};
#endif //GLADEMM_DATA

#include <gtkmm/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();
private:
        virtual bool quit(GdkEventAny *ev) = 0;
};
#endif