pspp-sheet-view: Start editing upon button release, not press.
[pspp] / src / ui / gui / pspp-sheet-private.h
index 4658955b0007d287f3761e431d943ac4789ba05b..8a258b2df2d269bfaba8d698ca81d872ec60a6bb 100644 (file)
@@ -144,6 +144,7 @@ struct _PsppSheetViewPrivate
   gint pressed_button;
   gint press_start_x;
   gint press_start_y;
+  gint press_start_node;
 
   gint event_last_x;
   gint event_last_y;
@@ -164,6 +165,7 @@ struct _PsppSheetViewPrivate
   gint n_columns;
   GList *columns;
   gint header_height;
+  gint n_selected_columns;
 
   PsppSheetViewColumnDropFunc column_drop_func;
   gpointer column_drop_func_data;
@@ -212,6 +214,9 @@ struct _PsppSheetViewPrivate
 
   int rubber_band_end_node;
 
+  /* Rectangular selection. */
+  PsppSheetViewColumn *anchor_column; /* XXX needs to be a weak pointer? */
+
   /* fixed height */
   gint fixed_height;