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
Instance methods
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_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_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_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_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_managed_by
Sets the description of what is managing this account.
unstable since: 3.0
Properties
Purple.Account:color-for-display
The color that should be displayed 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:managed
Whether or not the account is managed by something other than the libpurple user.
unstable since: 3.0
Purple.Account:protocol-id
The identifier of the protocol that this account is using.
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.