| Evolution Utilities Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct ETableState; ETableState * e_table_state_new (struct _ETableSpecification *specification); ETableState * e_table_state_vanilla (struct _ETableSpecification *specification); void e_table_state_parse_context_push (GMarkupParseContext *context,struct _ETableSpecification *specification); ETableState * e_table_state_parse_context_pop (GMarkupParseContext *context); struct _ETableSpecification * e_table_state_ref_specification (ETableState *state); gboolean e_table_state_load_from_file (ETableState *state,const gchar *filename); void e_table_state_load_from_string (ETableState *state,const gchar *xml); void e_table_state_load_from_node (ETableState *state,const xmlNode *node); void e_table_state_save_to_file (ETableState *state,const gchar *filename); gchar * e_table_state_save_to_string (ETableState *state); xmlNode * e_table_state_save_to_node (ETableState *state,xmlNode *parent); ETableState * e_table_state_duplicate (ETableState *state);
ETableState * e_table_state_vanilla (struct _ETableSpecification *specification);
void e_table_state_parse_context_push (GMarkupParseContext *context,struct _ETableSpecification *specification);
Creates a new ETableState from a segment of XML data being fed to
context. Call this function for the appropriate opening tag from the
start_element callback of a GMarkupParser,
then call e_table_state_parse_context_pop() for the corresponding
closing tag from the end_element callback.
|
a GMarkupParseContext |
|
an ETableSpecification |
ETableState * e_table_state_parse_context_pop (GMarkupParseContext *context);
Creates a new ETableState from a segment of XML data being fed to
context. Call e_table_state_parse_context_push() for the appropriate
opening tag from the start_element callback of
a GMarkupParser, then call this function for the corresponding closing
tag from the end_element callback.
Unreference the newly-created ETableState with g_object_unref() when
finished with it.
|
a GMarkupParseContext |
Returns : |
an ETableState |
struct _ETableSpecification * e_table_state_ref_specification
(ETableState *state);
Returns the ETableSpecification passed to e_table_state_new().
The returned ETableSpecification is referenced for thread-safety and must
be unreferenced with g_object_unref() when finished with it.
|
an ETableState |
Returns : |
an ETableSpecification |
gboolean e_table_state_load_from_file (ETableState *state,const gchar *filename);
void e_table_state_load_from_string (ETableState *state,const gchar *xml);
void e_table_state_load_from_node (ETableState *state,const xmlNode *node);
void e_table_state_save_to_file (ETableState *state,const gchar *filename);
xmlNode * e_table_state_save_to_node (ETableState *state,xmlNode *parent);
ETableState * e_table_state_duplicate (ETableState *state);
Creates a new ETableState cloned from state.
|
an ETableState |
Returns : |
a new ETableState |
"specification" property"specification" ETableSpecification* : Read / Write / Construct Only
Specification for the table state.