21#ifndef GNUCASH_ITEM_EDIT_H
22#define GNUCASH_ITEM_EDIT_H
35#define GNC_TYPE_ITEM_EDIT (gnc_item_edit_get_type ())
36#define GNC_ITEM_EDIT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GNC_TYPE_ITEM_EDIT, GncItemEdit))
37#define GNC_ITEM_EDIT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_ITEM_EDIT, GncItemEditClass))
38#define GNC_IS_ITEM_EDIT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNC_TYPE_ITEM_EDIT))
40#define GNC_TYPE_ITEM_EDIT_TB (gnc_item_edit_tb_get_type ())
41#define GNC_ITEM_EDIT_TB(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GNC_TYPE_ITEM_EDIT_TB, GncItemEditTb))
42#define GNC_ITEM_EDIT_TB_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_ITEM_EDIT_TB, GncItemEditTbClass))
43#define GNC_IS_ITEM_EDIT_TB(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNC_TYPE_ITEM_EDIT_TB))
45typedef int (*PopupGetHeight) (GtkWidget *item,
50typedef int (*PopupAutosize) (GtkWidget *item,
54typedef void (*PopupSetFocus) (GtkWidget *item,
57typedef void (*PopupPostShow) (GtkWidget *item,
60typedef int (*PopupGetWidth) (GtkWidget *item,
69 gboolean signals_connected;
80 gulong preedit_length;
85 PopupToggle popup_toggle;
86 GtkWidget *popup_item;
87 PopupGetHeight popup_get_height;
88 PopupAutosize popup_autosize;
89 PopupSetFocus popup_set_focus;
90 PopupPostShow popup_post_show;
91 PopupGetWidth popup_get_width;
92 gpointer popup_user_data;
93 gint popup_returned_height;
94 gint popup_allocation_height;
95 gulong popup_height_signal_id;
103 VirtualLocation virt_loc;
105 SheetBlockStyle *style;
110 GtkBoxClass parent_class;
121 GtkToggleButtonClass parent_class;
136GType gnc_item_edit_get_type (
void);
138void gnc_item_edit_configure (
GncItemEdit *item_edit);
140void gnc_item_edit_get_pixel_coords (
GncItemEdit *item_edit,
144GtkWidget *gnc_item_edit_new (GnucashSheet *sheet);
146void gnc_item_edit_set_popup (
GncItemEdit *item_edit,
147 GtkWidget *popup_item,
148 PopupGetHeight popup_get_height,
149 PopupAutosize popup_autosize,
150 PopupSetFocus popup_set_focus,
151 PopupPostShow popup_post_show,
152 PopupGetWidth popup_get_width,
153 gpointer popup_user_data);
155void gnc_item_edit_show_popup (
GncItemEdit *item_edit);
156void gnc_item_edit_hide_popup (
GncItemEdit *item_edit);
158void gnc_item_edit_cut_clipboard (
GncItemEdit *item_edit);
159void gnc_item_edit_copy_clipboard (
GncItemEdit *item_edit);
160void gnc_item_edit_paste_clipboard (
GncItemEdit *item_edit);
162gboolean gnc_item_edit_get_has_selection (
GncItemEdit *item_edit);
163void gnc_item_edit_focus_in (
GncItemEdit *item_edit);
164void gnc_item_edit_focus_out (
GncItemEdit *item_edit);
166gint gnc_item_edit_get_margin (
GncItemEdit *item_edit, Sides side);
167gint gnc_item_edit_get_padding_border (
GncItemEdit *item_edit, Sides side);
168gint gnc_item_edit_get_button_width (
GncItemEdit *item_edit);
171GType gnc_item_edit_tb_get_type (
void);
172GtkWidget *gnc_item_edit_tb_new (GnucashSheet *sheet);
Public declarations for GncDatePicker class.
Public Declarations for GncItemList class.
Public declarations of GnucashRegister class.