1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /* nautilus-horizontal-splitter.h - A horizontal splitter with a semi gradient look
5 Copyright (C) 1999, 2000 Eazel, Inc.
7 The Gnome Library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library 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 The Gnome Library 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 Library General Public License for more details.
17 You should have received a copy of the GNU Library General Public
18 License along with the Gnome Library; see the file COPYING.LIB. If not,
19 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.
22 Authors: Ramiro Estrugo <ramiro@eazel.com>
25 #ifndef NAUTILUS_HORIZONTAL_SPLITTER_H
26 #define NAUTILUS_HORIZONTAL_SPLITTER_H
28 #include <gtk/gtkhpaned.h>
32 #define NAUTILUS_TYPE_HORIZONTAL_SPLITTER (nautilus_horizontal_splitter_get_type ())
33 #define NAUTILUS_HORIZONTAL_SPLITTER(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_HORIZONTAL_SPLITTER, NautilusHorizontalSplitter))
34 #define NAUTILUS_HORIZONTAL_SPLITTER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_HORIZONTAL_SPLITTER, NautilusHorizontalSplitterClass))
35 #define NAUTILUS_IS_HORIZONTAL_SPLITTER(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_HORIZONTAL_SPLITTER))
36 #define NAUTILUS_IS_HORIZONTAL_SPLITTER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_HORIZONTAL_SPLITTER))
38 typedef struct NautilusHorizontalSplitterDetails NautilusHorizontalSplitterDetails
;
41 GtkHPaned parent_slot
;
42 NautilusHorizontalSplitterDetails
*details
;
43 } NautilusHorizontalSplitter
;
46 GtkHPanedClass parent_slot
;
47 } NautilusHorizontalSplitterClass
;
49 /* NautilusHorizontalSplitter public methods */
50 GType
nautilus_horizontal_splitter_get_type (void);
51 GtkWidget
*nautilus_horizontal_splitter_new (void);
53 gboolean
nautilus_horizontal_splitter_is_hidden (NautilusHorizontalSplitter
*splitter
);
54 void nautilus_horizontal_splitter_collapse (NautilusHorizontalSplitter
*splitter
);
55 void nautilus_horizontal_splitter_hide (NautilusHorizontalSplitter
*splitter
);
56 void nautilus_horizontal_splitter_show (NautilusHorizontalSplitter
*splitter
);
57 void nautilus_horizontal_splitter_expand (NautilusHorizontalSplitter
*splitter
);
58 void nautilus_horizontal_splitter_toggle_position (NautilusHorizontalSplitter
*splitter
);
59 void nautilus_horizontal_splitter_pack2 (NautilusHorizontalSplitter
*splitter
,
64 #endif /* NAUTILUS_HORIZONTAL_SPLITTER_H */