1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
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>
24 * This is the header file for the throbber on the location bar
28 #ifndef NAUTILUS_THROBBER_H
29 #define NAUTILUS_THROBBER_H
31 #include "ephy-spinner.h"
35 #define NAUTILUS_TYPE_THROBBER (nautilus_throbber_get_type ())
36 #define NAUTILUS_THROBBER(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_THROBBER, NautilusThrobber))
37 #define NAUTILUS_THROBBER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_THROBBER, NautilusThrobberClass))
38 #define NAUTILUS_IS_THROBBER(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_THROBBER))
39 #define NAUTILUS_IS_THROBBER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_THROBBER))
41 typedef EphySpinner NautilusThrobber
;
42 typedef EphySpinnerClass NautilusThrobberClass
;
44 GType
nautilus_throbber_get_type (void);
45 GtkWidget
*nautilus_throbber_new (void);
46 void nautilus_throbber_start (NautilusThrobber
*throbber
);
47 void nautilus_throbber_stop (NautilusThrobber
*throbber
);
48 void nautilus_throbber_set_size (NautilusThrobber
*throbber
, GtkIconSize size
);
52 #endif /* NAUTILUS_THROBBER_H */