X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-var-view.h;h=c53ac6e1d75b7aa3dacd9e262fb407cd5195cf32;hb=c2d972816fce591524db963390a97ff32d55117c;hp=bd1dca2df311535f182bd5e60b1fefb65b3bb7fa;hpb=ad8deb1d854c66016f9c4e45b20c8ea0ba69ab07;p=pspp diff --git a/src/ui/gui/psppire-var-view.h b/src/ui/gui/psppire-var-view.h index bd1dca2df3..c53ac6e1d7 100644 --- a/src/ui/gui/psppire-var-view.h +++ b/src/ui/gui/psppire-var-view.h @@ -40,25 +40,11 @@ typedef struct _PsppireVarViewClass PsppireVarViewClass; struct variable; -struct vvstate -{ - /* An array of GtkListStores */ - GtkListStore **list; - - /* The size of the above array */ - gint n_lists; - - /* The currently selected item in the array */ - gint l_idx; -}; - struct _PsppireVarView { GtkTreeView parent; /* Private */ - struct vvstate *state; - GType *cols; gint *nums; gint n_cols; @@ -80,11 +66,13 @@ gboolean psppire_var_view_get_iter_first (PsppireVarView *vv, GtkTreeIter *iter) gboolean psppire_var_view_get_iter_next (PsppireVarView *vv, GtkTreeIter *iter); +GSList *psppire_var_view_list_names (PsppireVarView *vv, gint column); + + const struct variable * psppire_var_view_get_variable (PsppireVarView *vv, gint column, GtkTreeIter *iter); +const struct variable * psppire_var_view_get_var_from_model (GtkTreeModel *, gint column, GtkTreeIter *iter); -void psppire_var_view_push_model (PsppireVarView *vv); -gboolean psppire_var_view_set_current_model (PsppireVarView *vv, gint n); GtkTreeModel *psppire_var_view_get_current_model (PsppireVarView *vv); void psppire_var_view_clear (PsppireVarView *vv);