X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgtksheet%2Fgsheet-row-iface.h;h=3917b0319a8cac52edaff5ff77ea929666c737c4;hb=126058e908535d8b69a3e9d9d38c757a7fa970b3;hp=9b75ba5509e531c74d99c051afb9443253ccc61e;hpb=e294a372f351d7105c21a2db58022af8b119aa64;p=pspp diff --git a/lib/gtksheet/gsheet-row-iface.h b/lib/gtksheet/gsheet-row-iface.h index 9b75ba5509..3917b0319a 100644 --- a/lib/gtksheet/gsheet-row-iface.h +++ b/lib/gtksheet/gsheet-row-iface.h @@ -1,4 +1,4 @@ -/* GSheetRow --- an abstract model of the row geometry of a +/* GSheetRow --- an abstract model of the row geometry of a * GSheet widget. * Copyright (C) 2006 Free Software Foundation * @@ -37,7 +37,7 @@ G_BEGIN_DECLS -typedef struct _GSheetRow GSheetRow; +typedef struct _GSheetRow GSheetRow; typedef struct _GSheetRowIface GSheetRowIface; struct _GSheetRowIface @@ -51,31 +51,33 @@ struct _GSheetRowIface /* Virtual Table */ gint (* get_height) (const GSheetRow *grow, gint row, gpointer); - void (* set_height) (GSheetRow *grow, gint row, gint height, + void (* set_height) (GSheetRow *grow, gint row, gint height, gpointer); - gboolean (* get_visibility) (const GSheetRow *grow, gint row, + gboolean (* get_visibility) (const GSheetRow *grow, gint row, gpointer); - gboolean (* get_sensitivity) (const GSheetRow *grow, gint row, + gboolean (* get_sensitivity) (const GSheetRow *grow, gint row, gpointer); - const GtkSheetButton * (* get_button) (const GSheetRow *grow, gint row, + const GtkSheetButton * (* get_button) (const GSheetRow *grow, gint row, gpointer); gint (* get_row_count) (const GSheetRow *geo, gpointer); - GtkStateType (*get_button_state)(const GSheetRow *geo, gint row, + GtkStateType (*get_button_state)(const GSheetRow *geo, gint row, gpointer); - gchar * (*get_button_label)(const GSheetRow *geo, gint row, + gchar * (*get_button_label)(const GSheetRow *geo, gint row, gpointer); - gboolean (*get_button_visibility)(const GSheetRow *geo, + gchar * (*get_subtitle) (const GSheetRow *geo, gint row); + + gboolean (*get_button_visibility)(const GSheetRow *geo, gint row, gpointer); - const GtkSheetChild * (*get_button_child)(const GSheetRow *geo, + const GtkSheetChild * (*get_button_child)(const GSheetRow *geo, gint row, gpointer); guint (*top_ypixel)(const GSheetRow *geo, gint row, gpointer); @@ -108,18 +110,21 @@ GtkSheetButton *g_sheet_row_get_button(const GSheetRow *grow, gint g_sheet_row_get_row_count(const GSheetRow *geo, gpointer); /* Return the top pixel of row ROW */ -gint g_sheet_row_start_pixel(const GSheetRow *geo, gint row, +gint g_sheet_row_start_pixel(const GSheetRow *geo, gint row, gpointer); /* Return the row contained by pixel PIXEL */ -gint g_sheet_row_pixel_to_row(const GSheetRow *geo, gint pixel, +gint g_sheet_row_pixel_to_row(const GSheetRow *geo, gint pixel, gpointer); -void g_sheet_row_rows_deleted(GSheetRow *geo, +void g_sheet_row_rows_deleted(GSheetRow *geo, gint first, gint n_rows); +gchar *g_sheet_row_get_subtitle (const GSheetRow *row_geo, gint row); + + G_END_DECLS #endif /* __G_SHEET_ROW_IFACE_H__ */