GData.GDWhere¶
- Subclasses:
None
Methods¶
- Inherited:
GData.Parsable (5), GObject.Object (37), GData.Comparable (1)
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
GData.Parsable (9), GObject.Object (7), GData.Comparable (1)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Specifies a user-readable label to distinguish this location from others. |
||
r/w |
Specifies the relationship between the container and the containee. |
||
r/w |
A simple string representation of this location. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.GDWhere(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.GDWhere
structure are private and should never be accessed directly.New in version 0.2.0.
- classmethod new(relation_type, value_string, label)¶
- Parameters:
- Returns:
a new
GData.GDWhere
; unref withGObject.Object.unref
()- Return type:
Creates a new
GData.GDWhere
. More information is available in the GData specification.Currently, entryLink functionality is not implemented in
GData.GDWhere
.New in version 0.2.0.
- get_label()¶
-
Gets the
GData.GDWhere
:label
property.New in version 0.4.0.
- get_relation_type()¶
-
Gets the
GData.GDWhere
:relation-type
property.New in version 0.4.0.
- get_value_string()¶
-
Gets the
GData.GDWhere
:value-string
property.New in version 0.4.0.
- set_label(label)¶
-
Sets the
GData.GDWhere
:label
property to label.Set label to
None
to unset the property.New in version 0.4.0.
- set_relation_type(relation_type)¶
-
Sets the
GData.GDWhere
:relation-type
property to relation_type.Set relation_type to
None
to unset the property.New in version 0.4.0.
- set_value_string(value_string)¶
-
Sets the
GData.GDWhere
:value-string
property to value_string.Set value_string to
None
to unset the property.New in version 0.4.0.
Property Details¶
- GData.GDWhere.props.label¶
-
Specifies a user-readable label to distinguish this location from others.
For more information, see the
New in version 0.4.0.
- GData.GDWhere.props.relation_type¶
-
Specifies the relationship between the containing entity and the contained location. For example:
GData.GD_WHERE_EVENT
orGData.GD_WHERE_EVENT_PARKING
.For more information, see the
New in version 0.4.0.