GnuCash  5.6-150-g038405b370+
dialog-preferences.h
Go to the documentation of this file.
1 /*
2  * dialog-preferences.h -- preferences dialog
3  * Copyright (C) 2005 David Hampton
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, contact:
17  *
18  * Free Software Foundation Voice: +1-617-542-5942
19  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
20  * Boston, MA 02110-1301, USA gnu@gnu.org
21  */
22 
60 #ifndef GNC_DIALOG_PREFERENCES_H
61 #define GNC_DIALOG_PREFERENCES_H
62 
63 #include <gtk/gtk.h>
64 
65 #ifdef __cplusplus
66 extern "C" {
67 #endif
68 
82 void gnc_preferences_add_page (const gchar *filename,
83  const gchar *widgetname,
84  const gchar *tabname);
85 
86 
100 void gnc_preferences_add_to_page (const gchar *filename,
101  const gchar *widgetname,
102  const gchar *tabname);
103 
104 
109 void gnc_preferences_dialog (GtkWindow *parent);
110 
111 #ifdef __cplusplus
112 }
113 #endif
114 
115 #endif
116 
void gnc_preferences_dialog(GtkWindow *parent)
This function creates the preferences dialog and presents it to the user.
void gnc_preferences_add_page(const gchar *filename, const gchar *widgetname, const gchar *tabname)
This function adds a full page of preferences to the preferences dialog.
void gnc_preferences_add_to_page(const gchar *filename, const gchar *widgetname, const gchar *tabname)
This function adds a partial page of preferences to the preferences dialog.