pidgin: gtkprefs.h Source File

pidgin 2.14.4

Loading...
Searching...
No Matches
gtkprefs.h
Go to the documentation of this file.
1
6/* pidgin
7 *
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 *
26 */
27#ifndef _PIDGINPREFS_H_
28#define _PIDGINPREFS_H_
29
30#include "prefs.h"
31
35 void pidgin_prefs_init(void);
36
40 void pidgin_prefs_show(void);
41
49GtkWidget *pidgin_prefs_checkbox(const char *title, const char *key,
50 GtkWidget *page);
51
65GtkWidget *pidgin_prefs_labeled_spin_button(GtkWidget *page,
66 const gchar *title, const char *key, int min, int max, GtkSizeGroup *sg);
67
80GtkWidget *pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title,
81 const char *key, GtkSizeGroup *sg);
82
98GtkWidget *pidgin_prefs_labeled_password(GtkWidget *page, const gchar *title,
99 const char *key, GtkSizeGroup *sg);
100
111GtkWidget *pidgin_prefs_dropdown(GtkWidget *page, const gchar *title,
112 PurplePrefType type, const char *key, ...);
113
124GtkWidget *pidgin_prefs_dropdown_from_list(GtkWidget *page,
125 const gchar * title, PurplePrefType type, const char *key,
126 GList *menuitems);
127
131 void pidgin_prefs_update_old(void);
132
133#endif /* _PIDGINPREFS_H_ */
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.
pidgin_prefs_update_old
void pidgin_prefs_update_old(void)
Rename legacy prefs and delete some that no longer exist.
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_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_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_init
void pidgin_prefs_init(void)
Initializes all UI-specific preferences.
pidgin_prefs_show
void pidgin_prefs_show(void)
Shows the preferences dialog.
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.
prefs.h
Prefs API.
PurplePrefType
enum _PurplePrefType PurplePrefType
Preference data types.