EDataServerUI.RemindersWidget

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget EDataServer.Extensible EDataServer.Extensible EDataServerUI.RemindersWidget EDataServerUI.RemindersWidget EDataServer.Extensible->EDataServerUI.RemindersWidget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface GObject.GInterface->EDataServer.Extensible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Grid Gtk.Grid Gtk.Container->Gtk.Grid Gtk.Grid->EDataServerUI.RemindersWidget Gtk.Orientable->Gtk.Grid Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Grid (21), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2), EDataServer.Extensible (3)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), 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.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

do_activated (rd)

do_changed ()

Properties

Inherited:

Gtk.Grid (5), Gtk.Container (3), Gtk.Widget (39), 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

Child Properties

Inherited:

Gtk.Grid (4)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

activated

changed

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Grid

r

Class Details

class EDataServerUI.RemindersWidget(**kwargs)
Bases:

Gtk.Grid, EDataServer.Extensible

Abstract:

No

Structure:

EDataServerUI.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 EDataServerUI.RemindersWidget.

Return type:

EDataServerUI.RemindersWidget

Creates a new instance of EDataServerUI.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

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

activated

Flags:

RUN_LAST, ACTION

Parameters:
Return type:

bool

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

changed

Flags:

RUN_LAST, ACTION

Parameters:

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

Property Details

EDataServerUI.RemindersWidget.props.empty
Name:

empty

Type:

bool

Default Value:

True

Flags:

READABLE

Whether there are no past reminders

EDataServerUI.RemindersWidget.props.watcher
Name:

watcher

Type:

ECal.ReminderWatcher

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The reminder watcher used to work with reminders