X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-var-sheet.h;h=6a57cc6de9cd38c5c64f730d030e1dfbc3658a91;hb=7293c1a383d325c371bd708401e5a1d7586a4d90;hp=97efcf456ad1a2450c6192a8f608f0889dd6ce05;hpb=0fe886a656b0ee57b4d542b7c16b3c56288b6fc6;p=pspp diff --git a/src/ui/gui/psppire-var-sheet.h b/src/ui/gui/psppire-var-sheet.h deleted file mode 100644 index 97efcf456a..0000000000 --- a/src/ui/gui/psppire-var-sheet.h +++ /dev/null @@ -1,93 +0,0 @@ -/* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2008, 2011, 2012 Free Software Foundation, Inc. - - 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 - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef __PSPPIRE_VAR_SHEET_H__ -#define __PSPPIRE_VAR_SHEET_H__ - -/* PsppireVarSheet is a PsppSheetView that displays the variables in a - dictionary, one variable per row. - - PsppireDataSheet is usually a child of PsppireDataEditor in the widget - hierarchy. Other widgets can also use it. */ - -#include -#include "data/format.h" -#include "ui/gui/pspp-sheet-view.h" - - -G_BEGIN_DECLS - -#define PSPPIRE_TYPE_FMT_USE (psppire_fmt_use_get_type ()) - -GType psppire_fmt_use_get_type (void) G_GNUC_CONST; - -#define PSPPIRE_VAR_SHEET_TYPE (psppire_var_sheet_get_type ()) -#define PSPPIRE_VAR_SHEET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSPPIRE_VAR_SHEET_TYPE, PsppireVarSheet)) -#define PSPPIRE_VAR_SHEET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PSPPIRE_VAR_SHEET_TYPE, PsppireVarSheetClass)) -#define PSPPIRE_IS_VAR_SHEET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_VAR_SHEET_TYPE)) -#define PSPPIRE_IS_VAR_SHEET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_VAR_SHEET_TYPE)) - - -typedef struct _PsppireVarSheet PsppireVarSheet; -typedef struct _PsppireVarSheetClass PsppireVarSheetClass; - -struct _PsppireVarSheet -{ - PsppSheetView parent; - - gboolean may_create_vars; - gboolean may_delete_vars; - enum fmt_use format_use; - - struct _PsppireDict *dict; - struct val_labs_dialog *val_labs_dialog; - struct missing_val_dialog *missing_val_dialog; - struct var_type_dialog *var_type_dialog; - - gulong scroll_to_bottom_signal; - gulong *dict_signals; - - GtkBuilder *builder; - - GtkWidget *container; - gulong on_switch_page_handler; -}; - -struct _PsppireVarSheetClass -{ - PsppSheetViewClass parent_class; -}; - -GType psppire_var_sheet_get_type (void); -GtkWidget* psppire_var_sheet_new (void); - -struct _PsppireDict *psppire_var_sheet_get_dictionary (PsppireVarSheet *); -void psppire_var_sheet_set_dictionary (PsppireVarSheet *, - struct _PsppireDict *); - -gboolean psppire_var_sheet_get_may_create_vars (PsppireVarSheet *); -void psppire_var_sheet_set_may_create_vars (PsppireVarSheet *, gboolean); - -gboolean psppire_var_sheet_get_may_delete_vars (PsppireVarSheet *); -void psppire_var_sheet_set_may_delete_vars (PsppireVarSheet *, gboolean); - -void psppire_var_sheet_goto_variable (PsppireVarSheet *, int dict_index); - -GtkUIManager *psppire_var_sheet_get_ui_manager (PsppireVarSheet *); - -G_END_DECLS - -#endif /* __PSPPIRE_VAR_SHEET_H__ */