GData.GContactJot

g GData.GContactJot GData.GContactJot GData.Parsable GData.Parsable GData.Parsable->GData.GContactJot GObject.Object GObject.Object GObject.Object->GData.Parsable

Subclasses:

None

Methods

Inherited:

GData.Parsable (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (content, relation_type)

get_content ()

get_relation_type ()

set_content (content)

set_relation_type (relation_type)

Virtual Methods

Inherited:

GData.Parsable (9), GObject.Object (7)

Properties

Inherited:

GData.Parsable (1)

Name

Type

Flags

Short Description

content

str

r/w

The content of the jot.

relation-type

str

r/w

A programmatic value that identifies the type of jot.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Parsable

r

Class Details

class GData.GContactJot(**kwargs)
Bases:

GData.Parsable

Abstract:

No

Structure:

GData.GContactJotClass

All the fields in the GData.GContactJot structure are private and should never be accessed directly.

New in version 0.7.0.

classmethod new(content, relation_type)
Parameters:
  • content (str) – the content of the jot

  • relation_type (str) – the relationship between the jot and its owner

Returns:

a new GData.GContactJot; unref with GObject.Object.unref()

Return type:

GData.GContactJot

Creates a new GData.GContactJot. More information is available in the gContact specification.

New in version 0.7.0.

get_content()
Returns:

the jot’s content

Return type:

str

Gets the GData.GContactJot :content property.

New in version 0.7.0.

get_relation_type()
Returns:

the jot’s relation type

Return type:

str

Gets the GData.GContactJot :relation-type property.

New in version 0.7.0.

set_content(content)
Parameters:

content (str) – the new content

Sets the GData.GContactJot :content property to content.

New in version 0.7.0.

set_relation_type(relation_type)
Parameters:

relation_type (str) – the new relation type for the jot, or None

Sets the GData.GContactJot :relation-type property to relation_type such as GData.GCONTACT_JOT_HOME or GData.GCONTACT_JOT_OTHER.

New in version 0.7.0.

Property Details

GData.GContactJot.props.content
Name:

content

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The content of the jot.

For more information, see the

gContact specification.

New in version 0.7.0.

GData.GContactJot.props.relation_type
Name:

relation-type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

A programmatic value that identifies the type of jot. Examples are GData.GCONTACT_JOT_HOME or GData.GCONTACT_JOT_OTHER.

For more information, see the

gContact specification.

New in version 0.7.0.