gpointer (*AttributeStringToPointerFn) (const gchar*);
gchar* (*AttributePointerToStringFn) (gpointer);
void (*AttributePointerDestroyFn) (gpointer);
xmlNodePtr (*AttributeCustomExportFn) (GuppiXMLDocument*,
gpointer);
gpointer (*AttributeCustomImportFn) (GuppiXMLDocument*,
xmlNodePtr);
#define GUPPI_ATTRIBUTES0 (obj)
#define GUPPI_IS_ATTRIBUTES0 (obj)
GuppiAttributes* guppi_attributes_new (void);
gboolean guppi_attributes_check_type (GuppiAttributes*,
const gchar *name,
const gchar *type);
void guppi_attributes_declare_full (GuppiAttributes*,
const gchar *name,
const gchar *type,
AttributeStringToPointerFn s2p,
AttributePointerToStringFn p2s,
AttributePointerDestroyFn pdest);
void guppi_attributes_declare_full_custom
(GuppiAttributes*,
const gchar *name,
const gchar *type,
AttributeCustomExportFn c_export,
AttributeCustomImportFn c_import,
AttributePointerDestroyFn pdest);
void guppi_attributes_undeclare (GuppiAttributes*,
const gchar *name);
gboolean guppi_attributes_declared (GuppiAttributes*,
const gchar *name);
gpointer guppi_attributes_get_raw (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_raw (GuppiAttributes*,
const gchar *name,
gpointer);
gboolean guppi_attributes_is_undef (GuppiAttributes*,
const gchar *name);
gboolean guppi_attributes_is_defined (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_undef (GuppiAttributes*,
const gchar *name);
void guppi_attributes_declare_string (GuppiAttributes*,
const gchar *name);
const gchar* guppi_attributes_get_string (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_string (GuppiAttributes*,
const gchar *name,
const gchar *str);
void guppi_attributes_declare_int (GuppiAttributes*,
const gchar *name);
gint guppi_attributes_get_int (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_int (GuppiAttributes*,
const gchar *name,
gint n);
void guppi_attributes_declare_uint32 (GuppiAttributes*,
const gchar *name);
guint32 guppi_attributes_get_uint32 (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_uint32 (GuppiAttributes*,
const gchar *name,
guint32 n);
void guppi_attributes_declare_double (GuppiAttributes*,
const gchar *name);
double guppi_attributes_get_double (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_double (GuppiAttributes*,
const gchar *name,
double x);
void guppi_attributes_declare_boolean
(GuppiAttributes*,
const gchar *name);
gboolean guppi_attributes_get_boolean (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_boolean (GuppiAttributes*,
const gchar *name,
gboolean);
void guppi_attributes_declare_date (GuppiAttributes*,
const gchar *name);
const GDate* guppi_attributes_get_date (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_date (GuppiAttributes*,
const gchar *name,
const GDate *dt);
void guppi_attributes_declare_rgb (GuppiAttributes*,
const gchar *name);
guint32 guppi_attributes_get_rgb (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_rgb (GuppiAttributes*,
const gchar *name,
guint32);
void guppi_attributes_declare_rgba (GuppiAttributes*,
const gchar *name);
guint32 guppi_attributes_get_rgba (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_rgba (GuppiAttributes*,
const gchar *name,
guint32);
void guppi_attributes_declare_font (GuppiAttributes*,
const gchar *name);
GnomeFont* guppi_attributes_get_font (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_font (GuppiAttributes*,
const gchar *name,
GnomeFont*);
void guppi_attributes_declare_unique_id
(GuppiAttributes*,
const gchar *name);
guppi_uniq_t guppi_attributes_get_unique_id (GuppiAttributes*,
const gchar *name);
void guppi_attributes_set_unique_id (GuppiAttributes*,
const gchar *name,
guppi_uniq_t);
xmlNodePtr guppi_attributes_export_xml (GuppiAttributes*,
GuppiXMLDocument*);
void guppi_attributes_import_xml (GuppiAttributes*,
GuppiXMLDocument*,
xmlNodePtr);
|