File: ui.rst

package info (click to toggle)
offlineimap3 0.0~git20211018.e64c254%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,240 kB
  • sloc: python: 8,089; sh: 586; makefile: 81
file content (30 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
:mod:`offlineimap.ui` -- A flexible logging system
--------------------------------------------------------

.. currentmodule:: offlineimap.ui

OfflineImap has various ui systems, that can be selected. They offer various
functionalities. They must implement all functions that the
:class:`offlineimap.ui.UIBase` offers. Early on, the ui must be set using
:meth:`getglobalui`

.. automethod:: offlineimap.ui.setglobalui
.. automethod:: offlineimap.ui.getglobalui

Base UI plugin
^^^^^^^^^^^^^^^^^^^^^^^^^^

.. autoclass:: offlineimap.ui.UIBase.UIBase
   :members:
   :inherited-members:

..   .. note:: :meth:`foo`
..   .. attribute:: Database.MODE

     Defines constants that are used as the mode in which to open a database.

     MODE.READ_ONLY
       Open the database in read-only mode

     MODE.READ_WRITE
       Open the database in read-write mode