X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgtk-contrib%2Fpsppire-sheet.h;h=55724cc39046d1475dd0b6ed01412a7bd13921de;hb=2afd4629165ac5605142cfbe7a1a3607419cb81d;hp=82de87bed5659a21088ab347ce10d799278c2574;hpb=a1efcf97ca2f75f4be6a0389ff2372c03ed2d4e1;p=pspp-builds.git diff --git a/lib/gtk-contrib/psppire-sheet.h b/lib/gtk-contrib/psppire-sheet.h index 82de87be..55724cc3 100644 --- a/lib/gtk-contrib/psppire-sheet.h +++ b/lib/gtk-contrib/psppire-sheet.h @@ -53,7 +53,7 @@ G_BEGIN_DECLS -/* sheet->state */ +/* sheet->select_status */ enum { PSPPIRE_SHEET_NORMAL, @@ -84,7 +84,6 @@ struct _PsppireSheetCellAttr GdkColor foreground; GdkColor background; PsppireSheetCellBorder border; - gboolean is_editable; }; struct _PsppireSheetHoverTitle @@ -128,18 +127,18 @@ struct _PsppireSheet /* The type of entry_widget */ GtkType entry_type; - /* expanding selection */ - PsppireSheetCell selection_cell; - /* global selection button */ 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; @@ -300,12 +299,6 @@ void psppire_sheet_get_active_cell (PsppireSheet *sheet, gchar *psppire_sheet_cell_get_text (const PsppireSheet *sheet, gint row, gint col); -/* get cell attributes of the given cell */ -/* TRUE means that the cell is currently allocated */ -gboolean psppire_sheet_get_attributes (const PsppireSheet *sheet, - gint row, gint col, - PsppireSheetCellAttr *attributes); - void psppire_sheet_set_model (PsppireSheet *sheet, PsppireSheetModel *model);