vdk 2.4.0
Main Page
Related Pages
Classes
Files
File List
vdk
filedlg.h
1
/*
2
* ===========================
3
* VDK Visual Develeopment Kit
4
* Version 0.4
5
* October 1998
6
* ===========================
7
*
8
* Copyright (C) 1998, Mario Motta
9
* Developed by Mario Motta <mmotta@guest.net>
10
*
11
* This library is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU Library General Public
13
* License as published by the Free Software Foundation; either
14
* version 2 of the License, or (at your option) any later version.
15
*
16
* This library is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
* Library General Public License for more details.
20
*
21
* You should have received a copy of the GNU Library General Public
22
* License along with this library; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24
* 02111-1307, USA.
25
*/
26
27
#ifndef FILEDLG_H
28
#define FILEDLG_H
29
#include <vdk/forms.h>
30
#include <vdk/evhandle.h>
48
class
VDKFileSel
:
public
VDKForm
49
{
50
51
VDKFileSel
(
VDKApplication
*
app
,
52
char
* selection,
53
gchar* title = NULL,
54
GtkWindowType display = GTK_WINDOW_TOPLEVEL);
55
protected
:
56
GtkWidget* fileSel;
57
VDKObject
* ok_button,*cancel_button;
58
VDKObjectSignal
ok_s_clicked;
59
VDKObjectSignal
cancel_s_clicked;
60
char
* selection;
61
public
:
62
VDKFileSel
(
VDKForm
* owner,
63
char
* selection,
64
gchar* title =
""
);
65
virtual
~
VDKFileSel
();
68
virtual
void
OnExpose
(
VDKForm
*, GdkRectangle) {}
71
virtual
void
OnRealize
(
VDKForm
*) {}
74
virtual
void
Setup
() {}
75
76
bool
Ok(
VDKObject
*);
77
bool
Cancel(
VDKObject
*);
78
void
Show() {
VDKForm::ShowModal
();}
79
DECLARE_SIGNAL_MAP(
VDKFileSel
);
80
};
81
#endif
Generated on Wed Mar 12 2014 15:03:43 for vdk 2.4.0 by
1.8.1.2