32 #include <gdk/gdkkeysyms.h> 36 #include "gnc-locale-utils.h" 41 #include "pricecell-gnome.h" 44 # include <gdk/gdkwin32.h> 51 gnc_formula_cell_direct_update( BasicCell *bcell,
58 GdkEventKey *
event = gui_data;
62 if (event->type != GDK_KEY_PRESS)
65 lc = gnc_localeconv ();
75 switch (event->keyval)
79 (GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK)))
83 case GDK_KEY_KP_Enter:
85 gnc_formula_cell_set_value( cell, cell->cell.value );
94 case GDK_KEY_KP_Decimal:
101 gnc_basic_cell_insert_decimal(bcell,
103 ? lc->mon_decimal_point[0]
104 : lc->decimal_point[0],
113 gnc_formula_cell_gnome_new (
void)
117 cell = gnc_formula_cell_new ();
118 cell->direct_update = gnc_formula_cell_direct_update;
utility functions for the GnuCash UI
All type declarations for the whole Gnucash engine.