SwfPersona

SwfPersona — A persona subclass which represents a single libsocialweb contact.

Synopsis

#define             SWF_TYPE_PERSONA
void                swf_persona_update                  (SwfPersona *self,
                                                         SwContact *contact);
SwfPersona *        swf_persona_new                     (SwfPersonaStore *store,
                                                         SwContact *contact);
SwContact *         swf_persona_get_lsw_contact         (SwfPersona *self);
gchar *             swf_persona_get_contact_id          (SwContact *contact);
struct              SwfPersona;

Object Hierarchy

  GObject
   +----FolksPersona
         +----SwfPersona

Implemented Interfaces

SwfPersona implements FolksAvatarDetails, FolksGenderDetails, FolksImDetails, FolksNameDetails, FolksUrlDetails and FolksWebServiceDetails.

Properties

  "avatar"                   GLoadableIcon*        : Read / Write
  "full-name"                gchar*                : Read / Write
  "gender"                   FolksGender           : Read / Write
  "im-addresses"             GeeMultiMap*          : Read / Write
  "linkable-properties"      GStrv                 : Read
  "lsw-contact"              SwContact*            : Read / Write / Construct Only
  "nickname"                 gchar*                : Read / Write
  "structured-name"          FolksStructuredName*  : Read / Write
  "urls"                     GeeSet*               : Read / Write
  "web-service-addresses"    GeeMultiMap*          : Read / Write
  "writeable-properties"     GStrv                 : Read

Description

Details

SWF_TYPE_PERSONA

#define SWF_TYPE_PERSONA (swf_persona_get_type ())

The type for SwfPersona.


swf_persona_update ()

void                swf_persona_update                  (SwfPersona *self,
                                                         SwContact *contact);

self :

the SwfPersona instance

swf_persona_new ()

SwfPersona *        swf_persona_new                     (SwfPersonaStore *store,
                                                         SwContact *contact);

Create a new persona.

Create a new persona for the SwfPersonaStore `store`, representing the libsocialweb contact given by `contact`.


swf_persona_get_lsw_contact ()

SwContact *         swf_persona_get_lsw_contact         (SwfPersona *self);

self :

the SwfPersona instance to query

Returns :

the value of the "lsw-contact" property

swf_persona_get_contact_id ()

gchar *             swf_persona_get_contact_id          (SwContact *contact);

struct SwfPersona

struct SwfPersona;

A persona subclass which represents a single libsocialweb contact.

Property Details

The "avatar" property

  "avatar"                   GLoadableIcon*        : Read / Write

avatar.


The "full-name" property

  "full-name"                gchar*                : Read / Write

full-name.

Default value: NULL


The "gender" property

  "gender"                   FolksGender           : Read / Write

gender.

Default value: FOLKS_GENDER_UNSPECIFIED


The "im-addresses" property

  "im-addresses"             GeeMultiMap*          : Read / Write

im-addresses.


The "linkable-properties" property

  "linkable-properties"      GStrv                 : Read

linkable-properties.


The "lsw-contact" property

  "lsw-contact"              SwContact*            : Read / Write / Construct Only

The Contact from libsocialweb


The "nickname" property

  "nickname"                 gchar*                : Read / Write

nickname.

Default value: NULL


The "structured-name" property

  "structured-name"          FolksStructuredName*  : Read / Write

structured-name.


The "urls" property

  "urls"                     GeeSet*               : Read / Write

urls.


The "web-service-addresses" property

  "web-service-addresses"    GeeMultiMap*          : Read / Write

web-service-addresses.


The "writeable-properties" property

  "writeable-properties"     GStrv                 : Read

writeable-properties.