|  |  |  | GData Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include <gdata/gd/gdata-gd-where.h>
                    GDataGDWhere;
                    GDataGDWhereClass;
GDataGDWhere *      gdata_gd_where_new                  (const gchar *relation_type,
                                                         const gchar *value_string,
                                                         const gchar *label);
gint                gdata_gd_where_compare              (const GDataGDWhere *a,
                                                         const GDataGDWhere *b);
const gchar *       gdata_gd_where_get_relation_type    (GDataGDWhere *self);
void                gdata_gd_where_set_relation_type    (GDataGDWhere *self,
                                                         const gchar *relation_type);
const gchar *       gdata_gd_where_get_value_string     (GDataGDWhere *self);
void                gdata_gd_where_set_value_string     (GDataGDWhere *self,
                                                         const gchar *value_string);
const gchar *       gdata_gd_where_get_label            (GDataGDWhere *self);
void                gdata_gd_where_set_label            (GDataGDWhere *self,
                                                         const gchar *label);
"label" gchar* : Read / Write "relation-type" gchar* : Read / Write "value-string" gchar* : Read / Write
typedef struct _GDataGDWhere GDataGDWhere;
All the fields in the GDataGDWhere structure are private and should never be accessed directly.
Since 0.2.0
typedef struct {
} GDataGDWhereClass;
All the fields in the GDataGDWhereClass structure are private and should never be accessed directly.
Since 0.4.0
GDataGDWhere * gdata_gd_where_new (const gchar *relation_type,const gchar *value_string,const gchar *label);
Creates a new GDataGDWhere. More information is available in the GData specification.
Currently, entryLink functionality is not implemented in GDataGDWhere.
| 
 | the relationship between the item and this place, or NULL | 
| 
 | a string to represent the place, or NULL | 
| 
 | a human-readable label for the place, or NULL | 
| Returns : | a new GDataGDWhere; unref with g_object_unref() | 
Since 0.2.0
gint gdata_gd_where_compare (const GDataGDWhere *a,const GDataGDWhere *b);
Compares the two places in a strcmp() fashion. NULL values are handled gracefully, with
0 returned if both a and b are NULL, -1 if a is NULL
and 1 if b is NULL.
The comparison of non-NULL values is done on the basis of the label and value_string properties of the GDataGDWheres.
| 
 | a GDataGDWhere, or NULL | 
| 
 | another GDataGDWhere, or NULL | 
| Returns : | 0ifaequalsb,-1or1as
appropriate otherwise | 
Since 0.4.0
const gchar *       gdata_gd_where_get_relation_type    (GDataGDWhere *self);
Gets the "relation-type" property.
| 
 | a GDataGDWhere | 
| Returns : | the relation type, or NULL | 
Since 0.4.0
void gdata_gd_where_set_relation_type (GDataGDWhere *self,const gchar *relation_type);
Sets the "relation-type" property to relation_type.
Set relation_type to NULL to unset the property.
| 
 | a GDataGDWhere | 
| 
 | the new relation type | 
Since 0.4.0
const gchar *       gdata_gd_where_get_value_string     (GDataGDWhere *self);
Gets the "value-string" property.
| 
 | a GDataGDWhere | 
| Returns : | the value string, or NULL | 
Since 0.4.0
void gdata_gd_where_set_value_string (GDataGDWhere *self,const gchar *value_string);
Sets the "value-string" property to value_string.
Set value_string to NULL to unset the property.
| 
 | a GDataGDWhere | 
| 
 | the new value string, or NULL | 
Since 0.4.0
const gchar *       gdata_gd_where_get_label            (GDataGDWhere *self);
Gets the "label" property.
| 
 | a GDataGDWhere | 
| Returns : | the label, or NULL | 
Since 0.4.0
void gdata_gd_where_set_label (GDataGDWhere *self,const gchar *label);
Sets the "label" property to label.
Set label to NULL to unset the property.
| 
 | a GDataGDWhere | 
| 
 | the new label, or NULL | 
Since 0.4.0
"label" property"label" gchar* : Read / Write
Specifies a user-readable label to distinguish this location from other locations.
For more information, see the GData specification.
Default value: NULL
Since 0.4.0
"relation-type" property"relation-type" gchar* : Read / Write
Specifies the relationship between the containing entity and the contained location.
For more information, see the GData specification.
Default value: NULL
Since 0.4.0
"value-string" property"value-string" gchar* : Read / Write
A simple string value that can be used as a representation of this location.
For more information, see the GData specification.
Default value: NULL
Since 0.4.0