## FmFolderView

FmFolderView

## Synopsis

    #define             FM_FOLDER_VIEW_TYPE
    struct              FmFolderView;
    struct              FmFolderViewClass;
    gboolean            fm_folder_view_chdir                (FmFolderView *fv,
                                                             FmPath *path);
    gboolean            fm_folder_view_chdir_by_name        (FmFolderView *fv,
                                                             const char *path_str);
    void                fm_folder_view_custom_select        (FmFolderView *fv,
                                                             GFunc filter,
                                                             gpointer user_data);
    FmPath *            fm_folder_view_get_cwd              (FmFolderView *fv);
    FmFileInfo *        fm_folder_view_get_cwd_info         (FmFolderView *fv);
    FmFolder *          fm_folder_view_get_folder           (FmFolderView *fv);
    gboolean            fm_folder_view_get_is_loaded        (FmFolderView *fv);
    FmFolderViewMode    fm_folder_view_get_mode             (FmFolderView *fv);
    FmFolderModel *     fm_folder_view_get_model            (FmFolderView *fv);
    FmPathList *        fm_folder_view_get_selected_file_paths
                                                            (FmFolderView *fv);
    FmFileInfoList *    fm_folder_view_get_selected_files   (FmFolderView *fv);
    GtkSelectionMode    fm_folder_view_get_selection_mode   (FmFolderView *fv);
    gboolean            fm_folder_view_get_show_hidden      (FmFolderView *fv);
    int                 fm_folder_view_get_sort_by          (FmFolderView *fv);
    GtkSortType         fm_folder_view_get_sort_type        (FmFolderView *fv);
    GtkWidget *         fm_folder_view_new                  (FmFolderViewMode mode);
    void                fm_folder_view_select_all           (FmFolderView *fv);
    void                fm_folder_view_select_file_path     (FmFolderView *fv,
                                                             FmPath *path);
    void                fm_folder_view_select_file_paths    (FmFolderView *fv,
                                                             FmPathList *paths);
    void                fm_folder_view_select_invert        (FmFolderView *fv);
    void                fm_folder_view_set_mode             (FmFolderView *fv,
                                                             FmFolderViewMode mode);
    void                fm_folder_view_set_selection_mode   (FmFolderView *fv,
                                                             GtkSelectionMode mode);
    void                fm_folder_view_set_show_hidden      (FmFolderView *fv,
                                                             gboolean show);
    void                fm_folder_view_sort                 (FmFolderView *fv,
                                                             GtkSortType type,
                                                             int by);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkScrolledWindow
                                           +----FmFolderView

## Implemented Interfaces

FmFolderView implements AtkImplementorIface and GtkBuildable.

## Signals

      "chdir"                                          : Run First
      "clicked"                                        : Run First
      "loaded"                                         : Run First
      "sel-changed"                                    : Run First
      "sort-changed"                                   : Run First

## Description

## Details

### FM_FOLDER_VIEW_TYPE

    #define FM_FOLDER_VIEW_TYPE             (fm_folder_view_get_type())

### struct FmFolderView

    struct FmFolderView;

### struct FmFolderViewClass

    struct FmFolderViewClass {
        GtkScrolledWindowClass parent_class;
        void (*chdir)(FmFolderView* fv, FmPath* dir_path);
        void (*loaded)(FmFolderView* fv, FmPath* dir_path);
        void (*status)(FmFolderView* fv, const char* msg);
        void (*clicked)(FmFolderView* fv, FmFolderViewClickType type, FmFileInfo* file);
        void (*sel_changed)(FmFolderView* fv, FmFileInfoList* sels);
        void (*sort_changed)(FmFolderView* fv);
    };

### fm_folder_view_chdir ()

    gboolean            fm_folder_view_chdir                (FmFolderView *fv,
                                                             FmPath *path);

### fm_folder_view_chdir_by_name ()

    gboolean            fm_folder_view_chdir_by_name        (FmFolderView *fv,
                                                             const char *path_str);

