Debian Codegraph @

src/af/xap/gtk/xap_UnixDlg_Language.h

raw
1 /* AbiSource Application Framework
2 * Copyright (C) 1998-2000 AbiSource, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301 USA.
18 */
19
20 #ifndef XAP_UNIXDIALOG_LANGUAGE_H
21 #define XAP_UNIXDIALOG_LANGUAGE_H
22
23 #include <gtk/gtk.h>
24
25 #include "xap_App.h"
26 #include "xap_Dlg_Language.h"
27
28 class XAP_Frame;
29
30 /*****************************************************************/
31
32 class XAP_UnixDialog_Language : public XAP_Dialog_Language
33 {
34 public:
35 XAP_UnixDialog_Language(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
36 virtual ~XAP_UnixDialog_Language(void);
37
38 virtual void runModal(XAP_Frame * pFrame);
39
40 static XAP_Dialog * static_constructor(XAP_DialogFactory *, XAP_Dialog_Id id);
41
42 private:
43
44 void event_setLang();
45
46 void _populateWindowData();
47
48 static void s_lang_dblclicked(GtkTreeView *treeview,
49 GtkTreePath *arg1,
50 GtkTreeViewColumn *arg2,
51 XAP_UnixDialog_Language * me);
52
53 GtkWidget * constructWindow();
54 GtkWidget * m_pLanguageList;
55 GtkWidget * m_lbDefaultLanguage;
56 GtkWidget * m_cbDefaultLanguage;
57 GtkWidget * m_windowMain;
58 };
59
60 #endif /* XAP_UNIXDIALOG_LANGUAGE_H */
61