| 408 */ |
410 */ |
| 409 void gaim_request_field_string_set_value(GaimRequestField *field, |
411 void gaim_request_field_string_set_value(GaimRequestField *field, |
| 410 const char *value); |
412 const char *value); |
| 411 |
413 |
| 412 /** |
414 /** |
| |
415 * Sets whether or not a string field is masked |
| |
416 * (commonly used for password fields). |
| |
417 * |
| |
418 * @param field The field. |
| |
419 * @param masked The masked value. |
| |
420 */ |
| |
421 void gaim_request_field_string_set_masked(GaimRequestField *field, |
| |
422 gboolean masked); |
| |
423 |
| |
424 /** |
| |
425 * Sets whether or not a string field is editable. |
| |
426 * |
| |
427 * @param field The field. |
| |
428 * @param editable The editable value. |
| |
429 */ |
| |
430 void gaim_request_field_string_set_editable(GaimRequestField *field, |
| |
431 gboolean editable); |
| |
432 |
| |
433 /** |
| 413 * Returns the default value in a string field. |
434 * Returns the default value in a string field. |
| 414 * |
435 * |
| 415 * @param field The field. |
436 * @param field The field. |
| 416 * |
437 * |
| 417 * @return The default value. |
438 * @return The default value. |
| 434 * @param field The field. |
455 * @param field The field. |
| 435 * |
456 * |
| 436 * @return @c TRUE if the field is mulit-line, or @c FALSE otherwise. |
457 * @return @c TRUE if the field is mulit-line, or @c FALSE otherwise. |
| 437 */ |
458 */ |
| 438 gboolean gaim_request_field_string_is_multiline(const GaimRequestField *field); |
459 gboolean gaim_request_field_string_is_multiline(const GaimRequestField *field); |
| |
460 |
| |
461 /** |
| |
462 * Returns whether or not a string field is masked. |
| |
463 * |
| |
464 * @param field The field. |
| |
465 * |
| |
466 * @return @c TRUE if the field is masked, or @c FALSE otherwise. |
| |
467 */ |
| |
468 gboolean gaim_request_field_string_is_masked(const GaimRequestField *field); |
| |
469 |
| |
470 /** |
| |
471 * Returns whether or not a string field is editable. |
| |
472 * |
| |
473 * @param field The field. |
| |
474 * |
| |
475 * @return @c TRUE if the field is editable, or @c FALSE otherwise. |
| |
476 */ |
| |
477 gboolean gaim_request_field_string_is_editable(const GaimRequestField *field); |
| 439 |
478 |
| 440 /*@}*/ |
479 /*@}*/ |
| 441 |
480 |
| 442 /**************************************************************************/ |
481 /**************************************************************************/ |
| 443 /** @name Integer Field API */ |
482 /** @name Integer Field API */ |