|  |  |  | libempathy-gtk Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
#include <libempathy-gtk/empathy-avatar-chooser.h>
                    EmpathyAvatarChooser;
GtkWidget *         empathy_avatar_chooser_new          (void);
void                empathy_avatar_chooser_set          (EmpathyAvatarChooser *chooser,
                                                         EmpathyAvatar *avatar);
void                empathy_avatar_chooser_get_image_data
                                                        (EmpathyAvatarChooser *chooser,
                                                         const gchar **data,
                                                         gsize *data_size,
                                                         const gchar **mime_type);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----EmpathyAvatarChooser
EmpathyAvatarChooser implements GtkActivatable, AtkImplementorIface and GtkBuildable.
EmpathyAvatarChooser is a widget which extends GtkButton to provide a way of changing avatar.
typedef struct _EmpathyAvatarChooser EmpathyAvatarChooser;
Widget which extends GtkButton to provide a way of changing avatar.
GtkWidget * empathy_avatar_chooser_new (void);
Creates a new EmpathyAvatarChooser.
| Returns : | a new EmpathyAvatarChooser | 
void empathy_avatar_chooser_set (EmpathyAvatarChooser *chooser, EmpathyAvatar *avatar);
Sets the chooser to display the avatar indicated by avatar.
| 
 | an EmpathyAvatarChooser | 
| 
 | a new EmpathyAvatar | 
void                empathy_avatar_chooser_get_image_data
                                                        (EmpathyAvatarChooser *chooser,
                                                         const gchar **data,
                                                         gsize *data_size,
                                                         const gchar **mime_type);
Gets image data about the currently selected avatar.
| 
 | an EmpathyAvatarChooser | 
| 
 | avatar bytes | 
| 
 | size of data | 
| 
 | avatar mime-type | 
"connection" property"connection" TpConnection* : Read / Write
The TpConnection whose avatar should be shown and modified by the EmpathyAvatarChooser instance.
"changed" signalvoid user_function (EmpathyAvatarChooser *chooser, gpointer user_data) : Run Last
Emitted when the chosen avatar has changed.
| 
 | an EmpathyAvatarChooser | 
| 
 | user data set when the signal handler was connected. |