GnuCash c935c2f+
Loading...
Searching...
No Matches
checkboxcell.h
Go to the documentation of this file.
1/********************************************************************\
2 * checkboxcell.h -- yes/no checkbox cell *
3 * *
4 * This program is free software; you can redistribute it and/or *
5 * modify it under the terms of the GNU General Public License as *
6 * published by the Free Software Foundation; either version 2 of *
7 * the License, or (at your option) any later version. *
8 * *
9 * This program 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 *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License*
15 * along with this program; if not, contact: *
16 * *
17 * Free Software Foundation Voice: +1-617-542-5942 *
18 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19 * Boston, MA 02110-1301, USA gnu@gnu.org *
20 * *
21\********************************************************************/
33#ifndef CHECKBOX_CELL_H
34#define CHECKBOX_CELL_H
35
36#include <glib.h>
37
38#include "basiccell.h"
39
40typedef struct
41{
42 BasicCell cell;
43
44 gboolean flag;
45
47
48BasicCell * gnc_checkbox_cell_new (void);
49
50void gnc_checkbox_cell_set_flag (CheckboxCell *cell, gboolean flag);
51gboolean gnc_checkbox_cell_get_flag (CheckboxCell *cell);
52const char* gnc_checkbox_cell_get_string (gboolean flag);
54#endif
The CheckboxCell object implements a cell handler that will toggle between yes and no values when cli...