24 #ifndef GNC_DIALOG_SEARCH_H 25 #define GNC_DIALOG_SEARCH_H 43 typedef void (*GNCSearchCallback) (GtkWindow *dialog, gpointer *obj_p, gpointer user_data);
44 typedef void (*GNCSearchResultCB) (
QofQuery *query, gpointer user_data,
53 typedef gpointer (*GNCSearchNewItemCB) (GtkWindow *dialog, gpointer user_data);
56 typedef void (*GNCSearchFree) (gpointer user_data);
62 typedef void (*GNCSearchSelectedCB) (GtkWindow *dialog,
63 gpointer selected_object,
70 typedef void (*GNCSearchMultiSelectedCB) (GtkWindow *dialog,
71 GList *list_of_selected_objects,
77 GNCSearchCallback cb_fcn;
78 GNCSearchMultiSelectedCB cb_multiselect_fn;
108 gnc_search_dialog_create (GtkWindow *parent,
114 GNCSearchResultCB result_callback,
115 GNCSearchNewItemCB new_item_cb,
116 gpointer user_data, GNCSearchFree free_user_data,
117 const gchar *prefs_group,
118 const gchar *type_label,
119 const gchar *style_class);
121 void gnc_search_dialog_destroy (GNCSearchWindow *sw);
122 void gnc_search_dialog_raise (GNCSearchWindow *sw);
125 guint gnc_search_dialog_connect_on_close (GNCSearchWindow *sw,
130 void gnc_search_dialog_disconnect (GNCSearchWindow *sw, gpointer user_data);
139 void gnc_search_dialog_set_select_cb (GNCSearchWindow *sw,
140 GNCSearchSelectedCB selected_cb,
142 gboolean allow_clear);
145 void gnc_search_dialog_test (
void);
const gchar * QofIdTypeConst
QofIdTypeConst declaration.