Mercurial > geeqie
annotate src/view_file_icon.h @ 573:2996f1bbc305
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
author | zas_ |
---|---|
date | Sun, 04 May 2008 16:16:07 +0000 |
parents | 17d4ef9785c0 |
children | 3da75054d4e1 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
475 | 4 * Copyright (C) 2008 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 #ifndef VIEW_FILE_ICON_H | |
14 #define VIEW_FILE_ICON_H | |
15 | |
573
2996f1bbc305
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
zas_
parents:
558
diff
changeset
|
16 gint vficon_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data); |
2996f1bbc305
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
zas_
parents:
558
diff
changeset
|
17 gint vficon_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data); |
2996f1bbc305
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
zas_
parents:
558
diff
changeset
|
18 gint vficon_release_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data); |
9 | 19 |
573
2996f1bbc305
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
zas_
parents:
558
diff
changeset
|
20 void vficon_dnd_init(ViewFileIcon *vfi); |
2996f1bbc305
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
zas_
parents:
558
diff
changeset
|
21 |
2996f1bbc305
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
zas_
parents:
558
diff
changeset
|
22 void vficon_destroy_cb(GtkWidget *widget, gpointer data); |
9 | 23 ViewFileIcon *vficon_new(const gchar *path); |
24 | |
25 void vficon_set_status_func(ViewFileIcon *vfi, | |
26 void (*func)(ViewFileIcon *vfi, gpointer data), gpointer data); | |
27 void vficon_set_thumb_status_func(ViewFileIcon *vfi, | |
28 void (*func)(ViewFileIcon *vfi, gdouble val, const gchar *text, gpointer data), | |
29 gpointer data); | |
30 | |
31 void vficon_set_layout(ViewFileIcon *vfi, LayoutWindow *layout); | |
32 | |
33 gint vficon_set_path(ViewFileIcon *vfi, const gchar *path); | |
34 gint vficon_refresh(ViewFileIcon *vfi); | |
35 | |
36 void vficon_sort_set(ViewFileIcon *vfi, SortType type, gint ascend); | |
37 | |
38 FileData *vficon_index_get_data(ViewFileIcon *vfi, gint row); | |
39 gchar *vficon_index_get_path(ViewFileIcon *vfi, gint row); | |
40 gint vficon_index_by_path(ViewFileIcon *vfi, const gchar *path); | |
252 | 41 gint vficon_index_by_fd(ViewFileIcon *vfi, FileData *in_fd); |
9 | 42 gint vficon_count(ViewFileIcon *vfi, gint64 *bytes); |
43 GList *vficon_get_list(ViewFileIcon *vfi); | |
44 | |
45 gint vficon_index_is_selected(ViewFileIcon *vfi, gint row); | |
46 gint vficon_selection_count(ViewFileIcon *vfi, gint64 *bytes); | |
47 GList *vficon_selection_get_list(ViewFileIcon *vfi); | |
48 GList *vficon_selection_get_list_by_index(ViewFileIcon *vfi); | |
49 | |
50 void vficon_select_all(ViewFileIcon *vfi); | |
51 void vficon_select_none(ViewFileIcon *vfi); | |
52 void vficon_select_by_path(ViewFileIcon *vfi, const gchar *path); | |
138 | 53 void vficon_select_by_fd(ViewFileIcon *vfi, FileData *fd); |
9 | 54 |
165 | 55 void vficon_mark_to_selection(ViewFileIcon *vfi, gint mark, MarkToSelectionMode mode); |
56 void vficon_selection_to_mark(ViewFileIcon *vfi, gint mark, SelectionToMarkMode mode); | |
9 | 57 |
138 | 58 gint vficon_maint_renamed(ViewFileIcon *vfi, FileData *fd); |
59 gint vficon_maint_removed(ViewFileIcon *vfi, FileData *fd, GList *ignore_list); | |
60 gint vficon_maint_moved(ViewFileIcon *vfi, FileData *fd, GList *ignore_list); | |
9 | 61 |
62 | |
63 #endif |