projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-data-sheet: Implement Edit|Paste.
[pspp]
/
src
/
ui
/
gui
/
psppire-var-view.h
diff --git
a/src/ui/gui/psppire-var-view.h
b/src/ui/gui/psppire-var-view.h
index f2696072a9a70f2c426373a37cb8d4d66d61afbf..090966b526bdbc830d5a48b905658e2ba97d0547 100644
(file)
--- a/
src/ui/gui/psppire-var-view.h
+++ b/
src/ui/gui/psppire-var-view.h
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2009 Free Software Foundation
+ Copyright (C) 2009
, 2010
Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-21,7
+21,7
@@
#include <glib.h>
#include <glib-object.h>
#include <glib.h>
#include <glib-object.h>
-#include <gtk/gtk
treeview
.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
G_BEGIN_DECLS
@@
-44,10
+44,15
@@
struct _PsppireVarView
{
GtkTreeView parent;
{
GtkTreeView parent;
- GtkListStore *list;
+ /* Private */
+ GtkListStore **list;
+ GType *cols;
gint *nums;
gint *nums;
+ gint n_cols;
+ gint n_lists;
+ gint l_idx;
};
struct _PsppireVarViewClass
};
struct _PsppireVarViewClass
@@
-59,10
+64,21
@@
struct _PsppireVarViewClass
GType psppire_var_view_get_type (void);
gint psppire_var_view_append_names (PsppireVarView *vv, gint column, GString *string);
GType psppire_var_view_get_type (void);
gint psppire_var_view_append_names (PsppireVarView *vv, gint column, GString *string);
+
gboolean psppire_var_view_get_iter_first (PsppireVarView *vv, GtkTreeIter *iter);
gboolean psppire_var_view_get_iter_first (PsppireVarView *vv, GtkTreeIter *iter);
+
gboolean psppire_var_view_get_iter_next (PsppireVarView *vv, GtkTreeIter *iter);
gboolean psppire_var_view_get_iter_next (PsppireVarView *vv, GtkTreeIter *iter);
+
const struct variable * psppire_var_view_get_variable (PsppireVarView *vv, gint column, GtkTreeIter *iter);
const struct variable * psppire_var_view_get_variable (PsppireVarView *vv, gint column, GtkTreeIter *iter);
+void psppire_var_view_push_model (PsppireVarView *vv);
+
+gboolean psppire_var_view_set_current_model (PsppireVarView *vv, gint n);
+
+void psppire_var_view_clear (PsppireVarView *vv);
+
+GtkWidget* psppire_var_view_new (void);
+
G_END_DECLS
G_END_DECLS