~ubuntu-branches/debian/squeeze/galeon/squeeze

« back to all changes in this revision

Viewing changes to src/galeon-spinner.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Howard
  • Date: 2004-06-06 09:02:01 UTC
  • Revision ID: james.westby@ubuntu.com-20040606090201-yhx6ruhq8um7ggs2
Tags: upstream-1.3.15
ImportĀ upstreamĀ versionĀ 1.3.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 
2
 
 
3
/*
 
4
 * Nautilus
 
5
 *
 
6
 * Copyright (C) 2000 Eazel, Inc.
 
7
 *
 
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.
 
12
 *
 
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.
 
17
 *
 
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
 
21
 *
 
22
 * Author: Andy Hertzfeld <andy@eazel.com>
 
23
 *
 
24
 * This is the header file for the throbber on the location bar
 
25
 *
 
26
 */
 
27
 
 
28
#ifndef GALEON_SPINNER_H
 
29
#define GALEON_SPINNER_H
 
30
 
 
31
#include <gtk/gtkeventbox.h>
 
32
#include <bonobo.h>
 
33
 
 
34
G_BEGIN_DECLS
 
35
 
 
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))
 
41
 
 
42
typedef struct GaleonSpinner GaleonSpinner;
 
43
typedef struct GaleonSpinnerClass GaleonSpinnerClass;
 
44
typedef struct GaleonSpinnerDetails GaleonSpinnerDetails;
 
45
 
 
46
struct GaleonSpinner {
 
47
        GtkEventBox parent;
 
48
        GaleonSpinnerDetails *details;
 
49
};
 
50
 
 
51
struct GaleonSpinnerClass {
 
52
        GtkEventBoxClass parent_class;
 
53
};
 
54
 
 
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,
 
60
                                             gboolean new_mode);
 
61
 
 
62
G_END_DECLS
 
63
 
 
64
#endif /* GALEON_SPINNER_H */
 
65
 
 
66