Class

PurpleRequestFieldBool

unstable since: 3.0

Description [src]

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

A boolean request field.

Available since: 3.0

Constructors

purple_request_field_bool_new

Creates a boolean field.

Instance methods

purple_request_field_bool_get_default_value

Returns the default value in an boolean field.

purple_request_field_bool_get_value

Returns the user-entered value in an boolean field.

purple_request_field_bool_set_default_value

Sets the default value in an boolean field.

purple_request_field_bool_set_value

Sets the value in an boolean field.

Methods inherited from PurpleRequestField (19)
purple_request_field_alphanumeric_validator

Validates a field which should contain alphanumeric content.

unstable since: 3.0

purple_request_field_email_validator

Validates a field which should contain an email address.

unstable 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.

unstable 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.

unstable 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.

unstable since: 3.0

purple_request_field_is_valid

Checks, if specified field is valid.

unstable 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.

unstable since: 3.0

purple_request_field_set_tooltip

Sets the tooltip for the field.

unstable 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.

unstable 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.RequestFieldBool:default-value

The default value of the field.

unstable since: 3.0

Purple.RequestFieldBool:value

The value of the field.

unstable since: 3.0

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

Whether the field has been filled.

unstable since: 3.0

Purple.RequestField:id

The ID of the field.

unstable since: 3.0

Purple.RequestField:label

The label of the field.

unstable since: 3.0

Purple.RequestField:required

Whether the field is required to complete the request.

unstable since: 3.0

Purple.RequestField:sensitive

Whether the field should be sensitive.

unstable since: 3.0

Purple.RequestField:tooltip

The tooltip of the field.

unstable since: 3.0

Purple.RequestField:type-hint

The type hint of the field.

unstable since: 3.0

Purple.RequestField:valid

Whether the field has a valid value.

unstable since: 3.0

Purple.RequestField:visible

Whether the field should be visible.

unstable 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 PurpleRequestFieldBoolClass {
  PurpleRequestFieldClass parent_class;
  
}

No description available.

Class members
parent_class: PurpleRequestFieldClass

No description available.