Top | ![]() |
![]() |
![]() |
![]() |
GXmlSerializableBoolGXmlSerializableBool — Represent any boolean property to be added as a GXmlAttribute to a GXmlElement |
gboolean | gxml_serializable_bool_get_value () |
void | gxml_serializable_bool_set_value () |
gchar * | gxml_serializable_bool_to_string () |
GXmlSerializableBool * | gxml_serializable_bool_new () |
#define | GXML_TYPE_SERIALIZABLE_BOOL |
struct | GXmlSerializableBool |
struct | GXmlSerializableBoolClass |
gboolean
gxml_serializable_bool_get_value (GXmlSerializableBool *self
);
Parse the stored value, from the XML property, to a gint. This parsing may is different from the actual stored string. If can't be parsed to a valid boolean, this method will always return false.
void gxml_serializable_bool_set_value (GXmlSerializableBool *self
,gboolean val
);
Given boolean value is parsed to string and then stored.
gchar *
gxml_serializable_bool_to_string (GXmlSerializableBool *self
);
Parse actual stored string to a boolean and returns the result. See gxml_serializable_bool_get_value()
#define GXML_TYPE_SERIALIZABLE_BOOL (gxml_serializable_bool_get_type ())
The type for GXmlSerializableBool.
struct GXmlSerializableBool { GObject parent_instance; GXmlSerializableBoolPrivate * priv; };
Represent any boolean property to be added as a GXmlAttribute to a GXmlElement
struct GXmlSerializableBoolClass { GObjectClass parent_class; };
The class structure for GXML_TYPE_SERIALIZABLE_BOOL
. All the fields in this structure are private and should never be accessed directly.