![]() |
![]() |
![]() |
libempathy Reference Manual | ![]() |
---|---|---|---|---|
EmpathyTpGroup; EmpathyPendingInfo; EmpathyTpGroup* empathy_tp_group_new (TpChannel *channel); void empathy_tp_group_close (EmpathyTpGroup *group); void empathy_tp_group_add_members (EmpathyTpGroup *group, GList *contacts, const gchar *message); void empathy_tp_group_add_member (EmpathyTpGroup *group, EmpathyContact *contact, const gchar *message); void empathy_tp_group_remove_members (EmpathyTpGroup *group, GList *contacts, const gchar *message); void empathy_tp_group_remove_member (EmpathyTpGroup *group, EmpathyContact *contact, const gchar *message); GList* empathy_tp_group_get_members (EmpathyTpGroup *group); GList* empathy_tp_group_get_local_pendings (EmpathyTpGroup *group); GList* empathy_tp_group_get_remote_pendings (EmpathyTpGroup *group); const gchar* empathy_tp_group_get_name (EmpathyTpGroup *group); EmpathyContact* empathy_tp_group_get_self_contact (EmpathyTpGroup *group); gboolean empathy_tp_group_is_member (EmpathyTpGroup *group, EmpathyContact *contact); gboolean empathy_tp_group_is_ready (EmpathyTpGroup *group); EmpathyPendingInfo* empathy_tp_group_get_invitation (EmpathyTpGroup *group, EmpathyContact **remote_contact); EmpathyPendingInfo* empathy_pending_info_new (EmpathyContact *member, EmpathyContact *actor, const gchar *message); void empathy_pending_info_free (EmpathyPendingInfo *info);
"destroy" : Run Last "local-pending" : Run Last "member-added" : Run Last "member-removed" : Run Last "remote-pending" : Run Last
typedef struct { EmpathyContact *member; EmpathyContact *actor; gchar *message; guint reason; } EmpathyPendingInfo;
EmpathyTpGroup* empathy_tp_group_new (TpChannel *channel);
|
|
Returns : |
void empathy_tp_group_add_members (EmpathyTpGroup *group, GList *contacts, const gchar *message);
|
|
|
|
|
void empathy_tp_group_add_member (EmpathyTpGroup *group, EmpathyContact *contact, const gchar *message);
|
|
|
|
|
void empathy_tp_group_remove_members (EmpathyTpGroup *group, GList *contacts, const gchar *message);
|
|
|
|
|
void empathy_tp_group_remove_member (EmpathyTpGroup *group, EmpathyContact *contact, const gchar *message);
|
|
|
|
|
GList* empathy_tp_group_get_members (EmpathyTpGroup *group);
|
|
Returns : |
GList* empathy_tp_group_get_local_pendings (EmpathyTpGroup *group);
|
|
Returns : |
GList* empathy_tp_group_get_remote_pendings (EmpathyTpGroup *group);
|
|
Returns : |
const gchar* empathy_tp_group_get_name (EmpathyTpGroup *group);
|
|
Returns : |
EmpathyContact* empathy_tp_group_get_self_contact (EmpathyTpGroup *group);
|
|
Returns : |
gboolean empathy_tp_group_is_member (EmpathyTpGroup *group, EmpathyContact *contact);
|
|
|
|
Returns : |
gboolean empathy_tp_group_is_ready (EmpathyTpGroup *group);
|
|
Returns : |
EmpathyPendingInfo* empathy_tp_group_get_invitation (EmpathyTpGroup *group, EmpathyContact **remote_contact);
|
|
|
|
Returns : |
EmpathyPendingInfo* empathy_pending_info_new (EmpathyContact *member, EmpathyContact *actor, const gchar *message);
|
|
|
|
|
|
Returns : |
"channel"
property"channel" TpChannel* : Read / Write / Construct Only
The channel for the group.
"ready"
property"ready" gboolean : Read
This object can't be used until this becomes true.
Default value: FALSE
"destroy"
signalvoid user_function (EmpathyTpGroup *empathytpgroup, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"local-pending"
signalvoid user_function (EmpathyTpGroup *empathytpgroup, EmpathyContact *arg1, EmpathyContact *arg2, guint arg3, gchar *arg4, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
"member-added"
signalvoid user_function (EmpathyTpGroup *empathytpgroup, EmpathyContact *arg1, EmpathyContact *arg2, guint arg3, gchar *arg4, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
"member-removed"
signalvoid user_function (EmpathyTpGroup *empathytpgroup, EmpathyContact *arg1, EmpathyContact *arg2, guint arg3, gchar *arg4, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
"remote-pending"
signalvoid user_function (EmpathyTpGroup *empathytpgroup, EmpathyContact *arg1, EmpathyContact *arg2, guint arg3, gchar *arg4, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
|
|
user data set when the signal handler was connected. |