gtkprefs.h
Go to the documentation of this file.
/* pidgin
*
* Pidgin is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*
*/
#ifndef _PIDGINPREFS_H_
#define _PIDGINPREFS_H_
#include "prefs.h"
void pidgin_prefs_init(void);
void pidgin_prefs_show(void);
GtkWidget *pidgin_prefs_checkbox(const char *title, const char *key,
GtkWidget *page);
GtkWidget *pidgin_prefs_labeled_spin_button(GtkWidget *page,
const gchar *title, const char *key, int min, int max, GtkSizeGroup *sg);
GtkWidget *pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title,
const char *key, GtkSizeGroup *sg);
GtkWidget *pidgin_prefs_labeled_password(GtkWidget *page, const gchar *title,
const char *key, GtkSizeGroup *sg);
GtkWidget *pidgin_prefs_dropdown(GtkWidget *page, const gchar *title,
PurplePrefType type, const char *key, ...);
GtkWidget *pidgin_prefs_dropdown_from_list(GtkWidget *page,
const gchar * title, PurplePrefType type, const char *key,
GList *menuitems);
void pidgin_prefs_update_old(void);
#endif /* _PIDGINPREFS_H_ */
pidgin_prefs_update_old
void pidgin_prefs_update_old(void)
Rename legacy prefs and delete some that no longer exist.
pidgin_prefs_checkbox
GtkWidget * pidgin_prefs_checkbox(const char *title, const char *key, GtkWidget *page)
Add a new checkbox for a boolean preference.
pidgin_prefs_dropdown_from_list
GtkWidget * pidgin_prefs_dropdown_from_list(GtkWidget *page, const gchar *title, PurplePrefType type, const char *key, GList *menuitems)
Add a new dropdown representing a preference of the specified type.
pidgin_prefs_init
void pidgin_prefs_init(void)
Initializes all UI-specific preferences.
pidgin_prefs_labeled_entry
GtkWidget * pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title, const char *key, GtkSizeGroup *sg)
Add a new entry representing a string preference.
pidgin_prefs_show
void pidgin_prefs_show(void)
Shows the preferences dialog.
pidgin_prefs_labeled_password
GtkWidget * pidgin_prefs_labeled_password(GtkWidget *page, const gchar *title, const char *key, GtkSizeGroup *sg)
Add a new entry representing a password (string) preference The entry will use a password-style text ...
pidgin_prefs_labeled_spin_button
GtkWidget * pidgin_prefs_labeled_spin_button(GtkWidget *page, const gchar *title, const char *key, int min, int max, GtkSizeGroup *sg)
Add a new spin button representing an int preference.
pidgin_prefs_dropdown
GtkWidget * pidgin_prefs_dropdown(GtkWidget *page, const gchar *title, PurplePrefType type, const char *key,...)
Add a new dropdown representing a preference of the specified type.
prefs.h
Prefs API.
PurplePrefType
enum _PurplePrefType PurplePrefType
Preference data types.