Class

PurpleAccount

unstable since: 3.0

Description [src]

final class Purple.Account : GObject.Object
{
  /* No available fields */
}

An account is the core configuration for connecting to a network account. User interfaces will typically allow users to create these in a dialog or wizard.

Available since: 3.0

Ancestors

Constructors

purple_account_new

Creates a new account.

unstable since: 3.0

Instance methods

purple_account_compare

Compares two accounts.

unstable since: 3.0

purple_account_connect

Connects an account.

unstable since: 3.0

purple_account_delete

Deletes an account.

unstable since: 3.0

purple_account_disconnect

Disconnects an account.

unstable since: 3.0

purple_account_disconnect_with_error

Disconnects the account and sets its error.

unstable since: 3.0

purple_account_disconnect_with_new_error

Disconnects an account and sets the error to the newly created error.

unstable since: 3.0

purple_account_equal

Checks two accounts are equal.

unstable since: 3.0

purple_account_get_color

Gets the color that is associated with the account.

unstable since: 3.0

purple_account_get_color_for_display

Gets the color that should be displayed for the account.

unstable since: 3.0

purple_account_get_connected

Gets whether or not the account is fully connected.

unstable since: 3.0

purple_account_get_connecting

Gets whether or not the account is in the process of connecting.

unstable since: 3.0

purple_account_get_connection

Gets the account’s connection.

unstable since: 3.0

purple_account_get_connection_state

Gets the connection state of an account.

unstable since: 3.0

purple_account_get_contact_info

Gets the contact info for an account.

unstable since: 3.0

purple_account_get_disconnected

Gets whether or not the account is completely disconnected.

unstable since: 3.0

purple_account_get_disconnecting

Gets whether or not the account is in the process of disconnecting.

unstable since: 3.0

purple_account_get_enabled

Gets whether or not this account is enabled.

unstable since: 3.0

purple_account_get_error

Gets the error from an account.

unstable since: 3.0

purple_account_get_id

Gets the id of an account.

unstable since: 3.0

purple_account_get_managed

Gets whether the account is managed by something other than the libpurple user.

unstable since: 3.0

purple_account_get_managed_by

Gets the description of what is managing the account.

unstable since: 3.0

purple_account_get_name

Gets the user supplied name for an account.

unstable since: 3.0

purple_account_get_note

Gets the user specified note.

unstable since: 3.0

purple_account_get_protocol

Gets the protocol instance for an account.

unstable since: 3.0

purple_account_get_protocol_id

Gets the protocol id for an account.

unstable since: 3.0

purple_account_get_settings

Gets the settings for the account.

unstable since: 3.0

purple_account_ready

Sets the connection state of account to connected.

unstable since: 3.0

purple_account_request_password_async

Requests a password from the user for the account.

unstable since: 3.0

purple_account_request_password_finish

Gets the results of a previous call to purple_account_request_password_async().

unstable since: 3.0

purple_account_request_password_result_get_remember

Gets whether or not the user selected to remember the password they entered.

unstable since: 3.0

purple_account_set_color

Sets the color that is associated with the account.

unstable since: 3.0

purple_account_set_enabled

Sets whether or not this account is enabled.

unstable since: 3.0

purple_account_set_error

Sets the error of an account.

unstable since: 3.0

purple_account_set_managed_by

Sets the description of what is managing this account.

unstable since: 3.0

purple_account_set_name

Sets the user supplied name of an account.

unstable since: 3.0

purple_account_set_note

Sets the user specified note.

unstable since: 3.0

purple_account_set_protocol_id

Sets the protocol id for an account.

unstable since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Account:color

A color chosen by the user to associate with the account.

unstable since: 3.0

Purple.Account:color-for-display

The color that should be displayed for the account.

unstable since: 3.0

Purple.Account:connected

Whether or not the account is connected.

unstable since: 3.0

Purple.Account:connection

The connection for this account.

unstable since: 3.0

Purple.Account:connection-state

The connection state of the account.

unstable since: 3.0

Purple.Account:contact-info

The PurpleContactInfo for the account.

unstable since: 3.0

Purple.Account:disconnected

Whether or not the account is completely disconnected.

unstable since: 3.0

Purple.Account:enabled

Whether or not this account should track the user’s global status.

unstable since: 3.0

Purple.Account:error

The GError of the account. This is set when an account enters an error state and is automatically cleared when a connection attempt is made.

unstable since: 3.0

Purple.Account:id

The unique identifier for the account.

unstable since: 3.0

Purple.Account:managed

Whether or not the account is managed by something other than the libpurple user.

unstable since: 3.0

Purple.Account:managed-by

The description of what is managing the account.

unstable since: 3.0

Purple.Account:name

The user supplied name of the account.

unstable since: 3.0

Purple.Account:note

User specified notes for the account.

unstable since: 3.0

Purple.Account:protocol

The protocol that this account is using.

unstable since: 3.0

Purple.Account:protocol-id

The identifier of the protocol that this account is using.

unstable since: 3.0

Purple.Account:settings

The settings for the account.

unstable since: 3.0

Signals

Purple.Account::connected

This signal is emitted when the PurpleAccount:connection-state has changed to PURPLE_CONNECTION_STATE_CONNECTED.

unstable since: 3.0

Purple.Account::connection-state-changed

This is emitted when the PurpleAccount:connection-state has changed.

unstable since: 3.0

Purple.Account::contact-info-changed

This signal is emitted to propagate the GObject::notify signal of PurpleAccount:contact-info.

unstable since: 3.0

Purple.Account::disconnected

This signal is emitted when the PurpleAccount:connection-state has changed to PURPLE_CONNECTION_STATE_DISCONNECTED.

unstable since: 3.0

Purple.Account::setting-changed

This signal is emitted to propagate the PurpleAccountSettings::setting-changed signal.

unstable since: 3.0

Purple.Account::settings-updated

This signal is emitted to propagate the PurpleAccountSettings::settings-updated signal.

unstable since: 3.0

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 PurpleAccountClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.