Added a tooltip like feature to display variables' labels when the mouse hovers
[pspp-builds.git] / lib / gtksheet / gsheet-column-iface.h
index 3bcab803c1c19aad79c5c0d206ae2d383cc95b73..6526cdffbfa7a589e46205e0a74211e5e285fb29 100644 (file)
@@ -1,4 +1,4 @@
-/* GSheetColumn --- an abstract model of the column geometry of a 
+/* GSheetColumn --- an abstract model of the column geometry of a
  * GSheet widget.
  * Copyright (C) 2006 Free Software Foundation
  *
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
 #define G_SHEET_COLUMN_GET_IFACE(obj)  (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_SHEET_COLUMN, GSheetColumnIface))
 
 
-typedef struct _GSheetColumn        GSheetColumn; 
+typedef struct _GSheetColumn        GSheetColumn;
 typedef struct _GSheetColumnIface   GSheetColumnIface;
 struct _GSheetColumnIface
 {
@@ -72,11 +72,13 @@ struct _GSheetColumnIface
 
   GtkStateType  (*get_button_state)(const GSheetColumn *geo, gint col);
   gchar * (*get_button_label)(const GSheetColumn *geo, gint col);
-  gboolean      (*get_button_visibility)(const GSheetColumn *geo, 
+  gchar * (*get_subtitle)(const GSheetColumn *geo, gint col);
+
+  gboolean      (*get_button_visibility)(const GSheetColumn *geo,
                                        gint col);
-  const GtkSheetChild * (*get_button_child)(const GSheetColumn *geo, 
+  const GtkSheetChild * (*get_button_child)(const GSheetColumn *geo,
                                           gint col);
-  GtkJustification * (*get_button_justification)(const GSheetColumn *geo, 
+  GtkJustification * (*get_button_justification)(const GSheetColumn *geo,
                                                gint col);
 };
 
@@ -102,6 +104,8 @@ inline gboolean  g_sheet_column_get_sensitivity(const GSheetColumn *gcolumn,
 inline GtkSheetButton *g_sheet_column_get_button(const GSheetColumn *gcolumn,
                                             gint col);
 
+gchar *g_sheet_column_get_subtitle (const GSheetColumn *, gint);
+
 inline GtkJustification g_sheet_column_get_justification(const GSheetColumn *gcolumn, gint col);
 
 
@@ -123,7 +127,7 @@ inline gint  g_sheet_column_get_column_count(const GSheetColumn *geo);
 
 inline gint  g_sheet_column_start_pixel(const GSheetColumn *geo, gint col);
 
-inline void g_sheet_column_columns_changed(GSheetColumn *geo, 
+inline void g_sheet_column_columns_changed(GSheetColumn *geo,
                                           gint first, gint n_columns);
 
 G_END_DECLS