GTK+2 panel 

GTK+2 panel Git Source Tree

Root/libgpwidgets/gpw-volume.h

1/* Gtk2Panel - A bleeding edge Gtk+2 panel
2 * Copyright (C) 2009 Nicola Fontana <ntd at entidi.it>
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 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20#ifndef __GPW_VOLUME_H__
21#define __GPW_VOLUME_H__
22
23#include <gtk/gtk.h>
24
25
26G_BEGIN_DECLS
27
28#define GPW_TYPE_VOLUME (gpw_volume_get_type())
29#define GPW_VOLUME(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GPW_TYPE_VOLUME, GpwVolume))
30#define GPW_VOLUME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GPW_TYPE_VOLUME, GpwVolumeClass))
31#define GPW_IS_VOLUME(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GPW_TYPE_VOLUME))
32#define GPU_IS_VOLUME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GPW_TYPE_VOLUME))
33#define GPW_VOLUME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GPW_TYPE_VOLUME, GpwVolumeClass))
34
35
36typedef struct _GpwVolume GpwVolume;
37typedef struct _GpwVolumeClass GpwVolumeClass;
38
39
40struct _GpwVolume {
41 /*< private >*/
42 GtkVolumeButton parent;
43 gpointer data;
44};
45
46struct _GpwVolumeClass {
47 /*< private >*/
48 GtkVolumeButtonClass parent_class;
49};
50
51
52GType gpw_volume_get_type (void) G_GNUC_CONST;
53
54
55G_END_DECLS
56
57
58#endif /* __GPW_VOLUME_H__ */

Archive Download this file

Branches

Tags