2 #ifndef __BST_ITEM_SEQ_DIALOG_H__
3 #define __BST_ITEM_SEQ_DIALOG_H__
11 #define BST_TYPE_ITEM_SEQ_DIALOG (bst_item_seq_dialog_get_type ())
12 #define BST_ITEM_SEQ_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BST_TYPE_ITEM_SEQ_DIALOG, BstItemSeqDialog))
13 #define BST_ITEM_SEQ_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BST_TYPE_ITEM_SEQ_DIALOG, BstItemSeqDialogClass))
14 #define BST_IS_ITEM_SEQ_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BST_TYPE_ITEM_SEQ_DIALOG))
15 #define BST_IS_ITEM_SEQ_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BST_TYPE_ITEM_SEQ_DIALOG))
16 #define BST_ITEM_SEQ_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BST_TYPE_ITEM_SEQ_DIALOG, BstItemSeqDialogClass))
21 typedef void (*BstItemSeqDialogSelected) (gpointer data,
23 BstItemSeqDialog *isdialog);
26 GxkDialog parent_instance;
27 GtkTreeModel *candidate_store;
28 GtkTreeSelection *candidate_sel;
29 GtkTreeModel *item_store;
30 GtkTreeSelection *item_sel;
33 GtkWindow *parent_window;
34 guint ignore_activate : 1;
35 BstItemSeqDialogSelected selected_callback;
36 gpointer selected_data;
37 GxkFreeFunc selected_cleanup;
41 GxkDialogClass parent_class;
46 GType bst_item_seq_dialog_get_type (
void);
47 GtkWidget* bst_item_seq_dialog_popup (gpointer parent_widget,
49 const gchar *candidate_label,
50 const gchar *candidate_tooltip,
51 BseIt3mSeq *candidates,
52 const gchar *item_label,
53 const gchar *item_tooltip,
55 BstItemSeqDialogSelected selected_callback,
56 gpointer selected_data,
57 GxkFreeFunc selected_cleanup);
58 void bst_item_seq_dialog_set (BstItemSeqDialog *
self,
59 BseIt3mSeq *candidates,
Definition: bstitemseqdialog.hh:24
Definition: bstitemseqdialog.hh:39