2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
15 PANEL_NUMBER_OF_SIDES
/* This goes last! */
18 #define MENU_MARGIN(side) ((side) == PANEL_BOTTOM ? 32 : 8)
22 GtkAdjustment
*adj
; /* Scroll position of the bar */
24 guchar
*name
; /* Leaf name */
26 GtkWidget
*before
; /* Icons at the left/top end */
27 GtkWidget
*after
; /* Icons at the right/bottom end */
29 GtkWidget
*gap
; /* Event box between sides */
31 int autoscroll_to
; /* Timeout */
32 int autoscroll_speed
; /* 0 => not scrolling */
35 extern Panel
*current_panel
[PANEL_NUMBER_OF_SIDES
];
37 void panel_init(void);
38 Panel
*panel_new(const gchar
*name
, PanelSide side
);
39 void panel_icon_may_update(Icon
*icon
);
40 void panel_save(Panel
*panel
);
42 gboolean
panel_add(PanelSide side
,
43 const gchar
*path
, const gchar
*label
, gboolean after
);
44 gboolean
panel_remove_item(PanelSide side
, const gchar
*path
,
46 void panel_mark_used(GdkRegion
*used
);
47 void panel_update_size(void);