## MgrFavorites

MgrFavorites — A GdaTreeManager for the stored favorites

## 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);

## Object Hierarchy

      GObject
       +----GdaTreeManager
             +----MgrFavorites

## Properties

      "browser-connection"       BrowserConnection*    : Read / Write / Construct Only

## Description

## Details

### struct MgrFavorites

    struct MgrFavorites;

### 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

## Property Details

### The `"browser-connection"` property

      "browser-connection"       BrowserConnection*    : Read / Write / Construct Only

Connection to use.