projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added menuitem to display the PSPP reference manual.
[pspp-builds.git]
/
src
/
ui
/
gui
/
var-sheet.h
diff --git
a/src/ui/gui/var-sheet.h
b/src/ui/gui/var-sheet.h
index 09bcb728734d638f41387f72f6231f7b43e883b4..0fabaa82aea271dfad16c4d2a1fe59552e570996 100644
(file)
--- a/
src/ui/gui/var-sheet.h
+++ b/
src/ui/gui/var-sheet.h
@@
-1,7
+1,6
@@
-/*
+/*
PSPPIRE --- A Graphical User Interface for PSPP
Copyright (C) 2004, 2005, 2006 Free Software Foundation
PSPPIRE --- A Graphical User Interface for PSPP
Copyright (C) 2004, 2005, 2006 Free Software Foundation
- Written by John Darrington
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
@@
-22,38
+21,41
@@
#ifndef VAR_SHEET_H
#define VAR_SHEET_H
#ifndef VAR_SHEET_H
#define VAR_SHEET_H
-#include
"gtksheet.h"
+#include
<gtksheet/gtksheet.h>
#include "psppire-dict.h"
#include "psppire-dict.h"
-enum {COL_NAME,
- COL_TYPE,
- COL_WIDTH,
- COL_DECIMALS,
- COL_LABEL,
- COL_VALUES,
- COL_MISSING,
- COL_COLUMNS,
- COL_ALIGN,
- COL_MEASURE,
+enum {COL_NAME,
+ COL_TYPE,
+ COL_WIDTH,
+ COL_DECIMALS,
+ COL_LABEL,
+ COL_VALUES,
+ COL_MISSING,
+ COL_COLUMNS,
+ COL_ALIGN,
+ COL_MEASURE,
n_COLS};
n_COLS};
-void var_sheet_range_set_editable
(GtkSheet *sheet,
- const GtkSheetRange *urange,
+void var_sheet_range_set_editable
(GtkSheet *sheet,
+ const GtkSheetRange *urange,
gboolean editable);
/* Create the var sheet */
gboolean editable);
/* Create the var sheet */
-GtkWidget* psppire_variable_sheet_create (gchar *widget_name,
- gchar *string1,
+GtkWidget* psppire_variable_sheet_create (gchar *widget_name,
+ gchar *string1,
gchar *string2,
gint int1, gint int2);
gchar *string2,
gint int1, gint int2);
+#define n_ALIGNMENTS 3
-extern const gchar *
alignments[
];
+extern const gchar *
const alignments[n_ALIGNMENTS + 1
];
-extern const gchar *measures[];
+#define n_MEASURES 3
+
+extern const gchar *const measures[n_MEASURES + 1];
#endif
#endif