psppire-data-sheet: Implement primary selection.
[pspp] / src / ui / gui / psppire-data-sheet.h
index a94bad7c77c88872deec64152066603dc2f89b5c..5e553ec646485f7afab5769bf04cf9161b68d56e 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+   Copyright (C) 2011, 2012, 2013 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
@@ -48,6 +48,8 @@ struct _PsppireDataSheet
   gboolean may_create_vars;
   gboolean may_delete_vars;
 
+  gboolean owns_primary_selection;
+
   guint scroll_to_bottom_signal;
   guint scroll_to_right_signal;
 
@@ -86,7 +88,7 @@ void psppire_data_sheet_set_may_create_vars (PsppireDataSheet *, gboolean);
 gboolean psppire_data_sheet_get_may_delete_vars (PsppireDataSheet *);
 void psppire_data_sheet_set_may_delete_vars (PsppireDataSheet *, gboolean);
 
-void psppire_data_sheet_show_variable (PsppireDataSheet *, gint dict_index);
+void psppire_data_sheet_goto_variable (PsppireDataSheet *, gint dict_index);
 struct variable *psppire_data_sheet_get_current_variable (const PsppireDataSheet *);
 
 void psppire_data_sheet_goto_case (PsppireDataSheet *, gint case_index);