CheeseAvatarWidget

CheeseAvatarWidget — A photo capture dialog for avatars

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <cheese/cheese-avatar-widget.h>

struct              CheeseAvatarWidget;
GtkWidget *         cheese_avatar_widget_new            (void);
GdkPixbuf *         cheese_avatar_widget_get_picture    (CheeseAvatarWidget *widget);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----CheeseAvatarWidget

Implemented Interfaces

CheeseAvatarWidget implements AtkImplementorIface and GtkBuildable.

Properties

  "pixbuf"                   GdkPixbuf*            : Read

Description

CheeseAvatarWidget presents a simple window to the user for taking a photo for use as an avatar.

Details

struct CheeseAvatarWidget

struct CheeseAvatarWidget;

Use the accessor functions below.


cheese_avatar_widget_new ()

GtkWidget *         cheese_avatar_widget_new            (void);

Creates a new CheeseAvatarWidget dialogue.

Returns :

a CheeseAvatarWidget

cheese_avatar_widget_get_picture ()

GdkPixbuf *         cheese_avatar_widget_get_picture    (CheeseAvatarWidget *widget);

Returns the portion of image selected through the builtin cropping tool, after a picture has been captured on the webcam.

widget :

a CheeseAvatarWidget dialogue

Returns :

a GdkPixbuf object, or NULL if no picture has been taken yet

Property Details

The "pixbuf" property

  "pixbuf"                   GdkPixbuf*            : Read

A GdkPixbuf object representing the cropped area of the picture, or NULL.