Fix bug inserting rows and columns and rename state variable.
[pspp-builds.git] / lib / gtk-contrib / psppire-sheet.h
index 8e83765cbcfb63494a429978d64162f10f45870c..e3f77aa82e932b13cb864a6c9d66cf2f66dab1ff 100644 (file)
@@ -53,7 +53,7 @@
 
 G_BEGIN_DECLS
 
-/* sheet->state */
+/* sheet->select_status */
 enum
 {
   PSPPIRE_SHEET_NORMAL,
@@ -134,11 +134,14 @@ struct _PsppireSheet
   GtkWidget *button;
 
   /* sheet state */
-  gint state;
+  gint select_status;
 
   /* selected range */
   PsppireSheetRange range;
 
+  /* The space between a cell's contents and its border */
+  GtkBorder *cell_padding;
+
   /* the scrolling window and its height and width to
    * make things a little speedier */
   GdkWindow *sheet_window;