GnuCash  5.6-150-g038405b370+
Data Structures | Typedefs | Functions
recncell.h File Reference
#include <glib.h>
#include "basiccell.h"

Go to the source code of this file.

Data Structures

struct  RecnCell
 The RecnCell object implements a cell handler that will cycle through a series of single-character values when clicked upon by the mouse. More...
 

Typedefs

typedef const char *(* RecnCellStringGetter) (char flag)
 
typedef gboolean(* RecnCellConfirm) (char old_flag, gpointer data)
 

Functions

BasicCell * gnc_recn_cell_new (void)
 
void gnc_recn_cell_set_flag (RecnCell *cell, char flag)
 
char gnc_recn_cell_get_flag (RecnCell *cell)
 
void gnc_recn_cell_set_confirm_cb (RecnCell *cell, RecnCellConfirm confirm_cb, gpointer data)
 
void gnc_recn_cell_set_string_getter (RecnCell *cell, RecnCellStringGetter getter)
 
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. More...
 
void gnc_recn_cell_set_flag_order (RecnCell *cell, const char *flags)
 
void gnc_recn_cell_set_read_only (RecnCell *cell, gboolean read_only)