44 typedef const char * (*RecnCellStringGetter) (
char flag);
45 typedef gboolean (*RecnCellConfirm) (
char old_flag, gpointer data);
57 RecnCellStringGetter get_string;
58 RecnCellConfirm confirm_cb;
59 gpointer confirm_data;
63 BasicCell * gnc_recn_cell_new (
void);
65 void gnc_recn_cell_set_flag (
RecnCell *cell,
char flag);
66 char gnc_recn_cell_get_flag (
RecnCell *cell);
68 void gnc_recn_cell_set_confirm_cb (
RecnCell *cell,
69 RecnCellConfirm confirm_cb,
72 void gnc_recn_cell_set_string_getter (
RecnCell *cell,
73 RecnCellStringGetter getter);
84 void gnc_recn_cell_set_flag_order (
RecnCell *cell,
const char *flags);
86 void gnc_recn_cell_set_read_only (
RecnCell *cell, gboolean read_only);
void gnc_recn_cell_set_valid_flags(RecnCell *cell, const char *flags, char default_flag)
note that chars is copied into the RecnCell directly, but remains the "property" of the caller...
The RecnCell object implements a cell handler that will cycle through a series of single-character va...
char default_flag
Automatic flag selection order.
char * flag_order
The list of valid flags.
char * valid_flags
The actual flag value.