| Cheese Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <cheese/cheese-avatar-chooser.h>
CheeseAvatarChooser;
GtkWidget * cheese_avatar_chooser_new (void);
GdkPixbuf * cheese_avatar_chooser_get_picture (CheeseAvatarChooser *chooser);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----CheeseAvatarChooser
CheeseAvatarChooser presents a simple window to the user for taking a photo for use as an avatar.
typedef struct _CheeseAvatarChooser CheeseAvatarChooser;
Use the accessor functions below.
GtkWidget * cheese_avatar_chooser_new (void);
Creates a new CheeseAvatarChooser dialogue.
Returns : |
a CheeseAvatarChooser |
GdkPixbuf * cheese_avatar_chooser_get_picture (CheeseAvatarChooser *chooser);
Returns the portion of image selected through the builtin cropping tool, after a picture has been captured on the webcam.
|
a CheeseAvatarChooser dialogue |
Returns : |
a GdkPixbuf object, or NULL if no picture has been taken yet |