1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /* nautilus-side-pane.c
5 * Copyright (C) 2002 Ximian, Inc.
7 * Nautilus is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
12 * Nautilus is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 * Author: Dave Camp <dave@ximian.com>
24 #ifndef NAUTILUS_SIDE_PANE_H
25 #define NAUTILUS_SIDE_PANE_H
27 #include <gtk/gtkvbox.h>
31 #define NAUTILUS_TYPE_SIDE_PANE (nautilus_side_pane_get_type ())
32 #define NAUTILUS_SIDE_PANE(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_SIDE_PANE, NautilusSidePane))
33 #define NAUTILUS_SIDE_PANE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SIDE_PANE, NautilusSidePaneClass))
34 #define NAUTILUS_IS_SIDE_PANE(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_SIDE_PANE))
35 #define NAUTILUS_IS_SIDE_PANE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SIDE_PANE))
37 typedef struct _NautilusSidePaneDetails NautilusSidePaneDetails
;
41 NautilusSidePaneDetails
*details
;
45 GtkVBoxClass parent_slot
;
47 void (*close_requested
) (NautilusSidePane
*side_pane
);
48 void (*switch_page
) (NautilusSidePane
*side_pane
,
50 } NautilusSidePaneClass
;
52 GType
nautilus_side_pane_get_type (void);
53 NautilusSidePane
*nautilus_side_pane_new (void);
54 void nautilus_side_pane_add_panel (NautilusSidePane
*side_pane
,
58 void nautilus_side_pane_remove_panel (NautilusSidePane
*side_pane
,
60 void nautilus_side_pane_show_panel (NautilusSidePane
*side_pane
,
62 void nautilus_side_pane_set_panel_image (NautilusSidePane
*side_pane
,
65 GtkWidget
*nautilus_side_pane_get_current_panel (NautilusSidePane
*side_pane
);
69 #endif /* NAUTILUS_SIDE_PANE_H */