2 * This file is part of the sigrok project.
4 * Copyright (C) 2011 Gareth McMullin <gareth@blacksphere.co.nz>
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.
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.
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/>.
20 #ifndef SIGROK_GTK_GTKCELLRENDERERSIGNAL_H
21 #define SIGROK_GTK_GTKCELLRENDERERSIGNAL_H
24 #include <glib-object.h>
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))
42 typedef struct _GtkCellRendererSignal GtkCellRendererSignal;
43 typedef struct _GtkCellRendererSignalClass GtkCellRendererSignalClass;
44 typedef struct _GtkCellRendererSignalPrivate GtkCellRendererSignalPrivate;
46 struct _GtkCellRendererSignal
48 GtkCellRenderer parent_instance;
51 GtkCellRendererSignalPrivate *priv;
54 struct _GtkCellRendererSignalClass
56 GtkCellRendererClass parent_class;
59 GType gtk_cell_renderer_signal_get_type(void);
60 GtkCellRenderer* gtk_cell_renderer_signal_new(void);