struct BonoboUIXml;
typedef BonoboUIXmlData;
gboolean (*BonoboUIXmlCompareFn) (gpointer id_a,
gpointer id_b);
BonoboUIXmlData* (*BonoboUIXmlDataNewFn) (void);
void (*BonoboUIXmlDataFreeFn) (BonoboUIXmlData *data);
void (*BonoboUIXmlDumpFn) (BonoboUIXml *tree,
BonoboUINode *node);
void (*BonoboUIXmlAddNode) (BonoboUINode *parent,
BonoboUINode *child,
gpointer user_data);
typedef BonoboUIXmlClass;
void (*BonoboUIXmlWatchFn) (BonoboUIXml *xml,
const char *path,
BonoboUINode *opt_node,
gpointer user_data);
GtkType bonobo_ui_xml_get_type (void);
BonoboUIXml* bonobo_ui_xml_new (BonoboUIXmlCompareFn compare,
BonoboUIXmlDataNewFn data_new,
BonoboUIXmlDataFreeFn data_free,
BonoboUIXmlDumpFn dump,
BonoboUIXmlAddNode add_node,
gpointer user_data);
gpointer bonobo_ui_xml_get_data (BonoboUIXml *tree,
BonoboUINode *node);
void bonobo_ui_xml_set_dirty (BonoboUIXml *tree,
BonoboUINode *node);
void bonobo_ui_xml_clean (BonoboUIXml *tree,
BonoboUINode *node);
BonoboUINode* bonobo_ui_xml_get_path (BonoboUIXml *tree,
const char *path);
BonoboUINode* bonobo_ui_xml_get_path_wildcard
(BonoboUIXml *tree,
const char *path,
gboolean *wildcard);
char* bonobo_ui_xml_make_path (BonoboUINode *node);
char* bonobo_ui_xml_get_parent_path (const char *path);
BonoboUIError bonobo_ui_xml_merge (BonoboUIXml *tree,
const char *path,
BonoboUINode *nodes,
gpointer id);
BonoboUIError bonobo_ui_xml_rm (BonoboUIXml *tree,
const char *path,
gpointer id);
void bonobo_ui_xml_dump (BonoboUIXml *tree,
BonoboUINode *node,
const char *msg);
void bonobo_ui_xml_remove_watch_by_data
(BonoboUIXml *tree,
gpointer user_data);
void bonobo_ui_xml_add_watch (BonoboUIXml *tree,
const char *path,
gpointer user_data);
void bonobo_ui_xml_set_watch_fn (BonoboUIXml *tree,
BonoboUIXmlWatchFn watch);
|