~midori/midori/per-site-preferences

« back to all changes in this revision

Viewing changes to katze/katze-throbber.h

  • Committer: Tarmac
  • Author(s): Christian Dywan, Paweł Forysiuk
  • Date: 2013-12-09 11:40:39 UTC
  • mfrom: (6441.2.31 midori.deathnote)
  • Revision ID: tarmac-20131209114039-xxqeilfy3i0jkukp
Introduce notebook class converging separate implementations

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 Copyright (C) 2007 Christian Dywan <christian@twotoasts.de>
3
 
 
4
 
 This library is free software; you can redistribute it and/or
5
 
 modify it under the terms of the GNU Lesser General Public
6
 
 License as published by the Free Software Foundation; either
7
 
 version 2.1 of the License, or (at your option) any later version.
8
 
 
9
 
 See the file COPYING for the full license text.
10
 
*/
11
 
 
12
 
#ifndef __KATZE_THROBBER_H__
13
 
#define __KATZE_THROBBER_H__
14
 
 
15
 
#include <gtk/gtk.h>
16
 
 
17
 
G_BEGIN_DECLS
18
 
 
19
 
#define KATZE_TYPE_THROBBER \
20
 
    (katze_throbber_get_type ())
21
 
#define KATZE_THROBBER(obj) \
22
 
    (G_TYPE_CHECK_INSTANCE_CAST ((obj), KATZE_TYPE_THROBBER, KatzeThrobber))
23
 
#define KATZE_THROBBER_CLASS(klass) \
24
 
    (G_TYPE_CHECK_CLASS_CAST ((klass), KATZE_TYPE_THROBBER, KatzeThrobberClass))
25
 
#define KATZE_IS_THROBBER(obj) \
26
 
    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), KATZE_TYPE_THROBBER))
27
 
#define KATZE_IS_THROBBER_CLASS(klass) \
28
 
    (G_TYPE_CHECK_CLASS_TYPE ((klass), KATZE_TYPE_THROBBER))
29
 
#define KATZE_THROBBER_GET_CLASS(obj) \
30
 
    (G_TYPE_INSTANCE_GET_CLASS ((obj), KATZE_TYPE_THROBBER, KatzeThrobberClass))
31
 
 
32
 
typedef struct _KatzeThrobber                KatzeThrobber;
33
 
typedef struct _KatzeThrobberPrivate         KatzeThrobberPrivate;
34
 
typedef struct _KatzeThrobberClass           KatzeThrobberClass;
35
 
 
36
 
 
37
 
GType
38
 
katze_throbber_get_type             (void) G_GNUC_CONST;
39
 
 
40
 
GtkWidget*
41
 
katze_throbber_new                  (void);
42
 
 
43
 
void
44
 
katze_throbber_set_icon_size        (KatzeThrobber*   throbber,
45
 
                                     GtkIconSize      icon_size);
46
 
 
47
 
void
48
 
katze_throbber_set_icon_name        (KatzeThrobber*   throbber,
49
 
                                     const gchar*     icon_size);
50
 
 
51
 
void
52
 
katze_throbber_set_pixbuf           (KatzeThrobber*   throbber,
53
 
                                     GdkPixbuf*       pixbuf);
54
 
 
55
 
void
56
 
katze_throbber_set_animated         (KatzeThrobber*   throbber,
57
 
                                     gboolean         animated);
58
 
 
59
 
void
60
 
katze_throbber_set_static_icon_name (KatzeThrobber*   throbber,
61
 
                                     const gchar*     icon_name);
62
 
 
63
 
void
64
 
katze_throbber_set_static_pixbuf    (KatzeThrobber*   throbber,
65
 
                                     GdkPixbuf*       pixbuf);
66
 
 
67
 
void
68
 
katze_throbber_set_static_stock_id  (KatzeThrobber*   throbber,
69
 
                                     const gchar*     stock_id);
70
 
 
71
 
GtkIconSize
72
 
katze_throbber_get_icon_size        (KatzeThrobber*   throbber);
73
 
 
74
 
const gchar*
75
 
katze_throbber_get_icon_name        (KatzeThrobber*   throbber);
76
 
 
77
 
GdkPixbuf*
78
 
katze_throbber_get_pixbuf           (KatzeThrobber*   throbber);
79
 
 
80
 
gboolean
81
 
katze_throbber_get_animated         (KatzeThrobber*   throbber);
82
 
 
83
 
const gchar*
84
 
katze_throbber_get_static_icon_name (KatzeThrobber    *throbber);
85
 
 
86
 
GdkPixbuf*
87
 
katze_throbber_get_static_pixbuf    (KatzeThrobber*   throbber);
88
 
 
89
 
const gchar*
90
 
katze_throbber_get_static_stock_id  (KatzeThrobber*   throbber);
91
 
 
92
 
G_END_DECLS
93
 
 
94
 
#endif /* __KATZE_THROBBER_H__ */