MgrFavorites

MgrFavorites

Synopsis

struct              MgrFavorites;
#define             MGR_FAVORITES_NAME_ATT_NAME
#define             MGR_FAVORITES_CONTENTS_ATT_NAME
#define             MGR_FAVORITES_ID_ATT_NAME
#define             MGR_FAVORITES_TYPE_ATT_NAME
#define             MGR_FAVORITES_POSITION_ATT_NAME
GdaTreeManager *    mgr_favorites_new                   (BrowserConnection *bcnc,
                                                         BrowserFavoritesType type,
                                                         gint order_key);

Description

Details

struct MgrFavorites

struct MgrFavorites {
	GdaTreeManager      object;
	MgrFavoritesPriv     *priv;
};


MGR_FAVORITES_NAME_ATT_NAME

#define MGR_FAVORITES_NAME_ATT_NAME "fav_name"


MGR_FAVORITES_CONTENTS_ATT_NAME

#define MGR_FAVORITES_CONTENTS_ATT_NAME "fav_contents"


MGR_FAVORITES_ID_ATT_NAME

#define MGR_FAVORITES_ID_ATT_NAME "fav_id"


MGR_FAVORITES_TYPE_ATT_NAME

#define MGR_FAVORITES_TYPE_ATT_NAME "fav_type"


MGR_FAVORITES_POSITION_ATT_NAME

#define MGR_FAVORITES_POSITION_ATT_NAME "fav_pos"


mgr_favorites_new ()

GdaTreeManager *    mgr_favorites_new                   (BrowserConnection *bcnc,
                                                         BrowserFavoritesType type,
                                                         gint order_key);

Creates a new GdaTreeManager object which will add one tree node for each favorite of the type type

bcnc :

a BrowserConnection object

type :

the type of favorites to handle

order_key :

ordering key, see browser_favorites_add()

Returns :

a new GdaTreeManager object