| GData Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <gdata/gd/gdata-gd-where.h> #define GDATA_GD_WHERE_EVENT #define GDATA_GD_WHERE_EVENT_ALTERNATE #define GDATA_GD_WHERE_EVENT_PARKING GDataGDWhere; GDataGDWhereClass; GDataGDWhere * gdata_gd_where_new (const gchar *relation_type,const gchar *value_string,const gchar *label); 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
#define GDATA_GD_WHERE_EVENT "http://schemas.google.com/g/2005#event"
The relation type URI for an event location.
Since 0.7.0
#define GDATA_GD_WHERE_EVENT_ALTERNATE "http://schemas.google.com/g/2005#event.alternate"
The relation type URI for an alternate event location, such as a video conference site.
Since 0.7.0
#define GDATA_GD_WHERE_EVENT_PARKING "http://schemas.google.com/g/2005#event.parking"
The relation type URI for an event's parking lot.
Since 0.7.0
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. [allow-none]
|
|
a string to represent the place, or NULL. [allow-none]
|
|
a human-readable label for the place, or NULL. [allow-none]
|
Returns : |
a new GDataGDWhere; unref with g_object_unref()
|
Since 0.2.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, or NULL. [allow-none]
|
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. [allow-none]
|
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. [allow-none]
|
Since 0.4.0
"label" property"label" gchar* : Read / Write
Specifies a user-readable label to distinguish this location from others.
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 example: GDATA_GD_WHERE_EVENT or
GDATA_GD_WHERE_EVENT_PARKING.
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 representation of this location.
For more information, see the GData specification.
Default value: NULL
Since 0.4.0