typedef struct _GtkSheetClass GtkSheetClass;
typedef struct _GtkSheetCellAttr GtkSheetCellAttr;
typedef struct _GtkSheetCell GtkSheetCell;
+typedef struct _GtkSheetHoverTitle GtkSheetHoverTitle;
struct _GtkSheetCellAttr
gint col;
};
+struct _GtkSheetHoverTitle
+{
+ GtkWidget *window;
+ GtkWidget *label;
+ gint row, column;
+};
struct _GtkSheet{
GtkContainer container;
/* clipped range */
GtkSheetRange clip_range;
+
+ /* Used for the subtitle (popups) */
+ gint motion_events;
+ GtkSheetHoverTitle *hover_window;
};
struct _GtkSheetClass
gboolean
gtk_sheet_set_active_cell (GtkSheet *sheet,
gint row, gint column);
+
+/* Sets *ROW and *COLUMN to be the coordinates of the active cell.
+ ROW and/or COLUMN may be null if the caller is not interested in their
+ values */
void
gtk_sheet_get_active_cell (GtkSheet *sheet,
gint *row, gint *column);