/* Function for appending selected items to the destination widget */
typedef void SelectItemsFunc (GtkTreeIter iter,
GtkWidget *dest,
- GtkTreeModel *source_model);
+ GtkTreeModel *source_model,
+ gpointer data);
/* Function to determine if items may be selected */
typedef gboolean AllowSelectionFunc (GtkWidget *src, GtkWidget *dest);
GtkWidget *arrow;
GtkAction *action;
+ gboolean dispose_has_run;
+
enum psppire_selector_dir direction;
+
GtkWidget *source;
GtkWidget *dest;
GtkTreeModelFilter *filtered_source;
SelectItemsFunc *select_items;
+ gpointer select_user_data;
+
FilterItemsFunc *filter;
AllowSelectionFunc *allow_selection;
GType psppire_selector_get_type (void);
GtkWidget* psppire_selector_new (void);
void psppire_selector_set_subjects (PsppireSelector *,
- GtkWidget *,
- GtkWidget *,
SelectItemsFunc *,
- FilterItemsFunc * );
+ FilterItemsFunc *,
+ gpointer );
void psppire_selector_set_allow (PsppireSelector *, AllowSelectionFunc *);
PSPPIRE_SELECT_SOURCE_BELOW_DEST
} PsppireSelectorOrientation;
-#define G_TYPE_PSPPIRE_SELECTOR_ORIENTATION \
+#define PSPPIRE_TYPE_SELECTOR_ORIENTATION \
(psppire_selector_orientation_get_type())