| 515 */ |
516 */ |
| 516 void purple_request_field_set_type_hint(PurpleRequestField *field, |
517 void purple_request_field_set_type_hint(PurpleRequestField *field, |
| 517 const char *type_hint); |
518 const char *type_hint); |
| 518 |
519 |
| 519 /** |
520 /** |
| |
521 * Sets the tooltip for the field. |
| |
522 * |
| |
523 * This is optionally used by the UIs to provide a tooltip for |
| |
524 * the field. |
| |
525 * |
| |
526 * @param field The field. |
| |
527 * @param tooltip The tooltip text. |
| |
528 */ |
| |
529 void purple_request_field_set_tooltip(PurpleRequestField *field, |
| |
530 const char *tooltip); |
| |
531 |
| |
532 /** |
| 520 * Sets whether or not a field is required. |
533 * Sets whether or not a field is required. |
| 521 * |
534 * |
| 522 * @param field The field. |
535 * @param field The field. |
| 523 * @param required TRUE if required, or FALSE. |
536 * @param required TRUE if required, or FALSE. |
| 524 */ |
537 */ |
| 578 * @param field The field. |
591 * @param field The field. |
| 579 * |
592 * |
| 580 * @return The field's type hint. |
593 * @return The field's type hint. |
| 581 */ |
594 */ |
| 582 const char *purple_request_field_get_type_hint(const PurpleRequestField *field); |
595 const char *purple_request_field_get_type_hint(const PurpleRequestField *field); |
| |
596 |
| |
597 /** |
| |
598 * Returns the field's tooltip. |
| |
599 * |
| |
600 * @param field The field. |
| |
601 * |
| |
602 * @return The field's tooltip. |
| |
603 */ |
| |
604 const char *purple_request_field_get_tooltip(const PurpleRequestField *field); |
| 583 |
605 |
| 584 /** |
606 /** |
| 585 * Returns whether or not a field is required. |
607 * Returns whether or not a field is required. |
| 586 * |
608 * |
| 587 * @param field The field. |
609 * @param field The field. |