## FmFolderModel

FmFolderModel

## Synopsis

    struct              FmFolderModel;
    struct              FmFolderModelClass;
    void                fm_folder_model_file_changed        (FmFolderModel *model,
                                                             FmFileInfo *file);
    void                fm_folder_model_file_created        (FmFolderModel *model,
                                                             FmFileInfo *file);
    void                fm_folder_model_file_deleted        (FmFolderModel *model,
                                                             FmFileInfo *file);
    gboolean            fm_folder_model_find_iter_by_filename
                                                            (FmFolderModel *model,
                                                             GtkTreeIter *it,
                                                             const char *name);
    void                fm_folder_model_get_common_suffix_for_prefix
                                                            (FmFolderModel *model,
                                                             const gchar *prefix,
                                                             gboolean (*file_info_predicate) (FmFileInfo*),
                                                             gchar *common_suffix);
    guint               fm_folder_model_get_icon_size       (FmFolderModel *model);
    gboolean            fm_folder_model_get_is_loaded       (FmFolderModel *model);
    gboolean            fm_folder_model_get_show_hidden     (FmFolderModel *model);
    FmFolderModel *     fm_folder_model_new                 (FmFolder *dir,
                                                             gboolean show_hidden);
    void                fm_folder_model_set_folder          (FmFolderModel *model,
                                                             FmFolder *dir);
    void                fm_folder_model_set_icon_size       (FmFolderModel *model,
                                                             guint icon_size);
    void                fm_folder_model_set_show_hidden     (FmFolderModel *model,
                                                             gboolean show_hidden);

## Object Hierarchy

      GObject
       +----FmFolderModel

## Implemented Interfaces

FmFolderModel implements GtkTreeModel, GtkTreeSortable, GtkTreeDragSource and GtkTreeDragDest.

## Signals

      "loaded"                                         : Run First

## Description

## Details

### struct FmFolderModel

    struct FmFolderModel;

### struct FmFolderModelClass

    struct FmFolderModelClass {
        GObjectClass parent;
        /* Default signal handlers */
        void (*loaded)( FmFolderModel* model );
    };

### fm_folder_model_file_changed ()

    void                fm_folder_model_file_changed        (FmFolderModel *model,
                                                             FmFileInfo *file);

### fm_folder_model_file_created ()

    void                fm_folder_model_file_created        (FmFolderModel *model,
                                                             FmFileInfo *file);

### fm_folder_model_file_deleted ()

    void                fm_folder_model_file_deleted        (FmFolderModel *model,
                                                             FmFileInfo *file);

### fm_folder_model_find_iter_by_filename ()

    gboolean            fm_folder_model_find_iter_by_filename
                                                            (FmFolderModel *model,
                                                             GtkTreeIter *it,
                                                             const char *name);

### fm_folder_model_get_common_suffix_for_prefix ()

    void                fm_folder_model_get_common_suffix_for_prefix
                                                            (FmFolderModel *model,
                                                             const gchar *prefix,
                                                             gboolean (*file_info_predicate) (FmFileInfo*),
                                                             gchar *common_suffix);

### fm_folder_model_get_icon_size ()

    guint               fm_folder_model_get_icon_size       (FmFolderModel *model);

### fm_folder_model_get_is_loaded ()

    gboolean            fm_folder_model_get_is_loaded       (FmFolderModel *model);

### fm_folder_model_get_show_hidden ()

    gboolean            fm_folder_model_get_show_hidden     (FmFolderModel *model);

### fm_folder_model_new ()

    FmFolderModel *     fm_folder_model_new                 (FmFolder *dir,
                                                             gboolean show_hidden);

### fm_folder_model_set_folder ()

    void                fm_folder_model_set_folder          (FmFolderModel *model,
                                                             FmFolder *dir);

### fm_folder_model_set_icon_size ()

    void                fm_folder_model_set_icon_size       (FmFolderModel *model,
                                                             guint icon_size);

### fm_folder_model_set_show_hidden ()

    void                fm_folder_model_set_show_hidden     (FmFolderModel *model,
                                                             gboolean show_hidden);

## Signal Details

### The `"loaded"` signal

    void                user_function                      (FmFolderModel *fmfoldermodel,
                                                            gpointer       user_data)          : Run First