Zeitgeist.DataSource

g GObject.Object GObject.Object Zeitgeist.DataSource Zeitgeist.DataSource GObject.Object->Zeitgeist.DataSource

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

from_variant (variant, reset_running)

class

full (unique_id, name, description, templates)

class

new ()

get_description ()

get_enabled ()

get_event_templates ()

get_name ()

get_running ()

get_timestamp ()

get_unique_id ()

set_description (value)

set_enabled (value)

set_event_templates (value)

set_name (value)

set_running (value)

set_timestamp (value)

set_unique_id (value)

to_variant ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

description

str

r/w

description

enabled

bool

r/w

enabled

event-templates

GLib.PtrArray

r/w

event-templates

name

str

r/w

name

running

bool

r/w

running

timestamp

int

r/w

timestamp

unique-id

str

r/w

unique-id

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Zeitgeist.DataSource(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Zeitgeist.DataSourceClass

classmethod from_variant(variant, reset_running)
Parameters:
Raises:

GLib.Error

Return type:

Zeitgeist.DataSource

classmethod full(unique_id, name, description, templates)
Parameters:
Return type:

Zeitgeist.DataSource

classmethod new()
Return type:

Zeitgeist.DataSource

get_description()
Return type:

str

get_enabled()
Return type:

bool

get_event_templates()
Return type:

[Zeitgeist.Event] or None

get_name()
Return type:

str

get_running()
Return type:

bool

get_timestamp()
Return type:

int

get_unique_id()
Return type:

str

set_description(value)
Parameters:

value (str) –

set_enabled(value)
Parameters:

value (bool) –

set_event_templates(value)
Parameters:

value ([Zeitgeist.Event] or None) –

set_name(value)
Parameters:

value (str) –

set_running(value)
Parameters:

value (bool) –

set_timestamp(value)
Parameters:

value (int) –

set_unique_id(value)
Parameters:

value (str) –

to_variant()
Return type:

GLib.Variant

Property Details

Zeitgeist.DataSource.props.description
Name:

description

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

description

Zeitgeist.DataSource.props.enabled
Name:

enabled

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

enabled

Zeitgeist.DataSource.props.event_templates
Name:

event-templates

Type:

GLib.PtrArray

Default Value:

None

Flags:

READABLE, WRITABLE

event-templates

Zeitgeist.DataSource.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

name

Zeitgeist.DataSource.props.running
Name:

running

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

running

Zeitgeist.DataSource.props.timestamp
Name:

timestamp

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

timestamp

Zeitgeist.DataSource.props.unique_id
Name:

unique-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

unique-id