3 * (C) 2008 Vladimir Nadvornik
5 * Author: Laurent Monin
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!
16 DIR_COLUMN_POINTER = 0,
23 extern GtkRadioActionEntry menu_view_dir_radio_entries[2];
25 void vd_destroy(ViewDir *vd);
27 ViewDir *vd_new(DirViewType type, const gchar *path);
29 void vd_set_select_func(ViewDir *vdl, void (*func)(ViewDir *vdl, const gchar *path, gpointer data), gpointer data);
31 void vd_set_layout(ViewDir *vdl, LayoutWindow *layout);
33 gint vd_set_path(ViewDir *vdl, const gchar *path);
34 void vd_refresh(ViewDir *vdl);
35 gint vd_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter);
37 const gchar *vd_row_get_path(ViewDir *vdl, gint row);
39 void vd_color_set(ViewDir *vd, FileData *fd, gint color_set);
40 void vd_popup_destroy_cb(GtkWidget *widget, gpointer data);
42 GtkWidget *vd_drop_menu(ViewDir *vd, gint active);
43 GtkWidget *vd_pop_menu(ViewDir *vd, FileData *fd);
45 void vd_dnd_drop_scroll_cancel(ViewDir *vd);
46 void vd_dnd_init(ViewDir *vd);
48 void vd_menu_position_cb(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer data);