| 362 void gaim_request_field_set_label(GaimRequestField *field, const char *label); |
363 void gaim_request_field_set_label(GaimRequestField *field, const char *label); |
| 363 |
364 |
| 364 /** |
365 /** |
| 365 * Sets whether or not a field is visible. |
366 * Sets whether or not a field is visible. |
| 366 * |
367 * |
| 367 * @param field The field. |
368 * @param field The field. |
| 368 * @param visible TRUE if visible, or FALSE if not. |
369 * @param visible TRUE if visible, or FALSE if not. |
| 369 */ |
370 */ |
| 370 void gaim_request_field_set_visible(GaimRequestField *field, gboolean visible); |
371 void gaim_request_field_set_visible(GaimRequestField *field, gboolean visible); |
| 371 |
372 |
| 372 /** |
373 /** |
| |
374 * Sets the type hint for the field. |
| |
375 * |
| |
376 * This is optionally used by the UIs to provide such features as |
| |
377 * auto-completion for type hints like "screenname." |
| |
378 * |
| |
379 * @param field The field. |
| |
380 * @param type_hint The type hint. |
| |
381 */ |
| |
382 void gaim_request_field_set_type_hint(GaimRequestField *field, |
| |
383 const char *type_hint); |
| |
384 |
| |
385 /** |
| 373 * Returns the type of a field. |
386 * Returns the type of a field. |
| 374 * |
387 * |
| 375 * @param field The field. |
388 * @param field The field. |
| 376 * |
389 * |
| 377 * @return The field's type. |
390 * @return The field's type. |
| 402 * @param field The field. |
415 * @param field The field. |
| 403 * |
416 * |
| 404 * @return TRUE if the field is visible. FALSE otherwise. |
417 * @return TRUE if the field is visible. FALSE otherwise. |
| 405 */ |
418 */ |
| 406 gboolean gaim_request_field_is_visible(const GaimRequestField *field); |
419 gboolean gaim_request_field_is_visible(const GaimRequestField *field); |
| |
420 |
| |
421 /** |
| |
422 * Returns the field's type hint. |
| |
423 * |
| |
424 * @param field The field. |
| |
425 * |
| |
426 * @return The field's type hint. |
| |
427 */ |
| |
428 const char *gaim_request_field_get_type_hint(const GaimRequestField *field); |
| 407 |
429 |
| 408 /*@}*/ |
430 /*@}*/ |
| 409 |
431 |
| 410 /**************************************************************************/ |
432 /**************************************************************************/ |
| 411 /** @name String Field API */ |
433 /** @name String Field API */ |