| gfbgraph Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <gfbgraph/gfbgraph.h> struct GFBGraphAlbum; struct GFBGraphAlbumClass; GFBGraphAlbum * gfbgraph_album_new (void); GFBGraphAlbum * gfbgraph_album_new_from_id (GFBGraphAuthorizer *authorizer,const gchar *id,GError **error); const gchar * gfbgraph_album_get_name (GFBGraphAlbum *album); const gchar * gfbgraph_album_get_description (GFBGraphAlbum *album); const gchar * gfbgraph_album_get_cover_photo_id (GFBGraphAlbum *album); guint gfbgraph_album_get_count (GFBGraphAlbum *album);
"count" guint : Read / Write "cover-photo" gchar* : Read / Write "description" gchar* : Read / Write "name" gchar* : Read / Write
GFGraphAlbum represents the photo album node in the Graph API.
This node is connectable to: - GFBGraphUser
GFBGraphAlbum * gfbgraph_album_new (void);
Creates a new GFBGraphAlbum.
Returns : |
a new GFBGraphAlbum; unref with g_object_unref(). [transfer full]
|
GFBGraphAlbum * gfbgraph_album_new_from_id (GFBGraphAuthorizer *authorizer,const gchar *id,GError **error);
Retrieves an album node from the Facebook Graph with the give ID.
|
a GFBGraphAuthorizer. |
|
a const gchar with the album ID. |
|
a GError or NULL. [allow-none]
|
Returns : |
a new GFBGraphAlbum; unref with g_object_unref(). [transfer full]
|
const gchar * gfbgraph_album_get_name (GFBGraphAlbum *album);
|
a GFBGraphAlbum. |
Returns : |
the album name, or NULL. [transfer none]
|
const gchar * gfbgraph_album_get_description (GFBGraphAlbum *album);
|
a GFBGraphAlbum. |
Returns : |
the album description, or NULL. [transfer none]
|
const gchar * gfbgraph_album_get_cover_photo_id (GFBGraphAlbum *album);
guint gfbgraph_album_get_count (GFBGraphAlbum *album);
|
a GFBGraphAlbum. |
Returns : |
the number of photos into the album or -1 in case of error. [transfer none]
|
"count" property"count" guint : Read / Write
The number of photos in the album.
Default value: 0
"cover-photo" property"cover-photo" gchar* : Read / Write
The ID for the cover photo of the album.
Default value: ""
"description" property"description" gchar* : Read / Write
The album description given by the owner.
Default value: ""