GDS-Render v1.2.1
lib-cell-renderer.h
Go to the documentation of this file.
1/*
2 * GDSII-Converter
3 * Copyright (C) 2018 Mario Hüttel <mario.huettel@gmx.net>
4 *
5 * This file is part of GDSII-Converter.
6 *
7 * GDSII-Converter is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * GDSII-Converter 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 GDSII-Converter. If not, see <http://www.gnu.org/licenses/>.
18 */
19
31#ifndef __LIB_CELL_RENDERER_H__
32#define __LIB_CELL_RENDERER_H__
33
34#include <gtk/gtk.h>
35
36G_BEGIN_DECLS
37
38G_DECLARE_FINAL_TYPE(LibCellRenderer, lib_cell_renderer, LIB_CELL, RENDERER, GtkCellRendererText)
39#define TYPE_LIB_CELL_RENDERER (lib_cell_renderer_get_type())
40
44#define LIB_CELL_RENDERER_ERROR_WARN (1U<<0)
45#define LIB_CELL_RENDERER_ERROR_ERR (1U<<1)
48typedef struct _LibCellRenderer {
49 /* Inheritance */
50 GtkCellRendererText super;
51 /* Custom Elements */
53
59
64GtkCellRenderer *lib_cell_renderer_new(void);
65
66G_END_DECLS
67
68#endif /* __LIB_CELL_RENDERER_H__ */
69
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(GdsRenderGui, gds_render_gui, RENDERER, GUI, GObject)
GtkCellRenderer * lib_cell_renderer_new()
Create a new renderer for renderering gds_cell and gds_library elements.
struct _LibCellRenderer LibCellRenderer
GType lib_cell_renderer_get_type(void)
lib_cell_renderer_get_type
GtkCellRendererText super