EDataServerUI4.RemindersWidget

g EDataServer.Extensible EDataServer.Extensible EDataServerUI4.RemindersWidget EDataServerUI4.RemindersWidget EDataServer.Extensible->EDataServerUI4.RemindersWidget GObject.GInterface GObject.GInterface GObject.GInterface->EDataServer.Extensible Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Grid Gtk.Grid Gtk.Grid->EDataServerUI4.RemindersWidget Gtk.Orientable->Gtk.Grid Gtk.Widget->Gtk.Grid

Subclasses:

None

Methods

Inherited:

Gtk.Grid (23), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2), EDataServer.Extensible (3)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new (watcher)

get_paned ()

get_settings ()

get_tree_view ()

get_watcher ()

is_empty ()

report_error (prefix, error)

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)

do_activated (rd)

do_changed ()

Properties

Inherited:

Gtk.Grid (5), Gtk.Widget (34), Gtk.Accessible (1), Gtk.Orientable (1)

Name

Type

Flags

Short Description

empty

bool

r

Whether there are no past reminders

watcher

ECal.ReminderWatcher

r/w/co

The reminder watcher used to work with reminders

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Name

Short Description

activated

changed

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Grid

r

Class Details

class EDataServerUI4.RemindersWidget(**kwargs)
Bases:

Gtk.Grid, EDataServer.Extensible

Abstract:

No

Structure:

EDataServerUI4.RemindersWidgetClass

Contains only private data that should be read and manipulated using the functions below.

New in version 3.30.

classmethod new(watcher)
Parameters:

watcher (ECal.ReminderWatcher) – an ECal.ReminderWatcher

Returns:

a new instance of EDataServerUI4.RemindersWidget.

Return type:

EDataServerUI4.RemindersWidget

Creates a new instance of EDataServerUI4.RemindersWidget. It adds its own reference on the watcher.

New in version 3.30.

get_paned()
Returns:

a Gtk.Paned used to split list of events and the description of the reminders. It’s owned by the self widget.

Return type:

Gtk.Paned

New in version 3.38.

get_settings()
Returns:

a Gio.Settings pointing to org.gnome.evolution-data-server.calendar used by the self widget.

Return type:

Gio.Settings

New in version 3.30.

get_tree_view()
Returns:

a Gtk.TreeView with past reminders. It’s owned by the self widget.

Return type:

Gtk.TreeView

New in version 3.30.

get_watcher()
Returns:

an ECal.ReminderWatcher with which the self had been created. Do on unref it, it’s owned by the self.

Return type:

ECal.ReminderWatcher

New in version 3.30.

is_empty()
Returns:

True, when there is no past reminder left, False otherwise.

Return type:

bool

New in version 3.30.

report_error(prefix, error)
Parameters:
  • prefix (str or None) – an optional prefix to show before the error message, or None for none

  • error (GLib.Error or None) – a GLib.Error to show the message from in the UI, or None for unknown error

Shows a warning in the GUI with the error message, optionally prefixed with prefix. When error is None, an “Unknown error” message is shown instead.

New in version 3.30.

do_activated(rd) virtual
Parameters:

rd (ECal.ReminderData) –

Return type:

bool

do_changed() virtual

Signal Details

EDataServerUI4.RemindersWidget.signals.activated(reminders_widget, object)
Signal Name:

activated

Flags:

RUN_LAST, ACTION

Parameters:
Return type:

bool

EDataServerUI4.RemindersWidget.signals.changed(reminders_widget)
Signal Name:

changed

Flags:

RUN_LAST, ACTION

Parameters:

reminders_widget (EDataServerUI4.RemindersWidget) – The object which received the signal

Property Details

EDataServerUI4.RemindersWidget.props.empty
Name:

empty

Type:

bool

Default Value:

True

Flags:

READABLE

Whether there are no past reminders

EDataServerUI4.RemindersWidget.props.watcher
Name:

watcher

Type:

ECal.ReminderWatcher

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The reminder watcher used to work with reminders