1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 * Copyright © 2000 Eazel, Inc.
4 * Copyright © 2004, 2006 Christian Persch
6 * Nautilus is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * Nautilus is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 * Author: Andy Hertzfeld <andy@eazel.com>
25 #ifndef EPHY_SPINNER_H
26 #define EPHY_SPINNER_H
28 #include <gtk/gtkwidget.h>
29 #include <gtk/gtkenums.h>
33 #define EPHY_TYPE_SPINNER (ephy_spinner_get_type ())
34 #define EPHY_SPINNER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_SPINNER, EphySpinner))
35 #define EPHY_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_SPINNER, EphySpinnerClass))
36 #define EPHY_IS_SPINNER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_SPINNER))
37 #define EPHY_IS_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_SPINNER))
38 #define EPHY_SPINNER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SPINNER, EphySpinnerClass))
40 typedef struct _EphySpinner EphySpinner
;
41 typedef struct _EphySpinnerClass EphySpinnerClass
;
42 typedef struct _EphySpinnerDetails EphySpinnerDetails
;
49 EphySpinnerDetails
*details
;
52 struct _EphySpinnerClass
54 GtkWidgetClass parent_class
;
57 GType
ephy_spinner_get_type (void);
59 GtkWidget
*ephy_spinner_new (void);
61 void ephy_spinner_start (EphySpinner
*throbber
);
63 void ephy_spinner_stop (EphySpinner
*throbber
);
65 void ephy_spinner_set_size (EphySpinner
*spinner
,
70 #endif /* EPHY_SPINNER_H */