Class

PurpleRequestPage

unstable since: 3.0

Description [src]

final class Purple.RequestPage : GObject.Object
  implements Gio.ListModel {
  /* No available fields */
}

Multiple fields request data.

Available since: 3.0

Ancestors

Implements

Constructors

purple_request_page_new

Creates a page of fields to pass to purple_request_fields().

unstable since: 3.0

Instance methods

purple_request_page_add_group

Adds a group of fields to the list.

unstable since: 3.0

purple_request_page_exists

Returns whether or not the field with the specified ID exists.

unstable since: 3.0

purple_request_page_get_account

Returns the account of a field with the specified ID.

unstable since: 3.0

purple_request_page_get_bool

Returns the boolean value of a field with the specified ID.

unstable since: 3.0

purple_request_page_get_choice

Returns the choice index of a field with the specified ID.

unstable since: 3.0

purple_request_page_get_field

Return the field with the specified ID.

unstable since: 3.0

purple_request_page_get_integer

Returns the integer value of a field with the specified ID.

unstable since: 3.0

purple_request_page_get_string

Returns the string value of a field with the specified ID.

unstable since: 3.0

purple_request_page_is_field_required

Returns whether or not a field with the specified ID is required.

unstable since: 3.0

purple_request_page_is_valid

Returns whether or not all fields are valid.

unstable since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GListModel (5)
g_list_model_get_item

Get the item at position.

g_list_model_get_item_type

Gets the type of the items in list.

g_list_model_get_n_items

Gets the number of items in list.

g_list_model_get_object

Get the item at position.

g_list_model_items_changed

Emits the GListModel::items-changed signal on list.

Properties

Purple.RequestPage:item-type

The type of items. See Gio.ListModelInterface.get_item_type.

unstable since: 3.0

Purple.RequestPage:n-items

The number of items. See Gio.ListModelInterface.get_n_items.

unstable since: 3.0

Purple.RequestPage:valid

Whether all fields in a page are valid.

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.

Signals inherited from GListModel (1)
GListModel::items-changed

This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place.

Class structure

struct PurpleRequestPageClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.