FmPlacesModel

FmPlacesModel

Synopsis

enum                FmPlaceType;
struct              FmPlacesModel;
struct              FmPlacesModelClass;
GtkListStore *      fm_places_model_new                 (void);
const GtkTreePath *  fm_places_model_get_separator_path (FmPlacesModel *model);
gboolean            fm_places_model_iter_is_separator   (FmPlacesModel *model,
                                                         GtkTreeIter *it);
gboolean            fm_places_model_path_is_separator   (FmPlacesModel *model,
                                                         GtkTreePath *tp);
gboolean            fm_places_model_path_is_bookmark    (FmPlacesModel *model,
                                                         GtkTreePath *tp);
gboolean            fm_places_model_path_is_places      (FmPlacesModel *model,
                                                         GtkTreePath *tp);
void                fm_places_model_mount_indicator_cell_data_func
                                                        (GtkCellLayout *cell_layout,
                                                         GtkCellRenderer *render,
                                                         GtkTreeModel *tree_model,
                                                         GtkTreeIter *it,
                                                         gpointer user_data);

Object Hierarchy

  GObject
   +----GtkListStore
         +----FmPlacesModel

Implemented Interfaces

FmPlacesModel implements GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest, GtkTreeSortable and GtkBuildable.

Description

Details

enum FmPlaceType

typedef enum
{
    FM_PLACES_ITEM_NONE,
    FM_PLACES_ITEM_PATH,
    FM_PLACES_ITEM_VOL,
}FmPlaceType;

struct FmPlacesModel

struct FmPlacesModel;

struct FmPlacesModelClass

struct FmPlacesModelClass {
    GtkListStoreClass parent_class;
};

fm_places_model_new ()

GtkListStore *      fm_places_model_new                 (void);

fm_places_model_get_separator_path ()

const GtkTreePath *  fm_places_model_get_separator_path (FmPlacesModel *model);

fm_places_model_iter_is_separator ()

gboolean            fm_places_model_iter_is_separator   (FmPlacesModel *model,
                                                         GtkTreeIter *it);

fm_places_model_path_is_separator ()

gboolean            fm_places_model_path_is_separator   (FmPlacesModel *model,
                                                         GtkTreePath *tp);

fm_places_model_path_is_bookmark ()

gboolean            fm_places_model_path_is_bookmark    (FmPlacesModel *model,
                                                         GtkTreePath *tp);

fm_places_model_path_is_places ()

gboolean            fm_places_model_path_is_places      (FmPlacesModel *model,
                                                         GtkTreePath *tp);

fm_places_model_mount_indicator_cell_data_func ()

void                fm_places_model_mount_indicator_cell_data_func
                                                        (GtkCellLayout *cell_layout,
                                                         GtkCellRenderer *render,
                                                         GtkTreeModel *tree_model,
                                                         GtkTreeIter *it,
                                                         gpointer user_data);