EDataCal.CalBackendSExp

g EDataCal.CalBackendSExp EDataCal.CalBackendSExp GObject.Object GObject.Object GObject.Object->EDataCal.CalBackendSExp

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (text)

evaluate_occur_times (start, end)

lock ()

match_comp (comp, cache)

match_object (object, cache)

text ()

unlock ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class EDataCal.CalBackendSExp(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

EDataCal.CalBackendSExpClass

classmethod new(text)
Parameters:

text (str) –

Return type:

EDataCal.CalBackendSExp

evaluate_occur_times(start, end)
Parameters:
  • start (int) – Start of the time window will be stored here.

  • end (int) – End of the time window will be stored here.

Returns:

True on success, False otherwise

Return type:

bool

Determines biggest time window given by expressions “occur-in-range” in sexp.

New in version 2.32.

lock()

Locks the self. Other threads cannot use it until it’s unlocked with EDataCal.CalBackendSExp.unlock().

New in version 3.34.

match_comp(comp, cache)
Parameters:
Returns:

True if the component matches, False otherwise

Return type:

bool

Checks if comp matches self.

match_object(object, cache)
Parameters:
Returns:

True if the object matches, False otherwise

Return type:

bool

Checks if object matches self.

text()
Returns:

the text expression

Return type:

str

Retrieve the text expression for the given EDataCal.CalBackendSExp object.

unlock()

Unlocks the self, previously locked by EDataCal.CalBackendSExp.lock().

New in version 3.34.