-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBaseGnomeDialog.hh
36 lines (29 loc) · 968 Bytes
/
BaseGnomeDialog.hh
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
#ifndef INCL_BASE_GNOME_DIALOG_HH
#define INCL_BASE_GNOME_DIALOG_HH
// Adapted from BaseGnomeDialog
#include "BaseGtkWindow.hh"
/**
* BaseGnomeDialog
* Very much like (and a child of) BaseGnomeWindow, but a dialog.
* The behavior is to destroy the dialog on a close event.
* This must be subclassed by specific dialog implementations.
*/
class BaseGnomeDialog
: public BaseGtkWindow
{
public:
BaseGnomeDialog(const char* gladefilename, const char* widgetname);
virtual ~BaseGnomeDialog() {}
protected:
/** _thisDialog is actually just a downcast of _thisWindow */
Gnome::Dialog* _thisDialog;
/** The innovation here is that OnCloseQuery is connected to _thisDialog.close */
gboolean OnCloseQuery();
};
#endif
/*
$Header: /home/ckuklewicz/cvsroot/gminehunter/BaseGnomeDialog.hh,v 2.0 2000/07/22 17:21:14 ckuklewicz Exp $
$Log: BaseGnomeDialog.hh,v $
Revision 2.0 2000/07/22 17:21:14 ckuklewicz
Synchonizing release numbers
*/