Class

PurpleAccount

since: 2.0

Description [src]

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

A PurpleAccount is the core configuration for connecting to a specific account. User interfaces typically allow users to create these in a dialog or wizard.

Available since: 2.0

Ancestors

Constructors

purple_account_new

Creates a new account.

since: 2.0

Functions

purple_account_request_close

Close the account request for the given ui handle.

since: 2.0

Instance methods

purple_accounts_delete

Deletes an account.

since: 2.0

purple_account_change_password

Changes the password on the specified account.

since: 2.0

purple_account_connect

Connects to an account.

since: 2.0

purple_account_connected

Sets the connection state of account to connected.

unstable since: 3.0

purple_account_disconnect

Disconnects from an account.

since: 2.0

purple_account_disconnect_with_error

Disconnects account and sets PurpleAccount:error to error.

unstable since: 3.0

purple_account_freeze_notify_settings

Increment the freeze count for settings on account. When the freeze count is greater than 0, the PurpleAccount::setting-changed signal will not be emitted until the freeze count returns to 0.

unstable since: 3.0

purple_account_get_bool

Returns a protocol-specific boolean setting for an account.

since: 2.0

purple_account_get_buddy_icon_path

Gets the account’s buddy icon path.

since: 2.0

purple_account_get_connection

Returns the account’s connection.

since: 2.0

purple_account_get_connection_state

Gets the PurpleConnectionState of account.

unstable since: 3.0

purple_account_get_contact_info

Gets the PurpleContactInfo for account.

unstable since: 3.0

purple_account_get_enabled

Returns whether or not this account is enabled.

since: 2.0

purple_account_get_error

Get the error from account.

unstable since: 3.0

purple_account_get_id

Gets the id of account.

unstable since: 3.0

purple_account_get_int

Returns a protocol-specific integer setting for an account.

since: 2.0

purple_account_get_presence

Returns the account’s presence.

since: 2.0

purple_account_get_protocol

Gets the PurpleProtocol instance for account.

unstable since: 3.0

purple_account_get_protocol_id

Returns the account’s protocol ID.

since: 2.0

purple_account_get_proxy_info

Returns the account’s proxy information.

since: 2.0

purple_account_get_remember_password

Returns whether or not this account should save its password.

since: 2.0

purple_account_get_require_password

Gets whether or not account requires a password.

unstable since: 3.0

purple_account_get_string

Returns a protocol-specific string setting for an account.

since: 2.0

purple_account_get_user_info

Returns the account’s user information.

since: 2.0

purple_account_get_username

Gets the username for account.

since: 2.0

purple_account_is_connected

Returns whether or not the account is connected.

since: 2.0

purple_account_is_connecting

Returns whether or not the account is connecting.

since: 2.0

purple_account_is_disconnected

Returns whether or not the account is disconnected.

since: 2.0

purple_account_is_disconnecting

Indicates if the account is currently being disconnected.

unstable since: 3.0

purple_account_request_close_with_account

Close account requests registered for the given PurpleAccount.

since: 2.0

purple_account_request_password

Requests a password from the user for the account. Does not set the account password on success; do that in ok_cb if desired.

since: 2.0

purple_account_set_bool

Sets a protocol-specific boolean setting for an account.

since: 2.0

purple_account_set_buddy_icon_path

Sets the account’s buddy icon path.

since: 2.0

purple_account_set_connection

Sets the account’s connection.

since: 2.0

purple_account_set_enabled

Sets whether or not this account is enabled.

since: 2.0

purple_account_set_error

Sets the error of account to error.

unstable since: 3.0

purple_account_set_int

Sets a protocol-specific integer setting for an account.

since: 2.0

purple_account_set_protocol_id

Sets the account’s protocol ID.

since: 2.0

purple_account_set_proxy_info

Sets the account’s proxy information.

since: 2.0

purple_account_set_remember_password

Sets whether or not this account should save its password.

since: 2.0

purple_account_set_require_password

For protocols that have an optional password, this settings tells libpurple that it should look for a password in the PurpleCredentialManager or prompt the user if a password can not be found.

unstable since: 3.0

purple_account_set_string

Sets a protocol-specific string setting for an account.

since: 2.0

purple_account_set_user_info

Sets the account’s user information.

since: 2.0

purple_account_set_username

Sets the username of account to username.

since: 2.0

purple_account_thaw_notify_settings

Decrements the freeze count for settings on account.

unstable since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Account:buddy-icon-path

The path to the file to use as the avatar for this account.

unstable since: 3.0

Purple.Account:connected

Whether or not the account is connected.

unstable since: 3.0

Purple.Account:connection

The PurpleConnection object for this account. This will be NULL when the account is offline.

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: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: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:proxy-info

The PurpleProxyInfo for this account.

unstable since: 3.0

Purple.Account:remember-password

Whether or not the password for this account should be stored in the configured PurpleCredentialProvider.

unstable since: 3.0

Purple.Account:require-password

Whether or not this account should require a password. This is only used if the PurpleProtocol that this account is for allows optional passwords.

unstable since: 3.0

Purple.Account:user-info

The user information or profile for the account.

unstable since: 3.0

Purple.Account:username

The username for the account.

unstable since: 3.0

Signals

Purple.Account::connected

This is emitted when the PurpleAccount:connections PurpleConnection:state has changed to PURPLE_CONNECTION_STATE_CONNECTED.

unstable since: 3.0

Purple.Account::disconnected

This is emitted when the PurpleAccount:connections PurpleConnection:state has changed to PURPLE_CONNECTION_STATE_DISCONNECTED.

unstable since: 3.0

Purple.Account::setting-changed

The ::setting-changed signal is emitted whenever an account setting is changed.

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.