00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00038 #ifndef COMBO_CELL_H
00039 #define COMBO_CELL_H
00040
00041 #include <glib.h>
00042
00043 #include "basiccell.h"
00044 #include "QuickFill.h"
00045
00046 typedef struct
00047 {
00048 BasicCell cell;
00049 gpointer shared_store;
00050 } ComboCell;
00051
00052
00053 BasicCell * gnc_combo_cell_new (void);
00054 void gnc_combo_cell_init (ComboCell *cell);
00055
00056 void gnc_combo_cell_set_value (ComboCell *cell, const char *value);
00057
00058 void gnc_combo_cell_clear_menu (ComboCell *cell);
00059
00061 void gnc_combo_cell_add_menu_item (ComboCell *cell, char * menustr);
00062
00066 void gnc_combo_cell_add_account_menu_item (ComboCell *cell, char * menustr);
00067
00070 void gnc_combo_cell_set_sort_enabled (ComboCell *cell, gboolean enabled);
00071
00074 void gnc_combo_cell_set_strict (ComboCell *cell, gboolean strict);
00075
00077 void gnc_combo_cell_set_complete_char (ComboCell *cell,
00078 gunichar complete_char);
00079
00082 void gnc_combo_cell_add_ignore_string (ComboCell *cell,
00083 const char *ignore_string);
00084
00087 void gnc_combo_cell_set_autosize (ComboCell *cell, gboolean autosize);
00088
00098 void gnc_combo_cell_use_quickfill_cache (ComboCell *cell, QuickFill *shared_qf);
00099
00100 void gnc_combo_cell_use_list_store_cache (ComboCell * cell, gpointer data);
00101
00102 #endif