Mercurial > pidgin.yaz
diff src/gtkprefs.h @ 9422:d4e3356e7bbc
[gaim-migrate @ 10240]
[03:07] <marv> commit message?
[03:07] <grim> 'Thought others mind find this useful' i guess..
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 29 Jun 2004 08:10:26 +0000 |
parents | 438e8d857554 |
children | db62420a53a2 |
line wrap: on
line diff
--- a/src/gtkprefs.h Mon Jun 28 21:20:36 2004 +0000 +++ b/src/gtkprefs.h Tue Jun 29 08:10:26 2004 +0000 @@ -81,6 +81,21 @@ const gchar *title, char *key, int min, int max, GtkSizeGroup *sg); /** + * Add a new entry representing a string preference + * + * @param page The page to which the entry will be added + * @param title The text to be displayed as the entry label + * @param key The key of the string pref that will be represented by the entry + * @param sg If not NULL, the size group to which the entry will be added + * + * @return An hbox containing both the label and the entry. Can be used to set + * the widgets to sensitive or insensitive based on the value of a + * checkbox. + */ +GtkWidget *gaim_gtk_prefs_labeled_entry(GtkWidget *page, const gchar *title, + char *key, GtkSizeGroup *sg); + +/** * Add a new dropdown representing a preference of the specified type * * @param page The page to which the dropdown will be added