Top | ![]() |
![]() |
![]() |
![]() |
ETableSpecification * | e_table_specification_new () |
const gchar * | e_table_specification_get_filename () |
GPtrArray * | e_table_specification_ref_columns () |
gint | e_table_specification_get_column_index () |
ETableColumnSpecification * | e_table_specification_get_column_by_model_col () |
ETableSpecification * e_table_specification_new (const gchar *filename
,GError **error
);
Creates a new ETableSpecification from filename
. If a file or parse
error occurs, the function sets error
and returns NULL
.
const gchar *
e_table_specification_get_filename (ETableSpecification *specification
);
Returns the filename from which specification
was loaded.
GPtrArray *
e_table_specification_ref_columns (ETableSpecification *specification
);
Returns a GPtrArray containing ETableColumnSpecification instances for
all columns defined by specification
. The array contents are owned by
the specification
and should not be modified. Unreference the array
with g_ptr_array_unref()
when finished with it.
gint e_table_specification_get_column_index (ETableSpecification *specification
,ETableColumnSpecification *column_spec
);
Returns the zero-based index of column_spec
within specification
,
or a negative value if column_spec
is not defined by specification
.
ETableColumnSpecification * e_table_specification_get_column_by_model_col (ETableSpecification *specification
,gint model_col
);
Get an ETableColumnSpecification for the given model_col
.
an ETableColumnSpecification for the given model_col
or NULL
, when not found.
[transfer none][nullable]
Since: 3.42