-/* 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
*
#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
{
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);
};
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);
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