[ Back | warped.org | Gaim 2.0.0-beta4 Perl API ]


NAME

Gaim::Request::Field

METHODS

field = $id->new ($text, $type)

* $text (string)
* $type (Gaim::RequestFieldType)

account = $field->account_get_default_value

integer = $field->account_get_filter

boolean = $field->account_get_show_all

account = $field->account_get_value

field = $id->account_new ($text, $account=undef)

* $text (string)
* $account (Gaim::Account)

$field->account_set_default_value ($default_value)

* $default_value (Gaim::Account)

$field->account_set_show_all ($show_all)

* $show_all (boolean)

$field->account_set_value ($value)

* $value (Gaim::Account)

boolean = $field->bool_get_default_value

boolean = $field->bool_get_value

field = $id->bool_new ($text, $default_value=TRUE)

* $text (string)
* $default_value (boolean)

$field->bool_set_default_value ($default_value)

* $default_value (boolean)

$field->bool_set_value ($value)

* $value (boolean)

$field->choice_add ($label)

* $label (string)

integer = $field->choice_get_default_value

list = $field->choice_get_labels

integer = $field->choice_get_value

field = $id->choice_new ($text, $default_value=0)

* $text (string)
* $default_value (integer)

$field->choice_set_default_value ($default_value)

* $default_value (integer)

$field->choice_set_value ($value)

* $value (integer)

$field->destroy

uiops = Gaim::Request::Field->gaim_request_get_ui_ops

$ops->gaim_request_set_ui_ops

string = $field->get_id

integer = $field->int_get_default_value

integer = $field->int_get_value

field = $id->int_new ($text, $default_value=0)

* $text (string)
* $default_value (integer)

$field->int_set_default_value ($default_value)

* $default_value (integer)

$field->int_set_value ($value)

* $value (integer)

boolean = $field->is_required

boolean = $field->is_visible

string = $field->get_label

field = $id->label_new ($text)

* $text (string)

$field->set_label ($label)

* $label (string)

$field->list_add ($item, $data)

* $item (string)
* $data (void)

$field->list_add_selected ($item)

* $item (string)

$field->list_clear_selected

void = $field->list_get_data ($text)

* $text (string)

list = $field->list_get_items

boolean = $field->list_get_multi_select

list = $field->list_get_selected

boolean = $field->list_is_selected ($item)

* $item (string)

field = $id->list_new ($text)

* $text (string)

$field->list_set_multi_select ($multi_select)

* $multi_select (boolean)

$field->set_required ($required)

* $required (boolean)

string = $field->string_get_default_value

string = $field->string_get_value

boolean = $field->string_is_editable

boolean = $field->string_is_masked

boolean = $field->string_is_multiline

field = $id->string_new ($text, $default_value, $multiline)

* $text (string)
* $default_value (string)
* $multiline (boolean)

$field->string_set_default_value ($default_value)

* $default_value (string)

$field->string_set_editable ($editable)

* $editable (boolean)

$field->string_set_masked ($masked)

* $masked (boolean)

$field->string_set_value ($value)

* $value (string)

requestfieldtype = $field->get_type

string = $field->get_type_hint

$field->set_type_hint ($type_hint)

* $type_hint (string)

$field->set_visible ($visible)

* $visible (boolean)

COPYRIGHT

Copyright (C) 2006 The Gaim Team


If this information helped you, consider exiting through your right. ©2006 Max Baker
Sun Apr 27 22:32:27 2008 PST