GnuCash c935c2f+
Loading...
Searching...
No Matches
gnc-cell-renderer-label.h
1/********************************************************************
2 * gnc-cell-renderer-label.h -- A GtkCellRendererText subclass that
3 * shows a selectable (but not editable) GtkLabel when activated,
4 * allowing the user to select and copy cell text via Ctrl+C.
5 *
6 * Copyright (C) 2026 GnuCash contributors
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21 * MA 02110-1301, USA.
22 *******************************************************************/
23
24#ifndef __GNC_CELL_RENDERER_LABEL_H__
25#define __GNC_CELL_RENDERER_LABEL_H__
26
27#include <gtk/gtk.h>
28
29#define GNC_TYPE_CELL_RENDERER_LABEL (gnc_cell_renderer_label_get_type ())
30G_DECLARE_FINAL_TYPE (GncCellRendererLabel, gnc_cell_renderer_label,
31 GNC, CELL_RENDERER_LABEL, GtkCellRendererText)
32
33GtkCellRenderer *gnc_cell_renderer_label_new (void);
34
35#endif /* __GNC_CELL_RENDERER_LABEL_H__ */