44typedef const char * (*RecnCellStringGetter) (
char flag);
45typedef gboolean (*RecnCellConfirm) (
char old_flag, gpointer data);
58 RecnCellConfirm confirm_cb;
59 gpointer confirm_data;
63BasicCell * gnc_recn_cell_new (
void);
65void gnc_recn_cell_set_flag (
RecnCell *cell,
char flag);
66char gnc_recn_cell_get_flag (
RecnCell *cell);
68void gnc_recn_cell_set_confirm_cb (
RecnCell *cell,
69 RecnCellConfirm confirm_cb,
72void gnc_recn_cell_set_string_getter (
RecnCell *cell,
73 RecnCellStringGetter getter);
84void gnc_recn_cell_set_flag_order (
RecnCell *cell,
const char *flags);
86void 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 * flag_order
The list of valid flags.
RecnCellStringGetter get_string
Default flag for unknown user input.
char * valid_flags
The actual flag value.
char default_flag
Automatic flag selection order.