]> git.0d.be Git - empathy.git/blob - libempathy-gtk/ephy-spinner.h
Move chat chandler into the same process than contact list
[empathy.git] / libempathy-gtk / ephy-spinner.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /*
3  * Copyright © 2000 Eazel, Inc.
4  * Copyright © 2004, 2006 Christian Persch
5  *
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.
10  *
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.
15  *
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
19  *
20  * Author: Andy Hertzfeld <andy@eazel.com>
21  *
22  * $Id: ephy-spinner.h 2114 2006-12-25 12:15:00Z mr $
23  */
24
25 #ifndef EPHY_SPINNER_H
26 #define EPHY_SPINNER_H
27
28 #include <gtk/gtkwidget.h>
29 #include <gtk/gtkenums.h>
30
31 G_BEGIN_DECLS
32
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))
39
40 typedef struct _EphySpinner             EphySpinner;
41 typedef struct _EphySpinnerClass        EphySpinnerClass;
42 typedef struct _EphySpinnerDetails      EphySpinnerDetails;
43
44 struct _EphySpinner
45 {
46         GtkWidget parent;
47
48         /*< private >*/
49         EphySpinnerDetails *details;
50 };
51
52 struct _EphySpinnerClass
53 {
54         GtkWidgetClass parent_class;
55 };
56
57 GType           ephy_spinner_get_type   (void);
58
59 GtkWidget      *ephy_spinner_new        (void);
60
61 void            ephy_spinner_start      (EphySpinner *throbber);
62
63 void            ephy_spinner_stop       (EphySpinner *throbber);
64
65 void            ephy_spinner_set_size   (EphySpinner *spinner,
66                                          GtkIconSize size);
67
68 G_END_DECLS
69
70 #endif /* EPHY_SPINNER_H */