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)) 45 typedef int (*PopupGetHeight) (GtkWidget *item,
50 typedef int (*PopupAutosize) (GtkWidget *item,
54 typedef void (*PopupSetFocus) (GtkWidget *item,
57 typedef void (*PopupPostShow) (GtkWidget *item,
60 typedef 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;
136 GType gnc_item_edit_get_type (
void);
138 void gnc_item_edit_configure (
GncItemEdit *item_edit);
140 void gnc_item_edit_get_pixel_coords (
GncItemEdit *item_edit,
144 GtkWidget *gnc_item_edit_new (GnucashSheet *sheet);
146 void 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);
155 void gnc_item_edit_show_popup (
GncItemEdit *item_edit);
156 void gnc_item_edit_hide_popup (
GncItemEdit *item_edit);
158 void gnc_item_edit_cut_clipboard (
GncItemEdit *item_edit);
159 void gnc_item_edit_copy_clipboard (
GncItemEdit *item_edit);
160 void gnc_item_edit_paste_clipboard (
GncItemEdit *item_edit);
162 gboolean gnc_item_edit_get_has_selection (
GncItemEdit *item_edit);
163 void gnc_item_edit_focus_in (
GncItemEdit *item_edit);
164 void gnc_item_edit_focus_out (
GncItemEdit *item_edit);
166 gint gnc_item_edit_get_margin (
GncItemEdit *item_edit, Sides side);
167 gint gnc_item_edit_get_padding_border (
GncItemEdit *item_edit, Sides side);
168 gint gnc_item_edit_get_button_width (
GncItemEdit *item_edit);
171 GType gnc_item_edit_tb_get_type (
void);
172 GtkWidget *gnc_item_edit_tb_new (GnucashSheet *sheet);
Public Declarations for GncItemList class.
Public declarations of GnucashRegister class.
Public declarations for GncDatePicker class.