|  |  |  | Evolution Utilities Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct ETableSpecification; ETableSpecification * e_table_specification_new (const gchar *filename,GError **error); const gchar * e_table_specification_get_filename (ETableSpecification *specification); GPtrArray * e_table_specification_ref_columns (ETableSpecification *specification); gint e_table_specification_get_column_index (ETableSpecification *specification,ETableColumnSpecification *column_spec);
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.
| 
 | a table specification file | 
| 
 | return location for a GError, or NULL | 
| Returns : | an ETableSpecification, or NULL | 
const gchar *       e_table_specification_get_filename  (ETableSpecification *specification);
Returns the filename from which specification was loaded.
| 
 | an ETableSpecification | 
| Returns : | the table specification filename | 
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.
| 
 | an ETableSpecification | 
| Returns : | a GPtrArray of ETableColumnSpecification instances | 
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.
| 
 | an ETableSpecification | 
| 
 | an ETableColumnSpecification | 
| Returns : | the column index of column_spec, or a negative value | 
"filename" property"filename" gchar* : Read / Write / Construct Only
Name of the table specification file.
Default value: NULL