Mercurial > pidgin
comparison src/gtkprefs.h @ 7987:fc6b362f9c26
[gaim-migrate @ 8664]
namespaces are cool...hopefully I didn't screw this up
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 04 Jan 2004 05:14:39 +0000 |
parents | 4ed44e5e0df3 |
children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
7986:802e341aa8c7 | 7987:fc6b362f9c26 |
---|---|
57 * | 57 * |
58 * @param title The text to be displayed as the checkbox label | 58 * @param title The text to be displayed as the checkbox label |
59 * @param key The key of the gaim bool pref that will be represented by the checkbox | 59 * @param key The key of the gaim bool pref that will be represented by the checkbox |
60 * @param page The page to which the new checkbox will be added | 60 * @param page The page to which the new checkbox will be added |
61 */ | 61 */ |
62 GtkWidget *prefs_checkbox(const char *title, const char *key, | 62 GtkWidget *gaim_gtk_prefs_checkbox(const char *title, const char *key, |
63 GtkWidget *page); | 63 GtkWidget *page); |
64 | 64 |
65 /** | 65 /** |
66 * Add a new spin button representing an int preference | 66 * Add a new spin button representing an int preference |
67 * | 67 * |
68 * @param page The page to which the spin button will be added | 68 * @param page The page to which the spin button will be added |
69 * @param title The text to be displayed as the spin button label | 69 * @param title The text to be displayed as the spin button label |
70 * @param key The key of the gaim int pref that will be represented by the spin button | 70 * @param key The key of the int pref that will be represented by the spin button |
71 * @param min The minimum value of the spin button | 71 * @param min The minimum value of the spin button |
72 * @param max The maximum value of the spin button | 72 * @param max The maximum value of the spin button |
73 * @param sg If not NULL, the size group to which the spin button will be added | 73 * @param sg If not NULL, the size group to which the spin button will be added |
74 */ | 74 */ |
75 GtkWidget *prefs_labeled_spin_button(GtkWidget *page, | 75 GtkWidget *gaim_gtk_prefs_labeled_spin_button(GtkWidget *page, |
76 const gchar *title, | 76 const gchar *title, char *key, int min, int max, GtkSizeGroup *sg); |
77 char *key, int min, int max, | |
78 GtkSizeGroup *sg); | |
79 | 77 |
80 /** | 78 /** |
81 * Add a new dropdown representing a preference of the specified type | 79 * Add a new dropdown representing a preference of the specified type |
82 * | 80 * |
83 * @param page The page to which the dropdown will be added | 81 * @param page The page to which the dropdown will be added |
84 * @param title The text to be displayed as the dropdown label | 82 * @param title The text to be displayed as the dropdown label |
85 * @param type The type of preference to be stored in the generated dropdown | 83 * @param type The type of preference to be stored in the generated dropdown |
86 * @param key The key of the gaim int pref that will be represented by the dropdown | 84 * @param key The key of the pref that will be represented by the dropdown |
87 * @param ... The choices to be added to the dropdown | 85 * @param ... The choices to be added to the dropdown |
88 */ | 86 */ |
89 GtkWidget *prefs_dropdown(GtkWidget *page, const gchar *title, | 87 GtkWidget *gaim_gtk_prefs_dropdown(GtkWidget *page, const gchar *title, |
90 GaimPrefType type, | 88 GaimPrefType type, const char *key, ...); |
91 const char *key, ...); | |
92 | 89 |
93 /** | 90 /** |
94 * Add a new dropdown representing a preference of the specified type | 91 * Add a new dropdown representing a preference of the specified type |
95 * | 92 * |
96 * @param page The page to which the dropdown will be added | 93 * @param page The page to which the dropdown will be added |
97 * @param title The text to be displayed as the dropdown label | 94 * @param title The text to be displayed as the dropdown label |
98 * @param type The type of preference to be stored in the generated dropdown | 95 * @param type The type of preference to be stored in the dropdown |
99 * @param key The key of the gaim int pref that will be represented by the dropdown | 96 * @param key The key of the pref that will be represented by the dropdown |
100 * @param menuitems The choices to be added to the dropdown | 97 * @param menuitems The choices to be added to the dropdown |
101 */ | 98 */ |
102 GtkWidget *prefs_dropdown_from_list(GtkWidget *page, | 99 GtkWidget *gaim_gtk_prefs_dropdown_from_list(GtkWidget *page, |
103 const gchar * title, | 100 const gchar * title, GaimPrefType type, const char *key, |
104 GaimPrefType type, const char *key, | 101 GList *menuitems); |
105 GList *menuitems); | |
106 | 102 |
107 #endif /* _GAIM_GTK_PREFS_H_ */ | 103 #endif /* _GAIM_GTK_PREFS_H_ */ |