Class

PurpleAddContactRequest

since: 3.0

Description [src]

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

PurpleAddContactRequest is a data structure that contains all of the information when someone has added you to their contact list, so the user interface can ask the user to add the remote user to their contact list.

Available since: 3.0

Ancestors

Constructors

purple_add_contact_request_new

Creates a new PurpleAddContactRequest for username on account.

since: 3.0

Instance methods

purple_add_contact_request_add

Emits the PurpleAddContactRequest::add signal. This is typically called by the user interface when the user has clicked the add button.

since: 3.0

purple_add_contact_request_get_account

Gets the PurpleAccount for request.

since: 3.0

purple_add_contact_request_get_alias

Gets the alias of the remote user if one was set.

since: 3.0

purple_add_contact_request_get_message

Gets the message that was optionally sent by the remote user.

since: 3.0

purple_add_contact_request_get_username

Gets the username for the user to be added.

since: 3.0

purple_add_contact_request_set_alias

Sets the alias of the remote user to alias. User interfaces can use this when presenting the authorization request to the end user.

since: 3.0

purple_add_contact_request_set_message

Sets an optional message from remote user, that the user interface can display to the end user.

since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.AddContactRequest:account

The account that this add contact request is for.

since: 3.0

Purple.AddContactRequest:alias

The alias of the remote user to be added.

since: 3.0

Purple.AddContactRequest:message

The optional message sent from the remote user.

since: 3.0

Purple.AddContactRequest:username

The username of the remote user to be added.

since: 3.0

Signals

Purple.AddContactRequest::add

Emitted when the user has told the ui to add the contact. This is typically emitted by the user interface calling purple_add_contact_request_add().

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 PurpleAddContactRequestClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.