| 79 */ |
79 */ |
| 80 GtkWidget *pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title, |
80 GtkWidget *pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title, |
| 81 const char *key, GtkSizeGroup *sg); |
81 const char *key, GtkSizeGroup *sg); |
| 82 |
82 |
| 83 /** |
83 /** |
| |
84 * Add a new entry representing a password (string) preference |
| |
85 * The entry will use a password-style text entry (the text is substituded) |
| |
86 * |
| |
87 * @param page The page to which the entry will be added |
| |
88 * @param title The text to be displayed as the entry label |
| |
89 * @param key The key of the string pref that will be represented by the entry |
| |
90 * @param sg If not NULL, the size group to which the entry will be added |
| |
91 * |
| |
92 * @return An hbox containing both the label and the entry. Can be used to set |
| |
93 * the widgets to sensitive or insensitive based on the value of a |
| |
94 * checkbox. |
| |
95 * |
| |
96 * @since 2.6.0 |
| |
97 */ |
| |
98 GtkWidget *pidgin_prefs_labeled_password(GtkWidget *page, const gchar *title, |
| |
99 const char *key, GtkSizeGroup *sg); |
| |
100 |
| |
101 /** |
| 84 * Add a new dropdown representing a preference of the specified type |
102 * Add a new dropdown representing a preference of the specified type |
| 85 * |
103 * |
| 86 * @param page The page to which the dropdown will be added |
104 * @param page The page to which the dropdown will be added |
| 87 * @param title The text to be displayed as the dropdown label |
105 * @param title The text to be displayed as the dropdown label |
| 88 * @param type The type of preference to be stored in the generated dropdown |
106 * @param type The type of preference to be stored in the generated dropdown |