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 () |
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
.