GData.GContactCalendar¶
- 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 |
Indicates which calendar out of a group is primary. |
||
r/w |
A free-form string that identifies the type of calendar. |
||
r/w |
A programmatic value that identifies the type of calendar. |
||
r/w |
The URI of the calendar. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class GData.GContactCalendar(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.GContactCalendarstructure are private and should never be accessed directly.New in version 0.7.0.
- classmethod new(uri, relation_type, label, is_primary)¶
- Parameters:
- Returns:
a new
GData.GContactCalendar; unref withGObject.Object.unref()- Return type:
Creates a new
GData.GContactCalendar. More information is available in the gContact specification.Exactly one of relation_type and label should be provided; the other must be
None.New in version 0.7.0.
- get_label()¶
-
Gets the
GData.GContactCalendar:labelproperty.New in version 0.7.0.
- get_relation_type()¶
-
Gets the
GData.GContactCalendar:relation-typeproperty.New in version 0.7.0.
- get_uri()¶
- Returns:
the calendar’s URI
- Return type:
Gets the
GData.GContactCalendar:uriproperty.New in version 0.7.0.
- is_primary()¶
-
Gets the
GData.GContactCalendar:is-primaryproperty.New in version 0.7.0.
- set_is_primary(is_primary)¶
-
Sets the
GData.GContactCalendar:is-primaryproperty to is_primary.New in version 0.7.0.
- set_label(label)¶
-
Sets the
GData.GContactCalendar:labelproperty to label.If label is
None, the label will be unset. When theGData.GContactCalendaris used in a query, however, exactly one ofGData.GContactCalendar:relation-typeandGData.GContactCalendar:labelmust beNone.New in version 0.7.0.
- set_relation_type(relation_type)¶
-
Sets the
GData.GContactCalendar:relation-typeproperty to relation_type, such asGData.GCONTACT_CALENDAR_HOMEorGData.GCONTACT_CALENDAR_FREE_BUSY.If relation_type is
None, the relation type will be unset. When theGData.GContactCalendaris used in a query, however, exactly one ofGData.GContactCalendar:relation-typeandGData.GContactCalendar:labelmust beNone.New in version 0.7.0.
- set_uri(uri)¶
- Parameters:
uri (
str) – the new URI for the calendar
Sets the
GData.GContactCalendar:uriproperty to uri.New in version 0.7.0.
Property Details¶
- GData.GContactCalendar.props.is_primary¶
-
Indicates which calendar out of a group is primary.
For more information, see the
New in version 0.7.0.
- GData.GContactCalendar.props.label¶
-
A free-form string that identifies the type of calendar. It is mutually exclusive with
GData.GContactCalendar:relation-type.For more information, see the
New in version 0.7.0.
- GData.GContactCalendar.props.relation_type¶
-
A programmatic value that identifies the type of calendar. It is mutually exclusive with
GData.GContactCalendar:label. Examples areGData.GCONTACT_CALENDAR_HOMEorGData.GCONTACT_CALENDAR_FREE_BUSY.For more information, see the
New in version 0.7.0.