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 GALEON_SPINNER_H
29
#define GALEON_SPINNER_H
31
#include <gtk/gtkeventbox.h>
36
#define GALEON_SPINNER_TYPE (galeon_spinner_get_type ())
37
#define GALEON_SPINNER(obj) (GTK_CHECK_CAST ((obj), GALEON_SPINNER_TYPE, GaleonSpinner))
38
#define GALEON_SPINNER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GALEON_SPINNER_TYPE, GaleonSpinnerClass))
39
#define IS_GALEON_SPINNER(obj) (GTK_CHECK_TYPE ((obj), GALEON_SPINNER_TYPE))
40
#define IS_GALEON_SPINNER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GALEON_SPINNER_TYPE))
42
typedef struct GaleonSpinner GaleonSpinner;
43
typedef struct GaleonSpinnerClass GaleonSpinnerClass;
44
typedef struct GaleonSpinnerDetails GaleonSpinnerDetails;
46
struct GaleonSpinner {
48
GaleonSpinnerDetails *details;
51
struct GaleonSpinnerClass {
52
GtkEventBoxClass parent_class;
55
GtkType galeon_spinner_get_type (void);
56
GtkWidget *galeon_spinner_new (void);
57
void galeon_spinner_start (GaleonSpinner *throbber);
58
void galeon_spinner_stop (GaleonSpinner *throbber);
59
void galeon_spinner_set_small_mode (GaleonSpinner *throbber,
64
#endif /* GALEON_SPINNER_H */