ToutDoux : Reference manual
<<< Previous PageHomeUpNext Page >>>

TdField

Name

TdField -- Field

Synopsis

strucTdField
GtkObject*td_field_load
(XmlDoc *doc,
XmlNs *ns,
XmlNode *cur_root);
voidtd_field_add_property
(TdField *field,
gchar *property_name,
gchar *property_value);
gchar*td_field_property_value
(TdField *field,
gchar *property_name);
GtkObject*td_field_new
(void);
GList*td_field_property_value_list
(TdField *field,
gchar *property_name);
voidtd_field_destroy
(TdField *field);

Description

Details

struct TdField

struct TdField
{
gchar *name;
gchar *table_field;
gchar *comment;
GList *property_name;
GList *property_value;
};

fr: Objet champs

en: Field object

gchar *nameNom - Name
gchar *table_fieldNom du champs - Field name
gchar *commentCommentaire - Comment
GList *property_nameNom des propriétés - Properties name
GList *property_valueValeur des propriétés - Properties value

td_field_load ()

GtkObject*td_field_load
(XmlDoc *doc,
XmlNs *ns,
XmlNode *cur_root);

fr: Retourne le paramétrage du champs de module correspondant à la localisation XML

en: Returns the field parameters of module corresponding the XML location

Return value: field parameters

doc : XML document
ns : XML namespace
cur_root : XML node

td_field_add_property ()

voidtd_field_add_property
(TdField *field,
gchar *property_name,
gchar *property_value);

fr: Ajoute la propriété au paramétrage du champs

en: Adds the property to field parameters

field : field parameters
property_name : property's name
property_value : property's value

td_field_property_value ()

gchar*td_field_property_value
(TdField *field,
gchar *property_name);

fr: Retourne la valeur de la propriété du champs

en: Returns the value of field property

Return value: string

field : field parameters
property_name : property name

td_field_new ()

GtkObject*td_field_new
(void);

fr: Créé un nouveau paramétrage de champs

en: Creates new field parameters

Return value: field parameters


td_field_property_value_list ()

GList*td_field_property_value_list
(TdField *field,
gchar *property_name);

fr: Retourne la liste des valeurs de la propriété du champs

en: Returns the value list of field property

Return value: list

field : field parameters
property_name : property name

td_field_destroy ()

voidtd_field_destroy
(TdField *field);

fr: Détruit le paramétrage de champs

en: Destroys the field parameters

field : field parameters

See Also

<<< Previous PageHomeUpNext Page >>>
IndexIndex