libpurple/request.h

branch
next.major
changeset 31697
b6c47ea33682
parent 31293
169eeb43b52c
child 32216
5467debfccda
child 32438
dc8991868906
equal deleted inserted replaced
31696:67d180e0f68d 31697:b6c47ea33682
178 } image; 178 } image;
179 179
180 } u; 180 } u;
181 181
182 void *ui_data; 182 void *ui_data;
183 char *tooltip;
183 184
184 }; 185 };
185 #endif 186 #endif
186 187
187 /** 188 /**
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.

mercurial