1
/* @Copyright (C) 2007 John Stowers, Neil Jagdish Patel.
3
* This library is free software; you can redistribute it and/or
4
* modify it under the terms of the GNU Lesser General Public
5
* License as published by the Free Software Foundation; either
6
* version 2 of the License, or (at your option) any later version.
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with this library; if not, write to the
15
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16
* Boston, MA 02111-1307, USA.
20
#ifndef _BLING_SPINNER_H_
21
#define _BLING_SPINNER_H_
27
#define BLING_TYPE_SPINNER (bling_spinner_get_type ())
28
#define BLING_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BLING_TYPE_SPINNER, BlingSpinner))
29
#define BLING_SPINNER_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), BLING_SPINNER, BlingSpinnerClass))
30
#define BLING_IS_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BLING_TYPE_SPINNER))
31
#define BLING_IS_SPINNER_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), BLING_TYPE_SPINNER))
32
#define BLING_SPINNER_GET_CLASS (G_TYPE_INSTANCE_GET_CLASS ((obj), BLING_TYPE_SPINNER, BlingSpinnerClass))
34
typedef struct _BlingSpinner BlingSpinner;
35
typedef struct _BlingSpinnerClass BlingSpinnerClass;
36
typedef struct _BlingSpinnerPrivate BlingSpinnerPrivate;
40
GtkDrawingArea parent;
43
struct _BlingSpinnerClass
45
GtkDrawingAreaClass parent_class;
46
BlingSpinnerPrivate *priv;
49
GType bling_spinner_get_type (void);
51
GtkWidget * bling_spinner_new (void);
53
void bling_spinner_start (BlingSpinner *spinner);
54
void bling_spinner_stop (BlingSpinner *spinner);