GData.GDReminder¶
- 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 |
Absolute time at which the reminder should be issued. |
||
r |
Whether the reminder is specified as an absolute or relative time. |
||
r/w |
The notification method the reminder should use. |
||
r/w |
Time at which the reminder should be issued, in minutes. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.GDReminder(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.GDReminder
structure are private and should never be accessed directly.New in version 0.2.0.
- classmethod new(method, absolute_time, relative_time)¶
- Parameters:
- Returns:
a new
GData.GDReminder
, orNone
; unref withGObject.Object.unref
()- Return type:
Creates a new
GData.GDReminder
. More information is available in the GData specification.New in version 0.2.0.
- get_absolute_time()¶
- Returns:
the UNIX timestamp of the absolute time for the reminder, or -1
- Return type:
Gets the
GData.GDReminder
:absolute-time
property. If the property is unset, -1 will be returned.New in version 0.4.0.
- get_method()¶
-
Gets the
GData.GDReminder
:method
property.New in version 0.4.0.
- get_relative_time()¶
- Returns:
the relative time, or -1
- Return type:
Gets the
GData.GDReminder
:relative-time
property.New in version 0.4.0.
- is_absolute_time()¶
-
Returns whether the reminder is specified as an absolute time, or as a number of minutes after the corresponding event’s start time.
New in version 0.4.0.
- set_absolute_time(absolute_time)¶
- Parameters:
absolute_time (
int
) – the new absolute time, or -1
Sets the
GData.GDReminder
:absolute-time
property to absolute_time.Set absolute_time to -1 to unset the property.
New in version 0.4.0.
- set_method(method)¶
-
Sets the
GData.GDReminder
:method
property to method.Set method to
None
to unset the property.New in version 0.4.0.
- set_relative_time(relative_time)¶
- Parameters:
relative_time (
int
) – the new relative time, or -1
Sets the
GData.GDReminder
:relative-time
property to relative_time.Set relative_time to -1 to unset the property.
New in version 0.4.0.
Property Details¶
- GData.GDReminder.props.absolute_time¶
-
Absolute time at which the reminder should be issued.
For more information, see the
New in version 0.4.0.
- GData.GDReminder.props.is_absolute_time¶
-
Whether the reminder is specified as an absolute or relative time.
For more information, see the
New in version 0.4.0.
- GData.GDReminder.props.method¶
-
The notification method the reminder should use. For example:
GData.GD_REMINDER_ALERT
orGData.GD_REMINDER_EMAIL
.For more information, see the
New in version 0.4.0.
- GData.GDReminder.props.relative_time¶
-
Time at which the reminder should be issued, in minutes relative to the start time of the corresponding event.
For more information, see the
New in version 0.4.0.