Mercurial > pidgin.yaz
diff src/request.h @ 7899:7b64108b8ae3
[gaim-migrate @ 8559]
I forgot to allow for the setting/retrieval of multiple selection in a
list. There we go.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 21 Dec 2003 08:01:06 +0000 |
parents | 9c0ea21997a9 |
children | 4344f7fad009 |
line wrap: on
line diff
--- a/src/request.h Sun Dec 21 07:52:26 2003 +0000 +++ b/src/request.h Sun Dec 21 08:01:06 2003 +0000 @@ -705,6 +705,26 @@ void gaim_request_field_list_set_items(GaimRequestField *field, GList *items); /** + * Sets whether or not a list field allows multiple selection. + * + * @param field The list field. + * @param multi_select TRUE if multiple selection is enabled, + * or FALSE otherwise. + */ +void gaim_request_field_list_set_multi_select(GaimRequestField *field, + gboolean multi_select); + +/** + * Returns whether or not a list field allows multiple selection. + * + * @param field The list field. + * + * @return TRUE if multiple selection is enabled, or FALSE otherwise. + */ +gboolean gaim_request_field_list_get_multi_select( + const GaimRequestField *field); + +/** * Adds an item to a list field. * * @param field The list field.