Class

PurpleRequestFieldChoice

since: 3.0

Description [src]

final class Purple.RequestFieldChoice : Purple.RequestField {
  /* No available fields */
}

A choice request field.

Available since: 3.0

Constructors

purple_request_field_choice_new

Creates a multiple choice field.

Instance methods

purple_request_field_choice_add

Adds a choice to a multiple choice field.

purple_request_field_choice_add_full

Adds a choice to a multiple choice field with destructor for value.

since: 3.0

purple_request_field_choice_get_default_value

Returns the default value in a choice field.

purple_request_field_choice_get_elements

Returns a list of elements in a choice field.

since: 3.0

purple_request_field_choice_get_value

Returns the user-entered value in a choice field.

purple_request_field_choice_set_default_value

Sets the default value in a choice field.

purple_request_field_choice_set_value

Sets the value in a choice field.

Methods inherited from PurpleRequestField (19)
purple_request_field_alphanumeric_validator

Validates a field which should contain alphanumeric content.

since: 3.0

purple_request_field_email_validator

Validates a field which should contain an email address.

since: 3.0

purple_request_field_get_group

Returns the group for the field.

since: 2.6

purple_request_field_get_id

Returns the ID of a field.

purple_request_field_get_label

Returns the label text of a field.

purple_request_field_get_tooltip

Returns the field’s tooltip.

since: 3.0

purple_request_field_get_type_hint

Returns the field’s type hint.

purple_request_field_is_filled

Returns whether the field is currently filled.

since: 3.0

purple_request_field_is_required

Returns whether or not a field is required.

purple_request_field_is_sensitive

Checks, if field is editable.

since: 3.0

purple_request_field_is_valid

Checks, if specified field is valid.

since: 3.0

purple_request_field_is_visible

Returns whether or not a field is visible.

purple_request_field_set_label

Sets the label text of a field.

purple_request_field_set_required

Sets whether or not a field is required.

purple_request_field_set_sensitive

Sets field editable.

since: 3.0

purple_request_field_set_tooltip

Sets the tooltip for the field.

since: 3.0

purple_request_field_set_type_hint

Sets the type hint for the field.

purple_request_field_set_validator

Set an additional validator for a field.

since: 3.0

purple_request_field_set_visible

Sets whether or not a field is visible.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.RequestFieldChoice:default-value

The default value of the field.

since: 3.0

Purple.RequestFieldChoice:value

The value of the field.

since: 3.0

Properties inherited from PurpleRequestField (9)
Purple.RequestField:filled

Whether the field has been filled.

since: 3.0

Purple.RequestField:id

The ID of the field.

since: 3.0

Purple.RequestField:label

The label of the field.

since: 3.0

Purple.RequestField:required

Whether the field is required to complete the request.

since: 3.0

Purple.RequestField:sensitive

Whether the field should be sensitive.

since: 3.0

Purple.RequestField:tooltip

The tooltip of the field.

since: 3.0

Purple.RequestField:type-hint

The type hint of the field.

since: 3.0

Purple.RequestField:valid

Whether the field has a valid value.

since: 3.0

Purple.RequestField:visible

Whether the field should be visible.

since: 3.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleRequestFieldChoiceClass {
  PurpleRequestFieldClass parent_class;
  
}
No description available.
Class members
parent_class: PurpleRequestFieldClass
No description available.