row, column);
}
-/**
- * g_sheet_model_is_visible:
- * @sheet_model: A #GSheetModel
- * @row: The row
- * @column: The column
- *
- * Returns: TRUE if the cell is visible, FALSE otherwise
- **/
-gboolean
-g_sheet_model_is_visible (const GSheetModel *model,
- glong row, glong column)
-{
- g_return_val_if_fail (G_IS_SHEET_MODEL (model), TRUE);
-
- if ( ! G_SHEET_MODEL_GET_IFACE (model)->is_visible )
- return TRUE;
-
- return G_SHEET_MODEL_GET_IFACE (model)->is_visible (model,
- row, column);
-}
-
/**
* g_sheet_model_get_foreground:
gboolean (* clear_datum) (GSheetModel *sheet_model,
glong row, glong column);
- gboolean (* is_visible) (const GSheetModel *sheet_model, glong row, glong column);
gboolean (* is_editable) (const GSheetModel *sheet_model, glong row, glong column);
GdkColor * (* get_foreground) (const GSheetModel *sheet_model,
if ( ! text )
text = g_strdup ("");
- gtk_entry_set_visibility (sheet_entry, attributes.is_visible);
-
-
if ( GTK_IS_ENTRY (sheet_entry))
{
const gchar *old_text = gtk_entry_get_text (GTK_ENTRY (sheet_entry));
attr->font_desc = GTK_WIDGET (sheet)->style->font_desc;
attr->is_editable = g_sheet_model_is_editable (sheet->model, row, col);
- attr->is_visible = g_sheet_model_is_visible (sheet->model, row, col);
-
colormap = gtk_widget_get_colormap (GTK_WIDGET (sheet));
fg = g_sheet_model_get_foreground (sheet->model, row, col);
GdkColor background;
GtkSheetCellBorder border;
gboolean is_editable;
- gboolean is_visible;
};
struct _GtkSheetHoverTitle
iface->set_string = psppire_data_store_set_string_wrapper;
iface->clear_datum = psppire_data_store_clear_datum;
iface->is_editable = NULL;
- iface->is_visible = NULL;
iface->get_foreground = NULL;
iface->get_background = NULL;
iface->get_font_desc = psppire_data_store_get_font_desc;
iface->set_string = psppire_var_store_set_string;
iface->clear_datum = psppire_var_store_clear;
iface->is_editable = psppire_var_store_is_editable;
- iface->is_visible = NULL;
iface->get_foreground = psppire_var_store_get_foreground;
iface->get_background = NULL;
iface->get_font_desc = psppire_var_store_get_font_desc;