X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-editor.h;h=81495d51207ecd66c1dc836cb45fae7bc42629c8;hb=6ee48467ac46bb8553f6fb3782623559affb1b9c;hp=ea08f0131782a2f59b93ae61793c5b4c4e31f480;hpb=0fe886a656b0ee57b4d542b7c16b3c56288b6fc6;p=pspp diff --git a/src/ui/gui/psppire-data-editor.h b/src/ui/gui/psppire-data-editor.h index ea08f01317..81495d5120 100644 --- a/src/ui/gui/psppire-data-editor.h +++ b/src/ui/gui/psppire-data-editor.h @@ -32,7 +32,6 @@ #include #include -#include "psppire-var-store.h" #include "psppire-data-store.h" #include "ui/gui/pspp-sheet-view.h" @@ -55,7 +54,7 @@ struct _PsppireDataEditor /* */ PsppireDataStore *data_store; - PsppireVarStore *var_store; + PsppireDict *dict; /* Font to use in var sheet and data sheet(s), NULL to use system default. */ struct _PangoFontDescription *font; @@ -66,13 +65,14 @@ struct _PsppireDataEditor /* Data sheet tab. */ GtkWidget *vbox; /* Top-level widget in tab. */ GtkWidget *cell_ref_label; /* GtkLabel that shows selected case and var. */ - GtkWidget *datum_entry; /* GtkComboBoxEntry for editing current cell. */ + GtkWidget *datum_entry; /* PsppireValueEntry for editing current cell. */ GtkWidget *datasheet_vbox_widget; /* ->vbox child that holds data sheets. */ GtkWidget *data_sheets[4]; /* Normally one data sheet; four, if split. */ gboolean split; /* True if data sheets are split. */ /* UI manager for whichever var or data sheet is currently in use. */ GtkUIManager *ui_manager; + GtkWidget *old_vbox_widget; }; struct _PsppireDataEditorClass @@ -82,7 +82,7 @@ struct _PsppireDataEditorClass GType psppire_data_editor_get_type (void); -GtkWidget* psppire_data_editor_new (PsppireVarStore *, PsppireDataStore *); +GtkWidget* psppire_data_editor_new (PsppireDict *, PsppireDataStore *); void psppire_data_editor_show_grid (PsppireDataEditor *, gboolean); void psppire_data_editor_set_font (PsppireDataEditor *, PangoFontDescription *); void psppire_data_editor_split_window (PsppireDataEditor *, gboolean );