## FmFolder

FmFolder

## Synopsis

    struct              FmFolder;
    struct              FmFolderClass;
    FmFolder *          fm_folder_get                       (FmPath *path);
    FmFileInfo *        fm_folder_get_file_by_name          (FmFolder *folder,
                                                             const char *name);
    FmFileInfoList *    fm_folder_get_files                 (FmFolder *folder);
    gboolean            fm_folder_get_filesystem_info       (FmFolder *folder,
                                                             guint64 *total_size,
                                                             guint64 *free_size);
    FmFolder *          fm_folder_get_for_gfile             (GFile *gf);
    FmFolder *          fm_folder_get_for_path_name         (const char *path);
    FmFolder *          fm_folder_get_for_uri               (const char *uri);
    gboolean            fm_folder_get_is_loaded             (FmFolder *folder);
    void                fm_folder_query_filesystem_info     (FmFolder *folder);
    void                fm_folder_reload                    (FmFolder *folder);

## Object Hierarchy

      GObject
       +----FmFolder

## Signals

      "changed"                                        : Run First
      "content-changed"                                : Run First
      "error"                                          : Run Last
      "files-added"                                    : Run First
      "files-changed"                                  : Run First
      "files-removed"                                  : Run First
      "fs-info"                                        : Run First
      "loaded"                                         : Run First
      "removed"                                        : Run First
      "unmount"                                        : Run First

## Description

## Details

### struct FmFolder

    struct FmFolder;

### struct FmFolderClass

    struct FmFolderClass {
        GObjectClass parent_class;

        void (*files_added)(FmFolder* dir, GSList* files);
        void (*files_removed)(FmFolder* dir, GSList* files);
        void (*files_changed)(FmFolder* dir, GSList* files);
        void (*loaded)(FmFolder* dir);
        void (*unmount)(FmFolder* dir);
        void (*changed)(FmFolder* dir);
        void (*removed)(FmFolder* dir);
        void (*content_changed)(FmFolder* dir);
        void (*fs_info)(FmFolder* dir);
        FmJobErrorAction (*error)(FmFolder* dir, GError* err, FmJobErrorSeverity severity);
    };

### fm_folder_get ()

    FmFolder *          fm_folder_get                       (FmPath *path);

### fm_folder_get_file_by_name ()

    FmFileInfo *        fm_folder_get_file_by_name          (FmFolder *folder,
                                                             const char *name);

### fm_folder_get_files ()

    FmFileInfoList *    fm_folder_get_files                 (FmFolder *folder);

### fm_folder_get_filesystem_info ()

    gboolean            fm_folder_get_filesystem_info       (FmFolder *folder,
                                                             guint64 *total_size,
                                                             guint64 *free_size);

### fm_folder_get_for_gfile ()

    FmFolder *          fm_folder_get_for_gfile             (GFile *gf);

### fm_folder_get_for_path_name ()

    FmFolder *          fm_folder_get_for_path_name         (const char *path);

### fm_folder_get_for_uri ()

    FmFolder *          fm_folder_get_for_uri               (const char *uri);

### fm_folder_get_is_loaded ()

    gboolean            fm_folder_get_is_loaded             (FmFolder *folder);

### fm_folder_query_filesystem_info ()

    void                fm_folder_query_filesystem_info     (FmFolder *folder);

### fm_folder_reload ()

    void                fm_folder_reload                    (FmFolder *folder);

## Signal Details

### The `"changed"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  user_data)      : Run First

### The `"content-changed"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  user_data)      : Run First

### The `"error"` signal

    gint                user_function                      (FmFolder *fmfolder,
                                                            gpointer  arg1,
                                                            gint      arg2,
                                                            gpointer  user_data)      : Run Last

### The `"files-added"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  arg1,
                                                            gpointer  user_data)      : Run First

### The `"files-changed"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  arg1,
                                                            gpointer  user_data)      : Run First

### The `"files-removed"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  arg1,
                                                            gpointer  user_data)      : Run First

### The `"fs-info"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  user_data)      : Run First

### The `"loaded"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  user_data)      : Run First

### The `"removed"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  user_data)      : Run First

### The `"unmount"` signal

    void                user_function                      (FmFolder *fmfolder,
                                                            gpointer  user_data)      : Run First