4 * Copyright (C) 2008 - 2012 The Geeqie Team
6 * Author: Vladimir Nadvornik
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!
26 typedef struct _PaneData PaneData;
29 /* filled in by pane */
30 void (*pane_set_fd)(GtkWidget *pane, FileData *fd);
31 void (*pane_notify_selection)(GtkWidget *pane, gint count);
32 gint (*pane_event)(GtkWidget *pane, GdkEvent *event);
33 void (*pane_write_config)(GtkWidget *pane, GString *outstr, gint indent);
39 /* filled in by bar */
47 GtkWidget *bar_new(LayoutWindow *lw);
48 GtkWidget *bar_new_from_config(LayoutWindow *lw, const gchar **attribute_names, const gchar **attribute_values);
49 GtkWidget *bar_update_from_config(GtkWidget *bar, const gchar **attribute_names, const gchar **attribute_values);
51 void bar_close(GtkWidget *bar);
53 void bar_write_config(GtkWidget *bar, GString *outstr, gint indent);
55 void bar_populate_default(GtkWidget *bar);
57 void bar_add(GtkWidget *bar, GtkWidget *pane);
58 GtkWidget *bar_find_pane_by_id(GtkWidget *bar, PaneType type, const gchar *id);
60 void bar_clear(GtkWidget *bar);
62 void bar_set_fd(GtkWidget *bar, FileData *fd);
63 void bar_notify_selection(GtkWidget *bar, gint count);
64 gboolean bar_event(GtkWidget *bar, GdkEvent *event);
66 gint bar_get_width(GtkWidget *bar);
68 GtkWidget *bar_pane_expander_title(const gchar *title);
69 void bar_update_expander(GtkWidget *pane);
70 gboolean bar_pane_translate_title(PaneType type, const gchar *id, gchar **title);
71 const gchar *bar_pane_get_default_config(const gchar *id);
74 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */