2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / src / nautilus-property-browser.h
blobbeeacaf5debc46346b47d7567560e17caade8cca
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 2000 Eazel, Inc.
8 * Nautilus is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * Nautilus is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * Author: Andy Hertzfeld <andy@eazel.com>
25 /* This is the header file for the property browser window, which
26 * gives the user access to an extensible palette of properties which
27 * can be dropped on various elements of the user interface to
28 * customize them
31 #ifndef NAUTILUS_PROPERTY_BROWSER_H
32 #define NAUTILUS_PROPERTY_BROWSER_H
34 #include <gdk/gdk.h>
35 #include <gtk/gtkwindow.h>
37 typedef struct NautilusPropertyBrowser NautilusPropertyBrowser;
38 typedef struct NautilusPropertyBrowserClass NautilusPropertyBrowserClass;
40 #define NAUTILUS_TYPE_PROPERTY_BROWSER \
41 (nautilus_property_browser_get_type ())
42 #define NAUTILUS_PROPERTY_BROWSER(obj) \
43 (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_PROPERTY_BROWSER, NautilusPropertyBrowser))
44 #define NAUTILUS_PROPERTY_BROWSER_CLASS(klass) \
45 (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_PROPERTY_BROWSER, NautilusPropertyBrowserClass))
46 #define NAUTILUS_IS_PROPERTY_BROWSER(obj) \
47 (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_PROPERTY_BROWSER))
48 #define NAUTILUS_IS_PROPERTY_BROWSER_CLASS(klass) \
49 (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_PROPERTY_BROWSER))
51 typedef struct NautilusPropertyBrowserDetails NautilusPropertyBrowserDetails;
53 struct NautilusPropertyBrowser
55 GtkWindow window;
56 NautilusPropertyBrowserDetails *details;
59 struct NautilusPropertyBrowserClass
61 GtkWindowClass parent_class;
64 GType nautilus_property_browser_get_type (void);
65 NautilusPropertyBrowser *nautilus_property_browser_new (GdkScreen *screen);
66 void nautilus_property_browser_show (GdkScreen *screen);
67 void nautilus_property_browser_set_path (NautilusPropertyBrowser *panel,
68 const char *new_path);
70 #endif /* NAUTILUS_PROPERTY_BROWSER_H */