]>
Commit | Line | Data |
---|---|---|
3f63165c UH |
1 | /* |
2 | * This file is part of the sigrok project. | |
3 | * | |
4 | * Copyright (C) 2011 Gareth McMullin <gareth@blacksphere.co.nz> | |
5 | * | |
6 | * This program 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 3 of the License, or | |
9 | * (at your option) any later version. | |
10 | * | |
11 | * This program 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, see <http://www.gnu.org/licenses/>. | |
18 | */ | |
19 | ||
f3b75ee7 UH |
20 | #ifndef SIGROK_GTK_GTKCELLRENDERERSIGNAL_H |
21 | #define SIGROK_GTK_GTKCELLRENDERERSIGNAL_H | |
3f63165c UH |
22 | |
23 | #include <gtk/gtk.h> | |
24 | #include <glib-object.h> | |
25 | ||
26 | #define GTK_TYPE_CELL_RENDERER_SIGNAL \ | |
27 | (gtk_cell_renderer_signal_get_type ()) | |
28 | #define GTK_CELL_RENDERER_SIGNAL(obj) \ | |
29 | (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_SIGNAL, \ | |
30 | GtkCellRendererSignal)) | |
31 | #define GTK_CELL_RENDERER_SIGNAL_CLASS(klass) \ | |
32 | (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_SIGNAL, \ | |
33 | GtkCellRendererSignalClass)) | |
34 | #define GTK_IS_CELL_RENDERER_SIGNAL(obj) \ | |
35 | (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_SIGNAL)) | |
36 | #define GTK_IS_CELL_RENDERER_SIGNAL_CLASS(klass) \ | |
37 | (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_SIGNAL)) | |
38 | #define GTK_CELL_RENDERER_SIGNAL_GET_CLASS(obj) \ | |
39 | (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_SIGNAL, \ | |
40 | GtkCellRendererSignalClass)) | |
41 | ||
42 | typedef struct _GtkCellRendererSignal GtkCellRendererSignal; | |
43 | typedef struct _GtkCellRendererSignalClass GtkCellRendererSignalClass; | |
44 | typedef struct _GtkCellRendererSignalPrivate GtkCellRendererSignalPrivate; | |
45 | ||
46 | struct _GtkCellRendererSignal | |
47 | { | |
48 | GtkCellRenderer parent_instance; | |
49 | ||
50 | /*< private >*/ | |
51 | GtkCellRendererSignalPrivate *priv; | |
52 | }; | |
53 | ||
54 | struct _GtkCellRendererSignalClass | |
55 | { | |
56 | GtkCellRendererClass parent_class; | |
57 | }; | |
58 | ||
59 | GType gtk_cell_renderer_signal_get_type(void); | |
60 | GtkCellRenderer* gtk_cell_renderer_signal_new(void); | |
61 | ||
62 | #endif |