### fm_folder_view_custom_select ()

    void                fm_folder_view_custom_select        (FmFolderView *fv,
                                                             GFunc filter,
                                                             gpointer user_data);

### fm_folder_view_get_cwd ()

    FmPath *            fm_folder_view_get_cwd              (FmFolderView *fv);

### fm_folder_view_get_cwd_info ()

    FmFileInfo *        fm_folder_view_get_cwd_info         (FmFolderView *fv);

### fm_folder_view_get_folder ()

    FmFolder *          fm_folder_view_get_folder           (FmFolderView *fv);

### fm_folder_view_get_is_loaded ()

    gboolean            fm_folder_view_get_is_loaded        (FmFolderView *fv);

### fm_folder_view_get_mode ()

    FmFolderViewMode    fm_folder_view_get_mode             (FmFolderView *fv);

### fm_folder_view_get_model ()

    FmFolderModel *     fm_folder_view_get_model            (FmFolderView *fv);

### fm_folder_view_get_selected_file_paths ()

    FmPathList *        fm_folder_view_get_selected_file_paths
                                                            (FmFolderView *fv);

### fm_folder_view_get_selected_files ()

    FmFileInfoList *    fm_folder_view_get_selected_files   (FmFolderView *fv);

### fm_folder_view_get_selection_mode ()

    GtkSelectionMode    fm_folder_view_get_selection_mode   (FmFolderView *fv);

### fm_folder_view_get_show_hidden ()

    gboolean            fm_folder_view_get_show_hidden      (FmFolderView *fv);

### fm_folder_view_get_sort_by ()

    int                 fm_folder_view_get_sort_by          (FmFolderView *fv);

### fm_folder_view_get_sort_type ()

    GtkSortType         fm_folder_view_get_sort_type        (FmFolderView *fv);

### fm_folder_view_new ()

    GtkWidget *         fm_folder_view_new                  (FmFolderViewMode mode);

### fm_folder_view_select_all ()

    void                fm_folder_view_select_all           (FmFolderView *fv);

### fm_folder_view_select_file_path ()

    void                fm_folder_view_select_file_path     (FmFolderView *fv,
                                                             FmPath *path);

### fm_folder_view_select_file_paths ()

    void                fm_folder_view_select_file_paths    (FmFolderView *fv,
                                                             FmPathList *paths);

### fm_folder_view_select_invert ()

    void                fm_folder_view_select_invert        (FmFolderView *fv);

### fm_folder_view_set_mode ()

    void                fm_folder_view_set_mode             (FmFolderView *fv,
                                                             FmFolderViewMode mode);

### fm_folder_view_set_selection_mode ()

    void                fm_folder_view_set_selection_mode   (FmFolderView *fv,
                                                             GtkSelectionMode mode);

### fm_folder_view_set_show_hidden ()

    void                fm_folder_view_set_show_hidden      (FmFolderView *fv,
                                                             gboolean show);

### fm_folder_view_sort ()

    void                fm_folder_view_sort                 (FmFolderView *fv,
                                                             GtkSortType type,
                                                             int by);

## Signal Details

### The `"chdir"` signal

    void                user_function                      (FmFolderView *fmfolderview,
                                                            gpointer      arg1,
                                                            gpointer      user_data)         : Run First

### The `"clicked"` signal

    void                user_function                      (FmFolderView *fmfolderview,
                                                            guint         arg1,
                                                            gpointer      arg2,
                                                            gpointer      user_data)         : Run First

### The `"loaded"` signal

    void                user_function                      (FmFolderView *fmfolderview,
                                                            gpointer      arg1,
                                                            gpointer      user_data)         : Run First

### The `"sel-changed"` signal

    void                user_function                      (FmFolderView *fmfolderview,
                                                            gpointer      arg1,
                                                            gpointer      user_data)         : Run First

### The `"sort-changed"` signal

    void                user_function                      (FmFolderView *fmfolderview,
                                                            gpointer      user_data)         : Run First