gtkprefs.h

Go to the documentation of this file.
00001 
00006 /* pidgin
00007  *
00008  * Pidgin is the legal property of its developers, whose names are too numerous
00009  * to list here.  Please refer to the COPYRIGHT file distributed with this
00010  * source distribution.
00011  *
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
00025  *
00026  */
00027 #ifndef _PIDGINPREFS_H_
00028 #define _PIDGINPREFS_H_
00029 
00030 #include "prefs.h"
00031 
00035 void pidgin_prefs_init(void);
00036 
00040 void pidgin_prefs_show(void);
00041 
00049 GtkWidget *pidgin_prefs_checkbox(const char *title, const char *key,
00050         GtkWidget *page);
00051 
00065 GtkWidget *pidgin_prefs_labeled_spin_button(GtkWidget *page,
00066         const gchar *title, const char *key, int min, int max, GtkSizeGroup *sg);
00067 
00080 GtkWidget *pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title,
00081                                         const char *key, GtkSizeGroup *sg);
00082 
00093 GtkWidget *pidgin_prefs_dropdown(GtkWidget *page, const gchar *title,
00094         PurplePrefType type, const char *key, ...);
00095 
00106 GtkWidget *pidgin_prefs_dropdown_from_list(GtkWidget *page,
00107         const gchar * title, PurplePrefType type, const char *key,
00108         GList *menuitems);
00109 
00113 void pidgin_prefs_update_old(void);
00114 
00115 #endif /* _PIDGINPREFS_H_ */