Mercurial > pidgin.yaz
comparison src/request.h @ 7904:9b478c6e0bfa
[gaim-migrate @ 8564]
Added support for invisible fields.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 21 Dec 2003 08:57:56 +0000 |
parents | 3ca501305ac5 |
children | 1d0bc32f8038 |
comparison
equal
deleted
inserted
replaced
7903:d91806e4ea64 | 7904:9b478c6e0bfa |
---|---|
60 { | 60 { |
61 GaimRequestFieldType type; | 61 GaimRequestFieldType type; |
62 | 62 |
63 char *id; | 63 char *id; |
64 char *label; | 64 char *label; |
65 | |
66 gboolean visible; | |
65 | 67 |
66 union | 68 union |
67 { | 69 { |
68 struct | 70 struct |
69 { | 71 { |
353 * @param label The text label. | 355 * @param label The text label. |
354 */ | 356 */ |
355 void gaim_request_field_set_label(GaimRequestField *field, const char *label); | 357 void gaim_request_field_set_label(GaimRequestField *field, const char *label); |
356 | 358 |
357 /** | 359 /** |
360 * Sets whether or not a field is visible. | |
361 * | |
362 * @param field The field. | |
363 * @param visible TRUE if visible, or FALSE if not. | |
364 */ | |
365 void gaim_request_field_set_visible(GaimRequestField *field, gboolean visible); | |
366 | |
367 /** | |
358 * Returns the type of a field. | 368 * Returns the type of a field. |
359 * | 369 * |
360 * @param field The field. | 370 * @param field The field. |
361 * | 371 * |
362 * @return The field's type. | 372 * @return The field's type. |
378 * @param field The field. | 388 * @param field The field. |
379 * | 389 * |
380 * @return The label text. | 390 * @return The label text. |
381 */ | 391 */ |
382 const char *gaim_request_field_get_label(const GaimRequestField *field); | 392 const char *gaim_request_field_get_label(const GaimRequestField *field); |
393 | |
394 /** | |
395 * Returns whether or not a field is visible. | |
396 * | |
397 * @param field The field. | |
398 * | |
399 * @return TRUE if the field is visible. FALSE otherwise. | |
400 */ | |
401 gboolean gaim_request_field_is_visible(const GaimRequestField *field); | |
383 | 402 |
384 /*@}*/ | 403 /*@}*/ |
385 | 404 |
386 /**************************************************************************/ | 405 /**************************************************************************/ |
387 /** @name String Field API */ | 406 /** @name String Field API */ |