X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-var-sheet.h;h=6a57cc6de9cd38c5c64f730d030e1dfbc3658a91;hb=ecad37996f533d5cd8348ad68659470e821f5ebd;hp=97efcf456ad1a2450c6192a8f608f0889dd6ce05;hpb=0fe886a656b0ee57b4d542b7c16b3c56288b6fc6;p=pspp diff --git a/src/ui/gui/psppire-var-sheet.h b/src/ui/gui/psppire-var-sheet.h index 97efcf456a..6a57cc6de9 100644 --- a/src/ui/gui/psppire-var-sheet.h +++ b/src/ui/gui/psppire-var-sheet.h @@ -44,6 +44,15 @@ GType psppire_fmt_use_get_type (void) G_GNUC_CONST; typedef struct _PsppireVarSheet PsppireVarSheet; typedef struct _PsppireVarSheetClass PsppireVarSheetClass; +enum +{ + PSPPIRE_VAR_SHEET_BACKEND_CHANGED, + PSPPIRE_VAR_SHEET_VARIABLE_CHANGED, + PSPPIRE_VAR_SHEET_VARIABLE_INSERTED, + PSPPIRE_VAR_SHEET_VARIABLE_DELETED, + PSPPIRE_VAR_SHEET_N_SIGNALS + }; + struct _PsppireVarSheet { PsppSheetView parent; @@ -53,17 +62,14 @@ struct _PsppireVarSheet 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; + gulong dict_signals[PSPPIRE_VAR_SHEET_N_SIGNALS]; GtkWidget *container; gulong on_switch_page_handler; + + gboolean dispose_has_run; }; struct _PsppireVarSheetClass @@ -85,8 +91,9 @@ 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); +void psppire_var_sheet_insert_variable (PsppireVarSheet *var_sheet); +void psppire_var_sheet_clear_variables (PsppireVarSheet *var_sheet); -GtkUIManager *psppire_var_sheet_get_ui_manager (PsppireVarSheet *); G_END_DECLS