2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
6 #ifndef __VIEW_DETAILS_H__
7 #define __VIEW_DETAILS_H__
11 typedef struct _ViewDetailsClass ViewDetailsClass
;
13 typedef struct _ViewItem ViewItem
;
18 int old_pos
; /* Used while sorting */
19 gchar
*utf8_name
; /* NULL => leafname is valid */
22 typedef struct _ViewDetails ViewDetails
;
26 GtkTreeSelection
*selection
;
28 FilerWindow
*filer_window
; /* Used for styles, etc */
30 GPtrArray
*items
; /* ViewItem */
32 int (*sort_fn
)(const void *, const void *);
34 int cursor_base
; /* Cursor when minibuffer opened */
36 int wink_item
; /* -1 => not winking */
40 int can_change_selection
;
42 GtkRequisition desired_size
;
45 int lasso_start_index
;
46 int drag_box_x
[2]; /* Index 0 is the fixed corner */
51 #define VIEW_DETAILS(obj) \
52 (GTK_CHECK_CAST((obj), view_details_get_type(), ViewDetails))
54 GtkWidget
*view_details_new(FilerWindow
*filer_window
);
55 GType
view_details_get_type(void);
57 #endif /* __VIEW_DETAILS_H__ */