7 * This software is released under the GNU General Public License (GNU GPL).
8 * Please read the included file COPYING for more information.
9 * This software comes with no warranty of any kind, use at your own risk!
12 #ifndef VIEW_DIR_LIST_H
13 #define VIEW_DIR_LIST_H
16 ViewDir *vdlist_new(ViewDir *vd, const gchar *path);
18 void vdlist_select_row(ViewDir *vd, FileData *fd);
20 gint vdlist_set_path(ViewDir *vd, const gchar *path);
21 void vdlist_refresh(ViewDir *vd);
23 const gchar *vdlist_row_get_path(ViewDir *vd, gint row);
24 gint vdlist_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter);
26 void vdlist_rename_by_row(ViewDir *vd, FileData *fd);
27 FileData *vdlist_row_by_path(ViewDir *vd, const gchar *path, gint *row);
29 gint vdlist_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data);
30 gint vdlist_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data);
32 void vdlist_destroy_cb(GtkWidget *widget, gpointer data);